sass.dart.js 4.3 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557
  1. // Because of vitejs/vite#12340, there's no way to reliably detect whether we're
  2. // running as a (possibly bundled/polyfilled) ESM module or as a CommonJS
  3. // module. In order to work everywhere, we have to provide the load function via
  4. // a side channel on the global object. We write it as a stack so that multiple
  5. // cli_pkg packages can depend on one another without clobbering their exports.
  6. if (!globalThis._cliPkgExports) {
  7. globalThis._cliPkgExports = [];
  8. }
  9. let _cliPkgExports = {};
  10. globalThis._cliPkgExports.push(_cliPkgExports);
  11. _cliPkgExports.load = function(_cliPkgRequires, _cliPkgExportParam) {
  12. var dartNodeIsActuallyNode = typeof process !== "undefined" && (process.versions || {}).hasOwnProperty('node');
  13. // make sure to keep this as 'var'
  14. // we don't want block scoping
  15. var self = dartNodeIsActuallyNode ? Object.create(globalThis) : globalThis;
  16. self.scheduleImmediate = typeof setImmediate !== "undefined"
  17. ? function (cb) {
  18. setImmediate(cb);
  19. }
  20. : function(cb) {
  21. setTimeout(cb, 0);
  22. };
  23. // CommonJS globals.
  24. if (typeof require !== "undefined") {
  25. }
  26. self.exports = _cliPkgExportParam || _cliPkgExports;
  27. // Node.js specific exports, check to see if they exist & or polyfilled
  28. if (typeof process !== "undefined") {
  29. self.process = process;
  30. }
  31. if (typeof __dirname !== "undefined") {
  32. self.__dirname = __dirname;
  33. }
  34. if (typeof __filename !== "undefined") {
  35. self.__filename = __filename;
  36. }
  37. if (typeof Buffer !== "undefined") {
  38. self.Buffer = Buffer;
  39. }
  40. // if we're running in a browser, Dart supports most of this out of box
  41. // make sure we only run these in Node.js environment
  42. if (dartNodeIsActuallyNode) {
  43. // This line is to:
  44. // 1) Prevent Webpack from bundling.
  45. // 2) In Webpack on Node.js, make sure we're using the native Node.js require, which is available via __non_webpack_require__
  46. // https://github.com/mbullington/node_preamble.dart/issues/18#issuecomment-527305561
  47. var url = ("undefined" !== typeof __webpack_require__ ? __non_webpack_require__ : require)("url");
  48. // Setting `self.location=` in Electron throws a `TypeError`, so we define it
  49. // as a property instead to be safe.
  50. Object.defineProperty(self, "location", {
  51. value: {
  52. get href() {
  53. if (url.pathToFileURL) {
  54. return url.pathToFileURL(process.cwd()).href + "/";
  55. } else {
  56. // This isn't really a correct transformation, but it's the best we have
  57. // for versions of Node <10.12.0 which introduced `url.pathToFileURL()`.
  58. // For example, it will fail for paths that contain characters that need
  59. // to be escaped in URLs.
  60. return "file://" + (function() {
  61. var cwd = process.cwd();
  62. if (process.platform != "win32") return cwd;
  63. return "/" + cwd.replace(/\\/g, "/");
  64. })() + "/"
  65. }
  66. }
  67. }
  68. });
  69. (function() {
  70. function computeCurrentScript() {
  71. try {
  72. throw new Error();
  73. } catch(e) {
  74. var stack = e.stack;
  75. var re = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg");
  76. var lastMatch = null;
  77. do {
  78. var match = re.exec(stack);
  79. if (match != null) lastMatch = match;
  80. } while (match != null);
  81. return lastMatch[1];
  82. }
  83. }
  84. // Setting `self.document=` isn't known to throw an error anywhere like
  85. // `self.location=` does on Electron, but it's better to be future-proof
  86. // just in case..
  87. var cachedCurrentScript = null;
  88. Object.defineProperty(self, "document", {
  89. value: {
  90. get currentScript() {
  91. if (cachedCurrentScript == null) {
  92. cachedCurrentScript = {src: computeCurrentScript()};
  93. }
  94. return cachedCurrentScript;
  95. }
  96. }
  97. });
  98. })();
  99. self.dartDeferredLibraryLoader = function(uri, successCallback, errorCallback) {
  100. try {
  101. load(uri);
  102. successCallback();
  103. } catch (error) {
  104. errorCallback(error);
  105. }
  106. };
  107. }
  108. self.immutable = _cliPkgRequires.immutable;
  109. self.chokidar = _cliPkgRequires.chokidar;
  110. self.readline = _cliPkgRequires.readline;
  111. self.fs = _cliPkgRequires.fs;
  112. self.stream = _cliPkgRequires.stream;
  113. self.util = _cliPkgRequires.util;
  114. // Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, deferred-serialization, intern-composite-values), the Dart to JavaScript compiler version: 3.0.5.
  115. // The code supports the following hooks:
  116. // dartPrint(message):
  117. // if this function is defined it is called instead of the Dart [print]
  118. // method.
  119. //
  120. // dartMainRunner(main, args):
  121. // if this function is defined, the Dart [main] method will not be invoked
  122. // directly. Instead, a closure that will invoke [main], and its arguments
  123. // [args] is passed to [dartMainRunner].
  124. //
  125. // dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId, loadPriority):
  126. // if this function is defined, it will be called when a deferred library
  127. // is loaded. It should load and eval the javascript of `uri`, and call
  128. // successCallback. If it fails to do so, it should call errorCallback with
  129. // an error. The loadId argument is the deferred import that resulted in
  130. // this uri being loaded. The loadPriority argument is the priority the
  131. // library should be loaded with as specified in the code via the
  132. // load-priority annotation (0: normal, 1: high).
  133. //
  134. // dartCallInstrumentation(id, qualifiedName):
  135. // if this function is defined, it will be called at each entry of a
  136. // method or constructor. Used only when compiling programs with
  137. // --experiment-call-instrumentation.
  138. (function dartProgram() {
  139. function copyProperties(from, to) {
  140. var keys = Object.keys(from);
  141. for (var i = 0; i < keys.length; i++) {
  142. var key = keys[i];
  143. to[key] = from[key];
  144. }
  145. }
  146. function mixinPropertiesHard(from, to) {
  147. var keys = Object.keys(from);
  148. for (var i = 0; i < keys.length; i++) {
  149. var key = keys[i];
  150. if (!to.hasOwnProperty(key))
  151. to[key] = from[key];
  152. }
  153. }
  154. function mixinPropertiesEasy(from, to) {
  155. Object.assign(to, from);
  156. }
  157. var supportsDirectProtoAccess = function() {
  158. var cls = function() {
  159. };
  160. cls.prototype = {p: {}};
  161. var object = new cls();
  162. if (!(Object.getPrototypeOf(object) && Object.getPrototypeOf(object).p === cls.prototype.p))
  163. return false;
  164. try {
  165. if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0)
  166. return true;
  167. if (typeof version == "function" && version.length == 0) {
  168. var v = version();
  169. if (/^\d+\.\d+\.\d+\.\d+$/.test(v))
  170. return true;
  171. }
  172. } catch (_) {
  173. }
  174. return false;
  175. }();
  176. function inherit(cls, sup) {
  177. cls.prototype.constructor = cls;
  178. cls.prototype["$is" + cls.name] = cls;
  179. if (sup != null) {
  180. if (supportsDirectProtoAccess) {
  181. Object.setPrototypeOf(cls.prototype, sup.prototype);
  182. return;
  183. }
  184. var clsPrototype = Object.create(sup.prototype);
  185. copyProperties(cls.prototype, clsPrototype);
  186. cls.prototype = clsPrototype;
  187. }
  188. }
  189. function inheritMany(sup, classes) {
  190. for (var i = 0; i < classes.length; i++)
  191. inherit(classes[i], sup);
  192. }
  193. function mixinEasy(cls, mixin) {
  194. mixinPropertiesEasy(mixin.prototype, cls.prototype);
  195. cls.prototype.constructor = cls;
  196. }
  197. function mixinHard(cls, mixin) {
  198. mixinPropertiesHard(mixin.prototype, cls.prototype);
  199. cls.prototype.constructor = cls;
  200. }
  201. function lazyOld(holder, name, getterName, initializer) {
  202. var uninitializedSentinel = holder;
  203. holder[name] = uninitializedSentinel;
  204. holder[getterName] = function() {
  205. holder[getterName] = function() {
  206. A.throwCyclicInit(name);
  207. };
  208. var result;
  209. var sentinelInProgress = initializer;
  210. try {
  211. if (holder[name] === uninitializedSentinel) {
  212. result = holder[name] = sentinelInProgress;
  213. result = holder[name] = initializer();
  214. } else
  215. result = holder[name];
  216. } finally {
  217. if (result === sentinelInProgress)
  218. holder[name] = null;
  219. holder[getterName] = function() {
  220. return this[name];
  221. };
  222. }
  223. return result;
  224. };
  225. }
  226. function lazy(holder, name, getterName, initializer) {
  227. var uninitializedSentinel = holder;
  228. holder[name] = uninitializedSentinel;
  229. holder[getterName] = function() {
  230. if (holder[name] === uninitializedSentinel)
  231. holder[name] = initializer();
  232. holder[getterName] = function() {
  233. return this[name];
  234. };
  235. return holder[name];
  236. };
  237. }
  238. function lazyFinal(holder, name, getterName, initializer) {
  239. var uninitializedSentinel = holder;
  240. holder[name] = uninitializedSentinel;
  241. holder[getterName] = function() {
  242. if (holder[name] === uninitializedSentinel) {
  243. var value = initializer();
  244. if (holder[name] !== uninitializedSentinel)
  245. A.throwLateFieldADI(name);
  246. holder[name] = value;
  247. }
  248. var finalValue = holder[name];
  249. holder[getterName] = function() {
  250. return finalValue;
  251. };
  252. return finalValue;
  253. };
  254. }
  255. function makeConstList(list) {
  256. list.immutable$list = Array;
  257. list.fixed$length = Array;
  258. return list;
  259. }
  260. function convertToFastObject(properties) {
  261. function t() {
  262. }
  263. t.prototype = properties;
  264. new t();
  265. return properties;
  266. }
  267. function convertAllToFastObject(arrayOfObjects) {
  268. for (var i = 0; i < arrayOfObjects.length; ++i)
  269. convertToFastObject(arrayOfObjects[i]);
  270. }
  271. var functionCounter = 0;
  272. function instanceTearOffGetter(isIntercepted, parameters) {
  273. var cache = null;
  274. return isIntercepted ? function(receiver) {
  275. if (cache === null)
  276. cache = A.closureFromTearOff(parameters);
  277. return new cache(receiver, this);
  278. } : function() {
  279. if (cache === null)
  280. cache = A.closureFromTearOff(parameters);
  281. return new cache(this, null);
  282. };
  283. }
  284. function staticTearOffGetter(parameters) {
  285. var cache = null;
  286. return function() {
  287. if (cache === null)
  288. cache = A.closureFromTearOff(parameters).prototype;
  289. return cache;
  290. };
  291. }
  292. var typesOffset = 0;
  293. function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  294. if (typeof funType == "number")
  295. funType += typesOffset;
  296. return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess};
  297. }
  298. function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
  299. var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false);
  300. var getterFunction = staticTearOffGetter(parameters);
  301. holder[getterName] = getterFunction;
  302. }
  303. function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  304. isIntercepted = !!isIntercepted;
  305. var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess);
  306. var getterFunction = instanceTearOffGetter(isIntercepted, parameters);
  307. prototype[getterName] = getterFunction;
  308. }
  309. function setOrUpdateInterceptorsByTag(newTags) {
  310. var tags = init.interceptorsByTag;
  311. if (!tags) {
  312. init.interceptorsByTag = newTags;
  313. return;
  314. }
  315. copyProperties(newTags, tags);
  316. }
  317. function setOrUpdateLeafTags(newTags) {
  318. var tags = init.leafTags;
  319. if (!tags) {
  320. init.leafTags = newTags;
  321. return;
  322. }
  323. copyProperties(newTags, tags);
  324. }
  325. function updateTypes(newTypes) {
  326. var types = init.types;
  327. var length = types.length;
  328. types.push.apply(types, newTypes);
  329. return length;
  330. }
  331. function updateHolder(holder, newHolder) {
  332. copyProperties(newHolder, holder);
  333. return holder;
  334. }
  335. var hunkHelpers = function() {
  336. var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  337. return function(container, getterName, name, funType) {
  338. return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false);
  339. };
  340. },
  341. mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  342. return function(container, getterName, name, funType) {
  343. return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
  344. };
  345. };
  346. 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};
  347. }();
  348. function initializeDeferredHunk(hunk) {
  349. typesOffset = init.types.length;
  350. hunk(hunkHelpers, init, holders, $);
  351. }
  352. var A = {JS_CONST: function JS_CONST() {
  353. },
  354. CastIterable_CastIterable(source, $S, $T) {
  355. if ($S._eval$1("EfficientLengthIterable<0>")._is(source))
  356. return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>"));
  357. return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>"));
  358. },
  359. LateError$fieldADI(fieldName) {
  360. return new A.LateError("Field '" + fieldName + "' has been assigned during initialization.");
  361. },
  362. LateError$fieldNI(fieldName) {
  363. return new A.LateError("Field '" + fieldName + "' has not been initialized.");
  364. },
  365. LateError$localNI(localName) {
  366. return new A.LateError("Local '" + localName + "' has not been initialized.");
  367. },
  368. LateError$fieldAI(fieldName) {
  369. return new A.LateError("Field '" + fieldName + "' has already been initialized.");
  370. },
  371. hexDigitValue(char) {
  372. var letter,
  373. digit = char ^ 48;
  374. if (digit <= 9)
  375. return digit;
  376. letter = char | 32;
  377. if (97 <= letter && letter <= 102)
  378. return letter - 87;
  379. return -1;
  380. },
  381. SystemHash_combine(hash, value) {
  382. hash = hash + value & 536870911;
  383. hash = hash + ((hash & 524287) << 10) & 536870911;
  384. return hash ^ hash >>> 6;
  385. },
  386. SystemHash_finish(hash) {
  387. hash = hash + ((hash & 67108863) << 3) & 536870911;
  388. hash ^= hash >>> 11;
  389. return hash + ((hash & 16383) << 15) & 536870911;
  390. },
  391. checkNotNullable(value, $name, $T) {
  392. return value;
  393. },
  394. isToStringVisiting(object) {
  395. var t1, i;
  396. for (t1 = $.toStringVisiting.length, i = 0; i < t1; ++i)
  397. if (object === $.toStringVisiting[i])
  398. return true;
  399. return false;
  400. },
  401. SubListIterable$(_iterable, _start, _endOrLength, $E) {
  402. A.RangeError_checkNotNegative(_start, "start");
  403. if (_endOrLength != null) {
  404. A.RangeError_checkNotNegative(_endOrLength, "end");
  405. if (_start > _endOrLength)
  406. A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null));
  407. }
  408. return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>"));
  409. },
  410. MappedIterable_MappedIterable(iterable, $function, $S, $T) {
  411. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  412. return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  413. return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  414. },
  415. TakeIterable_TakeIterable(iterable, takeCount, $E) {
  416. var _s9_ = "takeCount";
  417. A.ArgumentError_checkNotNull(takeCount, _s9_);
  418. A.RangeError_checkNotNegative(takeCount, _s9_);
  419. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  420. return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>"));
  421. return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>"));
  422. },
  423. SkipIterable_SkipIterable(iterable, count, $E) {
  424. var _s5_ = "count";
  425. if (type$.EfficientLengthIterable_dynamic._is(iterable)) {
  426. A.ArgumentError_checkNotNull(count, _s5_);
  427. A.RangeError_checkNotNegative(count, _s5_);
  428. return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>"));
  429. }
  430. A.ArgumentError_checkNotNull(count, _s5_);
  431. A.RangeError_checkNotNegative(count, _s5_);
  432. return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>"));
  433. },
  434. FollowedByIterable_FollowedByIterable$firstEfficient(first, second, $E) {
  435. if ($E._eval$1("EfficientLengthIterable<0>")._is(second))
  436. return new A.EfficientLengthFollowedByIterable(first, second, $E._eval$1("EfficientLengthFollowedByIterable<0>"));
  437. return new A.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>"));
  438. },
  439. IterableElementError_noElement() {
  440. return new A.StateError("No element");
  441. },
  442. IterableElementError_tooMany() {
  443. return new A.StateError("Too many elements");
  444. },
  445. IterableElementError_tooFew() {
  446. return new A.StateError("Too few elements");
  447. },
  448. Sort_sort(a, compare) {
  449. A.Sort__doSort(a, 0, J.get$length$asx(a) - 1, compare);
  450. },
  451. Sort__doSort(a, left, right, compare) {
  452. if (right - left <= 32)
  453. A.Sort__insertionSort(a, left, right, compare);
  454. else
  455. A.Sort__dualPivotQuicksort(a, left, right, compare);
  456. },
  457. Sort__insertionSort(a, left, right, compare) {
  458. var i, t1, el, j, j0;
  459. for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) {
  460. el = t1.$index(a, i);
  461. j = i;
  462. while (true) {
  463. if (!(j > left && compare.call$2(t1.$index(a, j - 1), el) > 0))
  464. break;
  465. j0 = j - 1;
  466. t1.$indexSet(a, j, t1.$index(a, j0));
  467. j = j0;
  468. }
  469. t1.$indexSet(a, j, el);
  470. }
  471. },
  472. Sort__dualPivotQuicksort(a, left, right, compare) {
  473. var t0, less, great, k, ak, comp, great0, less0, pivots_are_equal, t2,
  474. sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6),
  475. index1 = left + sixth,
  476. index5 = right - sixth,
  477. index3 = B.JSInt_methods._tdivFast$1(left + right, 2),
  478. index2 = index3 - sixth,
  479. index4 = index3 + sixth,
  480. t1 = J.getInterceptor$asx(a),
  481. el1 = t1.$index(a, index1),
  482. el2 = t1.$index(a, index2),
  483. el3 = t1.$index(a, index3),
  484. el4 = t1.$index(a, index4),
  485. el5 = t1.$index(a, index5);
  486. if (compare.call$2(el1, el2) > 0) {
  487. t0 = el2;
  488. el2 = el1;
  489. el1 = t0;
  490. }
  491. if (compare.call$2(el4, el5) > 0) {
  492. t0 = el5;
  493. el5 = el4;
  494. el4 = t0;
  495. }
  496. if (compare.call$2(el1, el3) > 0) {
  497. t0 = el3;
  498. el3 = el1;
  499. el1 = 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(el1, el4) > 0) {
  507. t0 = el4;
  508. el4 = el1;
  509. el1 = t0;
  510. }
  511. if (compare.call$2(el3, el4) > 0) {
  512. t0 = el4;
  513. el4 = el3;
  514. el3 = t0;
  515. }
  516. if (compare.call$2(el2, el5) > 0) {
  517. t0 = el5;
  518. el5 = el2;
  519. el2 = t0;
  520. }
  521. if (compare.call$2(el2, el3) > 0) {
  522. t0 = el3;
  523. el3 = el2;
  524. el2 = t0;
  525. }
  526. if (compare.call$2(el4, el5) > 0) {
  527. t0 = el5;
  528. el5 = el4;
  529. el4 = t0;
  530. }
  531. t1.$indexSet(a, index1, el1);
  532. t1.$indexSet(a, index3, el3);
  533. t1.$indexSet(a, index5, el5);
  534. t1.$indexSet(a, index2, t1.$index(a, left));
  535. t1.$indexSet(a, index4, t1.$index(a, right));
  536. less = left + 1;
  537. great = right - 1;
  538. if (J.$eq$(compare.call$2(el2, el4), 0)) {
  539. for (k = less; k <= great; ++k) {
  540. ak = t1.$index(a, k);
  541. comp = compare.call$2(ak, el2);
  542. if (comp === 0)
  543. continue;
  544. if (comp < 0) {
  545. if (k !== less) {
  546. t1.$indexSet(a, k, t1.$index(a, less));
  547. t1.$indexSet(a, less, ak);
  548. }
  549. ++less;
  550. } else
  551. for (; true;) {
  552. comp = compare.call$2(t1.$index(a, great), el2);
  553. if (comp > 0) {
  554. --great;
  555. continue;
  556. } else {
  557. great0 = great - 1;
  558. if (comp < 0) {
  559. t1.$indexSet(a, k, t1.$index(a, less));
  560. less0 = less + 1;
  561. t1.$indexSet(a, less, t1.$index(a, great));
  562. t1.$indexSet(a, great, ak);
  563. great = great0;
  564. less = less0;
  565. break;
  566. } else {
  567. t1.$indexSet(a, k, t1.$index(a, great));
  568. t1.$indexSet(a, great, ak);
  569. great = great0;
  570. break;
  571. }
  572. }
  573. }
  574. }
  575. pivots_are_equal = true;
  576. } else {
  577. for (k = less; k <= great; ++k) {
  578. ak = t1.$index(a, k);
  579. if (compare.call$2(ak, el2) < 0) {
  580. if (k !== less) {
  581. t1.$indexSet(a, k, t1.$index(a, less));
  582. t1.$indexSet(a, less, ak);
  583. }
  584. ++less;
  585. } else if (compare.call$2(ak, el4) > 0)
  586. for (; true;)
  587. if (compare.call$2(t1.$index(a, great), el4) > 0) {
  588. --great;
  589. if (great < k)
  590. break;
  591. continue;
  592. } else {
  593. great0 = great - 1;
  594. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  595. t1.$indexSet(a, k, t1.$index(a, less));
  596. less0 = less + 1;
  597. t1.$indexSet(a, less, t1.$index(a, great));
  598. t1.$indexSet(a, great, ak);
  599. less = less0;
  600. } else {
  601. t1.$indexSet(a, k, t1.$index(a, great));
  602. t1.$indexSet(a, great, ak);
  603. }
  604. great = great0;
  605. break;
  606. }
  607. }
  608. pivots_are_equal = false;
  609. }
  610. t2 = less - 1;
  611. t1.$indexSet(a, left, t1.$index(a, t2));
  612. t1.$indexSet(a, t2, el2);
  613. t2 = great + 1;
  614. t1.$indexSet(a, right, t1.$index(a, t2));
  615. t1.$indexSet(a, t2, el4);
  616. A.Sort__doSort(a, left, less - 2, compare);
  617. A.Sort__doSort(a, great + 2, right, compare);
  618. if (pivots_are_equal)
  619. return;
  620. if (less < index1 && great > index5) {
  621. for (; J.$eq$(compare.call$2(t1.$index(a, less), el2), 0);)
  622. ++less;
  623. for (; J.$eq$(compare.call$2(t1.$index(a, great), el4), 0);)
  624. --great;
  625. for (k = less; k <= great; ++k) {
  626. ak = t1.$index(a, k);
  627. if (compare.call$2(ak, el2) === 0) {
  628. if (k !== less) {
  629. t1.$indexSet(a, k, t1.$index(a, less));
  630. t1.$indexSet(a, less, ak);
  631. }
  632. ++less;
  633. } else if (compare.call$2(ak, el4) === 0)
  634. for (; true;)
  635. if (compare.call$2(t1.$index(a, great), el4) === 0) {
  636. --great;
  637. if (great < k)
  638. break;
  639. continue;
  640. } else {
  641. great0 = great - 1;
  642. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  643. t1.$indexSet(a, k, t1.$index(a, less));
  644. less0 = less + 1;
  645. t1.$indexSet(a, less, t1.$index(a, great));
  646. t1.$indexSet(a, great, ak);
  647. less = less0;
  648. } else {
  649. t1.$indexSet(a, k, t1.$index(a, great));
  650. t1.$indexSet(a, great, ak);
  651. }
  652. great = great0;
  653. break;
  654. }
  655. }
  656. A.Sort__doSort(a, less, great, compare);
  657. } else
  658. A.Sort__doSort(a, less, great, compare);
  659. },
  660. _CastIterableBase: function _CastIterableBase() {
  661. },
  662. CastIterator: function CastIterator(t0, t1) {
  663. this._source = t0;
  664. this.$ti = t1;
  665. },
  666. CastIterable: function CastIterable(t0, t1) {
  667. this._source = t0;
  668. this.$ti = t1;
  669. },
  670. _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {
  671. this._source = t0;
  672. this.$ti = t1;
  673. },
  674. _CastListBase: function _CastListBase() {
  675. },
  676. _CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {
  677. this.$this = t0;
  678. this.compare = t1;
  679. },
  680. CastList: function CastList(t0, t1) {
  681. this._source = t0;
  682. this.$ti = t1;
  683. },
  684. CastSet: function CastSet(t0, t1, t2) {
  685. this._source = t0;
  686. this._emptySet = t1;
  687. this.$ti = t2;
  688. },
  689. CastMap: function CastMap(t0, t1) {
  690. this._source = t0;
  691. this.$ti = t1;
  692. },
  693. CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {
  694. this.$this = t0;
  695. this.f = t1;
  696. },
  697. CastMap_entries_closure: function CastMap_entries_closure(t0) {
  698. this.$this = t0;
  699. },
  700. LateError: function LateError(t0) {
  701. this._message = t0;
  702. },
  703. CodeUnits: function CodeUnits(t0) {
  704. this.__internal$_string = t0;
  705. },
  706. nullFuture_closure: function nullFuture_closure() {
  707. },
  708. SentinelValue: function SentinelValue() {
  709. },
  710. EfficientLengthIterable: function EfficientLengthIterable() {
  711. },
  712. ListIterable: function ListIterable() {
  713. },
  714. SubListIterable: function SubListIterable(t0, t1, t2, t3) {
  715. var _ = this;
  716. _.__internal$_iterable = t0;
  717. _.__internal$_start = t1;
  718. _._endOrLength = t2;
  719. _.$ti = t3;
  720. },
  721. ListIterator: function ListIterator(t0, t1) {
  722. var _ = this;
  723. _.__internal$_iterable = t0;
  724. _.__internal$_length = t1;
  725. _.__internal$_index = 0;
  726. _.__internal$_current = null;
  727. },
  728. MappedIterable: function MappedIterable(t0, t1, t2) {
  729. this.__internal$_iterable = t0;
  730. this._f = t1;
  731. this.$ti = t2;
  732. },
  733. EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {
  734. this.__internal$_iterable = t0;
  735. this._f = t1;
  736. this.$ti = t2;
  737. },
  738. MappedIterator: function MappedIterator(t0, t1) {
  739. this.__internal$_current = null;
  740. this._iterator = t0;
  741. this._f = t1;
  742. },
  743. MappedListIterable: function MappedListIterable(t0, t1, t2) {
  744. this._source = t0;
  745. this._f = t1;
  746. this.$ti = t2;
  747. },
  748. WhereIterable: function WhereIterable(t0, t1, t2) {
  749. this.__internal$_iterable = t0;
  750. this._f = t1;
  751. this.$ti = t2;
  752. },
  753. WhereIterator: function WhereIterator(t0, t1) {
  754. this._iterator = t0;
  755. this._f = t1;
  756. },
  757. ExpandIterable: function ExpandIterable(t0, t1, t2) {
  758. this.__internal$_iterable = t0;
  759. this._f = t1;
  760. this.$ti = t2;
  761. },
  762. ExpandIterator: function ExpandIterator(t0, t1, t2) {
  763. var _ = this;
  764. _._iterator = t0;
  765. _._f = t1;
  766. _._currentExpansion = t2;
  767. _.__internal$_current = null;
  768. },
  769. TakeIterable: function TakeIterable(t0, t1, t2) {
  770. this.__internal$_iterable = t0;
  771. this._takeCount = t1;
  772. this.$ti = t2;
  773. },
  774. EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {
  775. this.__internal$_iterable = t0;
  776. this._takeCount = t1;
  777. this.$ti = t2;
  778. },
  779. TakeIterator: function TakeIterator(t0, t1) {
  780. this._iterator = t0;
  781. this._remaining = t1;
  782. },
  783. SkipIterable: function SkipIterable(t0, t1, t2) {
  784. this.__internal$_iterable = t0;
  785. this._skipCount = t1;
  786. this.$ti = t2;
  787. },
  788. EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {
  789. this.__internal$_iterable = t0;
  790. this._skipCount = t1;
  791. this.$ti = t2;
  792. },
  793. SkipIterator: function SkipIterator(t0, t1) {
  794. this._iterator = t0;
  795. this._skipCount = t1;
  796. },
  797. SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) {
  798. this.__internal$_iterable = t0;
  799. this._f = t1;
  800. this.$ti = t2;
  801. },
  802. SkipWhileIterator: function SkipWhileIterator(t0, t1) {
  803. this._iterator = t0;
  804. this._f = t1;
  805. this._hasSkipped = false;
  806. },
  807. EmptyIterable: function EmptyIterable(t0) {
  808. this.$ti = t0;
  809. },
  810. EmptyIterator: function EmptyIterator() {
  811. },
  812. FollowedByIterable: function FollowedByIterable(t0, t1, t2) {
  813. this.__internal$_first = t0;
  814. this._second = t1;
  815. this.$ti = t2;
  816. },
  817. EfficientLengthFollowedByIterable: function EfficientLengthFollowedByIterable(t0, t1, t2) {
  818. this.__internal$_first = t0;
  819. this._second = t1;
  820. this.$ti = t2;
  821. },
  822. FollowedByIterator: function FollowedByIterator(t0, t1) {
  823. this._currentIterator = t0;
  824. this._nextIterable = t1;
  825. },
  826. WhereTypeIterable: function WhereTypeIterable(t0, t1) {
  827. this._source = t0;
  828. this.$ti = t1;
  829. },
  830. WhereTypeIterator: function WhereTypeIterator(t0, t1) {
  831. this._source = t0;
  832. this.$ti = t1;
  833. },
  834. FixedLengthListMixin: function FixedLengthListMixin() {
  835. },
  836. UnmodifiableListMixin: function UnmodifiableListMixin() {
  837. },
  838. UnmodifiableListBase: function UnmodifiableListBase() {
  839. },
  840. ReversedListIterable: function ReversedListIterable(t0, t1) {
  841. this._source = t0;
  842. this.$ti = t1;
  843. },
  844. Symbol: function Symbol(t0) {
  845. this.__internal$_name = t0;
  846. },
  847. __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {
  848. },
  849. ConstantMap_ConstantMap$from(other, $K, $V) {
  850. var allStrings, k, object, t2,
  851. keys = A.List_List$from(other.get$keys(other), true, $K),
  852. t1 = keys.length,
  853. _i = 0;
  854. while (true) {
  855. if (!(_i < t1)) {
  856. allStrings = true;
  857. break;
  858. }
  859. k = keys[_i];
  860. if (typeof k != "string" || "__proto__" === k) {
  861. allStrings = false;
  862. break;
  863. }
  864. ++_i;
  865. }
  866. if (allStrings) {
  867. object = {};
  868. for (_i = 0; t2 = keys.length, _i < t2; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  869. k = keys[_i];
  870. object[k] = other.$index(0, k);
  871. }
  872. return new A.ConstantStringMap(t2, object, keys, $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantStringMap<1,2>"));
  873. }
  874. return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(other, $K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantMapView<1,2>"));
  875. },
  876. ConstantMap__throwUnmodifiable() {
  877. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map"));
  878. },
  879. GeneralConstantMap__constantMapHashCode(key) {
  880. if (typeof key == "number")
  881. return B.JSNumber_methods.get$hashCode(key);
  882. if (type$.Symbol._is(key))
  883. return key.get$hashCode(key);
  884. if (type$.Type._is(key))
  885. return A.Primitives_objectHashCode(key);
  886. return A.objectHashCode(key);
  887. },
  888. GeneralConstantMap__typeTest($T) {
  889. return new A.GeneralConstantMap__typeTest_closure($T);
  890. },
  891. instantiate1(f, T1) {
  892. var t1 = new A.Instantiation1(f, T1._eval$1("Instantiation1<0>"));
  893. t1.Instantiation$1(f);
  894. return t1;
  895. },
  896. unminifyOrTag(rawClassName) {
  897. var preserved = init.mangledGlobalNames[rawClassName];
  898. if (preserved != null)
  899. return preserved;
  900. return rawClassName;
  901. },
  902. isJsIndexable(object, record) {
  903. var result;
  904. if (record != null) {
  905. result = record.x;
  906. if (result != null)
  907. return result;
  908. }
  909. return type$.JavaScriptIndexingBehavior_dynamic._is(object);
  910. },
  911. S(value) {
  912. var result;
  913. if (typeof value == "string")
  914. return value;
  915. if (typeof value == "number") {
  916. if (value !== 0)
  917. return "" + value;
  918. } else if (true === value)
  919. return "true";
  920. else if (false === value)
  921. return "false";
  922. else if (value == null)
  923. return "null";
  924. result = J.toString$0$(value);
  925. return result;
  926. },
  927. JSInvocationMirror$(_memberName, _internalName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount) {
  928. return new A.JSInvocationMirror(_memberName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount);
  929. },
  930. Primitives_objectHashCode(object) {
  931. var hash,
  932. property = $.Primitives__identityHashCodeProperty;
  933. if (property == null)
  934. property = $.Primitives__identityHashCodeProperty = Symbol("identityHashCode");
  935. hash = object[property];
  936. if (hash == null) {
  937. hash = Math.random() * 0x3fffffff | 0;
  938. object[property] = hash;
  939. }
  940. return hash;
  941. },
  942. Primitives_parseInt(source, radix) {
  943. var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null,
  944. match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
  945. if (match == null)
  946. return _null;
  947. decimalMatch = match[3];
  948. if (radix == null) {
  949. if (decimalMatch != null)
  950. return parseInt(source, 10);
  951. if (match[2] != null)
  952. return parseInt(source, 16);
  953. return _null;
  954. }
  955. if (radix < 2 || radix > 36)
  956. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null));
  957. if (radix === 10 && decimalMatch != null)
  958. return parseInt(source, 10);
  959. if (radix < 10 || decimalMatch == null) {
  960. maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;
  961. digitsPart = match[1];
  962. for (t1 = digitsPart.length, i = 0; i < t1; ++i)
  963. if ((B.JSString_methods._codeUnitAt$1(digitsPart, i) | 32) > maxCharCode)
  964. return _null;
  965. }
  966. return parseInt(source, radix);
  967. },
  968. Primitives_parseDouble(source) {
  969. var result, trimmed;
  970. if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source))
  971. return null;
  972. result = parseFloat(source);
  973. if (isNaN(result)) {
  974. trimmed = B.JSString_methods.trim$0(source);
  975. if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN")
  976. return result;
  977. return null;
  978. }
  979. return result;
  980. },
  981. Primitives_objectTypeName(object) {
  982. return A.Primitives__objectTypeNameNewRti(object);
  983. },
  984. Primitives__objectTypeNameNewRti(object) {
  985. var interceptor, dispatchName, $constructor, constructorName;
  986. if (object instanceof A.Object)
  987. return A._rtiToString(A.instanceType(object), null);
  988. interceptor = J.getInterceptor$(object);
  989. if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) {
  990. dispatchName = B.C_JS_CONST(object);
  991. if (dispatchName !== "Object" && dispatchName !== "")
  992. return dispatchName;
  993. $constructor = object.constructor;
  994. if (typeof $constructor == "function") {
  995. constructorName = $constructor.name;
  996. if (typeof constructorName == "string" && constructorName !== "Object" && constructorName !== "")
  997. return constructorName;
  998. }
  999. }
  1000. return A._rtiToString(A.instanceType(object), null);
  1001. },
  1002. Primitives_safeToString(object) {
  1003. if (typeof object == "number" || A._isBool(object))
  1004. return J.toString$0$(object);
  1005. if (typeof object == "string")
  1006. return JSON.stringify(object);
  1007. if (object instanceof A.Closure)
  1008. return object.toString$0(0);
  1009. return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
  1010. },
  1011. Primitives_currentUri() {
  1012. if (!!self.location)
  1013. return self.location.href;
  1014. return null;
  1015. },
  1016. Primitives__fromCharCodeApply(array) {
  1017. var result, i, i0, chunkEnd,
  1018. end = array.length;
  1019. if (end <= 500)
  1020. return String.fromCharCode.apply(null, array);
  1021. for (result = "", i = 0; i < end; i = i0) {
  1022. i0 = i + 500;
  1023. chunkEnd = i0 < end ? i0 : end;
  1024. result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));
  1025. }
  1026. return result;
  1027. },
  1028. Primitives_stringFromCodePoints(codePoints) {
  1029. var t1, _i, i,
  1030. a = A._setArrayType([], type$.JSArray_int);
  1031. for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) {
  1032. i = codePoints[_i];
  1033. if (!A._isInt(i))
  1034. throw A.wrapException(A.argumentErrorValue(i));
  1035. if (i <= 65535)
  1036. a.push(i);
  1037. else if (i <= 1114111) {
  1038. a.push(55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023));
  1039. a.push(56320 + (i & 1023));
  1040. } else
  1041. throw A.wrapException(A.argumentErrorValue(i));
  1042. }
  1043. return A.Primitives__fromCharCodeApply(a);
  1044. },
  1045. Primitives_stringFromCharCodes(charCodes) {
  1046. var t1, _i, i;
  1047. for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {
  1048. i = charCodes[_i];
  1049. if (!A._isInt(i))
  1050. throw A.wrapException(A.argumentErrorValue(i));
  1051. if (i < 0)
  1052. throw A.wrapException(A.argumentErrorValue(i));
  1053. if (i > 65535)
  1054. return A.Primitives_stringFromCodePoints(charCodes);
  1055. }
  1056. return A.Primitives__fromCharCodeApply(charCodes);
  1057. },
  1058. Primitives_stringFromNativeUint8List(charCodes, start, end) {
  1059. var i, result, i0, chunkEnd;
  1060. if (end <= 500 && start === 0 && end === charCodes.length)
  1061. return String.fromCharCode.apply(null, charCodes);
  1062. for (i = start, result = ""; i < end; i = i0) {
  1063. i0 = i + 500;
  1064. chunkEnd = i0 < end ? i0 : end;
  1065. result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));
  1066. }
  1067. return result;
  1068. },
  1069. Primitives_stringFromCharCode(charCode) {
  1070. var bits;
  1071. if (0 <= charCode) {
  1072. if (charCode <= 65535)
  1073. return String.fromCharCode(charCode);
  1074. if (charCode <= 1114111) {
  1075. bits = charCode - 65536;
  1076. return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);
  1077. }
  1078. }
  1079. throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null));
  1080. },
  1081. Primitives_lazyAsJsDate(receiver) {
  1082. if (receiver.date === void 0)
  1083. receiver.date = new Date(receiver._value);
  1084. return receiver.date;
  1085. },
  1086. Primitives_getYear(receiver) {
  1087. var t1 = A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
  1088. return t1;
  1089. },
  1090. Primitives_getMonth(receiver) {
  1091. var t1 = A.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
  1092. return t1;
  1093. },
  1094. Primitives_getDay(receiver) {
  1095. var t1 = A.Primitives_lazyAsJsDate(receiver).getDate() + 0;
  1096. return t1;
  1097. },
  1098. Primitives_getHours(receiver) {
  1099. var t1 = A.Primitives_lazyAsJsDate(receiver).getHours() + 0;
  1100. return t1;
  1101. },
  1102. Primitives_getMinutes(receiver) {
  1103. var t1 = A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
  1104. return t1;
  1105. },
  1106. Primitives_getSeconds(receiver) {
  1107. var t1 = A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
  1108. return t1;
  1109. },
  1110. Primitives_getMilliseconds(receiver) {
  1111. var t1 = A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
  1112. return t1;
  1113. },
  1114. Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) {
  1115. var $arguments, namedArgumentList, t1 = {};
  1116. t1.argumentCount = 0;
  1117. $arguments = [];
  1118. namedArgumentList = [];
  1119. t1.argumentCount = positionalArguments.length;
  1120. B.JSArray_methods.addAll$1($arguments, positionalArguments);
  1121. t1.names = "";
  1122. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  1123. namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments));
  1124. return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0));
  1125. },
  1126. Primitives_applyFunction($function, positionalArguments, namedArguments) {
  1127. var t1, argumentCount, jsStub;
  1128. if (Array.isArray(positionalArguments))
  1129. t1 = namedArguments == null || namedArguments.__js_helper$_length === 0;
  1130. else
  1131. t1 = false;
  1132. if (t1) {
  1133. argumentCount = positionalArguments.length;
  1134. if (argumentCount === 0) {
  1135. if (!!$function.call$0)
  1136. return $function.call$0();
  1137. } else if (argumentCount === 1) {
  1138. if (!!$function.call$1)
  1139. return $function.call$1(positionalArguments[0]);
  1140. } else if (argumentCount === 2) {
  1141. if (!!$function.call$2)
  1142. return $function.call$2(positionalArguments[0], positionalArguments[1]);
  1143. } else if (argumentCount === 3) {
  1144. if (!!$function.call$3)
  1145. return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]);
  1146. } else if (argumentCount === 4) {
  1147. if (!!$function.call$4)
  1148. return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]);
  1149. } else if (argumentCount === 5)
  1150. if (!!$function.call$5)
  1151. return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]);
  1152. jsStub = $function["call" + "$" + argumentCount];
  1153. if (jsStub != null)
  1154. return jsStub.apply($function, positionalArguments);
  1155. }
  1156. return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments);
  1157. },
  1158. Primitives__generalApplyFunction($function, positionalArguments, namedArguments) {
  1159. var defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2,
  1160. $arguments = Array.isArray(positionalArguments) ? positionalArguments : A.List_List$of(positionalArguments, true, type$.dynamic),
  1161. argumentCount = $arguments.length,
  1162. requiredParameterCount = $function.$requiredArgCount;
  1163. if (argumentCount < requiredParameterCount)
  1164. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1165. defaultValuesClosure = $function.$defaultValues;
  1166. t1 = defaultValuesClosure == null;
  1167. defaultValues = !t1 ? defaultValuesClosure() : null;
  1168. interceptor = J.getInterceptor$($function);
  1169. jsFunction = interceptor["call*"];
  1170. if (typeof jsFunction == "string")
  1171. jsFunction = interceptor[jsFunction];
  1172. if (t1) {
  1173. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  1174. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1175. if (argumentCount === requiredParameterCount)
  1176. return jsFunction.apply($function, $arguments);
  1177. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1178. }
  1179. if (Array.isArray(defaultValues)) {
  1180. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  1181. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1182. maxArguments = requiredParameterCount + defaultValues.length;
  1183. if (argumentCount > maxArguments)
  1184. return A.Primitives_functionNoSuchMethod($function, $arguments, null);
  1185. if (argumentCount < maxArguments) {
  1186. missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount);
  1187. if ($arguments === positionalArguments)
  1188. $arguments = A.List_List$of($arguments, true, type$.dynamic);
  1189. B.JSArray_methods.addAll$1($arguments, missingDefaults);
  1190. }
  1191. return jsFunction.apply($function, $arguments);
  1192. } else {
  1193. if (argumentCount > requiredParameterCount)
  1194. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1195. if ($arguments === positionalArguments)
  1196. $arguments = A.List_List$of($arguments, true, type$.dynamic);
  1197. keys = Object.keys(defaultValues);
  1198. if (namedArguments == null)
  1199. for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  1200. defaultValue = defaultValues[keys[_i]];
  1201. if (B.C__Required === defaultValue)
  1202. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1203. B.JSArray_methods.add$1($arguments, defaultValue);
  1204. }
  1205. else {
  1206. for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  1207. t2 = keys[_i];
  1208. if (namedArguments.containsKey$1(t2)) {
  1209. ++used;
  1210. B.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2));
  1211. } else {
  1212. defaultValue = defaultValues[t2];
  1213. if (B.C__Required === defaultValue)
  1214. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1215. B.JSArray_methods.add$1($arguments, defaultValue);
  1216. }
  1217. }
  1218. if (used !== namedArguments.__js_helper$_length)
  1219. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1220. }
  1221. return jsFunction.apply($function, $arguments);
  1222. }
  1223. },
  1224. diagnoseIndexError(indexable, index) {
  1225. var $length, _s5_ = "index";
  1226. if (!A._isInt(index))
  1227. return new A.ArgumentError(true, index, _s5_, null);
  1228. $length = J.get$length$asx(indexable);
  1229. if (index < 0 || index >= $length)
  1230. return A.IndexError$withLength(index, $length, indexable, null, _s5_);
  1231. return A.RangeError$value(index, _s5_, null);
  1232. },
  1233. diagnoseRangeError(start, end, $length) {
  1234. if (start < 0 || start > $length)
  1235. return A.RangeError$range(start, 0, $length, "start", null);
  1236. if (end != null)
  1237. if (end < start || end > $length)
  1238. return A.RangeError$range(end, start, $length, "end", null);
  1239. return new A.ArgumentError(true, end, "end", null);
  1240. },
  1241. argumentErrorValue(object) {
  1242. return new A.ArgumentError(true, object, null, null);
  1243. },
  1244. checkNum(value) {
  1245. return value;
  1246. },
  1247. wrapException(ex) {
  1248. var wrapper, t1;
  1249. if (ex == null)
  1250. ex = new A.TypeError();
  1251. wrapper = new Error();
  1252. wrapper.dartException = ex;
  1253. t1 = A.toStringWrapper;
  1254. if ("defineProperty" in Object) {
  1255. Object.defineProperty(wrapper, "message", {get: t1});
  1256. wrapper.name = "";
  1257. } else
  1258. wrapper.toString = t1;
  1259. return wrapper;
  1260. },
  1261. toStringWrapper() {
  1262. return J.toString$0$(this.dartException);
  1263. },
  1264. throwExpression(ex) {
  1265. throw A.wrapException(ex);
  1266. },
  1267. throwConcurrentModificationError(collection) {
  1268. throw A.wrapException(A.ConcurrentModificationError$(collection));
  1269. },
  1270. TypeErrorDecoder_extractPattern(message) {
  1271. var match, $arguments, argumentsExpr, expr, method, receiver;
  1272. message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$"));
  1273. match = message.match(/\\\$[a-zA-Z]+\\\$/g);
  1274. if (match == null)
  1275. match = A._setArrayType([], type$.JSArray_String);
  1276. $arguments = match.indexOf("\\$arguments\\$");
  1277. argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
  1278. expr = match.indexOf("\\$expr\\$");
  1279. method = match.indexOf("\\$method\\$");
  1280. receiver = match.indexOf("\\$receiver\\$");
  1281. 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);
  1282. },
  1283. TypeErrorDecoder_provokeCallErrorOn(expression) {
  1284. return function($expr$) {
  1285. var $argumentsExpr$ = "$arguments$";
  1286. try {
  1287. $expr$.$method$($argumentsExpr$);
  1288. } catch (e) {
  1289. return e.message;
  1290. }
  1291. }(expression);
  1292. },
  1293. TypeErrorDecoder_provokePropertyErrorOn(expression) {
  1294. return function($expr$) {
  1295. try {
  1296. $expr$.$method$;
  1297. } catch (e) {
  1298. return e.message;
  1299. }
  1300. }(expression);
  1301. },
  1302. JsNoSuchMethodError$(_message, match) {
  1303. var t1 = match == null,
  1304. t2 = t1 ? null : match.method;
  1305. return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);
  1306. },
  1307. unwrapException(ex) {
  1308. if (ex == null)
  1309. return new A.NullThrownFromJavaScriptException(ex);
  1310. if (ex instanceof A.ExceptionAndStackTrace)
  1311. return A.saveStackTrace(ex, ex.dartException);
  1312. if (typeof ex !== "object")
  1313. return ex;
  1314. if ("dartException" in ex)
  1315. return A.saveStackTrace(ex, ex.dartException);
  1316. return A._unwrapNonDartException(ex);
  1317. },
  1318. saveStackTrace(ex, error) {
  1319. if (type$.Error._is(error))
  1320. if (error.$thrownJsError == null)
  1321. error.$thrownJsError = ex;
  1322. return error;
  1323. },
  1324. _unwrapNonDartException(ex) {
  1325. var message, number, ieErrorCode, t1, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match, _null = null;
  1326. if (!("message" in ex))
  1327. return ex;
  1328. message = ex.message;
  1329. if ("number" in ex && typeof ex.number == "number") {
  1330. number = ex.number;
  1331. ieErrorCode = number & 65535;
  1332. if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10)
  1333. switch (ieErrorCode) {
  1334. case 438:
  1335. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", _null));
  1336. case 445:
  1337. case 5007:
  1338. t1 = A.S(message);
  1339. return A.saveStackTrace(ex, new A.NullError(t1 + " (Error " + ieErrorCode + ")", _null));
  1340. }
  1341. }
  1342. if (ex instanceof TypeError) {
  1343. nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern();
  1344. notClosure = $.$get$TypeErrorDecoder_notClosurePattern();
  1345. nullCall = $.$get$TypeErrorDecoder_nullCallPattern();
  1346. nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern();
  1347. undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern();
  1348. undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern();
  1349. nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern();
  1350. $.$get$TypeErrorDecoder_nullLiteralPropertyPattern();
  1351. undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern();
  1352. undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
  1353. match = nsme.matchTypeError$1(message);
  1354. if (match != null)
  1355. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  1356. else {
  1357. match = notClosure.matchTypeError$1(message);
  1358. if (match != null) {
  1359. match.method = "call";
  1360. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  1361. } else {
  1362. match = nullCall.matchTypeError$1(message);
  1363. if (match == null) {
  1364. match = nullLiteralCall.matchTypeError$1(message);
  1365. if (match == null) {
  1366. match = undefCall.matchTypeError$1(message);
  1367. if (match == null) {
  1368. match = undefLiteralCall.matchTypeError$1(message);
  1369. if (match == null) {
  1370. match = nullProperty.matchTypeError$1(message);
  1371. if (match == null) {
  1372. match = nullLiteralCall.matchTypeError$1(message);
  1373. if (match == null) {
  1374. match = undefProperty.matchTypeError$1(message);
  1375. if (match == null) {
  1376. match = undefLiteralProperty.matchTypeError$1(message);
  1377. t1 = match != null;
  1378. } else
  1379. t1 = true;
  1380. } else
  1381. t1 = true;
  1382. } else
  1383. t1 = true;
  1384. } else
  1385. t1 = true;
  1386. } else
  1387. t1 = true;
  1388. } else
  1389. t1 = true;
  1390. } else
  1391. t1 = true;
  1392. if (t1)
  1393. return A.saveStackTrace(ex, new A.NullError(message, match == null ? _null : match.method));
  1394. }
  1395. }
  1396. return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : ""));
  1397. }
  1398. if (ex instanceof RangeError) {
  1399. if (typeof message == "string" && message.indexOf("call stack") !== -1)
  1400. return new A.StackOverflowError();
  1401. message = function(ex) {
  1402. try {
  1403. return String(ex);
  1404. } catch (e) {
  1405. }
  1406. return null;
  1407. }(ex);
  1408. return A.saveStackTrace(ex, new A.ArgumentError(false, _null, _null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message));
  1409. }
  1410. if (typeof InternalError == "function" && ex instanceof InternalError)
  1411. if (typeof message == "string" && message === "too much recursion")
  1412. return new A.StackOverflowError();
  1413. return ex;
  1414. },
  1415. getTraceFromException(exception) {
  1416. var trace;
  1417. if (exception instanceof A.ExceptionAndStackTrace)
  1418. return exception.stackTrace;
  1419. if (exception == null)
  1420. return new A._StackTrace(exception);
  1421. trace = exception.$cachedTrace;
  1422. if (trace != null)
  1423. return trace;
  1424. return exception.$cachedTrace = new A._StackTrace(exception);
  1425. },
  1426. objectHashCode(object) {
  1427. if (object == null || typeof object != "object")
  1428. return J.get$hashCode$(object);
  1429. else
  1430. return A.Primitives_objectHashCode(object);
  1431. },
  1432. fillLiteralMap(keyValuePairs, result) {
  1433. var index, index0, index1,
  1434. $length = keyValuePairs.length;
  1435. for (index = 0; index < $length; index = index1) {
  1436. index0 = index + 1;
  1437. index1 = index0 + 1;
  1438. result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
  1439. }
  1440. return result;
  1441. },
  1442. fillLiteralSet(values, result) {
  1443. var index,
  1444. $length = values.length;
  1445. for (index = 0; index < $length; ++index)
  1446. result.add$1(0, values[index]);
  1447. return result;
  1448. },
  1449. invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) {
  1450. switch (numberOfArguments) {
  1451. case 0:
  1452. return closure.call$0();
  1453. case 1:
  1454. return closure.call$1(arg1);
  1455. case 2:
  1456. return closure.call$2(arg1, arg2);
  1457. case 3:
  1458. return closure.call$3(arg1, arg2, arg3);
  1459. case 4:
  1460. return closure.call$4(arg1, arg2, arg3, arg4);
  1461. }
  1462. throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure"));
  1463. },
  1464. convertDartClosureToJS(closure, arity) {
  1465. var $function;
  1466. if (closure == null)
  1467. return null;
  1468. $function = closure.$identity;
  1469. if (!!$function)
  1470. return $function;
  1471. $function = function(closure, arity, invoke) {
  1472. return function(a1, a2, a3, a4) {
  1473. return invoke(closure, arity, a1, a2, a3, a4);
  1474. };
  1475. }(closure, arity, A.invokeClosure);
  1476. closure.$identity = $function;
  1477. return $function;
  1478. },
  1479. Closure_fromTearOff(parameters) {
  1480. var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName,
  1481. container = parameters.co,
  1482. isStatic = parameters.iS,
  1483. isIntercepted = parameters.iI,
  1484. needsDirectAccess = parameters.nDA,
  1485. applyTrampolineIndex = parameters.aI,
  1486. funsOrNames = parameters.fs,
  1487. callNames = parameters.cs,
  1488. $name = funsOrNames[0],
  1489. callName = callNames[0],
  1490. $function = container[$name],
  1491. t1 = parameters.fT;
  1492. t1.toString;
  1493. $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype);
  1494. $prototype.$initialize = $prototype.constructor;
  1495. if (isStatic)
  1496. $constructor = function static_tear_off() {
  1497. this.$initialize();
  1498. };
  1499. else
  1500. $constructor = function tear_off(a, b) {
  1501. this.$initialize(a, b);
  1502. };
  1503. $prototype.constructor = $constructor;
  1504. $constructor.prototype = $prototype;
  1505. $prototype.$_name = $name;
  1506. $prototype.$_target = $function;
  1507. t2 = !isStatic;
  1508. if (t2)
  1509. trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess);
  1510. else {
  1511. $prototype.$static_name = $name;
  1512. trampoline = $function;
  1513. }
  1514. $prototype.$signature = A.Closure__computeSignatureFunctionNewRti(t1, isStatic, isIntercepted);
  1515. $prototype[callName] = trampoline;
  1516. for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) {
  1517. stub = funsOrNames[i];
  1518. if (typeof stub == "string") {
  1519. stub0 = container[stub];
  1520. stubName = stub;
  1521. stub = stub0;
  1522. } else
  1523. stubName = "";
  1524. stubCallName = callNames[i];
  1525. if (stubCallName != null) {
  1526. if (t2)
  1527. stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess);
  1528. $prototype[stubCallName] = stub;
  1529. }
  1530. if (i === applyTrampolineIndex)
  1531. applyTrampoline = stub;
  1532. }
  1533. $prototype["call*"] = applyTrampoline;
  1534. $prototype.$requiredArgCount = parameters.rC;
  1535. $prototype.$defaultValues = parameters.dV;
  1536. return $constructor;
  1537. },
  1538. Closure__computeSignatureFunctionNewRti(functionType, isStatic, isIntercepted) {
  1539. if (typeof functionType == "number")
  1540. return functionType;
  1541. if (typeof functionType == "string") {
  1542. if (isStatic)
  1543. throw A.wrapException("Cannot compute signature for static tearoff.");
  1544. return function(recipe, evalOnReceiver) {
  1545. return function() {
  1546. return evalOnReceiver(this, recipe);
  1547. };
  1548. }(functionType, A.BoundClosure_evalRecipe);
  1549. }
  1550. throw A.wrapException("Error in functionType of tearoff");
  1551. },
  1552. Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) {
  1553. var getReceiver = A.BoundClosure_receiverOf;
  1554. switch (needsDirectAccess ? -1 : arity) {
  1555. case 0:
  1556. return function(entry, receiverOf) {
  1557. return function() {
  1558. return receiverOf(this)[entry]();
  1559. };
  1560. }(stubName, getReceiver);
  1561. case 1:
  1562. return function(entry, receiverOf) {
  1563. return function(a) {
  1564. return receiverOf(this)[entry](a);
  1565. };
  1566. }(stubName, getReceiver);
  1567. case 2:
  1568. return function(entry, receiverOf) {
  1569. return function(a, b) {
  1570. return receiverOf(this)[entry](a, b);
  1571. };
  1572. }(stubName, getReceiver);
  1573. case 3:
  1574. return function(entry, receiverOf) {
  1575. return function(a, b, c) {
  1576. return receiverOf(this)[entry](a, b, c);
  1577. };
  1578. }(stubName, getReceiver);
  1579. case 4:
  1580. return function(entry, receiverOf) {
  1581. return function(a, b, c, d) {
  1582. return receiverOf(this)[entry](a, b, c, d);
  1583. };
  1584. }(stubName, getReceiver);
  1585. case 5:
  1586. return function(entry, receiverOf) {
  1587. return function(a, b, c, d, e) {
  1588. return receiverOf(this)[entry](a, b, c, d, e);
  1589. };
  1590. }(stubName, getReceiver);
  1591. default:
  1592. return function(f, receiverOf) {
  1593. return function() {
  1594. return f.apply(receiverOf(this), arguments);
  1595. };
  1596. }($function, getReceiver);
  1597. }
  1598. },
  1599. Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) {
  1600. var arity, t1;
  1601. if (isIntercepted)
  1602. return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess);
  1603. arity = $function.length;
  1604. t1 = A.Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function);
  1605. return t1;
  1606. },
  1607. Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) {
  1608. var getReceiver = A.BoundClosure_receiverOf,
  1609. getInterceptor = A.BoundClosure_interceptorOf;
  1610. switch (needsDirectAccess ? -1 : arity) {
  1611. case 0:
  1612. throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments."));
  1613. case 1:
  1614. return function(entry, interceptorOf, receiverOf) {
  1615. return function() {
  1616. return interceptorOf(this)[entry](receiverOf(this));
  1617. };
  1618. }(stubName, getInterceptor, getReceiver);
  1619. case 2:
  1620. return function(entry, interceptorOf, receiverOf) {
  1621. return function(a) {
  1622. return interceptorOf(this)[entry](receiverOf(this), a);
  1623. };
  1624. }(stubName, getInterceptor, getReceiver);
  1625. case 3:
  1626. return function(entry, interceptorOf, receiverOf) {
  1627. return function(a, b) {
  1628. return interceptorOf(this)[entry](receiverOf(this), a, b);
  1629. };
  1630. }(stubName, getInterceptor, getReceiver);
  1631. case 4:
  1632. return function(entry, interceptorOf, receiverOf) {
  1633. return function(a, b, c) {
  1634. return interceptorOf(this)[entry](receiverOf(this), a, b, c);
  1635. };
  1636. }(stubName, getInterceptor, getReceiver);
  1637. case 5:
  1638. return function(entry, interceptorOf, receiverOf) {
  1639. return function(a, b, c, d) {
  1640. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d);
  1641. };
  1642. }(stubName, getInterceptor, getReceiver);
  1643. case 6:
  1644. return function(entry, interceptorOf, receiverOf) {
  1645. return function(a, b, c, d, e) {
  1646. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e);
  1647. };
  1648. }(stubName, getInterceptor, getReceiver);
  1649. default:
  1650. return function(f, interceptorOf, receiverOf) {
  1651. return function() {
  1652. var a = [receiverOf(this)];
  1653. Array.prototype.push.apply(a, arguments);
  1654. return f.apply(interceptorOf(this), a);
  1655. };
  1656. }($function, getInterceptor, getReceiver);
  1657. }
  1658. },
  1659. Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) {
  1660. var arity, t1;
  1661. if ($.BoundClosure__interceptorFieldNameCache == null)
  1662. $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor");
  1663. if ($.BoundClosure__receiverFieldNameCache == null)
  1664. $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver");
  1665. arity = $function.length;
  1666. t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function);
  1667. return t1;
  1668. },
  1669. closureFromTearOff(parameters) {
  1670. return A.Closure_fromTearOff(parameters);
  1671. },
  1672. BoundClosure_evalRecipe(closure, recipe) {
  1673. return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe);
  1674. },
  1675. BoundClosure_receiverOf(closure) {
  1676. return closure._receiver;
  1677. },
  1678. BoundClosure_interceptorOf(closure) {
  1679. return closure._interceptor;
  1680. },
  1681. BoundClosure__computeFieldNamed(fieldName) {
  1682. var t1, i, $name,
  1683. template = new A.BoundClosure("receiver", "interceptor"),
  1684. names = J.JSArray_markFixedList(Object.getOwnPropertyNames(template));
  1685. for (t1 = names.length, i = 0; i < t1; ++i) {
  1686. $name = names[i];
  1687. if (template[$name] === fieldName)
  1688. return $name;
  1689. }
  1690. throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null));
  1691. },
  1692. throwCyclicInit(staticName) {
  1693. throw A.wrapException(new A._CyclicInitializationError(staticName));
  1694. },
  1695. getIsolateAffinityTag($name) {
  1696. return init.getIsolateTag($name);
  1697. },
  1698. LinkedHashMapKeyIterator$(_map, _modifications) {
  1699. var t1 = new A.LinkedHashMapKeyIterator(_map, _modifications);
  1700. t1._cell = _map._first;
  1701. return t1;
  1702. },
  1703. defineProperty(obj, property, value) {
  1704. Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
  1705. },
  1706. lookupAndCacheInterceptor(obj) {
  1707. var interceptor, interceptorClass, altTag, mark, t1,
  1708. tag = $.getTagFunction.call$1(obj),
  1709. record = $.dispatchRecordsForInstanceTags[tag];
  1710. if (record != null) {
  1711. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  1712. return record.i;
  1713. }
  1714. interceptor = $.interceptorsForUncacheableTags[tag];
  1715. if (interceptor != null)
  1716. return interceptor;
  1717. interceptorClass = init.interceptorsByTag[tag];
  1718. if (interceptorClass == null) {
  1719. altTag = $.alternateTagFunction.call$2(obj, tag);
  1720. if (altTag != null) {
  1721. record = $.dispatchRecordsForInstanceTags[altTag];
  1722. if (record != null) {
  1723. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  1724. return record.i;
  1725. }
  1726. interceptor = $.interceptorsForUncacheableTags[altTag];
  1727. if (interceptor != null)
  1728. return interceptor;
  1729. interceptorClass = init.interceptorsByTag[altTag];
  1730. tag = altTag;
  1731. }
  1732. }
  1733. if (interceptorClass == null)
  1734. return null;
  1735. interceptor = interceptorClass.prototype;
  1736. mark = tag[0];
  1737. if (mark === "!") {
  1738. record = A.makeLeafDispatchRecord(interceptor);
  1739. $.dispatchRecordsForInstanceTags[tag] = record;
  1740. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  1741. return record.i;
  1742. }
  1743. if (mark === "~") {
  1744. $.interceptorsForUncacheableTags[tag] = interceptor;
  1745. return interceptor;
  1746. }
  1747. if (mark === "-") {
  1748. t1 = A.makeLeafDispatchRecord(interceptor);
  1749. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  1750. return t1.i;
  1751. }
  1752. if (mark === "+")
  1753. return A.patchInteriorProto(obj, interceptor);
  1754. if (mark === "*")
  1755. throw A.wrapException(A.UnimplementedError$(tag));
  1756. if (init.leafTags[tag] === true) {
  1757. t1 = A.makeLeafDispatchRecord(interceptor);
  1758. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  1759. return t1.i;
  1760. } else
  1761. return A.patchInteriorProto(obj, interceptor);
  1762. },
  1763. patchInteriorProto(obj, interceptor) {
  1764. var proto = Object.getPrototypeOf(obj);
  1765. Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});
  1766. return interceptor;
  1767. },
  1768. makeLeafDispatchRecord(interceptor) {
  1769. return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
  1770. },
  1771. makeDefaultDispatchRecord(tag, interceptorClass, proto) {
  1772. var interceptor = interceptorClass.prototype;
  1773. if (init.leafTags[tag] === true)
  1774. return A.makeLeafDispatchRecord(interceptor);
  1775. else
  1776. return J.makeDispatchRecord(interceptor, proto, null, null);
  1777. },
  1778. initNativeDispatch() {
  1779. if (true === $.initNativeDispatchFlag)
  1780. return;
  1781. $.initNativeDispatchFlag = true;
  1782. A.initNativeDispatchContinue();
  1783. },
  1784. initNativeDispatchContinue() {
  1785. var map, tags, fun, i, tag, proto, record, interceptorClass;
  1786. $.dispatchRecordsForInstanceTags = Object.create(null);
  1787. $.interceptorsForUncacheableTags = Object.create(null);
  1788. A.initHooks();
  1789. map = init.interceptorsByTag;
  1790. tags = Object.getOwnPropertyNames(map);
  1791. if (typeof window != "undefined") {
  1792. window;
  1793. fun = function() {
  1794. };
  1795. for (i = 0; i < tags.length; ++i) {
  1796. tag = tags[i];
  1797. proto = $.prototypeForTagFunction.call$1(tag);
  1798. if (proto != null) {
  1799. record = A.makeDefaultDispatchRecord(tag, map[tag], proto);
  1800. if (record != null) {
  1801. Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  1802. fun.prototype = proto;
  1803. }
  1804. }
  1805. }
  1806. }
  1807. for (i = 0; i < tags.length; ++i) {
  1808. tag = tags[i];
  1809. if (/^[A-Za-z_]/.test(tag)) {
  1810. interceptorClass = map[tag];
  1811. map["!" + tag] = interceptorClass;
  1812. map["~" + tag] = interceptorClass;
  1813. map["-" + tag] = interceptorClass;
  1814. map["+" + tag] = interceptorClass;
  1815. map["*" + tag] = interceptorClass;
  1816. }
  1817. }
  1818. },
  1819. initHooks() {
  1820. var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,
  1821. hooks = B.C_JS_CONST0();
  1822. 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)))))));
  1823. if (typeof dartNativeDispatchHooksTransformer != "undefined") {
  1824. transformers = dartNativeDispatchHooksTransformer;
  1825. if (typeof transformers == "function")
  1826. transformers = [transformers];
  1827. if (transformers.constructor == Array)
  1828. for (i = 0; i < transformers.length; ++i) {
  1829. transformer = transformers[i];
  1830. if (typeof transformer == "function")
  1831. hooks = transformer(hooks) || hooks;
  1832. }
  1833. }
  1834. getTag = hooks.getTag;
  1835. getUnknownTag = hooks.getUnknownTag;
  1836. prototypeForTag = hooks.prototypeForTag;
  1837. $.getTagFunction = new A.initHooks_closure(getTag);
  1838. $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag);
  1839. $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag);
  1840. },
  1841. applyHooksTransformer(transformer, hooks) {
  1842. return transformer(hooks) || hooks;
  1843. },
  1844. createRecordTypePredicate(shape, fieldRtis) {
  1845. var $length = fieldRtis.length,
  1846. $function = init.rttc["" + $length + ";" + shape];
  1847. if ($function == null)
  1848. return null;
  1849. if ($length === 0)
  1850. return $function;
  1851. if ($length === $function.length)
  1852. return $function.apply(null, fieldRtis);
  1853. return $function(fieldRtis);
  1854. },
  1855. JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) {
  1856. var m = multiLine ? "m" : "",
  1857. i = caseSensitive ? "" : "i",
  1858. u = unicode ? "u" : "",
  1859. s = dotAll ? "s" : "",
  1860. g = global ? "g" : "",
  1861. regexp = function(source, modifiers) {
  1862. try {
  1863. return new RegExp(source, modifiers);
  1864. } catch (e) {
  1865. return e;
  1866. }
  1867. }(source, m + i + u + s + g);
  1868. if (regexp instanceof RegExp)
  1869. return regexp;
  1870. throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
  1871. },
  1872. stringContainsUnchecked(receiver, other, startIndex) {
  1873. var t1;
  1874. if (typeof other == "string")
  1875. return receiver.indexOf(other, startIndex) >= 0;
  1876. else if (other instanceof A.JSSyntaxRegExp) {
  1877. t1 = B.JSString_methods.substring$1(receiver, startIndex);
  1878. return other._nativeRegExp.test(t1);
  1879. } else {
  1880. t1 = J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex));
  1881. return !t1.get$isEmpty(t1);
  1882. }
  1883. },
  1884. escapeReplacement(replacement) {
  1885. if (replacement.indexOf("$", 0) >= 0)
  1886. return replacement.replace(/\$/g, "$$$$");
  1887. return replacement;
  1888. },
  1889. stringReplaceFirstRE(receiver, regexp, replacement, startIndex) {
  1890. var match = regexp._execGlobal$2(receiver, startIndex);
  1891. if (match == null)
  1892. return receiver;
  1893. return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(match), replacement);
  1894. },
  1895. quoteStringForRegExp(string) {
  1896. if (/[[\]{}()*+?.\\^$|]/.test(string))
  1897. return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&");
  1898. return string;
  1899. },
  1900. stringReplaceAllUnchecked(receiver, pattern, replacement) {
  1901. var nativeRegexp;
  1902. if (typeof pattern == "string")
  1903. return A.stringReplaceAllUncheckedString(receiver, pattern, replacement);
  1904. if (pattern instanceof A.JSSyntaxRegExp) {
  1905. nativeRegexp = pattern.get$_nativeGlobalVersion();
  1906. nativeRegexp.lastIndex = 0;
  1907. return receiver.replace(nativeRegexp, A.escapeReplacement(replacement));
  1908. }
  1909. return A.stringReplaceAllGeneral(receiver, pattern, replacement);
  1910. },
  1911. stringReplaceAllGeneral(receiver, pattern, replacement) {
  1912. var t1, startIndex, t2, match;
  1913. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), startIndex = 0, t2 = ""; t1.moveNext$0();) {
  1914. match = t1.get$current(t1);
  1915. t2 = t2 + receiver.substring(startIndex, match.get$start(match)) + replacement;
  1916. startIndex = match.get$end(match);
  1917. }
  1918. t1 = t2 + receiver.substring(startIndex);
  1919. return t1.charCodeAt(0) == 0 ? t1 : t1;
  1920. },
  1921. stringReplaceAllUncheckedString(receiver, pattern, replacement) {
  1922. var $length, t1, i;
  1923. if (pattern === "") {
  1924. if (receiver === "")
  1925. return replacement;
  1926. $length = receiver.length;
  1927. t1 = "" + replacement;
  1928. for (i = 0; i < $length; ++i)
  1929. t1 = t1 + receiver[i] + replacement;
  1930. return t1.charCodeAt(0) == 0 ? t1 : t1;
  1931. }
  1932. if (receiver.indexOf(pattern, 0) < 0)
  1933. return receiver;
  1934. if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0)
  1935. return receiver.split(pattern).join(replacement);
  1936. return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement));
  1937. },
  1938. stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) {
  1939. var index, t1, matches, match;
  1940. if (typeof pattern == "string") {
  1941. index = receiver.indexOf(pattern, startIndex);
  1942. if (index < 0)
  1943. return receiver;
  1944. return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);
  1945. }
  1946. if (pattern instanceof A.JSSyntaxRegExp)
  1947. return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);
  1948. t1 = J.allMatches$2$s(pattern, receiver, startIndex);
  1949. matches = t1.get$iterator(t1);
  1950. if (!matches.moveNext$0())
  1951. return receiver;
  1952. match = matches.get$current(matches);
  1953. return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement);
  1954. },
  1955. stringReplaceRangeUnchecked(receiver, start, end, replacement) {
  1956. return receiver.substring(0, start) + replacement + receiver.substring(end);
  1957. },
  1958. ConstantMapView: function ConstantMapView(t0, t1) {
  1959. this._map = t0;
  1960. this.$ti = t1;
  1961. },
  1962. ConstantMap: function ConstantMap() {
  1963. },
  1964. ConstantStringMap: function ConstantStringMap(t0, t1, t2, t3) {
  1965. var _ = this;
  1966. _.__js_helper$_length = t0;
  1967. _._jsObject = t1;
  1968. _._keys = t2;
  1969. _.$ti = t3;
  1970. },
  1971. ConstantStringMap_values_closure: function ConstantStringMap_values_closure(t0) {
  1972. this.$this = t0;
  1973. },
  1974. _ConstantMapKeyIterable: function _ConstantMapKeyIterable(t0, t1) {
  1975. this.__js_helper$_map = t0;
  1976. this.$ti = t1;
  1977. },
  1978. GeneralConstantMap: function GeneralConstantMap(t0, t1) {
  1979. this._jsData = t0;
  1980. this.$ti = t1;
  1981. },
  1982. GeneralConstantMap__typeTest_closure: function GeneralConstantMap__typeTest_closure(t0) {
  1983. this.T = t0;
  1984. },
  1985. Instantiation: function Instantiation() {
  1986. },
  1987. Instantiation1: function Instantiation1(t0, t1) {
  1988. this._genericClosure = t0;
  1989. this.$ti = t1;
  1990. },
  1991. JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) {
  1992. var _ = this;
  1993. _.__js_helper$_memberName = t0;
  1994. _.__js_helper$_kind = t1;
  1995. _._arguments = t2;
  1996. _._namedArgumentNames = t3;
  1997. _._typeArgumentCount = t4;
  1998. },
  1999. Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) {
  2000. this._box_0 = t0;
  2001. this.namedArgumentList = t1;
  2002. this.$arguments = t2;
  2003. },
  2004. TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
  2005. var _ = this;
  2006. _._pattern = t0;
  2007. _._arguments = t1;
  2008. _._argumentsExpr = t2;
  2009. _._expr = t3;
  2010. _._method = t4;
  2011. _._receiver = t5;
  2012. },
  2013. NullError: function NullError(t0, t1) {
  2014. this.__js_helper$_message = t0;
  2015. this._method = t1;
  2016. },
  2017. JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {
  2018. this.__js_helper$_message = t0;
  2019. this._method = t1;
  2020. this._receiver = t2;
  2021. },
  2022. UnknownJsTypeError: function UnknownJsTypeError(t0) {
  2023. this.__js_helper$_message = t0;
  2024. },
  2025. NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {
  2026. this._irritant = t0;
  2027. },
  2028. ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {
  2029. this.dartException = t0;
  2030. this.stackTrace = t1;
  2031. },
  2032. _StackTrace: function _StackTrace(t0) {
  2033. this._exception = t0;
  2034. this._trace = null;
  2035. },
  2036. Closure: function Closure() {
  2037. },
  2038. Closure0Args: function Closure0Args() {
  2039. },
  2040. Closure2Args: function Closure2Args() {
  2041. },
  2042. TearOffClosure: function TearOffClosure() {
  2043. },
  2044. StaticClosure: function StaticClosure() {
  2045. },
  2046. BoundClosure: function BoundClosure(t0, t1) {
  2047. this._receiver = t0;
  2048. this._interceptor = t1;
  2049. },
  2050. _CyclicInitializationError: function _CyclicInitializationError(t0) {
  2051. this.variableName = t0;
  2052. },
  2053. RuntimeError: function RuntimeError(t0) {
  2054. this.message = t0;
  2055. },
  2056. _Required: function _Required() {
  2057. },
  2058. JsLinkedHashMap: function JsLinkedHashMap(t0) {
  2059. var _ = this;
  2060. _.__js_helper$_length = 0;
  2061. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  2062. _._modifications = 0;
  2063. _.$ti = t0;
  2064. },
  2065. JsLinkedHashMap_values_closure: function JsLinkedHashMap_values_closure(t0) {
  2066. this.$this = t0;
  2067. },
  2068. JsLinkedHashMap_addAll_closure: function JsLinkedHashMap_addAll_closure(t0) {
  2069. this.$this = t0;
  2070. },
  2071. LinkedHashMapCell: function LinkedHashMapCell(t0, t1) {
  2072. var _ = this;
  2073. _.hashMapCellKey = t0;
  2074. _.hashMapCellValue = t1;
  2075. _._previous = _._next = null;
  2076. },
  2077. LinkedHashMapKeyIterable: function LinkedHashMapKeyIterable(t0, t1) {
  2078. this.__js_helper$_map = t0;
  2079. this.$ti = t1;
  2080. },
  2081. LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1) {
  2082. var _ = this;
  2083. _.__js_helper$_map = t0;
  2084. _._modifications = t1;
  2085. _.__js_helper$_current = _._cell = null;
  2086. },
  2087. initHooks_closure: function initHooks_closure(t0) {
  2088. this.getTag = t0;
  2089. },
  2090. initHooks_closure0: function initHooks_closure0(t0) {
  2091. this.getUnknownTag = t0;
  2092. },
  2093. initHooks_closure1: function initHooks_closure1(t0) {
  2094. this.prototypeForTag = t0;
  2095. },
  2096. JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) {
  2097. var _ = this;
  2098. _.pattern = t0;
  2099. _._nativeRegExp = t1;
  2100. _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null;
  2101. },
  2102. _MatchImplementation: function _MatchImplementation(t0) {
  2103. this._match = t0;
  2104. },
  2105. _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) {
  2106. this._re = t0;
  2107. this._string = t1;
  2108. this._start = t2;
  2109. },
  2110. _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) {
  2111. var _ = this;
  2112. _._regExp = t0;
  2113. _._string = t1;
  2114. _._nextIndex = t2;
  2115. _.__js_helper$_current = null;
  2116. },
  2117. StringMatch: function StringMatch(t0, t1) {
  2118. this.start = t0;
  2119. this.pattern = t1;
  2120. },
  2121. _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) {
  2122. this._input = t0;
  2123. this._pattern = t1;
  2124. this.__js_helper$_index = t2;
  2125. },
  2126. _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) {
  2127. var _ = this;
  2128. _._input = t0;
  2129. _._pattern = t1;
  2130. _.__js_helper$_index = t2;
  2131. _.__js_helper$_current = null;
  2132. },
  2133. throwLateFieldADI(fieldName) {
  2134. return A.throwExpression(A.LateError$fieldADI(fieldName));
  2135. },
  2136. throwUnnamedLateFieldNI() {
  2137. return A.throwExpression(A.LateError$fieldNI(""));
  2138. },
  2139. throwUnnamedLateFieldAI() {
  2140. return A.throwExpression(A.LateError$fieldAI(""));
  2141. },
  2142. throwUnnamedLateFieldADI() {
  2143. return A.throwExpression(A.LateError$fieldADI(""));
  2144. },
  2145. _Cell$() {
  2146. var t1 = new A._Cell("");
  2147. return t1.__late_helper$_value = t1;
  2148. },
  2149. _Cell$named(_name) {
  2150. var t1 = new A._Cell(_name);
  2151. return t1.__late_helper$_value = t1;
  2152. },
  2153. _Cell: function _Cell(t0) {
  2154. this.__late_helper$_name = t0;
  2155. this.__late_helper$_value = null;
  2156. },
  2157. _ensureNativeList(list) {
  2158. return list;
  2159. },
  2160. NativeInt8List__create1(arg) {
  2161. return new Int8Array(arg);
  2162. },
  2163. _checkValidIndex(index, list, $length) {
  2164. if (index >>> 0 !== index || index >= $length)
  2165. throw A.wrapException(A.diagnoseIndexError(list, index));
  2166. },
  2167. _checkValidRange(start, end, $length) {
  2168. var t1;
  2169. if (!(start >>> 0 !== start))
  2170. if (end == null)
  2171. t1 = start > $length;
  2172. else
  2173. t1 = end >>> 0 !== end || start > end || end > $length;
  2174. else
  2175. t1 = true;
  2176. if (t1)
  2177. throw A.wrapException(A.diagnoseRangeError(start, end, $length));
  2178. if (end == null)
  2179. return $length;
  2180. return end;
  2181. },
  2182. NativeByteBuffer: function NativeByteBuffer() {
  2183. },
  2184. NativeTypedData: function NativeTypedData() {
  2185. },
  2186. NativeByteData: function NativeByteData() {
  2187. },
  2188. NativeTypedArray: function NativeTypedArray() {
  2189. },
  2190. NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() {
  2191. },
  2192. NativeTypedArrayOfInt: function NativeTypedArrayOfInt() {
  2193. },
  2194. NativeFloat32List: function NativeFloat32List() {
  2195. },
  2196. NativeFloat64List: function NativeFloat64List() {
  2197. },
  2198. NativeInt16List: function NativeInt16List() {
  2199. },
  2200. NativeInt32List: function NativeInt32List() {
  2201. },
  2202. NativeInt8List: function NativeInt8List() {
  2203. },
  2204. NativeUint16List: function NativeUint16List() {
  2205. },
  2206. NativeUint32List: function NativeUint32List() {
  2207. },
  2208. NativeUint8ClampedList: function NativeUint8ClampedList() {
  2209. },
  2210. NativeUint8List: function NativeUint8List() {
  2211. },
  2212. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() {
  2213. },
  2214. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  2215. },
  2216. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() {
  2217. },
  2218. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  2219. },
  2220. Rti__getQuestionFromStar(universe, rti) {
  2221. var question = rti._precomputed1;
  2222. return question == null ? rti._precomputed1 = A._Universe__lookupQuestionRti(universe, rti._primary, true) : question;
  2223. },
  2224. Rti__getFutureFromFutureOr(universe, rti) {
  2225. var future = rti._precomputed1;
  2226. return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future;
  2227. },
  2228. Rti__isUnionOfFunctionType(rti) {
  2229. var kind = rti._kind;
  2230. if (kind === 6 || kind === 7 || kind === 8)
  2231. return A.Rti__isUnionOfFunctionType(rti._primary);
  2232. return kind === 12 || kind === 13;
  2233. },
  2234. Rti__getCanonicalRecipe(rti) {
  2235. return rti._canonicalRecipe;
  2236. },
  2237. findType(recipe) {
  2238. return A._Universe_eval(init.typeUniverse, recipe, false);
  2239. },
  2240. instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) {
  2241. var t1, cache, key, probe, rti;
  2242. if (genericFunctionRti == null)
  2243. return null;
  2244. t1 = instantiationRti._rest;
  2245. cache = genericFunctionRti._bindCache;
  2246. if (cache == null)
  2247. cache = genericFunctionRti._bindCache = new Map();
  2248. key = instantiationRti._canonicalRecipe;
  2249. probe = cache.get(key);
  2250. if (probe != null)
  2251. return probe;
  2252. rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);
  2253. cache.set(key, rti);
  2254. return rti;
  2255. },
  2256. _substitute(universe, rti, typeArguments, depth) {
  2257. var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,
  2258. kind = rti._kind;
  2259. switch (kind) {
  2260. case 5:
  2261. case 1:
  2262. case 2:
  2263. case 3:
  2264. case 4:
  2265. return rti;
  2266. case 6:
  2267. baseType = rti._primary;
  2268. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  2269. if (substitutedBaseType === baseType)
  2270. return rti;
  2271. return A._Universe__lookupStarRti(universe, substitutedBaseType, true);
  2272. case 7:
  2273. baseType = rti._primary;
  2274. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  2275. if (substitutedBaseType === baseType)
  2276. return rti;
  2277. return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true);
  2278. case 8:
  2279. baseType = rti._primary;
  2280. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  2281. if (substitutedBaseType === baseType)
  2282. return rti;
  2283. return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);
  2284. case 9:
  2285. interfaceTypeArguments = rti._rest;
  2286. substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);
  2287. if (substitutedInterfaceTypeArguments === interfaceTypeArguments)
  2288. return rti;
  2289. return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);
  2290. case 10:
  2291. base = rti._primary;
  2292. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  2293. $arguments = rti._rest;
  2294. substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth);
  2295. if (substitutedBase === base && substitutedArguments === $arguments)
  2296. return rti;
  2297. return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);
  2298. case 12:
  2299. returnType = rti._primary;
  2300. substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth);
  2301. functionParameters = rti._rest;
  2302. substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);
  2303. if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)
  2304. return rti;
  2305. return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);
  2306. case 13:
  2307. bounds = rti._rest;
  2308. depth += bounds.length;
  2309. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth);
  2310. base = rti._primary;
  2311. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  2312. if (substitutedBounds === bounds && substitutedBase === base)
  2313. return rti;
  2314. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);
  2315. case 14:
  2316. index = rti._primary;
  2317. if (index < depth)
  2318. return rti;
  2319. argument = typeArguments[index - depth];
  2320. if (argument == null)
  2321. return rti;
  2322. return argument;
  2323. default:
  2324. throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind));
  2325. }
  2326. },
  2327. _substituteArray(universe, rtiArray, typeArguments, depth) {
  2328. var changed, i, rti, substitutedRti,
  2329. $length = rtiArray.length,
  2330. result = A._Utils_newArrayOrEmpty($length);
  2331. for (changed = false, i = 0; i < $length; ++i) {
  2332. rti = rtiArray[i];
  2333. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  2334. if (substitutedRti !== rti)
  2335. changed = true;
  2336. result[i] = substitutedRti;
  2337. }
  2338. return changed ? result : rtiArray;
  2339. },
  2340. _substituteNamed(universe, namedArray, typeArguments, depth) {
  2341. var changed, i, t1, t2, rti, substitutedRti,
  2342. $length = namedArray.length,
  2343. result = A._Utils_newArrayOrEmpty($length);
  2344. for (changed = false, i = 0; i < $length; i += 3) {
  2345. t1 = namedArray[i];
  2346. t2 = namedArray[i + 1];
  2347. rti = namedArray[i + 2];
  2348. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  2349. if (substitutedRti !== rti)
  2350. changed = true;
  2351. result.splice(i, 3, t1, t2, substitutedRti);
  2352. }
  2353. return changed ? result : namedArray;
  2354. },
  2355. _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) {
  2356. var result,
  2357. requiredPositional = functionParameters._requiredPositional,
  2358. substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth),
  2359. optionalPositional = functionParameters._optionalPositional,
  2360. substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth),
  2361. named = functionParameters._named,
  2362. substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth);
  2363. if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)
  2364. return functionParameters;
  2365. result = new A._FunctionParameters();
  2366. result._requiredPositional = substitutedRequiredPositional;
  2367. result._optionalPositional = substitutedOptionalPositional;
  2368. result._named = substitutedNamed;
  2369. return result;
  2370. },
  2371. _setArrayType(target, rti) {
  2372. target[init.arrayRti] = rti;
  2373. return target;
  2374. },
  2375. closureFunctionType(closure) {
  2376. var t1,
  2377. signature = closure.$signature;
  2378. if (signature != null) {
  2379. if (typeof signature == "number")
  2380. return A.getTypeFromTypesTable(signature);
  2381. t1 = closure.$signature();
  2382. return t1;
  2383. }
  2384. return null;
  2385. },
  2386. instanceOrFunctionType(object, testRti) {
  2387. var rti;
  2388. if (A.Rti__isUnionOfFunctionType(testRti))
  2389. if (object instanceof A.Closure) {
  2390. rti = A.closureFunctionType(object);
  2391. if (rti != null)
  2392. return rti;
  2393. }
  2394. return A.instanceType(object);
  2395. },
  2396. instanceType(object) {
  2397. if (object instanceof A.Object)
  2398. return A._instanceType(object);
  2399. if (Array.isArray(object))
  2400. return A._arrayInstanceType(object);
  2401. return A._instanceTypeFromConstructor(J.getInterceptor$(object));
  2402. },
  2403. _arrayInstanceType(object) {
  2404. var rti = object[init.arrayRti],
  2405. defaultRti = type$.JSArray_dynamic;
  2406. if (rti == null)
  2407. return defaultRti;
  2408. if (rti.constructor !== defaultRti.constructor)
  2409. return defaultRti;
  2410. return rti;
  2411. },
  2412. _instanceType(object) {
  2413. var rti = object.$ti;
  2414. return rti != null ? rti : A._instanceTypeFromConstructor(object);
  2415. },
  2416. _instanceTypeFromConstructor(instance) {
  2417. var $constructor = instance.constructor,
  2418. probe = $constructor.$ccache;
  2419. if (probe != null)
  2420. return probe;
  2421. return A._instanceTypeFromConstructorMiss(instance, $constructor);
  2422. },
  2423. _instanceTypeFromConstructorMiss(instance, $constructor) {
  2424. var effectiveConstructor = instance instanceof A.Closure ? instance.__proto__.__proto__.constructor : $constructor,
  2425. rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);
  2426. $constructor.$ccache = rti;
  2427. return rti;
  2428. },
  2429. getTypeFromTypesTable(index) {
  2430. var rti,
  2431. table = init.types,
  2432. type = table[index];
  2433. if (typeof type == "string") {
  2434. rti = A._Universe_eval(init.typeUniverse, type, false);
  2435. table[index] = rti;
  2436. return rti;
  2437. }
  2438. return type;
  2439. },
  2440. getRuntimeTypeOfDartObject(object) {
  2441. return A.createRuntimeType(A._instanceType(object));
  2442. },
  2443. getRuntimeTypeOfClosure(closure) {
  2444. var rti = A.closureFunctionType(closure);
  2445. return A.createRuntimeType(rti == null ? A.instanceType(closure) : rti);
  2446. },
  2447. _structuralTypeOf(object) {
  2448. var functionRti = object instanceof A.Closure ? A.closureFunctionType(object) : null;
  2449. if (functionRti != null)
  2450. return functionRti;
  2451. if (type$.TrustedGetRuntimeType._is(object))
  2452. return J.get$runtimeType$(object)._rti;
  2453. if (Array.isArray(object))
  2454. return A._arrayInstanceType(object);
  2455. return A.instanceType(object);
  2456. },
  2457. createRuntimeType(rti) {
  2458. var t1 = rti._cachedRuntimeType;
  2459. return t1 == null ? rti._cachedRuntimeType = A._createRuntimeType(rti) : t1;
  2460. },
  2461. _createRuntimeType(rti) {
  2462. var starErasedRti, t1,
  2463. s = rti._canonicalRecipe,
  2464. starErasedRecipe = s.replace(/\*/g, "");
  2465. if (starErasedRecipe === s)
  2466. return rti._cachedRuntimeType = new A._Type(rti);
  2467. starErasedRti = A._Universe_eval(init.typeUniverse, starErasedRecipe, true);
  2468. t1 = starErasedRti._cachedRuntimeType;
  2469. return t1 == null ? starErasedRti._cachedRuntimeType = A._createRuntimeType(starErasedRti) : t1;
  2470. },
  2471. typeLiteral(recipe) {
  2472. return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));
  2473. },
  2474. _installSpecializedIsTest(object) {
  2475. var t1, unstarred, isFn, $name, predicate, testRti = this;
  2476. if (testRti === type$.Object)
  2477. return A._finishIsFn(testRti, object, A._isObject);
  2478. if (!A.isStrongTopType(testRti))
  2479. if (!(testRti === type$.legacy_Object))
  2480. t1 = false;
  2481. else
  2482. t1 = true;
  2483. else
  2484. t1 = true;
  2485. if (t1)
  2486. return A._finishIsFn(testRti, object, A._isTop);
  2487. t1 = testRti._kind;
  2488. if (t1 === 7)
  2489. return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation);
  2490. if (t1 === 1)
  2491. return A._finishIsFn(testRti, object, A._isNever);
  2492. unstarred = t1 === 6 ? testRti._primary : testRti;
  2493. t1 = unstarred._kind;
  2494. if (t1 === 8)
  2495. return A._finishIsFn(testRti, object, A._isFutureOr);
  2496. if (unstarred === type$.int)
  2497. isFn = A._isInt;
  2498. else if (unstarred === type$.double || unstarred === type$.num)
  2499. isFn = A._isNum;
  2500. else if (unstarred === type$.String)
  2501. isFn = A._isString;
  2502. else
  2503. isFn = unstarred === type$.bool ? A._isBool : null;
  2504. if (isFn != null)
  2505. return A._finishIsFn(testRti, object, isFn);
  2506. if (t1 === 9) {
  2507. $name = unstarred._primary;
  2508. if (unstarred._rest.every(A.isTopType)) {
  2509. testRti._specializedTestResource = "$is" + $name;
  2510. if ($name === "List")
  2511. return A._finishIsFn(testRti, object, A._isListTestViaProperty);
  2512. return A._finishIsFn(testRti, object, A._isTestViaProperty);
  2513. }
  2514. } else if (t1 === 11) {
  2515. predicate = A.createRecordTypePredicate(unstarred._primary, unstarred._rest);
  2516. return A._finishIsFn(testRti, object, predicate == null ? A._isNever : predicate);
  2517. }
  2518. return A._finishIsFn(testRti, object, A._generalIsTestImplementation);
  2519. },
  2520. _finishIsFn(testRti, object, isFn) {
  2521. testRti._is = isFn;
  2522. return testRti._is(object);
  2523. },
  2524. _installSpecializedAsCheck(object) {
  2525. var t1, testRti = this,
  2526. asFn = A._generalAsCheckImplementation;
  2527. if (!A.isStrongTopType(testRti))
  2528. if (!(testRti === type$.legacy_Object))
  2529. t1 = false;
  2530. else
  2531. t1 = true;
  2532. else
  2533. t1 = true;
  2534. if (t1)
  2535. asFn = A._asTop;
  2536. else if (testRti === type$.Object)
  2537. asFn = A._asObject;
  2538. else {
  2539. t1 = A.isNullable(testRti);
  2540. if (t1)
  2541. asFn = A._generalNullableAsCheckImplementation;
  2542. }
  2543. testRti._as = asFn;
  2544. return testRti._as(object);
  2545. },
  2546. _nullIs(testRti) {
  2547. var t1,
  2548. kind = testRti._kind;
  2549. if (!A.isStrongTopType(testRti))
  2550. if (!(testRti === type$.legacy_Object))
  2551. if (!(testRti === type$.legacy_Never))
  2552. if (kind !== 7)
  2553. if (!(kind === 6 && A._nullIs(testRti._primary)))
  2554. t1 = kind === 8 && A._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull;
  2555. else
  2556. t1 = true;
  2557. else
  2558. t1 = true;
  2559. else
  2560. t1 = true;
  2561. else
  2562. t1 = true;
  2563. else
  2564. t1 = true;
  2565. return t1;
  2566. },
  2567. _generalIsTestImplementation(object) {
  2568. var testRti = this;
  2569. if (object == null)
  2570. return A._nullIs(testRti);
  2571. return A._isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), null, testRti, null);
  2572. },
  2573. _generalNullableIsTestImplementation(object) {
  2574. if (object == null)
  2575. return true;
  2576. return this._primary._is(object);
  2577. },
  2578. _isTestViaProperty(object) {
  2579. var tag, testRti = this;
  2580. if (object == null)
  2581. return A._nullIs(testRti);
  2582. tag = testRti._specializedTestResource;
  2583. if (object instanceof A.Object)
  2584. return !!object[tag];
  2585. return !!J.getInterceptor$(object)[tag];
  2586. },
  2587. _isListTestViaProperty(object) {
  2588. var tag, testRti = this;
  2589. if (object == null)
  2590. return A._nullIs(testRti);
  2591. if (typeof object != "object")
  2592. return false;
  2593. if (Array.isArray(object))
  2594. return true;
  2595. tag = testRti._specializedTestResource;
  2596. if (object instanceof A.Object)
  2597. return !!object[tag];
  2598. return !!J.getInterceptor$(object)[tag];
  2599. },
  2600. _generalAsCheckImplementation(object) {
  2601. var t1, testRti = this;
  2602. if (object == null) {
  2603. t1 = A.isNullable(testRti);
  2604. if (t1)
  2605. return object;
  2606. } else if (testRti._is(object))
  2607. return object;
  2608. A._failedAsCheck(object, testRti);
  2609. },
  2610. _generalNullableAsCheckImplementation(object) {
  2611. var testRti = this;
  2612. if (object == null)
  2613. return object;
  2614. else if (testRti._is(object))
  2615. return object;
  2616. A._failedAsCheck(object, testRti);
  2617. },
  2618. _failedAsCheck(object, testRti) {
  2619. throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A._rtiToString(testRti, null))));
  2620. },
  2621. _Error_compose(object, checkedTypeDescription) {
  2622. return A.Error_safeToString(object) + ": type '" + A._rtiToString(A._structuralTypeOf(object), null) + "' is not a subtype of type '" + checkedTypeDescription + "'";
  2623. },
  2624. _TypeError$fromMessage(message) {
  2625. return new A._TypeError("TypeError: " + message);
  2626. },
  2627. _TypeError__TypeError$forType(object, type) {
  2628. return new A._TypeError("TypeError: " + A._Error_compose(object, type));
  2629. },
  2630. _isFutureOr(object) {
  2631. var testRti = this;
  2632. return testRti._primary._is(object) || A.Rti__getFutureFromFutureOr(init.typeUniverse, testRti)._is(object);
  2633. },
  2634. _isObject(object) {
  2635. return object != null;
  2636. },
  2637. _asObject(object) {
  2638. if (object != null)
  2639. return object;
  2640. throw A.wrapException(A._TypeError__TypeError$forType(object, "Object"));
  2641. },
  2642. _isTop(object) {
  2643. return true;
  2644. },
  2645. _asTop(object) {
  2646. return object;
  2647. },
  2648. _isNever(object) {
  2649. return false;
  2650. },
  2651. _isBool(object) {
  2652. return true === object || false === object;
  2653. },
  2654. _asBool(object) {
  2655. if (true === object)
  2656. return true;
  2657. if (false === object)
  2658. return false;
  2659. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
  2660. },
  2661. _asBoolS(object) {
  2662. if (true === object)
  2663. return true;
  2664. if (false === object)
  2665. return false;
  2666. if (object == null)
  2667. return object;
  2668. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
  2669. },
  2670. _asBoolQ(object) {
  2671. if (true === object)
  2672. return true;
  2673. if (false === object)
  2674. return false;
  2675. if (object == null)
  2676. return object;
  2677. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool?"));
  2678. },
  2679. _asDouble(object) {
  2680. if (typeof object == "number")
  2681. return object;
  2682. throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
  2683. },
  2684. _asDoubleS(object) {
  2685. if (typeof object == "number")
  2686. return object;
  2687. if (object == null)
  2688. return object;
  2689. throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
  2690. },
  2691. _asDoubleQ(object) {
  2692. if (typeof object == "number")
  2693. return object;
  2694. if (object == null)
  2695. return object;
  2696. throw A.wrapException(A._TypeError__TypeError$forType(object, "double?"));
  2697. },
  2698. _isInt(object) {
  2699. return typeof object == "number" && Math.floor(object) === object;
  2700. },
  2701. _asInt(object) {
  2702. if (typeof object == "number" && Math.floor(object) === object)
  2703. return object;
  2704. throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
  2705. },
  2706. _asIntS(object) {
  2707. if (typeof object == "number" && Math.floor(object) === object)
  2708. return object;
  2709. if (object == null)
  2710. return object;
  2711. throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
  2712. },
  2713. _asIntQ(object) {
  2714. if (typeof object == "number" && Math.floor(object) === object)
  2715. return object;
  2716. if (object == null)
  2717. return object;
  2718. throw A.wrapException(A._TypeError__TypeError$forType(object, "int?"));
  2719. },
  2720. _isNum(object) {
  2721. return typeof object == "number";
  2722. },
  2723. _asNum(object) {
  2724. if (typeof object == "number")
  2725. return object;
  2726. throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
  2727. },
  2728. _asNumS(object) {
  2729. if (typeof object == "number")
  2730. return object;
  2731. if (object == null)
  2732. return object;
  2733. throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
  2734. },
  2735. _asNumQ(object) {
  2736. if (typeof object == "number")
  2737. return object;
  2738. if (object == null)
  2739. return object;
  2740. throw A.wrapException(A._TypeError__TypeError$forType(object, "num?"));
  2741. },
  2742. _isString(object) {
  2743. return typeof object == "string";
  2744. },
  2745. _asString(object) {
  2746. if (typeof object == "string")
  2747. return object;
  2748. throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
  2749. },
  2750. _asStringS(object) {
  2751. if (typeof object == "string")
  2752. return object;
  2753. if (object == null)
  2754. return object;
  2755. throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
  2756. },
  2757. _asStringQ(object) {
  2758. if (typeof object == "string")
  2759. return object;
  2760. if (object == null)
  2761. return object;
  2762. throw A.wrapException(A._TypeError__TypeError$forType(object, "String?"));
  2763. },
  2764. _rtiArrayToString(array, genericContext) {
  2765. var s, sep, i;
  2766. for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ")
  2767. s += sep + A._rtiToString(array[i], genericContext);
  2768. return s;
  2769. },
  2770. _recordRtiToString(recordType, genericContext) {
  2771. var fieldCount, names, namesIndex, s, comma, i,
  2772. partialShape = recordType._primary,
  2773. fields = recordType._rest;
  2774. if ("" === partialShape)
  2775. return "(" + A._rtiArrayToString(fields, genericContext) + ")";
  2776. fieldCount = fields.length;
  2777. names = partialShape.split(",");
  2778. namesIndex = names.length - fieldCount;
  2779. for (s = "(", comma = "", i = 0; i < fieldCount; ++i, comma = ", ") {
  2780. s += comma;
  2781. if (namesIndex === 0)
  2782. s += "{";
  2783. s += A._rtiToString(fields[i], genericContext);
  2784. if (namesIndex >= 0)
  2785. s += " " + names[namesIndex];
  2786. ++namesIndex;
  2787. }
  2788. return s + "})";
  2789. },
  2790. _functionRtiToString(functionType, genericContext, bounds) {
  2791. var boundsLength, outerContextLength, offset, i, t1, t2, typeParametersText, typeSep, boundRti, kind, t3, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", ";
  2792. if (bounds != null) {
  2793. boundsLength = bounds.length;
  2794. if (genericContext == null) {
  2795. genericContext = A._setArrayType([], type$.JSArray_String);
  2796. outerContextLength = null;
  2797. } else
  2798. outerContextLength = genericContext.length;
  2799. offset = genericContext.length;
  2800. for (i = boundsLength; i > 0; --i)
  2801. genericContext.push("T" + (offset + i));
  2802. for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) {
  2803. typeParametersText = B.JSString_methods.$add(typeParametersText + typeSep, genericContext[genericContext.length - 1 - i]);
  2804. boundRti = bounds[i];
  2805. kind = boundRti._kind;
  2806. if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1))
  2807. if (!(boundRti === t2))
  2808. t3 = false;
  2809. else
  2810. t3 = true;
  2811. else
  2812. t3 = true;
  2813. if (!t3)
  2814. typeParametersText += " extends " + A._rtiToString(boundRti, genericContext);
  2815. }
  2816. typeParametersText += ">";
  2817. } else {
  2818. typeParametersText = "";
  2819. outerContextLength = null;
  2820. }
  2821. t1 = functionType._primary;
  2822. parameters = functionType._rest;
  2823. requiredPositional = parameters._requiredPositional;
  2824. requiredPositionalLength = requiredPositional.length;
  2825. optionalPositional = parameters._optionalPositional;
  2826. optionalPositionalLength = optionalPositional.length;
  2827. named = parameters._named;
  2828. namedLength = named.length;
  2829. returnTypeText = A._rtiToString(t1, genericContext);
  2830. for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_)
  2831. argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext);
  2832. if (optionalPositionalLength > 0) {
  2833. argumentsText += sep + "[";
  2834. for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_)
  2835. argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext);
  2836. argumentsText += "]";
  2837. }
  2838. if (namedLength > 0) {
  2839. argumentsText += sep + "{";
  2840. for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) {
  2841. argumentsText += sep;
  2842. if (named[i + 1])
  2843. argumentsText += "required ";
  2844. argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i];
  2845. }
  2846. argumentsText += "}";
  2847. }
  2848. if (outerContextLength != null) {
  2849. genericContext.toString;
  2850. genericContext.length = outerContextLength;
  2851. }
  2852. return typeParametersText + "(" + argumentsText + ") => " + returnTypeText;
  2853. },
  2854. _rtiToString(rti, genericContext) {
  2855. var s, questionArgument, argumentKind, $name, $arguments, t1,
  2856. kind = rti._kind;
  2857. if (kind === 5)
  2858. return "erased";
  2859. if (kind === 2)
  2860. return "dynamic";
  2861. if (kind === 3)
  2862. return "void";
  2863. if (kind === 1)
  2864. return "Never";
  2865. if (kind === 4)
  2866. return "any";
  2867. if (kind === 6) {
  2868. s = A._rtiToString(rti._primary, genericContext);
  2869. return s;
  2870. }
  2871. if (kind === 7) {
  2872. questionArgument = rti._primary;
  2873. s = A._rtiToString(questionArgument, genericContext);
  2874. argumentKind = questionArgument._kind;
  2875. return (argumentKind === 12 || argumentKind === 13 ? "(" + s + ")" : s) + "?";
  2876. }
  2877. if (kind === 8)
  2878. return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">";
  2879. if (kind === 9) {
  2880. $name = A._unminifyOrTag(rti._primary);
  2881. $arguments = rti._rest;
  2882. return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name;
  2883. }
  2884. if (kind === 11)
  2885. return A._recordRtiToString(rti, genericContext);
  2886. if (kind === 12)
  2887. return A._functionRtiToString(rti, genericContext, null);
  2888. if (kind === 13)
  2889. return A._functionRtiToString(rti._primary, genericContext, rti._rest);
  2890. if (kind === 14) {
  2891. t1 = rti._primary;
  2892. return genericContext[genericContext.length - 1 - t1];
  2893. }
  2894. return "?";
  2895. },
  2896. _unminifyOrTag(rawClassName) {
  2897. var preserved = init.mangledGlobalNames[rawClassName];
  2898. if (preserved != null)
  2899. return preserved;
  2900. return rawClassName;
  2901. },
  2902. _Universe_findRule(universe, targetType) {
  2903. var rule = universe.tR[targetType];
  2904. for (; typeof rule == "string";)
  2905. rule = universe.tR[rule];
  2906. return rule;
  2907. },
  2908. _Universe_findErasedType(universe, cls) {
  2909. var $length, erased, $arguments, i, $interface,
  2910. t1 = universe.eT,
  2911. probe = t1[cls];
  2912. if (probe == null)
  2913. return A._Universe_eval(universe, cls, false);
  2914. else if (typeof probe == "number") {
  2915. $length = probe;
  2916. erased = A._Universe__lookupTerminalRti(universe, 5, "#");
  2917. $arguments = A._Utils_newArrayOrEmpty($length);
  2918. for (i = 0; i < $length; ++i)
  2919. $arguments[i] = erased;
  2920. $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments);
  2921. t1[cls] = $interface;
  2922. return $interface;
  2923. } else
  2924. return probe;
  2925. },
  2926. _Universe_addRules(universe, rules) {
  2927. return A._Utils_objectAssign(universe.tR, rules);
  2928. },
  2929. _Universe_addErasedTypes(universe, types) {
  2930. return A._Utils_objectAssign(universe.eT, types);
  2931. },
  2932. _Universe_eval(universe, recipe, normalize) {
  2933. var rti,
  2934. t1 = universe.eC,
  2935. probe = t1.get(recipe);
  2936. if (probe != null)
  2937. return probe;
  2938. rti = A._Parser_parse(A._Parser_create(universe, null, recipe, normalize));
  2939. t1.set(recipe, rti);
  2940. return rti;
  2941. },
  2942. _Universe_evalInEnvironment(universe, environment, recipe) {
  2943. var probe, rti,
  2944. cache = environment._evalCache;
  2945. if (cache == null)
  2946. cache = environment._evalCache = new Map();
  2947. probe = cache.get(recipe);
  2948. if (probe != null)
  2949. return probe;
  2950. rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true));
  2951. cache.set(recipe, rti);
  2952. return rti;
  2953. },
  2954. _Universe_bind(universe, environment, argumentsRti) {
  2955. var argumentsRecipe, probe, rti,
  2956. cache = environment._bindCache;
  2957. if (cache == null)
  2958. cache = environment._bindCache = new Map();
  2959. argumentsRecipe = argumentsRti._canonicalRecipe;
  2960. probe = cache.get(argumentsRecipe);
  2961. if (probe != null)
  2962. return probe;
  2963. rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]);
  2964. cache.set(argumentsRecipe, rti);
  2965. return rti;
  2966. },
  2967. _Universe__installTypeTests(universe, rti) {
  2968. rti._as = A._installSpecializedAsCheck;
  2969. rti._is = A._installSpecializedIsTest;
  2970. return rti;
  2971. },
  2972. _Universe__lookupTerminalRti(universe, kind, key) {
  2973. var rti, t1,
  2974. probe = universe.eC.get(key);
  2975. if (probe != null)
  2976. return probe;
  2977. rti = new A.Rti(null, null);
  2978. rti._kind = kind;
  2979. rti._canonicalRecipe = key;
  2980. t1 = A._Universe__installTypeTests(universe, rti);
  2981. universe.eC.set(key, t1);
  2982. return t1;
  2983. },
  2984. _Universe__lookupStarRti(universe, baseType, normalize) {
  2985. var t1,
  2986. key = baseType._canonicalRecipe + "*",
  2987. probe = universe.eC.get(key);
  2988. if (probe != null)
  2989. return probe;
  2990. t1 = A._Universe__createStarRti(universe, baseType, key, normalize);
  2991. universe.eC.set(key, t1);
  2992. return t1;
  2993. },
  2994. _Universe__createStarRti(universe, baseType, key, normalize) {
  2995. var baseKind, t1, rti;
  2996. if (normalize) {
  2997. baseKind = baseType._kind;
  2998. if (!A.isStrongTopType(baseType))
  2999. t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6;
  3000. else
  3001. t1 = true;
  3002. if (t1)
  3003. return baseType;
  3004. }
  3005. rti = new A.Rti(null, null);
  3006. rti._kind = 6;
  3007. rti._primary = baseType;
  3008. rti._canonicalRecipe = key;
  3009. return A._Universe__installTypeTests(universe, rti);
  3010. },
  3011. _Universe__lookupQuestionRti(universe, baseType, normalize) {
  3012. var t1,
  3013. key = baseType._canonicalRecipe + "?",
  3014. probe = universe.eC.get(key);
  3015. if (probe != null)
  3016. return probe;
  3017. t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize);
  3018. universe.eC.set(key, t1);
  3019. return t1;
  3020. },
  3021. _Universe__createQuestionRti(universe, baseType, key, normalize) {
  3022. var baseKind, t1, starArgument, rti;
  3023. if (normalize) {
  3024. baseKind = baseType._kind;
  3025. if (!A.isStrongTopType(baseType))
  3026. if (!(baseType === type$.Null || baseType === type$.JSNull))
  3027. if (baseKind !== 7)
  3028. t1 = baseKind === 8 && A.isNullable(baseType._primary);
  3029. else
  3030. t1 = true;
  3031. else
  3032. t1 = true;
  3033. else
  3034. t1 = true;
  3035. if (t1)
  3036. return baseType;
  3037. else if (baseKind === 1 || baseType === type$.legacy_Never)
  3038. return type$.Null;
  3039. else if (baseKind === 6) {
  3040. starArgument = baseType._primary;
  3041. if (starArgument._kind === 8 && A.isNullable(starArgument._primary))
  3042. return starArgument;
  3043. else
  3044. return A.Rti__getQuestionFromStar(universe, baseType);
  3045. }
  3046. }
  3047. rti = new A.Rti(null, null);
  3048. rti._kind = 7;
  3049. rti._primary = baseType;
  3050. rti._canonicalRecipe = key;
  3051. return A._Universe__installTypeTests(universe, rti);
  3052. },
  3053. _Universe__lookupFutureOrRti(universe, baseType, normalize) {
  3054. var t1,
  3055. key = baseType._canonicalRecipe + "/",
  3056. probe = universe.eC.get(key);
  3057. if (probe != null)
  3058. return probe;
  3059. t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize);
  3060. universe.eC.set(key, t1);
  3061. return t1;
  3062. },
  3063. _Universe__createFutureOrRti(universe, baseType, key, normalize) {
  3064. var t1, t2, rti;
  3065. if (normalize) {
  3066. t1 = baseType._kind;
  3067. if (!A.isStrongTopType(baseType))
  3068. if (!(baseType === type$.legacy_Object))
  3069. t2 = false;
  3070. else
  3071. t2 = true;
  3072. else
  3073. t2 = true;
  3074. if (t2 || baseType === type$.Object)
  3075. return baseType;
  3076. else if (t1 === 1)
  3077. return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]);
  3078. else if (baseType === type$.Null || baseType === type$.JSNull)
  3079. return type$.nullable_Future_Null;
  3080. }
  3081. rti = new A.Rti(null, null);
  3082. rti._kind = 8;
  3083. rti._primary = baseType;
  3084. rti._canonicalRecipe = key;
  3085. return A._Universe__installTypeTests(universe, rti);
  3086. },
  3087. _Universe__lookupGenericFunctionParameterRti(universe, index) {
  3088. var rti, t1,
  3089. key = "" + index + "^",
  3090. probe = universe.eC.get(key);
  3091. if (probe != null)
  3092. return probe;
  3093. rti = new A.Rti(null, null);
  3094. rti._kind = 14;
  3095. rti._primary = index;
  3096. rti._canonicalRecipe = key;
  3097. t1 = A._Universe__installTypeTests(universe, rti);
  3098. universe.eC.set(key, t1);
  3099. return t1;
  3100. },
  3101. _Universe__canonicalRecipeJoin($arguments) {
  3102. var s, sep, i,
  3103. $length = $arguments.length;
  3104. for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",")
  3105. s += sep + $arguments[i]._canonicalRecipe;
  3106. return s;
  3107. },
  3108. _Universe__canonicalRecipeJoinNamed($arguments) {
  3109. var s, sep, i, t1, nameSep,
  3110. $length = $arguments.length;
  3111. for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") {
  3112. t1 = $arguments[i];
  3113. nameSep = $arguments[i + 1] ? "!" : ":";
  3114. s += sep + t1 + nameSep + $arguments[i + 2]._canonicalRecipe;
  3115. }
  3116. return s;
  3117. },
  3118. _Universe__lookupInterfaceRti(universe, $name, $arguments) {
  3119. var probe, rti, t1,
  3120. s = $name;
  3121. if ($arguments.length > 0)
  3122. s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">";
  3123. probe = universe.eC.get(s);
  3124. if (probe != null)
  3125. return probe;
  3126. rti = new A.Rti(null, null);
  3127. rti._kind = 9;
  3128. rti._primary = $name;
  3129. rti._rest = $arguments;
  3130. if ($arguments.length > 0)
  3131. rti._precomputed1 = $arguments[0];
  3132. rti._canonicalRecipe = s;
  3133. t1 = A._Universe__installTypeTests(universe, rti);
  3134. universe.eC.set(s, t1);
  3135. return t1;
  3136. },
  3137. _Universe__lookupBindingRti(universe, base, $arguments) {
  3138. var newBase, newArguments, key, probe, rti, t1;
  3139. if (base._kind === 10) {
  3140. newBase = base._primary;
  3141. newArguments = base._rest.concat($arguments);
  3142. } else {
  3143. newArguments = $arguments;
  3144. newBase = base;
  3145. }
  3146. key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">");
  3147. probe = universe.eC.get(key);
  3148. if (probe != null)
  3149. return probe;
  3150. rti = new A.Rti(null, null);
  3151. rti._kind = 10;
  3152. rti._primary = newBase;
  3153. rti._rest = newArguments;
  3154. rti._canonicalRecipe = key;
  3155. t1 = A._Universe__installTypeTests(universe, rti);
  3156. universe.eC.set(key, t1);
  3157. return t1;
  3158. },
  3159. _Universe__lookupRecordRti(universe, partialShapeTag, fields) {
  3160. var rti, t1,
  3161. key = "+" + (partialShapeTag + "(" + A._Universe__canonicalRecipeJoin(fields) + ")"),
  3162. probe = universe.eC.get(key);
  3163. if (probe != null)
  3164. return probe;
  3165. rti = new A.Rti(null, null);
  3166. rti._kind = 11;
  3167. rti._primary = partialShapeTag;
  3168. rti._rest = fields;
  3169. rti._canonicalRecipe = key;
  3170. t1 = A._Universe__installTypeTests(universe, rti);
  3171. universe.eC.set(key, t1);
  3172. return t1;
  3173. },
  3174. _Universe__lookupFunctionRti(universe, returnType, parameters) {
  3175. var sep, key, probe, rti, t1,
  3176. s = returnType._canonicalRecipe,
  3177. requiredPositional = parameters._requiredPositional,
  3178. requiredPositionalLength = requiredPositional.length,
  3179. optionalPositional = parameters._optionalPositional,
  3180. optionalPositionalLength = optionalPositional.length,
  3181. named = parameters._named,
  3182. namedLength = named.length,
  3183. recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional);
  3184. if (optionalPositionalLength > 0) {
  3185. sep = requiredPositionalLength > 0 ? "," : "";
  3186. recipe += sep + "[" + A._Universe__canonicalRecipeJoin(optionalPositional) + "]";
  3187. }
  3188. if (namedLength > 0) {
  3189. sep = requiredPositionalLength > 0 ? "," : "";
  3190. recipe += sep + "{" + A._Universe__canonicalRecipeJoinNamed(named) + "}";
  3191. }
  3192. key = s + (recipe + ")");
  3193. probe = universe.eC.get(key);
  3194. if (probe != null)
  3195. return probe;
  3196. rti = new A.Rti(null, null);
  3197. rti._kind = 12;
  3198. rti._primary = returnType;
  3199. rti._rest = parameters;
  3200. rti._canonicalRecipe = key;
  3201. t1 = A._Universe__installTypeTests(universe, rti);
  3202. universe.eC.set(key, t1);
  3203. return t1;
  3204. },
  3205. _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) {
  3206. var t1,
  3207. key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"),
  3208. probe = universe.eC.get(key);
  3209. if (probe != null)
  3210. return probe;
  3211. t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);
  3212. universe.eC.set(key, t1);
  3213. return t1;
  3214. },
  3215. _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) {
  3216. var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;
  3217. if (normalize) {
  3218. $length = bounds.length;
  3219. typeArguments = A._Utils_newArrayOrEmpty($length);
  3220. for (count = 0, i = 0; i < $length; ++i) {
  3221. bound = bounds[i];
  3222. if (bound._kind === 1) {
  3223. typeArguments[i] = bound;
  3224. ++count;
  3225. }
  3226. }
  3227. if (count > 0) {
  3228. substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0);
  3229. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0);
  3230. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);
  3231. }
  3232. }
  3233. rti = new A.Rti(null, null);
  3234. rti._kind = 13;
  3235. rti._primary = baseFunctionType;
  3236. rti._rest = bounds;
  3237. rti._canonicalRecipe = key;
  3238. return A._Universe__installTypeTests(universe, rti);
  3239. },
  3240. _Parser_create(universe, environment, recipe, normalize) {
  3241. return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
  3242. },
  3243. _Parser_parse(parser) {
  3244. var t2, i, ch, t3, array, end, item,
  3245. source = parser.r,
  3246. t1 = parser.s;
  3247. for (t2 = source.length, i = 0; i < t2;) {
  3248. ch = source.charCodeAt(i);
  3249. if (ch >= 48 && ch <= 57)
  3250. i = A._Parser_handleDigit(i + 1, ch, source, t1);
  3251. else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124)
  3252. i = A._Parser_handleIdentifier(parser, i, source, t1, false);
  3253. else if (ch === 46)
  3254. i = A._Parser_handleIdentifier(parser, i, source, t1, true);
  3255. else {
  3256. ++i;
  3257. switch (ch) {
  3258. case 44:
  3259. break;
  3260. case 58:
  3261. t1.push(false);
  3262. break;
  3263. case 33:
  3264. t1.push(true);
  3265. break;
  3266. case 59:
  3267. t1.push(A._Parser_toType(parser.u, parser.e, t1.pop()));
  3268. break;
  3269. case 94:
  3270. t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop()));
  3271. break;
  3272. case 35:
  3273. t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
  3274. break;
  3275. case 64:
  3276. t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
  3277. break;
  3278. case 126:
  3279. t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
  3280. break;
  3281. case 60:
  3282. t1.push(parser.p);
  3283. parser.p = t1.length;
  3284. break;
  3285. case 62:
  3286. A._Parser_handleTypeArguments(parser, t1);
  3287. break;
  3288. case 38:
  3289. A._Parser_handleExtendedOperations(parser, t1);
  3290. break;
  3291. case 42:
  3292. t3 = parser.u;
  3293. t1.push(A._Universe__lookupStarRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  3294. break;
  3295. case 63:
  3296. t3 = parser.u;
  3297. t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  3298. break;
  3299. case 47:
  3300. t3 = parser.u;
  3301. t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  3302. break;
  3303. case 40:
  3304. t1.push(-3);
  3305. t1.push(parser.p);
  3306. parser.p = t1.length;
  3307. break;
  3308. case 41:
  3309. A._Parser_handleArguments(parser, t1);
  3310. break;
  3311. case 91:
  3312. t1.push(parser.p);
  3313. parser.p = t1.length;
  3314. break;
  3315. case 93:
  3316. array = t1.splice(parser.p);
  3317. A._Parser_toTypes(parser.u, parser.e, array);
  3318. parser.p = t1.pop();
  3319. t1.push(array);
  3320. t1.push(-1);
  3321. break;
  3322. case 123:
  3323. t1.push(parser.p);
  3324. parser.p = t1.length;
  3325. break;
  3326. case 125:
  3327. array = t1.splice(parser.p);
  3328. A._Parser_toTypesNamed(parser.u, parser.e, array);
  3329. parser.p = t1.pop();
  3330. t1.push(array);
  3331. t1.push(-2);
  3332. break;
  3333. case 43:
  3334. end = source.indexOf("(", i);
  3335. t1.push(source.substring(i, end));
  3336. t1.push(-4);
  3337. t1.push(parser.p);
  3338. parser.p = t1.length;
  3339. i = end + 1;
  3340. break;
  3341. default:
  3342. throw "Bad character " + ch;
  3343. }
  3344. }
  3345. }
  3346. item = t1.pop();
  3347. return A._Parser_toType(parser.u, parser.e, item);
  3348. },
  3349. _Parser_handleDigit(i, digit, source, stack) {
  3350. var t1, ch,
  3351. value = digit - 48;
  3352. for (t1 = source.length; i < t1; ++i) {
  3353. ch = source.charCodeAt(i);
  3354. if (!(ch >= 48 && ch <= 57))
  3355. break;
  3356. value = value * 10 + (ch - 48);
  3357. }
  3358. stack.push(value);
  3359. return i;
  3360. },
  3361. _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) {
  3362. var t1, ch, t2, string, environment, recipe,
  3363. i = start + 1;
  3364. for (t1 = source.length; i < t1; ++i) {
  3365. ch = source.charCodeAt(i);
  3366. if (ch === 46) {
  3367. if (hasPeriod)
  3368. break;
  3369. hasPeriod = true;
  3370. } else {
  3371. if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124))
  3372. t2 = ch >= 48 && ch <= 57;
  3373. else
  3374. t2 = true;
  3375. if (!t2)
  3376. break;
  3377. }
  3378. }
  3379. string = source.substring(start, i);
  3380. if (hasPeriod) {
  3381. t1 = parser.u;
  3382. environment = parser.e;
  3383. if (environment._kind === 10)
  3384. environment = environment._primary;
  3385. recipe = A._Universe_findRule(t1, environment._primary)[string];
  3386. if (recipe == null)
  3387. A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"');
  3388. stack.push(A._Universe_evalInEnvironment(t1, environment, recipe));
  3389. } else
  3390. stack.push(string);
  3391. return i;
  3392. },
  3393. _Parser_handleTypeArguments(parser, stack) {
  3394. var base,
  3395. t1 = parser.u,
  3396. $arguments = A._Parser_collectArray(parser, stack),
  3397. head = stack.pop();
  3398. if (typeof head == "string")
  3399. stack.push(A._Universe__lookupInterfaceRti(t1, head, $arguments));
  3400. else {
  3401. base = A._Parser_toType(t1, parser.e, head);
  3402. switch (base._kind) {
  3403. case 12:
  3404. stack.push(A._Universe__lookupGenericFunctionRti(t1, base, $arguments, parser.n));
  3405. break;
  3406. default:
  3407. stack.push(A._Universe__lookupBindingRti(t1, base, $arguments));
  3408. break;
  3409. }
  3410. }
  3411. },
  3412. _Parser_handleArguments(parser, stack) {
  3413. var optionalPositional, named, requiredPositional, returnType, parameters, _null = null,
  3414. t1 = parser.u,
  3415. head = stack.pop();
  3416. if (typeof head == "number")
  3417. switch (head) {
  3418. case -1:
  3419. optionalPositional = stack.pop();
  3420. named = _null;
  3421. break;
  3422. case -2:
  3423. named = stack.pop();
  3424. optionalPositional = _null;
  3425. break;
  3426. default:
  3427. stack.push(head);
  3428. named = _null;
  3429. optionalPositional = named;
  3430. break;
  3431. }
  3432. else {
  3433. stack.push(head);
  3434. named = _null;
  3435. optionalPositional = named;
  3436. }
  3437. requiredPositional = A._Parser_collectArray(parser, stack);
  3438. head = stack.pop();
  3439. switch (head) {
  3440. case -3:
  3441. head = stack.pop();
  3442. if (optionalPositional == null)
  3443. optionalPositional = t1.sEA;
  3444. if (named == null)
  3445. named = t1.sEA;
  3446. returnType = A._Parser_toType(t1, parser.e, head);
  3447. parameters = new A._FunctionParameters();
  3448. parameters._requiredPositional = requiredPositional;
  3449. parameters._optionalPositional = optionalPositional;
  3450. parameters._named = named;
  3451. stack.push(A._Universe__lookupFunctionRti(t1, returnType, parameters));
  3452. return;
  3453. case -4:
  3454. stack.push(A._Universe__lookupRecordRti(t1, stack.pop(), requiredPositional));
  3455. return;
  3456. default:
  3457. throw A.wrapException(A.AssertionError$("Unexpected state under `()`: " + A.S(head)));
  3458. }
  3459. },
  3460. _Parser_handleExtendedOperations(parser, stack) {
  3461. var $top = stack.pop();
  3462. if (0 === $top) {
  3463. stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&"));
  3464. return;
  3465. }
  3466. if (1 === $top) {
  3467. stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&"));
  3468. return;
  3469. }
  3470. throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top)));
  3471. },
  3472. _Parser_collectArray(parser, stack) {
  3473. var array = stack.splice(parser.p);
  3474. A._Parser_toTypes(parser.u, parser.e, array);
  3475. parser.p = stack.pop();
  3476. return array;
  3477. },
  3478. _Parser_toType(universe, environment, item) {
  3479. if (typeof item == "string")
  3480. return A._Universe__lookupInterfaceRti(universe, item, universe.sEA);
  3481. else if (typeof item == "number") {
  3482. environment.toString;
  3483. return A._Parser_indexToType(universe, environment, item);
  3484. } else
  3485. return item;
  3486. },
  3487. _Parser_toTypes(universe, environment, items) {
  3488. var i,
  3489. $length = items.length;
  3490. for (i = 0; i < $length; ++i)
  3491. items[i] = A._Parser_toType(universe, environment, items[i]);
  3492. },
  3493. _Parser_toTypesNamed(universe, environment, items) {
  3494. var i,
  3495. $length = items.length;
  3496. for (i = 2; i < $length; i += 3)
  3497. items[i] = A._Parser_toType(universe, environment, items[i]);
  3498. },
  3499. _Parser_indexToType(universe, environment, index) {
  3500. var typeArguments, len,
  3501. kind = environment._kind;
  3502. if (kind === 10) {
  3503. if (index === 0)
  3504. return environment._primary;
  3505. typeArguments = environment._rest;
  3506. len = typeArguments.length;
  3507. if (index <= len)
  3508. return typeArguments[index - 1];
  3509. index -= len;
  3510. environment = environment._primary;
  3511. kind = environment._kind;
  3512. } else if (index === 0)
  3513. return environment;
  3514. if (kind !== 9)
  3515. throw A.wrapException(A.AssertionError$("Indexed base must be an interface type"));
  3516. typeArguments = environment._rest;
  3517. if (index <= typeArguments.length)
  3518. return typeArguments[index - 1];
  3519. throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0)));
  3520. },
  3521. _isSubtype(universe, s, sEnv, t, tEnv) {
  3522. var t1, sKind, leftTypeVariable, tKind, t2, sBounds, tBounds, sLength, i, sBound, tBound;
  3523. if (s === t)
  3524. return true;
  3525. if (!A.isStrongTopType(t))
  3526. if (!(t === type$.legacy_Object))
  3527. t1 = false;
  3528. else
  3529. t1 = true;
  3530. else
  3531. t1 = true;
  3532. if (t1)
  3533. return true;
  3534. sKind = s._kind;
  3535. if (sKind === 4)
  3536. return true;
  3537. if (A.isStrongTopType(s))
  3538. return false;
  3539. if (s._kind !== 1)
  3540. t1 = false;
  3541. else
  3542. t1 = true;
  3543. if (t1)
  3544. return true;
  3545. leftTypeVariable = sKind === 14;
  3546. if (leftTypeVariable)
  3547. if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv))
  3548. return true;
  3549. tKind = t._kind;
  3550. t1 = s === type$.Null || s === type$.JSNull;
  3551. if (t1) {
  3552. if (tKind === 8)
  3553. return A._isSubtype(universe, s, sEnv, t._primary, tEnv);
  3554. return t === type$.Null || t === type$.JSNull || tKind === 7 || tKind === 6;
  3555. }
  3556. if (t === type$.Object) {
  3557. if (sKind === 8)
  3558. return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  3559. if (sKind === 6)
  3560. return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  3561. return sKind !== 7;
  3562. }
  3563. if (sKind === 6)
  3564. return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  3565. if (tKind === 6) {
  3566. t1 = A.Rti__getQuestionFromStar(universe, t);
  3567. return A._isSubtype(universe, s, sEnv, t1, tEnv);
  3568. }
  3569. if (sKind === 8) {
  3570. if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv))
  3571. return false;
  3572. return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv);
  3573. }
  3574. if (sKind === 7) {
  3575. t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv);
  3576. return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  3577. }
  3578. if (tKind === 8) {
  3579. if (A._isSubtype(universe, s, sEnv, t._primary, tEnv))
  3580. return true;
  3581. return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv);
  3582. }
  3583. if (tKind === 7) {
  3584. t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv);
  3585. return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv);
  3586. }
  3587. if (leftTypeVariable)
  3588. return false;
  3589. t1 = sKind !== 12;
  3590. if ((!t1 || sKind === 13) && t === type$.Function)
  3591. return true;
  3592. t2 = sKind === 11;
  3593. if (t2 && t === type$.Record)
  3594. return true;
  3595. if (tKind === 13) {
  3596. if (s === type$.JavaScriptFunction)
  3597. return true;
  3598. if (sKind !== 13)
  3599. return false;
  3600. sBounds = s._rest;
  3601. tBounds = t._rest;
  3602. sLength = sBounds.length;
  3603. if (sLength !== tBounds.length)
  3604. return false;
  3605. sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);
  3606. tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);
  3607. for (i = 0; i < sLength; ++i) {
  3608. sBound = sBounds[i];
  3609. tBound = tBounds[i];
  3610. if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv))
  3611. return false;
  3612. }
  3613. return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv);
  3614. }
  3615. if (tKind === 12) {
  3616. if (s === type$.JavaScriptFunction)
  3617. return true;
  3618. if (t1)
  3619. return false;
  3620. return A._isFunctionSubtype(universe, s, sEnv, t, tEnv);
  3621. }
  3622. if (sKind === 9) {
  3623. if (tKind !== 9)
  3624. return false;
  3625. return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv);
  3626. }
  3627. if (t2 && tKind === 11)
  3628. return A._isRecordSubtype(universe, s, sEnv, t, tEnv);
  3629. return false;
  3630. },
  3631. _isFunctionSubtype(universe, s, sEnv, t, tEnv) {
  3632. var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired;
  3633. if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv))
  3634. return false;
  3635. sParameters = s._rest;
  3636. tParameters = t._rest;
  3637. sRequiredPositional = sParameters._requiredPositional;
  3638. tRequiredPositional = tParameters._requiredPositional;
  3639. sRequiredPositionalLength = sRequiredPositional.length;
  3640. tRequiredPositionalLength = tRequiredPositional.length;
  3641. if (sRequiredPositionalLength > tRequiredPositionalLength)
  3642. return false;
  3643. requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;
  3644. sOptionalPositional = sParameters._optionalPositional;
  3645. tOptionalPositional = tParameters._optionalPositional;
  3646. sOptionalPositionalLength = sOptionalPositional.length;
  3647. tOptionalPositionalLength = tOptionalPositional.length;
  3648. if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)
  3649. return false;
  3650. for (i = 0; i < sRequiredPositionalLength; ++i) {
  3651. t1 = sRequiredPositional[i];
  3652. if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv))
  3653. return false;
  3654. }
  3655. for (i = 0; i < requiredPositionalDelta; ++i) {
  3656. t1 = sOptionalPositional[i];
  3657. if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv))
  3658. return false;
  3659. }
  3660. for (i = 0; i < tOptionalPositionalLength; ++i) {
  3661. t1 = sOptionalPositional[requiredPositionalDelta + i];
  3662. if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv))
  3663. return false;
  3664. }
  3665. sNamed = sParameters._named;
  3666. tNamed = tParameters._named;
  3667. sNamedLength = sNamed.length;
  3668. tNamedLength = tNamed.length;
  3669. for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {
  3670. tName = tNamed[tIndex];
  3671. for (; true;) {
  3672. if (sIndex >= sNamedLength)
  3673. return false;
  3674. sName = sNamed[sIndex];
  3675. sIndex += 3;
  3676. if (tName < sName)
  3677. return false;
  3678. sIsRequired = sNamed[sIndex - 2];
  3679. if (sName < tName) {
  3680. if (sIsRequired)
  3681. return false;
  3682. continue;
  3683. }
  3684. t1 = tNamed[tIndex + 1];
  3685. if (sIsRequired && !t1)
  3686. return false;
  3687. t1 = sNamed[sIndex - 1];
  3688. if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv))
  3689. return false;
  3690. break;
  3691. }
  3692. }
  3693. for (; sIndex < sNamedLength;) {
  3694. if (sNamed[sIndex + 1])
  3695. return false;
  3696. sIndex += 3;
  3697. }
  3698. return true;
  3699. },
  3700. _isInterfaceSubtype(universe, s, sEnv, t, tEnv) {
  3701. var rule, recipes, $length, supertypeArgs, i, t1, t2,
  3702. sName = s._primary,
  3703. tName = t._primary;
  3704. for (; sName !== tName;) {
  3705. rule = universe.tR[sName];
  3706. if (rule == null)
  3707. return false;
  3708. if (typeof rule == "string") {
  3709. sName = rule;
  3710. continue;
  3711. }
  3712. recipes = rule[tName];
  3713. if (recipes == null)
  3714. return false;
  3715. $length = recipes.length;
  3716. supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  3717. for (i = 0; i < $length; ++i)
  3718. supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]);
  3719. return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv);
  3720. }
  3721. t1 = s._rest;
  3722. t2 = t._rest;
  3723. return A._areArgumentsSubtypes(universe, t1, null, sEnv, t2, tEnv);
  3724. },
  3725. _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) {
  3726. var i, t1, t2,
  3727. $length = sArgs.length;
  3728. for (i = 0; i < $length; ++i) {
  3729. t1 = sArgs[i];
  3730. t2 = tArgs[i];
  3731. if (!A._isSubtype(universe, t1, sEnv, t2, tEnv))
  3732. return false;
  3733. }
  3734. return true;
  3735. },
  3736. _isRecordSubtype(universe, s, sEnv, t, tEnv) {
  3737. var i,
  3738. sFields = s._rest,
  3739. tFields = t._rest,
  3740. sCount = sFields.length;
  3741. if (sCount !== tFields.length)
  3742. return false;
  3743. if (s._primary !== t._primary)
  3744. return false;
  3745. for (i = 0; i < sCount; ++i)
  3746. if (!A._isSubtype(universe, sFields[i], sEnv, tFields[i], tEnv))
  3747. return false;
  3748. return true;
  3749. },
  3750. isNullable(t) {
  3751. var t1,
  3752. kind = t._kind;
  3753. if (!(t === type$.Null || t === type$.JSNull))
  3754. if (!A.isStrongTopType(t))
  3755. if (kind !== 7)
  3756. if (!(kind === 6 && A.isNullable(t._primary)))
  3757. t1 = kind === 8 && A.isNullable(t._primary);
  3758. else
  3759. t1 = true;
  3760. else
  3761. t1 = true;
  3762. else
  3763. t1 = true;
  3764. else
  3765. t1 = true;
  3766. return t1;
  3767. },
  3768. isTopType(t) {
  3769. var t1;
  3770. if (!A.isStrongTopType(t))
  3771. if (!(t === type$.legacy_Object))
  3772. t1 = false;
  3773. else
  3774. t1 = true;
  3775. else
  3776. t1 = true;
  3777. return t1;
  3778. },
  3779. isStrongTopType(t) {
  3780. var kind = t._kind;
  3781. return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object;
  3782. },
  3783. _Utils_objectAssign(o, other) {
  3784. var i, key,
  3785. keys = Object.keys(other),
  3786. $length = keys.length;
  3787. for (i = 0; i < $length; ++i) {
  3788. key = keys[i];
  3789. o[key] = other[key];
  3790. }
  3791. },
  3792. _Utils_newArrayOrEmpty($length) {
  3793. return $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  3794. },
  3795. Rti: function Rti(t0, t1) {
  3796. var _ = this;
  3797. _._as = t0;
  3798. _._is = t1;
  3799. _._cachedRuntimeType = _._specializedTestResource = _._precomputed1 = null;
  3800. _._kind = 0;
  3801. _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;
  3802. },
  3803. _FunctionParameters: function _FunctionParameters() {
  3804. this._named = this._optionalPositional = this._requiredPositional = null;
  3805. },
  3806. _Type: function _Type(t0) {
  3807. this._rti = t0;
  3808. },
  3809. _Error: function _Error() {
  3810. },
  3811. _TypeError: function _TypeError(t0) {
  3812. this.__rti$_message = t0;
  3813. },
  3814. _AsyncRun__initializeScheduleImmediate() {
  3815. var div, span, t1 = {};
  3816. if (self.scheduleImmediate != null)
  3817. return A.async__AsyncRun__scheduleImmediateJsOverride$closure();
  3818. if (self.MutationObserver != null && self.document != null) {
  3819. div = self.document.createElement("div");
  3820. span = self.document.createElement("span");
  3821. t1.storedCallback = null;
  3822. new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
  3823. return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);
  3824. } else if (self.setImmediate != null)
  3825. return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();
  3826. return A.async__AsyncRun__scheduleImmediateWithTimer$closure();
  3827. },
  3828. _AsyncRun__scheduleImmediateJsOverride(callback) {
  3829. self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0));
  3830. },
  3831. _AsyncRun__scheduleImmediateWithSetImmediate(callback) {
  3832. self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0));
  3833. },
  3834. _AsyncRun__scheduleImmediateWithTimer(callback) {
  3835. A.Timer__createTimer(B.Duration_0, callback);
  3836. },
  3837. Timer__createTimer(duration, callback) {
  3838. var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  3839. return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
  3840. },
  3841. _TimerImpl$(milliseconds, callback) {
  3842. var t1 = new A._TimerImpl(true);
  3843. t1._TimerImpl$2(milliseconds, callback);
  3844. return t1;
  3845. },
  3846. _TimerImpl$periodic(milliseconds, callback) {
  3847. var t1 = new A._TimerImpl(false);
  3848. t1._TimerImpl$periodic$2(milliseconds, callback);
  3849. return t1;
  3850. },
  3851. _makeAsyncAwaitCompleter($T) {
  3852. return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>"));
  3853. },
  3854. _asyncStartSync(bodyFunction, completer) {
  3855. bodyFunction.call$2(0, null);
  3856. completer.isSync = true;
  3857. return completer._future;
  3858. },
  3859. _asyncAwait(object, bodyFunction) {
  3860. A._awaitOnObject(object, bodyFunction);
  3861. },
  3862. _asyncReturn(object, completer) {
  3863. completer.complete$1(object);
  3864. },
  3865. _asyncRethrow(object, completer) {
  3866. completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object));
  3867. },
  3868. _awaitOnObject(object, bodyFunction) {
  3869. var t1, future,
  3870. thenCallback = new A._awaitOnObject_closure(bodyFunction),
  3871. errorCallback = new A._awaitOnObject_closure0(bodyFunction);
  3872. if (object instanceof A._Future)
  3873. object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic);
  3874. else {
  3875. t1 = type$.dynamic;
  3876. if (type$.Future_dynamic._is(object))
  3877. object.then$1$2$onError(0, thenCallback, errorCallback, t1);
  3878. else {
  3879. future = new A._Future($.Zone__current, type$._Future_dynamic);
  3880. future._state = 8;
  3881. future._resultOrListeners = object;
  3882. future._thenAwait$1$2(thenCallback, errorCallback, t1);
  3883. }
  3884. }
  3885. },
  3886. _wrapJsFunctionForAsync($function) {
  3887. var $protected = function(fn, ERROR) {
  3888. return function(errorCode, result) {
  3889. while (true)
  3890. try {
  3891. fn(errorCode, result);
  3892. break;
  3893. } catch (error) {
  3894. result = error;
  3895. errorCode = ERROR;
  3896. }
  3897. };
  3898. }($function, 1);
  3899. return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic);
  3900. },
  3901. _IterationMarker_yieldStar(values) {
  3902. return new A._IterationMarker(values, 1);
  3903. },
  3904. _IterationMarker_endOfIteration() {
  3905. return B._IterationMarker_null_2;
  3906. },
  3907. _IterationMarker_uncaughtError(error) {
  3908. return new A._IterationMarker(error, 3);
  3909. },
  3910. _makeSyncStarIterable(body, $T) {
  3911. return new A._SyncStarIterable(body, $T._eval$1("_SyncStarIterable<0>"));
  3912. },
  3913. AsyncError$(error, stackTrace) {
  3914. var t1 = A.checkNotNullable(error, "error", type$.Object);
  3915. return new A.AsyncError(t1, stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace);
  3916. },
  3917. AsyncError_defaultStackTrace(error) {
  3918. var stackTrace;
  3919. if (type$.Error._is(error)) {
  3920. stackTrace = error.get$stackTrace();
  3921. if (stackTrace != null)
  3922. return stackTrace;
  3923. }
  3924. return B._StringStackTrace_3uE;
  3925. },
  3926. Future_Future$value(value, $T) {
  3927. var t1;
  3928. $T._as(value);
  3929. t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  3930. t1._asyncComplete$1(value);
  3931. return t1;
  3932. },
  3933. Future_Future$error(error, stackTrace, $T) {
  3934. var t1, replacement;
  3935. A.checkNotNullable(error, "error", type$.Object);
  3936. t1 = $.Zone__current;
  3937. if (t1 !== B.C__RootZone) {
  3938. replacement = t1.errorCallback$2(error, stackTrace);
  3939. if (replacement != null) {
  3940. error = replacement.error;
  3941. stackTrace = replacement.stackTrace;
  3942. }
  3943. }
  3944. if (stackTrace == null)
  3945. stackTrace = A.AsyncError_defaultStackTrace(error);
  3946. t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  3947. t1._asyncCompleteError$2(error, stackTrace);
  3948. return t1;
  3949. },
  3950. Future_wait(futures, $T) {
  3951. var error, stackTrace, handleError, future, pos, e, st, t1, t2, exception, _box_0 = {}, cleanUp = null,
  3952. eagerError = false,
  3953. _future = new A._Future($.Zone__current, $T._eval$1("_Future<List<0>>"));
  3954. _box_0.values = null;
  3955. _box_0.remaining = 0;
  3956. error = A._Cell$named("error");
  3957. stackTrace = A._Cell$named("stackTrace");
  3958. handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future, error, stackTrace);
  3959. try {
  3960. for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
  3961. future = t1.get$current(t1);
  3962. pos = _box_0.remaining;
  3963. J.then$1$2$onError$x(future, new A.Future_wait_closure(_box_0, pos, _future, cleanUp, eagerError, error, stackTrace, $T), handleError, t2);
  3964. ++_box_0.remaining;
  3965. }
  3966. t1 = _box_0.remaining;
  3967. if (t1 === 0) {
  3968. t1 = _future;
  3969. t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>")));
  3970. return t1;
  3971. }
  3972. _box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?"));
  3973. } catch (exception) {
  3974. e = A.unwrapException(exception);
  3975. st = A.getTraceFromException(exception);
  3976. if (_box_0.remaining === 0 || eagerError)
  3977. return A.Future_Future$error(e, st, $T._eval$1("List<0>"));
  3978. else {
  3979. error.__late_helper$_value = e;
  3980. stackTrace.__late_helper$_value = st;
  3981. }
  3982. }
  3983. return _future;
  3984. },
  3985. _Future$zoneValue(value, _zone, $T) {
  3986. var t1 = new A._Future(_zone, $T._eval$1("_Future<0>"));
  3987. t1._state = 8;
  3988. t1._resultOrListeners = value;
  3989. return t1;
  3990. },
  3991. _Future__chainCoreFuture(source, target) {
  3992. var t1, listeners;
  3993. for (; t1 = source._state, (t1 & 4) !== 0;)
  3994. source = source._resultOrListeners;
  3995. if ((t1 & 24) !== 0) {
  3996. listeners = target._removeListeners$0();
  3997. target._cloneResult$1(source);
  3998. A._Future__propagateToListeners(target, listeners);
  3999. } else {
  4000. listeners = target._resultOrListeners;
  4001. target._state = target._state & 1 | 4;
  4002. target._resultOrListeners = source;
  4003. source._prependListeners$1(listeners);
  4004. }
  4005. },
  4006. _Future__propagateToListeners(source, listeners) {
  4007. var t2, _box_0, t3, t4, hasError, nextListener, nextListener0, sourceResult, t5, zone, oldZone, result, current, _box_1 = {},
  4008. t1 = _box_1.source = source;
  4009. for (t2 = type$.Future_dynamic; true;) {
  4010. _box_0 = {};
  4011. t3 = t1._state;
  4012. t4 = (t3 & 16) === 0;
  4013. hasError = !t4;
  4014. if (listeners == null) {
  4015. if (hasError && (t3 & 1) === 0) {
  4016. t2 = t1._resultOrListeners;
  4017. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  4018. }
  4019. return;
  4020. }
  4021. _box_0.listener = listeners;
  4022. nextListener = listeners._nextListener;
  4023. for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
  4024. t1._nextListener = null;
  4025. A._Future__propagateToListeners(_box_1.source, t1);
  4026. _box_0.listener = nextListener;
  4027. nextListener0 = nextListener._nextListener;
  4028. }
  4029. t3 = _box_1.source;
  4030. sourceResult = t3._resultOrListeners;
  4031. _box_0.listenerHasError = hasError;
  4032. _box_0.listenerValueOrError = sourceResult;
  4033. if (t4) {
  4034. t5 = t1.state;
  4035. t5 = (t5 & 1) !== 0 || (t5 & 15) === 8;
  4036. } else
  4037. t5 = true;
  4038. if (t5) {
  4039. zone = t1.result._zone;
  4040. if (hasError) {
  4041. t1 = t3._zone;
  4042. t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
  4043. } else
  4044. t1 = false;
  4045. if (t1) {
  4046. t1 = _box_1.source;
  4047. t2 = t1._resultOrListeners;
  4048. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  4049. return;
  4050. }
  4051. oldZone = $.Zone__current;
  4052. if (oldZone !== zone)
  4053. $.Zone__current = zone;
  4054. else
  4055. oldZone = null;
  4056. t1 = _box_0.listener.state;
  4057. if ((t1 & 15) === 8)
  4058. new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
  4059. else if (t4) {
  4060. if ((t1 & 1) !== 0)
  4061. new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
  4062. } else if ((t1 & 2) !== 0)
  4063. new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
  4064. if (oldZone != null)
  4065. $.Zone__current = oldZone;
  4066. t1 = _box_0.listenerValueOrError;
  4067. if (t2._is(t1)) {
  4068. t3 = _box_0.listener.$ti;
  4069. t3 = t3._eval$1("Future<2>")._is(t1) || !t3._rest[1]._is(t1);
  4070. } else
  4071. t3 = false;
  4072. if (t3) {
  4073. result = _box_0.listener.result;
  4074. if ((t1._state & 24) !== 0) {
  4075. current = result._resultOrListeners;
  4076. result._resultOrListeners = null;
  4077. listeners = result._reverseListeners$1(current);
  4078. result._state = t1._state & 30 | result._state & 1;
  4079. result._resultOrListeners = t1._resultOrListeners;
  4080. _box_1.source = t1;
  4081. continue;
  4082. } else
  4083. A._Future__chainCoreFuture(t1, result);
  4084. return;
  4085. }
  4086. }
  4087. result = _box_0.listener.result;
  4088. current = result._resultOrListeners;
  4089. result._resultOrListeners = null;
  4090. listeners = result._reverseListeners$1(current);
  4091. t1 = _box_0.listenerHasError;
  4092. t3 = _box_0.listenerValueOrError;
  4093. if (!t1) {
  4094. result._state = 8;
  4095. result._resultOrListeners = t3;
  4096. } else {
  4097. result._state = result._state & 1 | 16;
  4098. result._resultOrListeners = t3;
  4099. }
  4100. _box_1.source = result;
  4101. t1 = result;
  4102. }
  4103. },
  4104. _registerErrorHandler(errorHandler, zone) {
  4105. if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
  4106. return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
  4107. if (type$.dynamic_Function_Object._is(errorHandler))
  4108. return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
  4109. throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_));
  4110. },
  4111. _microtaskLoop() {
  4112. var entry, next;
  4113. for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
  4114. $._lastPriorityCallback = null;
  4115. next = entry.next;
  4116. $._nextCallback = next;
  4117. if (next == null)
  4118. $._lastCallback = null;
  4119. entry.callback.call$0();
  4120. }
  4121. },
  4122. _startMicrotaskLoop() {
  4123. $._isInCallbackLoop = true;
  4124. try {
  4125. A._microtaskLoop();
  4126. } finally {
  4127. $._lastPriorityCallback = null;
  4128. $._isInCallbackLoop = false;
  4129. if ($._nextCallback != null)
  4130. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  4131. }
  4132. },
  4133. _scheduleAsyncCallback(callback) {
  4134. var newEntry = new A._AsyncCallbackEntry(callback),
  4135. lastCallback = $._lastCallback;
  4136. if (lastCallback == null) {
  4137. $._nextCallback = $._lastCallback = newEntry;
  4138. if (!$._isInCallbackLoop)
  4139. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  4140. } else
  4141. $._lastCallback = lastCallback.next = newEntry;
  4142. },
  4143. _schedulePriorityAsyncCallback(callback) {
  4144. var entry, lastPriorityCallback, next,
  4145. t1 = $._nextCallback;
  4146. if (t1 == null) {
  4147. A._scheduleAsyncCallback(callback);
  4148. $._lastPriorityCallback = $._lastCallback;
  4149. return;
  4150. }
  4151. entry = new A._AsyncCallbackEntry(callback);
  4152. lastPriorityCallback = $._lastPriorityCallback;
  4153. if (lastPriorityCallback == null) {
  4154. entry.next = t1;
  4155. $._nextCallback = $._lastPriorityCallback = entry;
  4156. } else {
  4157. next = lastPriorityCallback.next;
  4158. entry.next = next;
  4159. $._lastPriorityCallback = lastPriorityCallback.next = entry;
  4160. if (next == null)
  4161. $._lastCallback = entry;
  4162. }
  4163. },
  4164. scheduleMicrotask(callback) {
  4165. var t1, _null = null,
  4166. currentZone = $.Zone__current;
  4167. if (B.C__RootZone === currentZone) {
  4168. A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);
  4169. return;
  4170. }
  4171. if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
  4172. t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone();
  4173. else
  4174. t1 = false;
  4175. if (t1) {
  4176. A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
  4177. return;
  4178. }
  4179. t1 = $.Zone__current;
  4180. t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
  4181. },
  4182. Stream_Stream$fromFuture(future, $T) {
  4183. var _null = null,
  4184. t1 = $T._eval$1("_SyncStreamController<0>"),
  4185. controller = new A._SyncStreamController(_null, _null, _null, _null, t1);
  4186. future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null);
  4187. return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
  4188. },
  4189. StreamIterator_StreamIterator(stream) {
  4190. return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object));
  4191. },
  4192. StreamController_StreamController(onCancel, onListen, onPause, onResume, sync, $T) {
  4193. 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>"));
  4194. },
  4195. _runGuarded(notificationHandler) {
  4196. var e, s, exception;
  4197. if (notificationHandler == null)
  4198. return;
  4199. try {
  4200. notificationHandler.call$0();
  4201. } catch (exception) {
  4202. e = A.unwrapException(exception);
  4203. s = A.getTraceFromException(exception);
  4204. $.Zone__current.handleUncaughtError$2(e, s);
  4205. }
  4206. },
  4207. _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) {
  4208. var t1 = $.Zone__current,
  4209. t2 = cancelOnError ? 1 : 0,
  4210. t3 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
  4211. t4 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError),
  4212. t5 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  4213. return new A._ControllerSubscription(_controller, t3, t4, t1.registerCallback$1$1(t5, type$.void), t1, t2, $T._eval$1("_ControllerSubscription<0>"));
  4214. },
  4215. _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) {
  4216. var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData;
  4217. return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
  4218. },
  4219. _BufferingStreamSubscription__registerErrorHandler(zone, handleError) {
  4220. if (handleError == null)
  4221. handleError = A.async___nullErrorHandler$closure();
  4222. if (type$.void_Function_Object_StackTrace._is(handleError))
  4223. return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
  4224. if (type$.void_Function_Object._is(handleError))
  4225. return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
  4226. throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null));
  4227. },
  4228. _nullDataHandler(value) {
  4229. },
  4230. _nullErrorHandler(error, stackTrace) {
  4231. $.Zone__current.handleUncaughtError$2(error, stackTrace);
  4232. },
  4233. _nullDoneHandler() {
  4234. },
  4235. Timer_Timer(duration, callback) {
  4236. var t1 = $.Zone__current;
  4237. if (t1 === B.C__RootZone)
  4238. return t1.createTimer$2(duration, callback);
  4239. return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
  4240. },
  4241. _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) {
  4242. A._rootHandleError(error, stackTrace);
  4243. },
  4244. _rootHandleError(error, stackTrace) {
  4245. A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));
  4246. },
  4247. _rootRun($self, $parent, zone, f) {
  4248. var old,
  4249. t1 = $.Zone__current;
  4250. if (t1 === zone)
  4251. return f.call$0();
  4252. $.Zone__current = zone;
  4253. old = t1;
  4254. try {
  4255. t1 = f.call$0();
  4256. return t1;
  4257. } finally {
  4258. $.Zone__current = old;
  4259. }
  4260. },
  4261. _rootRunUnary($self, $parent, zone, f, arg) {
  4262. var old,
  4263. t1 = $.Zone__current;
  4264. if (t1 === zone)
  4265. return f.call$1(arg);
  4266. $.Zone__current = zone;
  4267. old = t1;
  4268. try {
  4269. t1 = f.call$1(arg);
  4270. return t1;
  4271. } finally {
  4272. $.Zone__current = old;
  4273. }
  4274. },
  4275. _rootRunBinary($self, $parent, zone, f, arg1, arg2) {
  4276. var old,
  4277. t1 = $.Zone__current;
  4278. if (t1 === zone)
  4279. return f.call$2(arg1, arg2);
  4280. $.Zone__current = zone;
  4281. old = t1;
  4282. try {
  4283. t1 = f.call$2(arg1, arg2);
  4284. return t1;
  4285. } finally {
  4286. $.Zone__current = old;
  4287. }
  4288. },
  4289. _rootRegisterCallback($self, $parent, zone, f) {
  4290. return f;
  4291. },
  4292. _rootRegisterUnaryCallback($self, $parent, zone, f) {
  4293. return f;
  4294. },
  4295. _rootRegisterBinaryCallback($self, $parent, zone, f) {
  4296. return f;
  4297. },
  4298. _rootErrorCallback($self, $parent, zone, error, stackTrace) {
  4299. return null;
  4300. },
  4301. _rootScheduleMicrotask($self, $parent, zone, f) {
  4302. var t1, t2;
  4303. if (B.C__RootZone !== zone) {
  4304. t1 = B.C__RootZone.get$errorZone();
  4305. t2 = zone.get$errorZone();
  4306. f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
  4307. }
  4308. A._scheduleAsyncCallback(f);
  4309. },
  4310. _rootCreateTimer($self, $parent, zone, duration, callback) {
  4311. return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback);
  4312. },
  4313. _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) {
  4314. var milliseconds;
  4315. if (B.C__RootZone !== zone)
  4316. callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
  4317. milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  4318. return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
  4319. },
  4320. _rootPrint($self, $parent, zone, line) {
  4321. A.printString(line);
  4322. },
  4323. _printToZone(line) {
  4324. $.Zone__current.print$1(line);
  4325. },
  4326. _rootFork($self, $parent, zone, specification, zoneValues) {
  4327. var valueMap, t1, handleUncaughtError;
  4328. $.printToZone = A.async___printToZone$closure();
  4329. if (specification == null)
  4330. specification = B._ZoneSpecification_ALf;
  4331. if (zoneValues == null)
  4332. valueMap = zone.get$_async$_map();
  4333. else {
  4334. t1 = type$.nullable_Object;
  4335. valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1);
  4336. }
  4337. 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);
  4338. handleUncaughtError = specification.handleUncaughtError;
  4339. if (handleUncaughtError != null)
  4340. t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError);
  4341. return t1;
  4342. },
  4343. runZoned(body, zoneValues, $R) {
  4344. A.checkNotNullable(body, "body", $R._eval$1("0()"));
  4345. return A._runZoned(body, zoneValues, null, $R);
  4346. },
  4347. _runZoned(body, zoneValues, specification, $R) {
  4348. return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(0, body, $R);
  4349. },
  4350. _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
  4351. this._box_0 = t0;
  4352. },
  4353. _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
  4354. this._box_0 = t0;
  4355. this.div = t1;
  4356. this.span = t2;
  4357. },
  4358. _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
  4359. this.callback = t0;
  4360. },
  4361. _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
  4362. this.callback = t0;
  4363. },
  4364. _TimerImpl: function _TimerImpl(t0) {
  4365. this._once = t0;
  4366. this._handle = null;
  4367. this._tick = 0;
  4368. },
  4369. _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
  4370. this.$this = t0;
  4371. this.callback = t1;
  4372. },
  4373. _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
  4374. var _ = this;
  4375. _.$this = t0;
  4376. _.milliseconds = t1;
  4377. _.start = t2;
  4378. _.callback = t3;
  4379. },
  4380. _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
  4381. this._future = t0;
  4382. this.isSync = false;
  4383. this.$ti = t1;
  4384. },
  4385. _awaitOnObject_closure: function _awaitOnObject_closure(t0) {
  4386. this.bodyFunction = t0;
  4387. },
  4388. _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
  4389. this.bodyFunction = t0;
  4390. },
  4391. _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
  4392. this.$protected = t0;
  4393. },
  4394. _IterationMarker: function _IterationMarker(t0, t1) {
  4395. this.value = t0;
  4396. this.state = t1;
  4397. },
  4398. _SyncStarIterator: function _SyncStarIterator(t0) {
  4399. var _ = this;
  4400. _._body = t0;
  4401. _._suspendedBodies = _._nestedIterator = _._async$_current = null;
  4402. },
  4403. _SyncStarIterable: function _SyncStarIterable(t0, t1) {
  4404. this._outerHelper = t0;
  4405. this.$ti = t1;
  4406. },
  4407. AsyncError: function AsyncError(t0, t1) {
  4408. this.error = t0;
  4409. this.stackTrace = t1;
  4410. },
  4411. Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3, t4, t5) {
  4412. var _ = this;
  4413. _._box_0 = t0;
  4414. _.cleanUp = t1;
  4415. _.eagerError = t2;
  4416. _._future = t3;
  4417. _.error = t4;
  4418. _.stackTrace = t5;
  4419. },
  4420. Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5, t6, t7) {
  4421. var _ = this;
  4422. _._box_0 = t0;
  4423. _.pos = t1;
  4424. _._future = t2;
  4425. _.cleanUp = t3;
  4426. _.eagerError = t4;
  4427. _.error = t5;
  4428. _.stackTrace = t6;
  4429. _.T = t7;
  4430. },
  4431. _Completer: function _Completer() {
  4432. },
  4433. _AsyncCompleter: function _AsyncCompleter(t0, t1) {
  4434. this.future = t0;
  4435. this.$ti = t1;
  4436. },
  4437. _SyncCompleter: function _SyncCompleter(t0, t1) {
  4438. this.future = t0;
  4439. this.$ti = t1;
  4440. },
  4441. _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
  4442. var _ = this;
  4443. _._nextListener = null;
  4444. _.result = t0;
  4445. _.state = t1;
  4446. _.callback = t2;
  4447. _.errorCallback = t3;
  4448. _.$ti = t4;
  4449. },
  4450. _Future: function _Future(t0, t1) {
  4451. var _ = this;
  4452. _._state = 0;
  4453. _._zone = t0;
  4454. _._resultOrListeners = null;
  4455. _.$ti = t1;
  4456. },
  4457. _Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
  4458. this.$this = t0;
  4459. this.listener = t1;
  4460. },
  4461. _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
  4462. this._box_0 = t0;
  4463. this.$this = t1;
  4464. },
  4465. _Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) {
  4466. this.$this = t0;
  4467. },
  4468. _Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) {
  4469. this.$this = t0;
  4470. },
  4471. _Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) {
  4472. this.$this = t0;
  4473. this.e = t1;
  4474. this.s = t2;
  4475. },
  4476. _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
  4477. this.$this = t0;
  4478. this.value = t1;
  4479. },
  4480. _Future__chainFuture_closure: function _Future__chainFuture_closure(t0, t1) {
  4481. this.$this = t0;
  4482. this.value = t1;
  4483. },
  4484. _Future__asyncCompleteError_closure: function _Future__asyncCompleteError_closure(t0, t1, t2) {
  4485. this.$this = t0;
  4486. this.error = t1;
  4487. this.stackTrace = t2;
  4488. },
  4489. _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
  4490. this._box_0 = t0;
  4491. this._box_1 = t1;
  4492. this.hasError = t2;
  4493. },
  4494. _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0) {
  4495. this.originalSource = t0;
  4496. },
  4497. _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
  4498. this._box_0 = t0;
  4499. this.sourceResult = t1;
  4500. },
  4501. _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
  4502. this._box_1 = t0;
  4503. this._box_0 = t1;
  4504. },
  4505. _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
  4506. this.callback = t0;
  4507. this.next = null;
  4508. },
  4509. Stream: function Stream() {
  4510. },
  4511. Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
  4512. this.controller = t0;
  4513. this.T = t1;
  4514. },
  4515. Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
  4516. this.controller = t0;
  4517. },
  4518. Stream_length_closure: function Stream_length_closure(t0, t1) {
  4519. this._box_0 = t0;
  4520. this.$this = t1;
  4521. },
  4522. Stream_length_closure0: function Stream_length_closure0(t0, t1) {
  4523. this._box_0 = t0;
  4524. this.future = t1;
  4525. },
  4526. _StreamController: function _StreamController() {
  4527. },
  4528. _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
  4529. this.$this = t0;
  4530. },
  4531. _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
  4532. this.$this = t0;
  4533. },
  4534. _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
  4535. },
  4536. _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
  4537. },
  4538. _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
  4539. var _ = this;
  4540. _._varData = null;
  4541. _._state = 0;
  4542. _._doneFuture = null;
  4543. _.onListen = t0;
  4544. _.onPause = t1;
  4545. _.onResume = t2;
  4546. _.onCancel = t3;
  4547. _.$ti = t4;
  4548. },
  4549. _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
  4550. var _ = this;
  4551. _._varData = null;
  4552. _._state = 0;
  4553. _._doneFuture = null;
  4554. _.onListen = t0;
  4555. _.onPause = t1;
  4556. _.onResume = t2;
  4557. _.onCancel = t3;
  4558. _.$ti = t4;
  4559. },
  4560. _ControllerStream: function _ControllerStream(t0, t1) {
  4561. this._controller = t0;
  4562. this.$ti = t1;
  4563. },
  4564. _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
  4565. var _ = this;
  4566. _._controller = t0;
  4567. _._onData = t1;
  4568. _._onError = t2;
  4569. _._onDone = t3;
  4570. _._zone = t4;
  4571. _._state = t5;
  4572. _._pending = _._cancelFuture = null;
  4573. _.$ti = t6;
  4574. },
  4575. _AddStreamState: function _AddStreamState() {
  4576. },
  4577. _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
  4578. this.$this = t0;
  4579. },
  4580. _StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2) {
  4581. this.varData = t0;
  4582. this.addStreamFuture = t1;
  4583. this.addSubscription = t2;
  4584. },
  4585. _BufferingStreamSubscription: function _BufferingStreamSubscription() {
  4586. },
  4587. _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
  4588. this.$this = t0;
  4589. this.error = t1;
  4590. this.stackTrace = t2;
  4591. },
  4592. _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
  4593. this.$this = t0;
  4594. },
  4595. _StreamImpl: function _StreamImpl() {
  4596. },
  4597. _DelayedEvent: function _DelayedEvent() {
  4598. },
  4599. _DelayedData: function _DelayedData(t0) {
  4600. this.value = t0;
  4601. this.next = null;
  4602. },
  4603. _DelayedError: function _DelayedError(t0, t1) {
  4604. this.error = t0;
  4605. this.stackTrace = t1;
  4606. this.next = null;
  4607. },
  4608. _DelayedDone: function _DelayedDone() {
  4609. },
  4610. _PendingEvents: function _PendingEvents() {
  4611. this._state = 0;
  4612. this.lastPendingEvent = this.firstPendingEvent = null;
  4613. },
  4614. _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
  4615. this.$this = t0;
  4616. this.dispatch = t1;
  4617. },
  4618. _StreamIterator: function _StreamIterator(t0) {
  4619. this._subscription = null;
  4620. this._stateData = t0;
  4621. this._async$_hasValue = false;
  4622. },
  4623. _ForwardingStream: function _ForwardingStream() {
  4624. },
  4625. _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
  4626. var _ = this;
  4627. _._stream = t0;
  4628. _._subscription = null;
  4629. _._onData = t1;
  4630. _._onError = t2;
  4631. _._onDone = t3;
  4632. _._zone = t4;
  4633. _._state = t5;
  4634. _._pending = _._cancelFuture = null;
  4635. _.$ti = t6;
  4636. },
  4637. _ExpandStream: function _ExpandStream(t0, t1, t2) {
  4638. this._expand = t0;
  4639. this._async$_source = t1;
  4640. this.$ti = t2;
  4641. },
  4642. _ZoneFunction: function _ZoneFunction(t0, t1) {
  4643. this.zone = t0;
  4644. this.$function = t1;
  4645. },
  4646. _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  4647. var _ = this;
  4648. _.handleUncaughtError = t0;
  4649. _.run = t1;
  4650. _.runUnary = t2;
  4651. _.runBinary = t3;
  4652. _.registerCallback = t4;
  4653. _.registerUnaryCallback = t5;
  4654. _.registerBinaryCallback = t6;
  4655. _.errorCallback = t7;
  4656. _.scheduleMicrotask = t8;
  4657. _.createTimer = t9;
  4658. _.createPeriodicTimer = t10;
  4659. _.print = t11;
  4660. _.fork = t12;
  4661. },
  4662. _ZoneDelegate: function _ZoneDelegate(t0) {
  4663. this._delegationTarget = t0;
  4664. },
  4665. _Zone: function _Zone() {
  4666. },
  4667. _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  4668. var _ = this;
  4669. _._run = t0;
  4670. _._runUnary = t1;
  4671. _._runBinary = t2;
  4672. _._registerCallback = t3;
  4673. _._registerUnaryCallback = t4;
  4674. _._registerBinaryCallback = t5;
  4675. _._errorCallback = t6;
  4676. _._scheduleMicrotask = t7;
  4677. _._createTimer = t8;
  4678. _._createPeriodicTimer = t9;
  4679. _._print = t10;
  4680. _._fork = t11;
  4681. _._handleUncaughtError = t12;
  4682. _._delegateCache = null;
  4683. _.parent = t13;
  4684. _._async$_map = t14;
  4685. },
  4686. _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
  4687. this.$this = t0;
  4688. this.registered = t1;
  4689. this.R = t2;
  4690. },
  4691. _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  4692. var _ = this;
  4693. _.$this = t0;
  4694. _.registered = t1;
  4695. _.T = t2;
  4696. _.R = t3;
  4697. },
  4698. _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
  4699. this.$this = t0;
  4700. this.registered = t1;
  4701. },
  4702. _rootHandleError_closure: function _rootHandleError_closure(t0, t1) {
  4703. this.error = t0;
  4704. this.stackTrace = t1;
  4705. },
  4706. _RootZone: function _RootZone() {
  4707. },
  4708. _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
  4709. this.$this = t0;
  4710. this.f = t1;
  4711. this.R = t2;
  4712. },
  4713. _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  4714. var _ = this;
  4715. _.$this = t0;
  4716. _.f = t1;
  4717. _.T = t2;
  4718. _.R = t3;
  4719. },
  4720. _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
  4721. this.$this = t0;
  4722. this.f = t1;
  4723. },
  4724. HashMap_HashMap($K, $V) {
  4725. return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
  4726. },
  4727. _HashMap__getTableEntry(table, key) {
  4728. var entry = table[key];
  4729. return entry === table ? null : entry;
  4730. },
  4731. _HashMap__setTableEntry(table, key, value) {
  4732. if (value == null)
  4733. table[key] = table;
  4734. else
  4735. table[key] = value;
  4736. },
  4737. _HashMap__newHashTable() {
  4738. var table = Object.create(null);
  4739. A._HashMap__setTableEntry(table, "<non-identifier-key>", table);
  4740. delete table["<non-identifier-key>"];
  4741. return table;
  4742. },
  4743. LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) {
  4744. if (isValidKey == null)
  4745. if (hashCode == null) {
  4746. if (equals == null)
  4747. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  4748. hashCode = A.collection___defaultHashCode$closure();
  4749. } else {
  4750. if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals)
  4751. return new A._LinkedIdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedIdentityHashMap<1,2>"));
  4752. if (equals == null)
  4753. equals = A.collection___defaultEquals$closure();
  4754. }
  4755. else {
  4756. if (hashCode == null)
  4757. hashCode = A.collection___defaultHashCode$closure();
  4758. if (equals == null)
  4759. equals = A.collection___defaultEquals$closure();
  4760. }
  4761. return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V);
  4762. },
  4763. LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) {
  4764. return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
  4765. },
  4766. LinkedHashMap_LinkedHashMap$_empty($K, $V) {
  4767. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  4768. },
  4769. _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) {
  4770. var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K);
  4771. return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
  4772. },
  4773. LinkedHashSet_LinkedHashSet($E) {
  4774. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  4775. },
  4776. LinkedHashSet_LinkedHashSet$_empty($E) {
  4777. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  4778. },
  4779. LinkedHashSet_LinkedHashSet$_literal(values, $E) {
  4780. return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
  4781. },
  4782. _LinkedHashSet__newHashTable() {
  4783. var table = Object.create(null);
  4784. table["<non-identifier-key>"] = table;
  4785. delete table["<non-identifier-key>"];
  4786. return table;
  4787. },
  4788. _LinkedHashSetIterator$(_set, _modifications) {
  4789. var t1 = new A._LinkedHashSetIterator(_set, _modifications);
  4790. t1._collection$_cell = _set._collection$_first;
  4791. return t1;
  4792. },
  4793. UnmodifiableListView$(source, $E) {
  4794. return new A.UnmodifiableListView(source, $E._eval$1("UnmodifiableListView<0>"));
  4795. },
  4796. _defaultEquals(a, b) {
  4797. return J.$eq$(a, b);
  4798. },
  4799. _defaultHashCode(a) {
  4800. return J.get$hashCode$(a);
  4801. },
  4802. HashMap_HashMap$from(other, $K, $V) {
  4803. var result = A.HashMap_HashMap($K, $V);
  4804. other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V));
  4805. return result;
  4806. },
  4807. LinkedHashMap_LinkedHashMap$from(other, $K, $V) {
  4808. var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  4809. other.forEach$1(0, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
  4810. return result;
  4811. },
  4812. LinkedHashMap_LinkedHashMap$of(other, $K, $V) {
  4813. var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  4814. t1.addAll$1(0, other);
  4815. return t1;
  4816. },
  4817. LinkedHashSet_LinkedHashSet$from(elements, $E) {
  4818. var t1, _i,
  4819. result = A.LinkedHashSet_LinkedHashSet($E);
  4820. for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
  4821. result.add$1(0, $E._as(elements[_i]));
  4822. return result;
  4823. },
  4824. LinkedHashSet_LinkedHashSet$of(elements, $E) {
  4825. var t1 = A.LinkedHashSet_LinkedHashSet($E);
  4826. t1.addAll$1(0, elements);
  4827. return t1;
  4828. },
  4829. ListBase__compareAny(a, b) {
  4830. var t1 = type$.Comparable_dynamic;
  4831. return J.compareTo$1$ns(t1._as(a), t1._as(b));
  4832. },
  4833. MapBase_mapToString(m) {
  4834. var result, t1 = {};
  4835. if (A.isToStringVisiting(m))
  4836. return "{...}";
  4837. result = new A.StringBuffer("");
  4838. try {
  4839. $.toStringVisiting.push(m);
  4840. result._contents += "{";
  4841. t1.first = true;
  4842. m.forEach$1(0, new A.MapBase_mapToString_closure(t1, result));
  4843. result._contents += "}";
  4844. } finally {
  4845. $.toStringVisiting.pop();
  4846. }
  4847. t1 = result._contents;
  4848. return t1.charCodeAt(0) == 0 ? t1 : t1;
  4849. },
  4850. MapBase__fillMapWithIterables(map, keys, values) {
  4851. var keyIterator = keys.get$iterator(keys),
  4852. valueIterator = values.get$iterator(values),
  4853. hasNextKey = keyIterator.moveNext$0(),
  4854. hasNextValue = valueIterator.moveNext$0();
  4855. while (true) {
  4856. if (!(hasNextKey && hasNextValue))
  4857. break;
  4858. map.$indexSet(0, keyIterator.get$current(keyIterator), valueIterator.get$current(valueIterator));
  4859. hasNextKey = keyIterator.moveNext$0();
  4860. hasNextValue = valueIterator.moveNext$0();
  4861. }
  4862. if (hasNextKey || hasNextValue)
  4863. throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null));
  4864. },
  4865. ListQueue$($E) {
  4866. return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
  4867. },
  4868. ListQueue__calculateCapacity(initialCapacity) {
  4869. return 8;
  4870. },
  4871. ListQueue_ListQueue$of(elements, $E) {
  4872. var t1 = A.ListQueue$($E);
  4873. t1.addAll$1(0, elements);
  4874. return t1;
  4875. },
  4876. ListQueue__nextPowerOf2(number) {
  4877. var nextNumber;
  4878. number = (number << 1 >>> 0) - 1;
  4879. for (; true; number = nextNumber) {
  4880. nextNumber = (number & number - 1) >>> 0;
  4881. if (nextNumber === 0)
  4882. return number;
  4883. }
  4884. },
  4885. _ListQueueIterator$(queue) {
  4886. return new A._ListQueueIterator(queue, queue._collection$_tail, queue._modificationCount, queue._collection$_head);
  4887. },
  4888. _UnmodifiableSetMixin__throwUnmodifiable() {
  4889. throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"));
  4890. },
  4891. _HashMap: function _HashMap(t0) {
  4892. var _ = this;
  4893. _._collection$_length = 0;
  4894. _._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  4895. _.$ti = t0;
  4896. },
  4897. _HashMap_values_closure: function _HashMap_values_closure(t0) {
  4898. this.$this = t0;
  4899. },
  4900. _HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
  4901. this.$this = t0;
  4902. },
  4903. _IdentityHashMap: function _IdentityHashMap(t0) {
  4904. var _ = this;
  4905. _._collection$_length = 0;
  4906. _._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  4907. _.$ti = t0;
  4908. },
  4909. _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
  4910. this._map = t0;
  4911. this.$ti = t1;
  4912. },
  4913. _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1) {
  4914. var _ = this;
  4915. _._map = t0;
  4916. _._collection$_keys = t1;
  4917. _._offset = 0;
  4918. _._collection$_current = null;
  4919. },
  4920. _LinkedIdentityHashMap: function _LinkedIdentityHashMap(t0) {
  4921. var _ = this;
  4922. _.__js_helper$_length = 0;
  4923. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  4924. _._modifications = 0;
  4925. _.$ti = t0;
  4926. },
  4927. _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
  4928. var _ = this;
  4929. _._equals = t0;
  4930. _._hashCode = t1;
  4931. _._validKey = t2;
  4932. _.__js_helper$_length = 0;
  4933. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  4934. _._modifications = 0;
  4935. _.$ti = t3;
  4936. },
  4937. _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
  4938. this.K = t0;
  4939. },
  4940. _LinkedHashSet: function _LinkedHashSet(t0) {
  4941. var _ = this;
  4942. _._collection$_length = 0;
  4943. _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  4944. _._collection$_modifications = 0;
  4945. _.$ti = t0;
  4946. },
  4947. _LinkedIdentityHashSet: function _LinkedIdentityHashSet(t0) {
  4948. var _ = this;
  4949. _._collection$_length = 0;
  4950. _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  4951. _._collection$_modifications = 0;
  4952. _.$ti = t0;
  4953. },
  4954. _LinkedHashSetCell: function _LinkedHashSetCell(t0) {
  4955. this._element = t0;
  4956. this._collection$_previous = this._collection$_next = null;
  4957. },
  4958. _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1) {
  4959. var _ = this;
  4960. _._set = t0;
  4961. _._collection$_modifications = t1;
  4962. _._collection$_current = _._collection$_cell = null;
  4963. },
  4964. UnmodifiableListView: function UnmodifiableListView(t0, t1) {
  4965. this._collection$_source = t0;
  4966. this.$ti = t1;
  4967. },
  4968. HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
  4969. this.result = t0;
  4970. this.K = t1;
  4971. this.V = t2;
  4972. },
  4973. LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
  4974. this.result = t0;
  4975. this.K = t1;
  4976. this.V = t2;
  4977. },
  4978. ListBase: function ListBase() {
  4979. },
  4980. MapBase: function MapBase() {
  4981. },
  4982. MapBase_addAll_closure: function MapBase_addAll_closure(t0) {
  4983. this.$this = t0;
  4984. },
  4985. MapBase_entries_closure: function MapBase_entries_closure(t0) {
  4986. this.$this = t0;
  4987. },
  4988. MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
  4989. this._box_0 = t0;
  4990. this.result = t1;
  4991. },
  4992. UnmodifiableMapBase: function UnmodifiableMapBase() {
  4993. },
  4994. _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
  4995. this._map = t0;
  4996. this.$ti = t1;
  4997. },
  4998. _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1) {
  4999. this._collection$_keys = t0;
  5000. this._map = t1;
  5001. this._collection$_current = null;
  5002. },
  5003. _UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
  5004. },
  5005. MapView: function MapView() {
  5006. },
  5007. UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
  5008. this._map = t0;
  5009. this.$ti = t1;
  5010. },
  5011. ListQueue: function ListQueue(t0, t1) {
  5012. var _ = this;
  5013. _._collection$_table = t0;
  5014. _._modificationCount = _._collection$_tail = _._collection$_head = 0;
  5015. _.$ti = t1;
  5016. },
  5017. _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3) {
  5018. var _ = this;
  5019. _._queue = t0;
  5020. _._collection$_end = t1;
  5021. _._modificationCount = t2;
  5022. _._collection$_position = t3;
  5023. _._collection$_current = null;
  5024. },
  5025. SetBase: function SetBase() {
  5026. },
  5027. _SetBase: function _SetBase() {
  5028. },
  5029. _UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
  5030. },
  5031. _UnmodifiableSet: function _UnmodifiableSet(t0, t1) {
  5032. this._map = t0;
  5033. this.$ti = t1;
  5034. },
  5035. UnmodifiableSetView: function UnmodifiableSetView(t0, t1) {
  5036. this._collection$_source = t0;
  5037. this.$ti = t1;
  5038. },
  5039. _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
  5040. },
  5041. _UnmodifiableSetView_SetBase__UnmodifiableSetMixin: function _UnmodifiableSetView_SetBase__UnmodifiableSetMixin() {
  5042. },
  5043. __UnmodifiableSet__SetBase__UnmodifiableSetMixin: function __UnmodifiableSet__SetBase__UnmodifiableSetMixin() {
  5044. },
  5045. Utf8Decoder__convertIntercepted(allowMalformed, codeUnits, start, end) {
  5046. var casted, result;
  5047. if (codeUnits instanceof Uint8Array) {
  5048. casted = codeUnits;
  5049. end = casted.length;
  5050. if (end - start < 15)
  5051. return null;
  5052. result = A.Utf8Decoder__convertInterceptedUint8List(allowMalformed, casted, start, end);
  5053. if (result != null && allowMalformed)
  5054. if (result.indexOf("\ufffd") >= 0)
  5055. return null;
  5056. return result;
  5057. }
  5058. return null;
  5059. },
  5060. Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {
  5061. var decoder = allowMalformed ? $.$get$Utf8Decoder__decoderNonfatal() : $.$get$Utf8Decoder__decoder();
  5062. if (decoder == null)
  5063. return null;
  5064. if (0 === start && end === codeUnits.length)
  5065. return A.Utf8Decoder__useTextDecoder(decoder, codeUnits);
  5066. return A.Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, A.RangeError_checkValidRange(start, end, codeUnits.length)));
  5067. },
  5068. Utf8Decoder__useTextDecoder(decoder, codeUnits) {
  5069. var t1, exception;
  5070. try {
  5071. t1 = decoder.decode(codeUnits);
  5072. return t1;
  5073. } catch (exception) {
  5074. }
  5075. return null;
  5076. },
  5077. Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
  5078. if (B.JSInt_methods.$mod($length, 4) !== 0)
  5079. throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
  5080. if (firstPadding + paddingCount !== $length)
  5081. throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
  5082. if (paddingCount > 2)
  5083. throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
  5084. },
  5085. _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
  5086. var t1, i, byteOr, byte, outputIndex0, outputIndex1,
  5087. bits = state >>> 2,
  5088. expectedChars = 3 - (state & 3);
  5089. for (t1 = J.getInterceptor$asx(bytes), i = start, byteOr = 0; i < end; ++i) {
  5090. byte = t1.$index(bytes, i);
  5091. byteOr = (byteOr | byte) >>> 0;
  5092. bits = (bits << 8 | byte) & 16777215;
  5093. --expectedChars;
  5094. if (expectedChars === 0) {
  5095. outputIndex0 = outputIndex + 1;
  5096. output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 18 & 63);
  5097. outputIndex = outputIndex0 + 1;
  5098. output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 12 & 63);
  5099. outputIndex0 = outputIndex + 1;
  5100. output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 6 & 63);
  5101. outputIndex = outputIndex0 + 1;
  5102. output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits & 63);
  5103. bits = 0;
  5104. expectedChars = 3;
  5105. }
  5106. }
  5107. if (byteOr >= 0 && byteOr <= 255) {
  5108. if (isLast && expectedChars < 3) {
  5109. outputIndex0 = outputIndex + 1;
  5110. outputIndex1 = outputIndex0 + 1;
  5111. if (3 - expectedChars === 1) {
  5112. output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 2 & 63);
  5113. output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 4 & 63);
  5114. output[outputIndex1] = 61;
  5115. output[outputIndex1 + 1] = 61;
  5116. } else {
  5117. output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 10 & 63);
  5118. output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 4 & 63);
  5119. output[outputIndex1] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 2 & 63);
  5120. output[outputIndex1 + 1] = 61;
  5121. }
  5122. return 0;
  5123. }
  5124. return (bits << 2 | 3 - expectedChars) >>> 0;
  5125. }
  5126. for (i = start; i < end;) {
  5127. byte = t1.$index(bytes, i);
  5128. if (byte < 0 || byte > 255)
  5129. break;
  5130. ++i;
  5131. }
  5132. 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));
  5133. },
  5134. JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) {
  5135. return new A.JsonUnsupportedObjectError(unsupportedObject, cause);
  5136. },
  5137. _defaultToEncodable(object) {
  5138. return object.toJson$0();
  5139. },
  5140. _JsonStringStringifier$(_sink, _toEncodable) {
  5141. return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure());
  5142. },
  5143. _JsonStringStringifier_stringify(object, toEncodable, indent) {
  5144. var t1,
  5145. output = new A.StringBuffer(""),
  5146. stringifier = A._JsonStringStringifier$(output, toEncodable);
  5147. stringifier.writeObject$1(object);
  5148. t1 = output._contents;
  5149. return t1.charCodeAt(0) == 0 ? t1 : t1;
  5150. },
  5151. _Utf8Decoder_errorDescription(state) {
  5152. switch (state) {
  5153. case 65:
  5154. return "Missing extension byte";
  5155. case 67:
  5156. return "Unexpected extension byte";
  5157. case 69:
  5158. return "Invalid UTF-8 byte";
  5159. case 71:
  5160. return "Overlong encoding";
  5161. case 73:
  5162. return "Out of unicode range";
  5163. case 75:
  5164. return "Encoded surrogate";
  5165. case 77:
  5166. return "Unfinished UTF-8 octet sequence";
  5167. default:
  5168. return "";
  5169. }
  5170. },
  5171. _Utf8Decoder__makeUint8List(codeUnits, start, end) {
  5172. var t1, i, b,
  5173. $length = end - start,
  5174. bytes = new Uint8Array($length);
  5175. for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
  5176. b = t1.$index(codeUnits, start + i);
  5177. bytes[i] = (b & 4294967040) >>> 0 !== 0 ? 255 : b;
  5178. }
  5179. return bytes;
  5180. },
  5181. Utf8Decoder__decoder_closure: function Utf8Decoder__decoder_closure() {
  5182. },
  5183. Utf8Decoder__decoderNonfatal_closure: function Utf8Decoder__decoderNonfatal_closure() {
  5184. },
  5185. AsciiCodec: function AsciiCodec() {
  5186. },
  5187. _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
  5188. },
  5189. AsciiEncoder: function AsciiEncoder(t0) {
  5190. this._subsetMask = t0;
  5191. },
  5192. Base64Codec: function Base64Codec() {
  5193. },
  5194. Base64Encoder: function Base64Encoder() {
  5195. },
  5196. _Base64Encoder: function _Base64Encoder(t0) {
  5197. this._convert$_state = 0;
  5198. this._alphabet = t0;
  5199. },
  5200. _Base64EncoderSink: function _Base64EncoderSink() {
  5201. },
  5202. _Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) {
  5203. this._sink = t0;
  5204. this._encoder = t1;
  5205. },
  5206. ByteConversionSink: function ByteConversionSink() {
  5207. },
  5208. Codec: function Codec() {
  5209. },
  5210. Converter: function Converter() {
  5211. },
  5212. Encoding: function Encoding() {
  5213. },
  5214. JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
  5215. this.unsupportedObject = t0;
  5216. this.cause = t1;
  5217. },
  5218. JsonCyclicError: function JsonCyclicError(t0, t1) {
  5219. this.unsupportedObject = t0;
  5220. this.cause = t1;
  5221. },
  5222. JsonCodec: function JsonCodec() {
  5223. },
  5224. JsonEncoder: function JsonEncoder(t0) {
  5225. this._toEncodable = t0;
  5226. },
  5227. _JsonStringifier: function _JsonStringifier() {
  5228. },
  5229. _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
  5230. this._box_0 = t0;
  5231. this.keyValueList = t1;
  5232. },
  5233. _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
  5234. this._sink = t0;
  5235. this._seen = t1;
  5236. this._toEncodable = t2;
  5237. },
  5238. StringConversionSink: function StringConversionSink() {
  5239. },
  5240. _StringSinkConversionSink: function _StringSinkConversionSink(t0) {
  5241. this._stringSink = t0;
  5242. },
  5243. _StringCallbackSink: function _StringCallbackSink(t0, t1) {
  5244. this._convert$_callback = t0;
  5245. this._stringSink = t1;
  5246. },
  5247. _Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) {
  5248. this._decoder = t0;
  5249. this._sink = t1;
  5250. this._stringSink = t2;
  5251. },
  5252. Utf8Codec: function Utf8Codec() {
  5253. },
  5254. Utf8Encoder: function Utf8Encoder() {
  5255. },
  5256. _Utf8Encoder: function _Utf8Encoder(t0) {
  5257. this._bufferIndex = 0;
  5258. this._convert$_buffer = t0;
  5259. },
  5260. Utf8Decoder: function Utf8Decoder(t0) {
  5261. this._allowMalformed = t0;
  5262. },
  5263. _Utf8Decoder: function _Utf8Decoder(t0) {
  5264. this.allowMalformed = t0;
  5265. this._convert$_state = 16;
  5266. this._charOrIndex = 0;
  5267. },
  5268. identityHashCode(object) {
  5269. return A.objectHashCode(object);
  5270. },
  5271. Function_apply($function, positionalArguments) {
  5272. return A.Primitives_applyFunction($function, positionalArguments, null);
  5273. },
  5274. Expando$() {
  5275. return new A.Expando(new WeakMap());
  5276. },
  5277. Expando__checkType(object) {
  5278. if (A._isBool(object) || typeof object == "number" || typeof object == "string" || false)
  5279. A.Expando__badExpandoKey(object);
  5280. },
  5281. Expando__badExpandoKey(object) {
  5282. throw A.wrapException(A.ArgumentError$value(object, "object", "Expandos are not allowed on strings, numbers, bools, records or null"));
  5283. },
  5284. int_parse(source, radix) {
  5285. var value = A.Primitives_parseInt(source, radix);
  5286. if (value != null)
  5287. return value;
  5288. throw A.wrapException(A.FormatException$(source, null, null));
  5289. },
  5290. double_parse(source) {
  5291. var value = A.Primitives_parseDouble(source);
  5292. if (value != null)
  5293. return value;
  5294. throw A.wrapException(A.FormatException$("Invalid double", source, null));
  5295. },
  5296. Error__throw(error, stackTrace) {
  5297. error = A.wrapException(error);
  5298. error.stack = stackTrace.toString$0(0);
  5299. throw error;
  5300. throw A.wrapException("unreachable");
  5301. },
  5302. List_List$filled($length, fill, growable, $E) {
  5303. var i,
  5304. result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
  5305. if ($length !== 0 && fill != null)
  5306. for (i = 0; i < result.length; ++i)
  5307. result[i] = fill;
  5308. return result;
  5309. },
  5310. List_List$from(elements, growable, $E) {
  5311. var t1,
  5312. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  5313. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  5314. list.push(t1.get$current(t1));
  5315. if (growable)
  5316. return list;
  5317. return J.JSArray_markFixedList(list);
  5318. },
  5319. List_List$of(elements, growable, $E) {
  5320. var t1;
  5321. if (growable)
  5322. return A.List_List$_of(elements, $E);
  5323. t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E));
  5324. return t1;
  5325. },
  5326. List_List$_of(elements, $E) {
  5327. var list, t1;
  5328. if (Array.isArray(elements))
  5329. return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>"));
  5330. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  5331. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  5332. list.push(t1.get$current(t1));
  5333. return list;
  5334. },
  5335. List_List$unmodifiable(elements, $E) {
  5336. return J.JSArray_markUnmodifiableList(A.List_List$from(elements, false, $E));
  5337. },
  5338. String_String$fromCharCodes(charCodes, start, end) {
  5339. var array, len;
  5340. if (Array.isArray(charCodes)) {
  5341. array = charCodes;
  5342. len = array.length;
  5343. end = A.RangeError_checkValidRange(start, end, len);
  5344. return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
  5345. }
  5346. if (type$.NativeUint8List._is(charCodes))
  5347. return A.Primitives_stringFromNativeUint8List(charCodes, start, A.RangeError_checkValidRange(start, end, charCodes.length));
  5348. return A.String__stringFromIterable(charCodes, start, end);
  5349. },
  5350. String_String$fromCharCode(charCode) {
  5351. return A.Primitives_stringFromCharCode(charCode);
  5352. },
  5353. String__stringFromIterable(charCodes, start, end) {
  5354. var t1, it, i, list, _null = null;
  5355. if (start < 0)
  5356. throw A.wrapException(A.RangeError$range(start, 0, J.get$length$asx(charCodes), _null, _null));
  5357. t1 = end == null;
  5358. if (!t1 && end < start)
  5359. throw A.wrapException(A.RangeError$range(end, start, J.get$length$asx(charCodes), _null, _null));
  5360. it = J.get$iterator$ax(charCodes);
  5361. for (i = 0; i < start; ++i)
  5362. if (!it.moveNext$0())
  5363. throw A.wrapException(A.RangeError$range(start, 0, i, _null, _null));
  5364. list = [];
  5365. if (t1)
  5366. for (; it.moveNext$0();)
  5367. list.push(it.get$current(it));
  5368. else
  5369. for (i = start; i < end; ++i) {
  5370. if (!it.moveNext$0())
  5371. throw A.wrapException(A.RangeError$range(end, start, i, _null, _null));
  5372. list.push(it.get$current(it));
  5373. }
  5374. return A.Primitives_stringFromCharCodes(list);
  5375. },
  5376. RegExp_RegExp(source, multiLine) {
  5377. return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, false));
  5378. },
  5379. identical(a, b) {
  5380. return a == null ? b == null : a === b;
  5381. },
  5382. StringBuffer__writeAll(string, objects, separator) {
  5383. var iterator = J.get$iterator$ax(objects);
  5384. if (!iterator.moveNext$0())
  5385. return string;
  5386. if (separator.length === 0) {
  5387. do
  5388. string += A.S(iterator.get$current(iterator));
  5389. while (iterator.moveNext$0());
  5390. } else {
  5391. string += A.S(iterator.get$current(iterator));
  5392. for (; iterator.moveNext$0();)
  5393. string = string + separator + A.S(iterator.get$current(iterator));
  5394. }
  5395. return string;
  5396. },
  5397. NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation) {
  5398. return new A.NoSuchMethodError(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments());
  5399. },
  5400. Uri_base() {
  5401. var uri = A.Primitives_currentUri();
  5402. if (uri != null)
  5403. return A.Uri_parse(uri);
  5404. throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));
  5405. },
  5406. _Uri__uriEncode(canonicalTable, text, encoding, spaceToPlus) {
  5407. var t1, bytes, i, t2, byte,
  5408. _s16_ = "0123456789ABCDEF";
  5409. if (encoding === B.C_Utf8Codec) {
  5410. t1 = $.$get$_Uri__needsNoEncoding()._nativeRegExp;
  5411. t1 = t1.test(text);
  5412. } else
  5413. t1 = false;
  5414. if (t1)
  5415. return text;
  5416. bytes = encoding.get$encoder().convert$1(text);
  5417. for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) {
  5418. byte = bytes[i];
  5419. if (byte < 128 && (canonicalTable[byte >>> 4] & 1 << (byte & 15)) !== 0)
  5420. t2 += A.Primitives_stringFromCharCode(byte);
  5421. else
  5422. t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];
  5423. }
  5424. return t2.charCodeAt(0) == 0 ? t2 : t2;
  5425. },
  5426. StackTrace_current() {
  5427. var stackTrace, exception;
  5428. if ($.$get$_hasErrorStackProperty())
  5429. return A.getTraceFromException(new Error());
  5430. try {
  5431. throw A.wrapException("");
  5432. } catch (exception) {
  5433. stackTrace = A.getTraceFromException(exception);
  5434. return stackTrace;
  5435. }
  5436. },
  5437. DateTime__fourDigits(n) {
  5438. var absN = Math.abs(n),
  5439. sign = n < 0 ? "-" : "";
  5440. if (absN >= 1000)
  5441. return "" + n;
  5442. if (absN >= 100)
  5443. return sign + "0" + absN;
  5444. if (absN >= 10)
  5445. return sign + "00" + absN;
  5446. return sign + "000" + absN;
  5447. },
  5448. DateTime__threeDigits(n) {
  5449. if (n >= 100)
  5450. return "" + n;
  5451. if (n >= 10)
  5452. return "0" + n;
  5453. return "00" + n;
  5454. },
  5455. DateTime__twoDigits(n) {
  5456. if (n >= 10)
  5457. return "" + n;
  5458. return "0" + n;
  5459. },
  5460. Duration$(milliseconds) {
  5461. return new A.Duration(1000 * milliseconds);
  5462. },
  5463. Error_safeToString(object) {
  5464. if (typeof object == "number" || A._isBool(object) || object == null)
  5465. return J.toString$0$(object);
  5466. if (typeof object == "string")
  5467. return JSON.stringify(object);
  5468. return A.Primitives_safeToString(object);
  5469. },
  5470. AssertionError$(message) {
  5471. return new A.AssertionError(message);
  5472. },
  5473. ArgumentError$(message, $name) {
  5474. return new A.ArgumentError(false, null, $name, message);
  5475. },
  5476. ArgumentError$value(value, $name, message) {
  5477. return new A.ArgumentError(true, value, $name, message);
  5478. },
  5479. ArgumentError_checkNotNull(argument, $name) {
  5480. return argument;
  5481. },
  5482. RangeError$(message) {
  5483. var _null = null;
  5484. return new A.RangeError(_null, _null, false, _null, _null, message);
  5485. },
  5486. RangeError$value(value, $name, message) {
  5487. return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
  5488. },
  5489. RangeError$range(invalidValue, minValue, maxValue, $name, message) {
  5490. return new A.RangeError(minValue, maxValue, true, invalidValue, $name, message == null ? "Invalid value" : message);
  5491. },
  5492. RangeError_checkValueInInterval(value, minValue, maxValue, $name) {
  5493. if (value < minValue || value > maxValue)
  5494. throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null));
  5495. return value;
  5496. },
  5497. RangeError_checkValidRange(start, end, $length) {
  5498. if (0 > start || start > $length)
  5499. throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null));
  5500. if (end != null) {
  5501. if (start > end || end > $length)
  5502. throw A.wrapException(A.RangeError$range(end, start, $length, "end", null));
  5503. return end;
  5504. }
  5505. return $length;
  5506. },
  5507. RangeError_checkNotNegative(value, $name) {
  5508. if (value < 0)
  5509. throw A.wrapException(A.RangeError$range(value, 0, null, $name, null));
  5510. return value;
  5511. },
  5512. IndexError$withLength(invalidValue, $length, indexable, message, $name) {
  5513. return new A.IndexError($length, true, invalidValue, $name, "Index out of range");
  5514. },
  5515. IndexError_check(index, $length, indexable, message, $name) {
  5516. if (0 > index || index >= $length)
  5517. throw A.wrapException(A.IndexError$withLength(index, $length, indexable, message, $name == null ? "index" : $name));
  5518. return index;
  5519. },
  5520. UnsupportedError$(message) {
  5521. return new A.UnsupportedError(message);
  5522. },
  5523. UnimplementedError$(message) {
  5524. return new A.UnimplementedError(message);
  5525. },
  5526. StateError$(message) {
  5527. return new A.StateError(message);
  5528. },
  5529. ConcurrentModificationError$(modifiedObject) {
  5530. return new A.ConcurrentModificationError(modifiedObject);
  5531. },
  5532. FormatException$(message, source, offset) {
  5533. return new A.FormatException(message, source, offset);
  5534. },
  5535. Iterable_Iterable$generate(count, generator, $E) {
  5536. if (count <= 0)
  5537. return new A.EmptyIterable($E._eval$1("EmptyIterable<0>"));
  5538. return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>"));
  5539. },
  5540. Iterable_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {
  5541. var parts, t1;
  5542. if (A.isToStringVisiting(iterable)) {
  5543. if (leftDelimiter === "(" && rightDelimiter === ")")
  5544. return "(...)";
  5545. return leftDelimiter + "..." + rightDelimiter;
  5546. }
  5547. parts = A._setArrayType([], type$.JSArray_String);
  5548. $.toStringVisiting.push(iterable);
  5549. try {
  5550. A._iterablePartsToStrings(iterable, parts);
  5551. } finally {
  5552. $.toStringVisiting.pop();
  5553. }
  5554. t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
  5555. return t1.charCodeAt(0) == 0 ? t1 : t1;
  5556. },
  5557. Iterable_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {
  5558. var buffer, t1;
  5559. if (A.isToStringVisiting(iterable))
  5560. return leftDelimiter + "..." + rightDelimiter;
  5561. buffer = new A.StringBuffer(leftDelimiter);
  5562. $.toStringVisiting.push(iterable);
  5563. try {
  5564. t1 = buffer;
  5565. t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", ");
  5566. } finally {
  5567. $.toStringVisiting.pop();
  5568. }
  5569. buffer._contents += rightDelimiter;
  5570. t1 = buffer._contents;
  5571. return t1.charCodeAt(0) == 0 ? t1 : t1;
  5572. },
  5573. _iterablePartsToStrings(iterable, parts) {
  5574. var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
  5575. it = iterable.get$iterator(iterable),
  5576. $length = 0, count = 0;
  5577. while (true) {
  5578. if (!($length < 80 || count < 3))
  5579. break;
  5580. if (!it.moveNext$0())
  5581. return;
  5582. next = A.S(it.get$current(it));
  5583. parts.push(next);
  5584. $length += next.length + 2;
  5585. ++count;
  5586. }
  5587. if (!it.moveNext$0()) {
  5588. if (count <= 5)
  5589. return;
  5590. ultimateString = parts.pop();
  5591. penultimateString = parts.pop();
  5592. } else {
  5593. penultimate = it.get$current(it);
  5594. ++count;
  5595. if (!it.moveNext$0()) {
  5596. if (count <= 4) {
  5597. parts.push(A.S(penultimate));
  5598. return;
  5599. }
  5600. ultimateString = A.S(penultimate);
  5601. penultimateString = parts.pop();
  5602. $length += ultimateString.length + 2;
  5603. } else {
  5604. ultimate = it.get$current(it);
  5605. ++count;
  5606. for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
  5607. ultimate0 = it.get$current(it);
  5608. ++count;
  5609. if (count > 100) {
  5610. while (true) {
  5611. if (!($length > 75 && count > 3))
  5612. break;
  5613. $length -= parts.pop().length + 2;
  5614. --count;
  5615. }
  5616. parts.push("...");
  5617. return;
  5618. }
  5619. }
  5620. penultimateString = A.S(penultimate);
  5621. ultimateString = A.S(ultimate);
  5622. $length += ultimateString.length + penultimateString.length + 4;
  5623. }
  5624. }
  5625. if (count > parts.length + 2) {
  5626. $length += 5;
  5627. elision = "...";
  5628. } else
  5629. elision = null;
  5630. while (true) {
  5631. if (!($length > 80 && parts.length > 3))
  5632. break;
  5633. $length -= parts.pop().length + 2;
  5634. if (elision == null) {
  5635. $length += 5;
  5636. elision = "...";
  5637. }
  5638. }
  5639. if (elision != null)
  5640. parts.push(elision);
  5641. parts.push(penultimateString);
  5642. parts.push(ultimateString);
  5643. },
  5644. Map_castFrom(source, $K, $V, K2, V2) {
  5645. 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>"));
  5646. },
  5647. Object_hash(object1, object2, object3, object4) {
  5648. var t1, t2;
  5649. if (B.C_SentinelValue === object3) {
  5650. t1 = J.get$hashCode$(object1);
  5651. object2 = J.get$hashCode$(object2);
  5652. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2));
  5653. }
  5654. if (B.C_SentinelValue === object4) {
  5655. t1 = J.get$hashCode$(object1);
  5656. object2 = J.get$hashCode$(object2);
  5657. object3 = J.get$hashCode$(object3);
  5658. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3));
  5659. }
  5660. t1 = J.get$hashCode$(object1);
  5661. object2 = J.get$hashCode$(object2);
  5662. object3 = J.get$hashCode$(object3);
  5663. object4 = J.get$hashCode$(object4);
  5664. t2 = $.$get$_hashSeed();
  5665. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(t2, t1), object2), object3), object4));
  5666. },
  5667. print(object) {
  5668. var line = A.S(object),
  5669. toZone = $.printToZone;
  5670. if (toZone == null)
  5671. A.printString(line);
  5672. else
  5673. toZone.call$1(line);
  5674. },
  5675. Set_Set$unmodifiable(elements, $E) {
  5676. return new A.UnmodifiableSetView(A.LinkedHashSet_LinkedHashSet$of(elements, $E), $E._eval$1("UnmodifiableSetView<0>"));
  5677. },
  5678. Set_castFrom(source, newSet, $S, $T) {
  5679. return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>"));
  5680. },
  5681. _combineSurrogatePair(start, end) {
  5682. return 65536 + ((start & 1023) << 10) + (end & 1023);
  5683. },
  5684. Uri_Uri$dataFromString($content, encoding, mimeType) {
  5685. var encodingName, t1,
  5686. buffer = new A.StringBuffer(""),
  5687. indices = A._setArrayType([-1], type$.JSArray_int);
  5688. if (encoding == null)
  5689. encodingName = null;
  5690. else
  5691. encodingName = "utf-8";
  5692. if (encoding == null)
  5693. encoding = B.C_AsciiCodec;
  5694. A.UriData__writeUri(mimeType, encodingName, null, buffer, indices);
  5695. indices.push(buffer._contents.length);
  5696. buffer._contents += ",";
  5697. A.UriData__uriEncodeBytes(B.List_oFp, encoding.encode$1($content), buffer);
  5698. t1 = buffer._contents;
  5699. return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, null).get$uri();
  5700. },
  5701. Uri_parse(uri) {
  5702. 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,
  5703. end = uri.length;
  5704. if (end >= 5) {
  5705. 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;
  5706. if (delta === 0)
  5707. return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri();
  5708. else if (delta === 32)
  5709. return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri();
  5710. }
  5711. indices = A.List_List$filled(8, 0, false, type$.int);
  5712. indices[0] = 0;
  5713. indices[1] = -1;
  5714. indices[2] = -1;
  5715. indices[7] = -1;
  5716. indices[3] = 0;
  5717. indices[4] = 0;
  5718. indices[5] = end;
  5719. indices[6] = end;
  5720. if (A._scan(uri, 0, end, 0, indices) >= 14)
  5721. indices[7] = end;
  5722. schemeEnd = indices[1];
  5723. if (schemeEnd >= 0)
  5724. if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)
  5725. indices[7] = schemeEnd;
  5726. hostStart = indices[2] + 1;
  5727. portStart = indices[3];
  5728. pathStart = indices[4];
  5729. queryStart = indices[5];
  5730. fragmentStart = indices[6];
  5731. if (fragmentStart < queryStart)
  5732. queryStart = fragmentStart;
  5733. if (pathStart < hostStart)
  5734. pathStart = queryStart;
  5735. else if (pathStart <= schemeEnd)
  5736. pathStart = schemeEnd + 1;
  5737. if (portStart < hostStart)
  5738. portStart = pathStart;
  5739. isSimple = indices[7] < 0;
  5740. if (isSimple)
  5741. if (hostStart > schemeEnd + 3) {
  5742. scheme = _null;
  5743. isSimple = false;
  5744. } else {
  5745. t1 = portStart > 0;
  5746. if (t1 && portStart + 1 === pathStart) {
  5747. scheme = _null;
  5748. isSimple = false;
  5749. } else {
  5750. if (!B.JSString_methods.startsWith$2(uri, "\\", pathStart))
  5751. if (hostStart > 0)
  5752. t2 = B.JSString_methods.startsWith$2(uri, "\\", hostStart - 1) || B.JSString_methods.startsWith$2(uri, "\\", hostStart - 2);
  5753. else
  5754. t2 = false;
  5755. else
  5756. t2 = true;
  5757. if (t2) {
  5758. scheme = _null;
  5759. isSimple = false;
  5760. } else {
  5761. if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart)))
  5762. t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3);
  5763. else
  5764. t2 = true;
  5765. if (t2) {
  5766. scheme = _null;
  5767. isSimple = false;
  5768. } else {
  5769. if (schemeEnd === 4)
  5770. if (B.JSString_methods.startsWith$2(uri, "file", 0)) {
  5771. if (hostStart <= 0) {
  5772. if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) {
  5773. schemeAuth = "file:///";
  5774. delta = 3;
  5775. } else {
  5776. schemeAuth = "file://";
  5777. delta = 2;
  5778. }
  5779. uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end);
  5780. schemeEnd -= 0;
  5781. t1 = delta - 0;
  5782. queryStart += t1;
  5783. fragmentStart += t1;
  5784. end = uri.length;
  5785. hostStart = 7;
  5786. portStart = 7;
  5787. pathStart = 7;
  5788. } else if (pathStart === queryStart) {
  5789. ++fragmentStart;
  5790. queryStart0 = queryStart + 1;
  5791. uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
  5792. ++end;
  5793. queryStart = queryStart0;
  5794. }
  5795. scheme = "file";
  5796. } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) {
  5797. if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) {
  5798. fragmentStart -= 3;
  5799. pathStart0 = pathStart - 3;
  5800. queryStart -= 3;
  5801. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  5802. end -= 3;
  5803. pathStart = pathStart0;
  5804. }
  5805. scheme = "http";
  5806. } else
  5807. scheme = _null;
  5808. else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) {
  5809. if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) {
  5810. fragmentStart -= 4;
  5811. pathStart0 = pathStart - 4;
  5812. queryStart -= 4;
  5813. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  5814. end -= 3;
  5815. pathStart = pathStart0;
  5816. }
  5817. scheme = "https";
  5818. } else
  5819. scheme = _null;
  5820. isSimple = true;
  5821. }
  5822. }
  5823. }
  5824. }
  5825. else
  5826. scheme = _null;
  5827. if (isSimple) {
  5828. if (end < uri.length) {
  5829. uri = B.JSString_methods.substring$2(uri, 0, end);
  5830. schemeEnd -= 0;
  5831. hostStart -= 0;
  5832. portStart -= 0;
  5833. pathStart -= 0;
  5834. queryStart -= 0;
  5835. fragmentStart -= 0;
  5836. }
  5837. return new A._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
  5838. }
  5839. if (scheme == null)
  5840. if (schemeEnd > 0)
  5841. scheme = A._Uri__makeScheme(uri, 0, schemeEnd);
  5842. else {
  5843. if (schemeEnd === 0)
  5844. A._Uri__fail(uri, 0, "Invalid empty scheme");
  5845. scheme = "";
  5846. }
  5847. if (hostStart > 0) {
  5848. userInfoStart = schemeEnd + 3;
  5849. userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
  5850. host = A._Uri__makeHost(uri, hostStart, portStart, false);
  5851. t1 = portStart + 1;
  5852. if (t1 < pathStart) {
  5853. portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null);
  5854. port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
  5855. } else
  5856. port = _null;
  5857. } else {
  5858. port = _null;
  5859. host = port;
  5860. userInfo = "";
  5861. }
  5862. path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
  5863. query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
  5864. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
  5865. },
  5866. Uri_decodeComponent(encodedComponent) {
  5867. return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);
  5868. },
  5869. Uri__parseIPv4Address(host, start, end) {
  5870. var i, partStart, partIndex, char, part, partIndex0,
  5871. _s43_ = "IPv4 address should contain exactly 4 parts",
  5872. _s37_ = "each part must be in the range 0..255",
  5873. error = new A.Uri__parseIPv4Address_error(host),
  5874. result = new Uint8Array(4);
  5875. for (i = start, partStart = i, partIndex = 0; i < end; ++i) {
  5876. char = B.JSString_methods.codeUnitAt$1(host, i);
  5877. if (char !== 46) {
  5878. if ((char ^ 48) > 9)
  5879. error.call$2("invalid character", i);
  5880. } else {
  5881. if (partIndex === 3)
  5882. error.call$2(_s43_, i);
  5883. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null);
  5884. if (part > 255)
  5885. error.call$2(_s37_, partStart);
  5886. partIndex0 = partIndex + 1;
  5887. result[partIndex] = part;
  5888. partStart = i + 1;
  5889. partIndex = partIndex0;
  5890. }
  5891. }
  5892. if (partIndex !== 3)
  5893. error.call$2(_s43_, end);
  5894. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null);
  5895. if (part > 255)
  5896. error.call$2(_s37_, partStart);
  5897. result[partIndex] = part;
  5898. return result;
  5899. },
  5900. Uri_parseIPv6Address(host, start, end) {
  5901. var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, _null = null,
  5902. error = new A.Uri_parseIPv6Address_error(host),
  5903. parseHex = new A.Uri_parseIPv6Address_parseHex(error, host);
  5904. if (host.length < 2)
  5905. error.call$2("address is too short", _null);
  5906. parts = A._setArrayType([], type$.JSArray_int);
  5907. for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) {
  5908. char = B.JSString_methods.codeUnitAt$1(host, i);
  5909. if (char === 58) {
  5910. if (i === start) {
  5911. ++i;
  5912. if (B.JSString_methods.codeUnitAt$1(host, i) !== 58)
  5913. error.call$2("invalid start colon.", i);
  5914. partStart = i;
  5915. }
  5916. if (i === partStart) {
  5917. if (wildcardSeen)
  5918. error.call$2("only one wildcard `::` is allowed", i);
  5919. parts.push(-1);
  5920. wildcardSeen = true;
  5921. } else
  5922. parts.push(parseHex.call$2(partStart, i));
  5923. partStart = i + 1;
  5924. } else if (char === 46)
  5925. seenDot = true;
  5926. }
  5927. if (parts.length === 0)
  5928. error.call$2("too few parts", _null);
  5929. atEnd = partStart === end;
  5930. t1 = B.JSArray_methods.get$last(parts);
  5931. if (atEnd && t1 !== -1)
  5932. error.call$2("expected a part after last `:`", end);
  5933. if (!atEnd)
  5934. if (!seenDot)
  5935. parts.push(parseHex.call$2(partStart, end));
  5936. else {
  5937. last = A.Uri__parseIPv4Address(host, partStart, end);
  5938. parts.push((last[0] << 8 | last[1]) >>> 0);
  5939. parts.push((last[2] << 8 | last[3]) >>> 0);
  5940. }
  5941. if (wildcardSeen) {
  5942. if (parts.length > 7)
  5943. error.call$2("an address with a wildcard must have less than 7 parts", _null);
  5944. } else if (parts.length !== 8)
  5945. error.call$2("an address without a wildcard must contain exactly 8 parts", _null);
  5946. bytes = new Uint8Array(16);
  5947. for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) {
  5948. value = parts[i];
  5949. if (value === -1)
  5950. for (j = 0; j < wildCardLength; ++j) {
  5951. bytes[index] = 0;
  5952. bytes[index + 1] = 0;
  5953. index += 2;
  5954. }
  5955. else {
  5956. bytes[index] = B.JSInt_methods._shrOtherPositive$1(value, 8);
  5957. bytes[index + 1] = value & 255;
  5958. index += 2;
  5959. }
  5960. }
  5961. return bytes;
  5962. },
  5963. _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {
  5964. return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
  5965. },
  5966. _Uri__Uri(host, path, pathSegments, scheme) {
  5967. var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
  5968. scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length);
  5969. userInfo = A._Uri__makeUserInfo(_null, 0, 0);
  5970. host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
  5971. query = A._Uri__makeQuery(_null, 0, 0, _null);
  5972. fragment = A._Uri__makeFragment(_null, 0, 0);
  5973. port = A._Uri__makePort(_null, scheme);
  5974. isFile = scheme === "file";
  5975. if (host == null)
  5976. t1 = userInfo.length !== 0 || port != null || isFile;
  5977. else
  5978. t1 = false;
  5979. if (t1)
  5980. host = "";
  5981. t1 = host == null;
  5982. hasAuthority = !t1;
  5983. path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
  5984. t2 = scheme.length === 0;
  5985. if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/"))
  5986. path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
  5987. else
  5988. path = A._Uri__removeDotSegments(path);
  5989. return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
  5990. },
  5991. _Uri__defaultPort(scheme) {
  5992. if (scheme === "http")
  5993. return 80;
  5994. if (scheme === "https")
  5995. return 443;
  5996. return 0;
  5997. },
  5998. _Uri__fail(uri, index, message) {
  5999. throw A.wrapException(A.FormatException$(message, uri, index));
  6000. },
  6001. _Uri__Uri$file(path, windows) {
  6002. return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false);
  6003. },
  6004. _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {
  6005. var t1, _i, segment, t2, t3;
  6006. for (t1 = segments.length, _i = 0; _i < t1; ++_i) {
  6007. segment = segments[_i];
  6008. t2 = J.getInterceptor$asx(segment);
  6009. t3 = t2.get$length(segment);
  6010. if (0 > t3)
  6011. A.throwExpression(A.RangeError$range(0, 0, t2.get$length(segment), null, null));
  6012. if (A.stringContainsUnchecked(segment, "/", 0)) {
  6013. t1 = A.UnsupportedError$("Illegal path character " + A.S(segment));
  6014. throw A.wrapException(t1);
  6015. }
  6016. }
  6017. },
  6018. _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
  6019. var t1, t2, t3, t4, t5, _null = null;
  6020. 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();) {
  6021. t3 = t1.__internal$_current;
  6022. if (t3 == null)
  6023. t3 = t2._as(t3);
  6024. t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false);
  6025. t5 = t3.length;
  6026. if (A.stringContainsUnchecked(t3, t4, 0))
  6027. if (argumentError)
  6028. throw A.wrapException(A.ArgumentError$("Illegal character in path", _null));
  6029. else
  6030. throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3));
  6031. }
  6032. },
  6033. _Uri__checkWindowsDriveLetter(charCode, argumentError) {
  6034. var t1,
  6035. _s21_ = "Illegal drive letter ";
  6036. if (!(65 <= charCode && charCode <= 90))
  6037. t1 = 97 <= charCode && charCode <= 122;
  6038. else
  6039. t1 = true;
  6040. if (t1)
  6041. return;
  6042. if (argumentError)
  6043. throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null));
  6044. else
  6045. throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode)));
  6046. },
  6047. _Uri__makeFileUri(path, slashTerminated) {
  6048. var _null = null,
  6049. segments = A._setArrayType(path.split("/"), type$.JSArray_String);
  6050. if (B.JSString_methods.startsWith$1(path, "/"))
  6051. return A._Uri__Uri(_null, _null, segments, "file");
  6052. else
  6053. return A._Uri__Uri(_null, _null, segments, _null);
  6054. },
  6055. _Uri__makeWindowsFileUrl(path, slashTerminated) {
  6056. var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file";
  6057. if (B.JSString_methods.startsWith$1(path, "\\\\?\\"))
  6058. if (B.JSString_methods.startsWith$2(path, "UNC\\", 4))
  6059. path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_);
  6060. else {
  6061. path = B.JSString_methods.substring$1(path, 4);
  6062. if (path.length < 3 || B.JSString_methods._codeUnitAt$1(path, 1) !== 58 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92)
  6063. throw A.wrapException(A.ArgumentError$("Windows paths with \\\\?\\ prefix must be absolute", _null));
  6064. }
  6065. else
  6066. path = A.stringReplaceAllUnchecked(path, "/", _s1_);
  6067. t1 = path.length;
  6068. if (t1 > 1 && B.JSString_methods._codeUnitAt$1(path, 1) === 58) {
  6069. A._Uri__checkWindowsDriveLetter(B.JSString_methods._codeUnitAt$1(path, 0), true);
  6070. if (t1 === 2 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92)
  6071. throw A.wrapException(A.ArgumentError$("Windows paths with drive letter must be absolute", _null));
  6072. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  6073. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
  6074. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  6075. }
  6076. if (B.JSString_methods.startsWith$1(path, _s1_))
  6077. if (B.JSString_methods.startsWith$2(path, _s1_, 1)) {
  6078. pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2);
  6079. t1 = pathStart < 0;
  6080. hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart);
  6081. pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String);
  6082. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  6083. return A._Uri__Uri(hostPart, _null, pathSegments, _s4_);
  6084. } else {
  6085. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  6086. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  6087. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  6088. }
  6089. else {
  6090. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  6091. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  6092. return A._Uri__Uri(_null, _null, pathSegments, _null);
  6093. }
  6094. },
  6095. _Uri__makePort(port, scheme) {
  6096. if (port != null && port === A._Uri__defaultPort(scheme))
  6097. return null;
  6098. return port;
  6099. },
  6100. _Uri__makeHost(host, start, end, strictIPv6) {
  6101. var t1, t2, index, zoneIDstart, zoneID, i;
  6102. if (host == null)
  6103. return null;
  6104. if (start === end)
  6105. return "";
  6106. if (B.JSString_methods.codeUnitAt$1(host, start) === 91) {
  6107. t1 = end - 1;
  6108. if (B.JSString_methods.codeUnitAt$1(host, t1) !== 93)
  6109. A._Uri__fail(host, start, "Missing end `]` to match `[` in host");
  6110. t2 = start + 1;
  6111. index = A._Uri__checkZoneID(host, t2, t1);
  6112. if (index < t1) {
  6113. zoneIDstart = index + 1;
  6114. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25");
  6115. } else
  6116. zoneID = "";
  6117. A.Uri_parseIPv6Address(host, t2, index);
  6118. return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]";
  6119. }
  6120. for (i = start; i < end; ++i)
  6121. if (B.JSString_methods.codeUnitAt$1(host, i) === 58) {
  6122. index = B.JSString_methods.indexOf$2(host, "%", start);
  6123. index = index >= start && index < end ? index : end;
  6124. if (index < end) {
  6125. zoneIDstart = index + 1;
  6126. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
  6127. } else
  6128. zoneID = "";
  6129. A.Uri_parseIPv6Address(host, start, index);
  6130. return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]";
  6131. }
  6132. return A._Uri__normalizeRegName(host, start, end);
  6133. },
  6134. _Uri__checkZoneID(host, start, end) {
  6135. var index = B.JSString_methods.indexOf$2(host, "%", start);
  6136. return index >= start && index < end ? index : end;
  6137. },
  6138. _Uri__normalizeZoneID(host, start, end, prefix) {
  6139. var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice,
  6140. buffer = prefix !== "" ? new A.StringBuffer(prefix) : null;
  6141. for (index = start, sectionStart = index, isNormalized = true; index < end;) {
  6142. char = B.JSString_methods.codeUnitAt$1(host, index);
  6143. if (char === 37) {
  6144. replacement = A._Uri__normalizeEscape(host, index, true);
  6145. t1 = replacement == null;
  6146. if (t1 && isNormalized) {
  6147. index += 3;
  6148. continue;
  6149. }
  6150. if (buffer == null)
  6151. buffer = new A.StringBuffer("");
  6152. t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  6153. if (t1)
  6154. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  6155. else if (replacement === "%")
  6156. A._Uri__fail(host, index, "ZoneID should not contain % anymore");
  6157. buffer._contents = t2 + replacement;
  6158. index += 3;
  6159. sectionStart = index;
  6160. isNormalized = true;
  6161. } else if (char < 127 && (B.List_M1A[char >>> 4] & 1 << (char & 15)) !== 0) {
  6162. if (isNormalized && 65 <= char && 90 >= char) {
  6163. if (buffer == null)
  6164. buffer = new A.StringBuffer("");
  6165. if (sectionStart < index) {
  6166. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  6167. sectionStart = index;
  6168. }
  6169. isNormalized = false;
  6170. }
  6171. ++index;
  6172. } else {
  6173. if ((char & 64512) === 55296 && index + 1 < end) {
  6174. tail = B.JSString_methods.codeUnitAt$1(host, index + 1);
  6175. if ((tail & 64512) === 56320) {
  6176. char = (char & 1023) << 10 | tail & 1023 | 65536;
  6177. sourceLength = 2;
  6178. } else
  6179. sourceLength = 1;
  6180. } else
  6181. sourceLength = 1;
  6182. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  6183. if (buffer == null) {
  6184. buffer = new A.StringBuffer("");
  6185. t1 = buffer;
  6186. } else
  6187. t1 = buffer;
  6188. t1._contents += slice;
  6189. t1._contents += A._Uri__escapeChar(char);
  6190. index += sourceLength;
  6191. sectionStart = index;
  6192. }
  6193. }
  6194. if (buffer == null)
  6195. return B.JSString_methods.substring$2(host, start, end);
  6196. if (sectionStart < end)
  6197. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, end);
  6198. t1 = buffer._contents;
  6199. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6200. },
  6201. _Uri__normalizeRegName(host, start, end) {
  6202. var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail;
  6203. for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
  6204. char = B.JSString_methods.codeUnitAt$1(host, index);
  6205. if (char === 37) {
  6206. replacement = A._Uri__normalizeEscape(host, index, true);
  6207. t1 = replacement == null;
  6208. if (t1 && isNormalized) {
  6209. index += 3;
  6210. continue;
  6211. }
  6212. if (buffer == null)
  6213. buffer = new A.StringBuffer("");
  6214. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  6215. t2 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
  6216. if (t1) {
  6217. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  6218. sourceLength = 3;
  6219. } else if (replacement === "%") {
  6220. replacement = "%25";
  6221. sourceLength = 1;
  6222. } else
  6223. sourceLength = 3;
  6224. buffer._contents = t2 + replacement;
  6225. index += sourceLength;
  6226. sectionStart = index;
  6227. isNormalized = true;
  6228. } else if (char < 127 && (B.List_ejq[char >>> 4] & 1 << (char & 15)) !== 0) {
  6229. if (isNormalized && 65 <= char && 90 >= char) {
  6230. if (buffer == null)
  6231. buffer = new A.StringBuffer("");
  6232. if (sectionStart < index) {
  6233. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  6234. sectionStart = index;
  6235. }
  6236. isNormalized = false;
  6237. }
  6238. ++index;
  6239. } else if (char <= 93 && (B.List_YmH[char >>> 4] & 1 << (char & 15)) !== 0)
  6240. A._Uri__fail(host, index, "Invalid character");
  6241. else {
  6242. if ((char & 64512) === 55296 && index + 1 < end) {
  6243. tail = B.JSString_methods.codeUnitAt$1(host, index + 1);
  6244. if ((tail & 64512) === 56320) {
  6245. char = (char & 1023) << 10 | tail & 1023 | 65536;
  6246. sourceLength = 2;
  6247. } else
  6248. sourceLength = 1;
  6249. } else
  6250. sourceLength = 1;
  6251. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  6252. if (!isNormalized)
  6253. slice = slice.toLowerCase();
  6254. if (buffer == null) {
  6255. buffer = new A.StringBuffer("");
  6256. t1 = buffer;
  6257. } else
  6258. t1 = buffer;
  6259. t1._contents += slice;
  6260. t1._contents += A._Uri__escapeChar(char);
  6261. index += sourceLength;
  6262. sectionStart = index;
  6263. }
  6264. }
  6265. if (buffer == null)
  6266. return B.JSString_methods.substring$2(host, start, end);
  6267. if (sectionStart < end) {
  6268. slice = B.JSString_methods.substring$2(host, sectionStart, end);
  6269. buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
  6270. }
  6271. t1 = buffer._contents;
  6272. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6273. },
  6274. _Uri__makeScheme(scheme, start, end) {
  6275. var i, containsUpperCase, codeUnit;
  6276. if (start === end)
  6277. return "";
  6278. if (!A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(scheme, start)))
  6279. A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
  6280. for (i = start, containsUpperCase = false; i < end; ++i) {
  6281. codeUnit = B.JSString_methods._codeUnitAt$1(scheme, i);
  6282. if (!(codeUnit < 128 && (B.List_MMm[codeUnit >>> 4] & 1 << (codeUnit & 15)) !== 0))
  6283. A._Uri__fail(scheme, i, "Illegal scheme character");
  6284. if (65 <= codeUnit && codeUnit <= 90)
  6285. containsUpperCase = true;
  6286. }
  6287. scheme = B.JSString_methods.substring$2(scheme, start, end);
  6288. return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
  6289. },
  6290. _Uri__canonicalizeScheme(scheme) {
  6291. if (scheme === "http")
  6292. return "http";
  6293. if (scheme === "file")
  6294. return "file";
  6295. if (scheme === "https")
  6296. return "https";
  6297. if (scheme === "package")
  6298. return "package";
  6299. return scheme;
  6300. },
  6301. _Uri__makeUserInfo(userInfo, start, end) {
  6302. if (userInfo == null)
  6303. return "";
  6304. return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_OL3, false, false);
  6305. },
  6306. _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {
  6307. var result,
  6308. isFile = scheme === "file",
  6309. ensureLeadingSlash = isFile || hasAuthority;
  6310. if (path == null) {
  6311. if (pathSegments == null)
  6312. return isFile ? "/" : "";
  6313. result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
  6314. } else if (pathSegments != null)
  6315. throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null));
  6316. else
  6317. result = A._Uri__normalizeOrSubstring(path, start, end, B.List_XRg, true, true);
  6318. if (result.length === 0) {
  6319. if (isFile)
  6320. return "/";
  6321. } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/"))
  6322. result = "/" + result;
  6323. return A._Uri__normalizePath(result, scheme, hasAuthority);
  6324. },
  6325. _Uri__normalizePath(path, scheme, hasAuthority) {
  6326. var t1 = scheme.length === 0;
  6327. if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/") && !B.JSString_methods.startsWith$1(path, "\\"))
  6328. return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
  6329. return A._Uri__removeDotSegments(path);
  6330. },
  6331. _Uri__makeQuery(query, start, end, queryParameters) {
  6332. if (query != null)
  6333. return A._Uri__normalizeOrSubstring(query, start, end, B.List_oFp, true, false);
  6334. return null;
  6335. },
  6336. _Uri__makeFragment(fragment, start, end) {
  6337. if (fragment == null)
  6338. return null;
  6339. return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_oFp, true, false);
  6340. },
  6341. _Uri__normalizeEscape(source, index, lowerCase) {
  6342. var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
  6343. t1 = index + 2;
  6344. if (t1 >= source.length)
  6345. return "%";
  6346. firstDigit = B.JSString_methods.codeUnitAt$1(source, index + 1);
  6347. secondDigit = B.JSString_methods.codeUnitAt$1(source, t1);
  6348. firstDigitValue = A.hexDigitValue(firstDigit);
  6349. secondDigitValue = A.hexDigitValue(secondDigit);
  6350. if (firstDigitValue < 0 || secondDigitValue < 0)
  6351. return "%";
  6352. value = firstDigitValue * 16 + secondDigitValue;
  6353. if (value < 127 && (B.List_M1A[B.JSInt_methods._shrOtherPositive$1(value, 4)] & 1 << (value & 15)) !== 0)
  6354. return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
  6355. if (firstDigit >= 97 || secondDigit >= 97)
  6356. return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
  6357. return null;
  6358. },
  6359. _Uri__escapeChar(char) {
  6360. var codeUnits, flag, encodedBytes, index, byte,
  6361. _s16_ = "0123456789ABCDEF";
  6362. if (char < 128) {
  6363. codeUnits = new Uint8Array(3);
  6364. codeUnits[0] = 37;
  6365. codeUnits[1] = B.JSString_methods._codeUnitAt$1(_s16_, char >>> 4);
  6366. codeUnits[2] = B.JSString_methods._codeUnitAt$1(_s16_, char & 15);
  6367. } else {
  6368. if (char > 2047)
  6369. if (char > 65535) {
  6370. flag = 240;
  6371. encodedBytes = 4;
  6372. } else {
  6373. flag = 224;
  6374. encodedBytes = 3;
  6375. }
  6376. else {
  6377. flag = 192;
  6378. encodedBytes = 2;
  6379. }
  6380. codeUnits = new Uint8Array(3 * encodedBytes);
  6381. for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
  6382. byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
  6383. codeUnits[index] = 37;
  6384. codeUnits[index + 1] = B.JSString_methods._codeUnitAt$1(_s16_, byte >>> 4);
  6385. codeUnits[index + 2] = B.JSString_methods._codeUnitAt$1(_s16_, byte & 15);
  6386. index += 3;
  6387. }
  6388. }
  6389. return A.String_String$fromCharCodes(codeUnits, 0, null);
  6390. },
  6391. _Uri__normalizeOrSubstring(component, start, end, charTable, escapeDelimiters, replaceBackslash) {
  6392. var t1 = A._Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash);
  6393. return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1;
  6394. },
  6395. _Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash) {
  6396. var t1, index, sectionStart, buffer, char, replacement, sourceLength, t2, tail, t3, _null = null;
  6397. for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) {
  6398. char = B.JSString_methods.codeUnitAt$1(component, index);
  6399. if (char < 127 && (charTable[char >>> 4] & 1 << (char & 15)) !== 0)
  6400. ++index;
  6401. else {
  6402. if (char === 37) {
  6403. replacement = A._Uri__normalizeEscape(component, index, false);
  6404. if (replacement == null) {
  6405. index += 3;
  6406. continue;
  6407. }
  6408. if ("%" === replacement) {
  6409. replacement = "%25";
  6410. sourceLength = 1;
  6411. } else
  6412. sourceLength = 3;
  6413. } else if (char === 92 && replaceBackslash) {
  6414. replacement = "/";
  6415. sourceLength = 1;
  6416. } else if (t1 && char <= 93 && (B.List_YmH[char >>> 4] & 1 << (char & 15)) !== 0) {
  6417. A._Uri__fail(component, index, "Invalid character");
  6418. sourceLength = _null;
  6419. replacement = sourceLength;
  6420. } else {
  6421. if ((char & 64512) === 55296) {
  6422. t2 = index + 1;
  6423. if (t2 < end) {
  6424. tail = B.JSString_methods.codeUnitAt$1(component, t2);
  6425. if ((tail & 64512) === 56320) {
  6426. char = (char & 1023) << 10 | tail & 1023 | 65536;
  6427. sourceLength = 2;
  6428. } else
  6429. sourceLength = 1;
  6430. } else
  6431. sourceLength = 1;
  6432. } else
  6433. sourceLength = 1;
  6434. replacement = A._Uri__escapeChar(char);
  6435. }
  6436. if (buffer == null) {
  6437. buffer = new A.StringBuffer("");
  6438. t2 = buffer;
  6439. } else
  6440. t2 = buffer;
  6441. t3 = t2._contents += B.JSString_methods.substring$2(component, sectionStart, index);
  6442. t2._contents = t3 + A.S(replacement);
  6443. index += sourceLength;
  6444. sectionStart = index;
  6445. }
  6446. }
  6447. if (buffer == null)
  6448. return _null;
  6449. if (sectionStart < end)
  6450. buffer._contents += B.JSString_methods.substring$2(component, sectionStart, end);
  6451. t1 = buffer._contents;
  6452. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6453. },
  6454. _Uri__mayContainDotSegments(path) {
  6455. if (B.JSString_methods.startsWith$1(path, "."))
  6456. return true;
  6457. return B.JSString_methods.indexOf$1(path, "/.") !== -1;
  6458. },
  6459. _Uri__removeDotSegments(path) {
  6460. var output, t1, t2, appendSlash, _i, segment;
  6461. if (!A._Uri__mayContainDotSegments(path))
  6462. return path;
  6463. output = A._setArrayType([], type$.JSArray_String);
  6464. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  6465. segment = t1[_i];
  6466. if (J.$eq$(segment, "..")) {
  6467. if (output.length !== 0) {
  6468. output.pop();
  6469. if (output.length === 0)
  6470. output.push("");
  6471. }
  6472. appendSlash = true;
  6473. } else if ("." === segment)
  6474. appendSlash = true;
  6475. else {
  6476. output.push(segment);
  6477. appendSlash = false;
  6478. }
  6479. }
  6480. if (appendSlash)
  6481. output.push("");
  6482. return B.JSArray_methods.join$1(output, "/");
  6483. },
  6484. _Uri__normalizeRelativePath(path, allowScheme) {
  6485. var output, t1, t2, appendSlash, _i, segment;
  6486. if (!A._Uri__mayContainDotSegments(path))
  6487. return !allowScheme ? A._Uri__escapeScheme(path) : path;
  6488. output = A._setArrayType([], type$.JSArray_String);
  6489. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  6490. segment = t1[_i];
  6491. if (".." === segment)
  6492. if (output.length !== 0 && B.JSArray_methods.get$last(output) !== "..") {
  6493. output.pop();
  6494. appendSlash = true;
  6495. } else {
  6496. output.push("..");
  6497. appendSlash = false;
  6498. }
  6499. else if ("." === segment)
  6500. appendSlash = true;
  6501. else {
  6502. output.push(segment);
  6503. appendSlash = false;
  6504. }
  6505. }
  6506. t1 = output.length;
  6507. if (t1 !== 0)
  6508. t1 = t1 === 1 && output[0].length === 0;
  6509. else
  6510. t1 = true;
  6511. if (t1)
  6512. return "./";
  6513. if (appendSlash || B.JSArray_methods.get$last(output) === "..")
  6514. output.push("");
  6515. if (!allowScheme)
  6516. output[0] = A._Uri__escapeScheme(output[0]);
  6517. return B.JSArray_methods.join$1(output, "/");
  6518. },
  6519. _Uri__escapeScheme(path) {
  6520. var i, char,
  6521. t1 = path.length;
  6522. if (t1 >= 2 && A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(path, 0)))
  6523. for (i = 1; i < t1; ++i) {
  6524. char = B.JSString_methods._codeUnitAt$1(path, i);
  6525. if (char === 58)
  6526. return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1);
  6527. if (char > 127 || (B.List_MMm[char >>> 4] & 1 << (char & 15)) === 0)
  6528. break;
  6529. }
  6530. return path;
  6531. },
  6532. _Uri__packageNameEnd(uri, path) {
  6533. if (uri.isScheme$1("package") && uri._host == null)
  6534. return A._skipPackageNameChars(path, 0, path.length);
  6535. return -1;
  6536. },
  6537. _Uri__toWindowsFilePath(uri) {
  6538. var hasDriveLetter, t2, host,
  6539. segments = uri.get$pathSegments(),
  6540. t1 = segments.length;
  6541. if (t1 > 0 && J.get$length$asx(segments[0]) === 2 && J.codeUnitAt$1$s(segments[0], 1) === 58) {
  6542. A._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false);
  6543. A._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
  6544. hasDriveLetter = true;
  6545. } else {
  6546. A._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
  6547. hasDriveLetter = false;
  6548. }
  6549. t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "" + "\\" : "";
  6550. if (uri.get$hasAuthority()) {
  6551. host = uri.get$host();
  6552. if (host.length !== 0)
  6553. t2 = t2 + "\\" + host + "\\";
  6554. }
  6555. t2 = A.StringBuffer__writeAll(t2, segments, "\\");
  6556. t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2;
  6557. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6558. },
  6559. _Uri__hexCharPairToByte(s, pos) {
  6560. var byte, i, charCode;
  6561. for (byte = 0, i = 0; i < 2; ++i) {
  6562. charCode = B.JSString_methods._codeUnitAt$1(s, pos + i);
  6563. if (48 <= charCode && charCode <= 57)
  6564. byte = byte * 16 + charCode - 48;
  6565. else {
  6566. charCode |= 32;
  6567. if (97 <= charCode && charCode <= 102)
  6568. byte = byte * 16 + charCode - 87;
  6569. else
  6570. throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null));
  6571. }
  6572. }
  6573. return byte;
  6574. },
  6575. _Uri__uriDecode(text, start, end, encoding, plusToSpace) {
  6576. var simple, codeUnit, t1, bytes,
  6577. i = start;
  6578. while (true) {
  6579. if (!(i < end)) {
  6580. simple = true;
  6581. break;
  6582. }
  6583. codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
  6584. if (codeUnit <= 127)
  6585. if (codeUnit !== 37)
  6586. t1 = false;
  6587. else
  6588. t1 = true;
  6589. else
  6590. t1 = true;
  6591. if (t1) {
  6592. simple = false;
  6593. break;
  6594. }
  6595. ++i;
  6596. }
  6597. if (simple) {
  6598. if (B.C_Utf8Codec !== encoding)
  6599. t1 = false;
  6600. else
  6601. t1 = true;
  6602. if (t1)
  6603. return B.JSString_methods.substring$2(text, start, end);
  6604. else
  6605. bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end));
  6606. } else {
  6607. bytes = A._setArrayType([], type$.JSArray_int);
  6608. for (t1 = text.length, i = start; i < end; ++i) {
  6609. codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
  6610. if (codeUnit > 127)
  6611. throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null));
  6612. if (codeUnit === 37) {
  6613. if (i + 3 > t1)
  6614. throw A.wrapException(A.ArgumentError$("Truncated URI", null));
  6615. bytes.push(A._Uri__hexCharPairToByte(text, i + 1));
  6616. i += 2;
  6617. } else
  6618. bytes.push(codeUnit);
  6619. }
  6620. }
  6621. return B.Utf8Decoder_false.convert$1(bytes);
  6622. },
  6623. _Uri__isAlphabeticCharacter(codeUnit) {
  6624. var lowerCase = codeUnit | 32;
  6625. return 97 <= lowerCase && lowerCase <= 122;
  6626. },
  6627. UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) {
  6628. var t1, slashIndex;
  6629. if (mimeType != null)
  6630. t1 = 10 === mimeType.length && A._caseInsensitiveCompareStart("text/plain", mimeType, 0) >= 0;
  6631. else
  6632. t1 = true;
  6633. if (t1)
  6634. mimeType = "";
  6635. if (mimeType.length === 0 || mimeType === "application/octet-stream")
  6636. t1 = buffer._contents += mimeType;
  6637. else {
  6638. slashIndex = A.UriData__validateMimeType(mimeType);
  6639. if (slashIndex < 0)
  6640. throw A.wrapException(A.ArgumentError$value(mimeType, "mimeType", "Invalid MIME type"));
  6641. t1 = buffer._contents += A._Uri__uriEncode(B.List_yzX, B.JSString_methods.substring$2(mimeType, 0, slashIndex), B.C_Utf8Codec, false);
  6642. buffer._contents = t1 + "/";
  6643. t1 = buffer._contents += A._Uri__uriEncode(B.List_yzX, B.JSString_methods.substring$1(mimeType, slashIndex + 1), B.C_Utf8Codec, false);
  6644. }
  6645. if (charsetName != null) {
  6646. indices.push(t1.length);
  6647. indices.push(buffer._contents.length + 8);
  6648. buffer._contents += ";charset=";
  6649. buffer._contents += A._Uri__uriEncode(B.List_yzX, charsetName, B.C_Utf8Codec, false);
  6650. }
  6651. },
  6652. UriData__validateMimeType(mimeType) {
  6653. var t1, slashIndex, i;
  6654. for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) {
  6655. if (B.JSString_methods._codeUnitAt$1(mimeType, i) !== 47)
  6656. continue;
  6657. if (slashIndex < 0) {
  6658. slashIndex = i;
  6659. continue;
  6660. }
  6661. return -1;
  6662. }
  6663. return slashIndex;
  6664. },
  6665. UriData__parse(text, start, sourceUri) {
  6666. var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
  6667. _s17_ = "Invalid MIME type",
  6668. indices = A._setArrayType([start - 1], type$.JSArray_int);
  6669. for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
  6670. char = B.JSString_methods._codeUnitAt$1(text, i);
  6671. if (char === 44 || char === 59)
  6672. break;
  6673. if (char === 47) {
  6674. if (slashIndex < 0) {
  6675. slashIndex = i;
  6676. continue;
  6677. }
  6678. throw A.wrapException(A.FormatException$(_s17_, text, i));
  6679. }
  6680. }
  6681. if (slashIndex < 0 && i > start)
  6682. throw A.wrapException(A.FormatException$(_s17_, text, i));
  6683. for (; char !== 44;) {
  6684. indices.push(i);
  6685. ++i;
  6686. for (equalsIndex = -1; i < t1; ++i) {
  6687. char = B.JSString_methods._codeUnitAt$1(text, i);
  6688. if (char === 61) {
  6689. if (equalsIndex < 0)
  6690. equalsIndex = i;
  6691. } else if (char === 59 || char === 44)
  6692. break;
  6693. }
  6694. if (equalsIndex >= 0)
  6695. indices.push(equalsIndex);
  6696. else {
  6697. lastSeparator = B.JSArray_methods.get$last(indices);
  6698. if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
  6699. throw A.wrapException(A.FormatException$("Expecting '='", text, i));
  6700. break;
  6701. }
  6702. }
  6703. indices.push(i);
  6704. t2 = i + 1;
  6705. if ((indices.length & 1) === 1)
  6706. text = B.C_Base64Codec.normalize$3(text, t2, t1);
  6707. else {
  6708. data = A._Uri__normalize(text, t2, t1, B.List_oFp, true, false);
  6709. if (data != null)
  6710. text = B.JSString_methods.replaceRange$3(text, t2, t1, data);
  6711. }
  6712. return new A.UriData(text, indices, sourceUri);
  6713. },
  6714. UriData__uriEncodeBytes(canonicalTable, bytes, buffer) {
  6715. var t1, byteOr, i, byte,
  6716. _s16_ = "0123456789ABCDEF";
  6717. for (t1 = J.getInterceptor$asx(bytes), byteOr = 0, i = 0; i < t1.get$length(bytes); ++i) {
  6718. byte = t1.$index(bytes, i);
  6719. byteOr |= byte;
  6720. if (byte < 128 && (canonicalTable[B.JSInt_methods._shrOtherPositive$1(byte, 4)] & 1 << (byte & 15)) !== 0)
  6721. buffer._contents += A.Primitives_stringFromCharCode(byte);
  6722. else {
  6723. buffer._contents += A.Primitives_stringFromCharCode(37);
  6724. buffer._contents += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, B.JSInt_methods._shrOtherPositive$1(byte, 4)));
  6725. buffer._contents += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, byte & 15));
  6726. }
  6727. }
  6728. if ((byteOr & 4294967040) >>> 0 !== 0)
  6729. for (i = 0; i < t1.get$length(bytes); ++i) {
  6730. byte = t1.$index(bytes, i);
  6731. if (byte < 0 || byte > 255)
  6732. throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null));
  6733. }
  6734. },
  6735. _createTables() {
  6736. var _i, t1, t2, t3, b,
  6737. _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",
  6738. _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "\\", _s1_3 = "?", _s1_4 = "#", _s2_ = "/\\",
  6739. tables = J.JSArray_JSArray$allocateGrowable(22, type$.Uint8List);
  6740. for (_i = 0; _i < 22; ++_i)
  6741. tables[_i] = new Uint8Array(96);
  6742. t1 = new A._createTables_build(tables);
  6743. t2 = new A._createTables_setChars();
  6744. t3 = new A._createTables_setRange();
  6745. b = t1.call$2(0, 225);
  6746. t2.call$3(b, _s77_, 1);
  6747. t2.call$3(b, _s1_, 14);
  6748. t2.call$3(b, _s1_0, 34);
  6749. t2.call$3(b, _s1_1, 3);
  6750. t2.call$3(b, _s1_2, 227);
  6751. t2.call$3(b, _s1_3, 172);
  6752. t2.call$3(b, _s1_4, 205);
  6753. b = t1.call$2(14, 225);
  6754. t2.call$3(b, _s77_, 1);
  6755. t2.call$3(b, _s1_, 15);
  6756. t2.call$3(b, _s1_0, 34);
  6757. t2.call$3(b, _s2_, 234);
  6758. t2.call$3(b, _s1_3, 172);
  6759. t2.call$3(b, _s1_4, 205);
  6760. b = t1.call$2(15, 225);
  6761. t2.call$3(b, _s77_, 1);
  6762. t2.call$3(b, "%", 225);
  6763. t2.call$3(b, _s1_0, 34);
  6764. t2.call$3(b, _s1_1, 9);
  6765. t2.call$3(b, _s1_2, 233);
  6766. t2.call$3(b, _s1_3, 172);
  6767. t2.call$3(b, _s1_4, 205);
  6768. b = t1.call$2(1, 225);
  6769. t2.call$3(b, _s77_, 1);
  6770. t2.call$3(b, _s1_0, 34);
  6771. t2.call$3(b, _s1_1, 10);
  6772. t2.call$3(b, _s1_2, 234);
  6773. t2.call$3(b, _s1_3, 172);
  6774. t2.call$3(b, _s1_4, 205);
  6775. b = t1.call$2(2, 235);
  6776. t2.call$3(b, _s77_, 139);
  6777. t2.call$3(b, _s1_1, 131);
  6778. t2.call$3(b, _s1_2, 131);
  6779. t2.call$3(b, _s1_, 146);
  6780. t2.call$3(b, _s1_3, 172);
  6781. t2.call$3(b, _s1_4, 205);
  6782. b = t1.call$2(3, 235);
  6783. t2.call$3(b, _s77_, 11);
  6784. t2.call$3(b, _s1_1, 68);
  6785. t2.call$3(b, _s1_2, 68);
  6786. t2.call$3(b, _s1_, 18);
  6787. t2.call$3(b, _s1_3, 172);
  6788. t2.call$3(b, _s1_4, 205);
  6789. b = t1.call$2(4, 229);
  6790. t2.call$3(b, _s77_, 5);
  6791. t3.call$3(b, "AZ", 229);
  6792. t2.call$3(b, _s1_0, 102);
  6793. t2.call$3(b, "@", 68);
  6794. t2.call$3(b, "[", 232);
  6795. t2.call$3(b, _s1_1, 138);
  6796. t2.call$3(b, _s1_2, 138);
  6797. t2.call$3(b, _s1_3, 172);
  6798. t2.call$3(b, _s1_4, 205);
  6799. b = t1.call$2(5, 229);
  6800. t2.call$3(b, _s77_, 5);
  6801. t3.call$3(b, "AZ", 229);
  6802. t2.call$3(b, _s1_0, 102);
  6803. t2.call$3(b, "@", 68);
  6804. t2.call$3(b, _s1_1, 138);
  6805. t2.call$3(b, _s1_2, 138);
  6806. t2.call$3(b, _s1_3, 172);
  6807. t2.call$3(b, _s1_4, 205);
  6808. b = t1.call$2(6, 231);
  6809. t3.call$3(b, "19", 7);
  6810. t2.call$3(b, "@", 68);
  6811. t2.call$3(b, _s1_1, 138);
  6812. t2.call$3(b, _s1_2, 138);
  6813. t2.call$3(b, _s1_3, 172);
  6814. t2.call$3(b, _s1_4, 205);
  6815. b = t1.call$2(7, 231);
  6816. t3.call$3(b, "09", 7);
  6817. t2.call$3(b, "@", 68);
  6818. t2.call$3(b, _s1_1, 138);
  6819. t2.call$3(b, _s1_2, 138);
  6820. t2.call$3(b, _s1_3, 172);
  6821. t2.call$3(b, _s1_4, 205);
  6822. t2.call$3(t1.call$2(8, 8), "]", 5);
  6823. b = t1.call$2(9, 235);
  6824. t2.call$3(b, _s77_, 11);
  6825. t2.call$3(b, _s1_, 16);
  6826. t2.call$3(b, _s2_, 234);
  6827. t2.call$3(b, _s1_3, 172);
  6828. t2.call$3(b, _s1_4, 205);
  6829. b = t1.call$2(16, 235);
  6830. t2.call$3(b, _s77_, 11);
  6831. t2.call$3(b, _s1_, 17);
  6832. t2.call$3(b, _s2_, 234);
  6833. t2.call$3(b, _s1_3, 172);
  6834. t2.call$3(b, _s1_4, 205);
  6835. b = t1.call$2(17, 235);
  6836. t2.call$3(b, _s77_, 11);
  6837. t2.call$3(b, _s1_1, 9);
  6838. t2.call$3(b, _s1_2, 233);
  6839. t2.call$3(b, _s1_3, 172);
  6840. t2.call$3(b, _s1_4, 205);
  6841. b = t1.call$2(10, 235);
  6842. t2.call$3(b, _s77_, 11);
  6843. t2.call$3(b, _s1_, 18);
  6844. t2.call$3(b, _s1_1, 10);
  6845. t2.call$3(b, _s1_2, 234);
  6846. t2.call$3(b, _s1_3, 172);
  6847. t2.call$3(b, _s1_4, 205);
  6848. b = t1.call$2(18, 235);
  6849. t2.call$3(b, _s77_, 11);
  6850. t2.call$3(b, _s1_, 19);
  6851. t2.call$3(b, _s2_, 234);
  6852. t2.call$3(b, _s1_3, 172);
  6853. t2.call$3(b, _s1_4, 205);
  6854. b = t1.call$2(19, 235);
  6855. t2.call$3(b, _s77_, 11);
  6856. t2.call$3(b, _s2_, 234);
  6857. t2.call$3(b, _s1_3, 172);
  6858. t2.call$3(b, _s1_4, 205);
  6859. b = t1.call$2(11, 235);
  6860. t2.call$3(b, _s77_, 11);
  6861. t2.call$3(b, _s1_1, 10);
  6862. t2.call$3(b, _s1_2, 234);
  6863. t2.call$3(b, _s1_3, 172);
  6864. t2.call$3(b, _s1_4, 205);
  6865. b = t1.call$2(12, 236);
  6866. t2.call$3(b, _s77_, 12);
  6867. t2.call$3(b, _s1_3, 12);
  6868. t2.call$3(b, _s1_4, 205);
  6869. b = t1.call$2(13, 237);
  6870. t2.call$3(b, _s77_, 13);
  6871. t2.call$3(b, _s1_3, 13);
  6872. t3.call$3(t1.call$2(20, 245), "az", 21);
  6873. b = t1.call$2(21, 245);
  6874. t3.call$3(b, "az", 21);
  6875. t3.call$3(b, "09", 21);
  6876. t2.call$3(b, "+-.", 21);
  6877. return tables;
  6878. },
  6879. _scan(uri, start, end, state, indices) {
  6880. var i, table, char, transition,
  6881. tables = $.$get$_scannerTables();
  6882. for (i = start; i < end; ++i) {
  6883. table = tables[state];
  6884. char = B.JSString_methods._codeUnitAt$1(uri, i) ^ 96;
  6885. transition = table[char > 95 ? 31 : char];
  6886. state = transition & 31;
  6887. indices[transition >>> 5] = i;
  6888. }
  6889. return state;
  6890. },
  6891. _SimpleUri__packageNameEnd(uri) {
  6892. if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
  6893. return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
  6894. return -1;
  6895. },
  6896. _skipPackageNameChars(source, start, end) {
  6897. var i, dots, char;
  6898. for (i = start, dots = 0; i < end; ++i) {
  6899. char = B.JSString_methods.codeUnitAt$1(source, i);
  6900. if (char === 47)
  6901. return dots !== 0 ? i : -1;
  6902. if (char === 37 || char === 58)
  6903. return -1;
  6904. dots |= char ^ 46;
  6905. }
  6906. return -1;
  6907. },
  6908. _caseInsensitiveCompareStart(prefix, string, start) {
  6909. var t1, result, i, prefixChar, stringChar, delta, lowerChar;
  6910. for (t1 = prefix.length, result = 0, i = 0; i < t1; ++i) {
  6911. prefixChar = B.JSString_methods._codeUnitAt$1(prefix, i);
  6912. stringChar = B.JSString_methods._codeUnitAt$1(string, start + i);
  6913. delta = prefixChar ^ stringChar;
  6914. if (delta !== 0) {
  6915. if (delta === 32) {
  6916. lowerChar = stringChar | delta;
  6917. if (97 <= lowerChar && lowerChar <= 122) {
  6918. result = 32;
  6919. continue;
  6920. }
  6921. }
  6922. return -1;
  6923. }
  6924. }
  6925. return result;
  6926. },
  6927. NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
  6928. this._box_0 = t0;
  6929. this.sb = t1;
  6930. },
  6931. DateTime: function DateTime(t0, t1) {
  6932. this._value = t0;
  6933. this.isUtc = t1;
  6934. },
  6935. Duration: function Duration(t0) {
  6936. this._duration = t0;
  6937. },
  6938. _Enum: function _Enum() {
  6939. },
  6940. Error: function Error() {
  6941. },
  6942. AssertionError: function AssertionError(t0) {
  6943. this.message = t0;
  6944. },
  6945. TypeError: function TypeError() {
  6946. },
  6947. ArgumentError: function ArgumentError(t0, t1, t2, t3) {
  6948. var _ = this;
  6949. _._hasValue = t0;
  6950. _.invalidValue = t1;
  6951. _.name = t2;
  6952. _.message = t3;
  6953. },
  6954. RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
  6955. var _ = this;
  6956. _.start = t0;
  6957. _.end = t1;
  6958. _._hasValue = t2;
  6959. _.invalidValue = t3;
  6960. _.name = t4;
  6961. _.message = t5;
  6962. },
  6963. IndexError: function IndexError(t0, t1, t2, t3, t4) {
  6964. var _ = this;
  6965. _.length = t0;
  6966. _._hasValue = t1;
  6967. _.invalidValue = t2;
  6968. _.name = t3;
  6969. _.message = t4;
  6970. },
  6971. NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) {
  6972. var _ = this;
  6973. _._core$_receiver = t0;
  6974. _._memberName = t1;
  6975. _._core$_arguments = t2;
  6976. _._namedArguments = t3;
  6977. },
  6978. UnsupportedError: function UnsupportedError(t0) {
  6979. this.message = t0;
  6980. },
  6981. UnimplementedError: function UnimplementedError(t0) {
  6982. this.message = t0;
  6983. },
  6984. StateError: function StateError(t0) {
  6985. this.message = t0;
  6986. },
  6987. ConcurrentModificationError: function ConcurrentModificationError(t0) {
  6988. this.modifiedObject = t0;
  6989. },
  6990. OutOfMemoryError: function OutOfMemoryError() {
  6991. },
  6992. StackOverflowError: function StackOverflowError() {
  6993. },
  6994. _Exception: function _Exception(t0) {
  6995. this.message = t0;
  6996. },
  6997. FormatException: function FormatException(t0, t1, t2) {
  6998. this.message = t0;
  6999. this.source = t1;
  7000. this.offset = t2;
  7001. },
  7002. Iterable: function Iterable() {
  7003. },
  7004. _GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
  7005. this.length = t0;
  7006. this._generator = t1;
  7007. this.$ti = t2;
  7008. },
  7009. MapEntry: function MapEntry(t0, t1, t2) {
  7010. this.key = t0;
  7011. this.value = t1;
  7012. this.$ti = t2;
  7013. },
  7014. Null: function Null() {
  7015. },
  7016. Object: function Object() {
  7017. },
  7018. _StringStackTrace: function _StringStackTrace(t0) {
  7019. this._stackTrace = t0;
  7020. },
  7021. Runes: function Runes(t0) {
  7022. this.string = t0;
  7023. },
  7024. RuneIterator: function RuneIterator(t0) {
  7025. var _ = this;
  7026. _.string = t0;
  7027. _._nextPosition = _._position = 0;
  7028. _._currentCodePoint = -1;
  7029. },
  7030. StringBuffer: function StringBuffer(t0) {
  7031. this._contents = t0;
  7032. },
  7033. Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) {
  7034. this.host = t0;
  7035. },
  7036. Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
  7037. this.host = t0;
  7038. },
  7039. Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) {
  7040. this.error = t0;
  7041. this.host = t1;
  7042. },
  7043. _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
  7044. var _ = this;
  7045. _.scheme = t0;
  7046. _._userInfo = t1;
  7047. _._host = t2;
  7048. _._port = t3;
  7049. _.path = t4;
  7050. _._query = t5;
  7051. _._fragment = t6;
  7052. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  7053. },
  7054. _Uri__makePath_closure: function _Uri__makePath_closure() {
  7055. },
  7056. UriData: function UriData(t0, t1, t2) {
  7057. this._core$_text = t0;
  7058. this._separatorIndices = t1;
  7059. this._uriCache = t2;
  7060. },
  7061. _createTables_build: function _createTables_build(t0) {
  7062. this.tables = t0;
  7063. },
  7064. _createTables_setChars: function _createTables_setChars() {
  7065. },
  7066. _createTables_setRange: function _createTables_setRange() {
  7067. },
  7068. _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
  7069. var _ = this;
  7070. _._uri = t0;
  7071. _._schemeEnd = t1;
  7072. _._hostStart = t2;
  7073. _._portStart = t3;
  7074. _._pathStart = t4;
  7075. _._queryStart = t5;
  7076. _._fragmentStart = t6;
  7077. _._schemeCache = t7;
  7078. _._hashCodeCache = null;
  7079. },
  7080. _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
  7081. var _ = this;
  7082. _.scheme = t0;
  7083. _._userInfo = t1;
  7084. _._host = t2;
  7085. _._port = t3;
  7086. _.path = t4;
  7087. _._query = t5;
  7088. _._fragment = t6;
  7089. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  7090. },
  7091. Expando: function Expando(t0) {
  7092. this._jsWeakMap = t0;
  7093. },
  7094. _convertDartFunctionFast(f) {
  7095. var ret,
  7096. existing = f.$dart_jsFunction;
  7097. if (existing != null)
  7098. return existing;
  7099. ret = function(_call, f) {
  7100. return function() {
  7101. return _call(f, Array.prototype.slice.apply(arguments));
  7102. };
  7103. }(A._callDartFunctionFast, f);
  7104. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  7105. f.$dart_jsFunction = ret;
  7106. return ret;
  7107. },
  7108. _convertDartFunctionFastCaptureThis(f) {
  7109. var ret,
  7110. existing = f._$dart_jsFunctionCaptureThis;
  7111. if (existing != null)
  7112. return existing;
  7113. ret = function(_call, f) {
  7114. return function() {
  7115. return _call(f, this, Array.prototype.slice.apply(arguments));
  7116. };
  7117. }(A._callDartFunctionFastCaptureThis, f);
  7118. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  7119. f._$dart_jsFunctionCaptureThis = ret;
  7120. return ret;
  7121. },
  7122. _callDartFunctionFast(callback, $arguments) {
  7123. return A.Function_apply(callback, $arguments);
  7124. },
  7125. _callDartFunctionFastCaptureThis(callback, $self, $arguments) {
  7126. var t1 = [$self];
  7127. B.JSArray_methods.addAll$1(t1, $arguments);
  7128. return A.Function_apply(callback, t1);
  7129. },
  7130. allowInterop(f) {
  7131. if (typeof f == "function")
  7132. return f;
  7133. else
  7134. return A._convertDartFunctionFast(f);
  7135. },
  7136. allowInteropCaptureThis(f) {
  7137. if (typeof f == "function")
  7138. throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
  7139. else
  7140. return A._convertDartFunctionFastCaptureThis(f);
  7141. },
  7142. _noJsifyRequired(o) {
  7143. return o == null || A._isBool(o) || typeof o == "number" || typeof o == "string" || type$.Int8List._is(o) || type$.Uint8List._is(o) || type$.Uint8ClampedList._is(o) || type$.Int16List._is(o) || type$.Uint16List._is(o) || type$.Int32List._is(o) || type$.Uint32List._is(o) || type$.Float32List._is(o) || type$.Float64List._is(o) || type$.ByteBuffer._is(o) || type$.ByteData._is(o);
  7144. },
  7145. jsify0(object) {
  7146. if (A._noJsifyRequired(object))
  7147. return object;
  7148. return new A.jsify__convert(new A._IdentityHashMap(type$._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call$1(object);
  7149. },
  7150. callConstructor(constr, $arguments) {
  7151. var args, factoryFunction;
  7152. if ($arguments instanceof Array)
  7153. switch ($arguments.length) {
  7154. case 0:
  7155. return new constr();
  7156. case 1:
  7157. return new constr($arguments[0]);
  7158. case 2:
  7159. return new constr($arguments[0], $arguments[1]);
  7160. case 3:
  7161. return new constr($arguments[0], $arguments[1], $arguments[2]);
  7162. case 4:
  7163. return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
  7164. }
  7165. args = [null];
  7166. B.JSArray_methods.addAll$1(args, $arguments);
  7167. factoryFunction = constr.bind.apply(constr, args);
  7168. String(factoryFunction);
  7169. return new factoryFunction();
  7170. },
  7171. jsify__convert: function jsify__convert(t0) {
  7172. this._convertedObjects = t0;
  7173. },
  7174. max(a, b) {
  7175. return Math.max(A.checkNum(a), A.checkNum(b));
  7176. },
  7177. pow(x, exponent) {
  7178. return Math.pow(x, exponent);
  7179. },
  7180. Random_Random() {
  7181. return B.C__JSRandom;
  7182. },
  7183. _JSRandom: function _JSRandom() {
  7184. },
  7185. ArgParser: function ArgParser(t0, t1, t2, t3, t4, t5, t6) {
  7186. var _ = this;
  7187. _._arg_parser$_options = t0;
  7188. _._aliases = t1;
  7189. _.options = t2;
  7190. _.commands = t3;
  7191. _._optionsAndSeparators = t4;
  7192. _.allowTrailingOptions = t5;
  7193. _.usageLineLength = t6;
  7194. },
  7195. ArgParser__addOption_closure: function ArgParser__addOption_closure(t0) {
  7196. this.$this = t0;
  7197. },
  7198. ArgParserException$(message, commands) {
  7199. return new A.ArgParserException(commands == null ? B.List_empty : A.List_List$unmodifiable(commands, type$.String), message, null, null);
  7200. },
  7201. ArgParserException: function ArgParserException(t0, t1, t2, t3) {
  7202. var _ = this;
  7203. _.commands = t0;
  7204. _.message = t1;
  7205. _.source = t2;
  7206. _.offset = t3;
  7207. },
  7208. ArgResults: function ArgResults(t0, t1, t2, t3) {
  7209. var _ = this;
  7210. _._parser = t0;
  7211. _._parsed = t1;
  7212. _.name = t2;
  7213. _.rest = t3;
  7214. },
  7215. Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  7216. var _ = this;
  7217. _.name = t0;
  7218. _.abbr = t1;
  7219. _.help = t2;
  7220. _.valueHelp = t3;
  7221. _.allowed = t4;
  7222. _.allowedHelp = t5;
  7223. _.defaultsTo = t6;
  7224. _.negatable = t7;
  7225. _.callback = t8;
  7226. _.type = t9;
  7227. _.splitCommas = t10;
  7228. _.mandatory = t11;
  7229. _.hide = t12;
  7230. },
  7231. OptionType: function OptionType(t0) {
  7232. this.name = t0;
  7233. },
  7234. Parser$(_commandName, _grammar, _args, _parent, rest) {
  7235. var t1 = A._setArrayType([], type$.JSArray_String);
  7236. if (rest != null)
  7237. B.JSArray_methods.addAll$1(t1, rest);
  7238. return new A.Parser0(_commandName, _parent, _grammar, _args, t1, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  7239. },
  7240. _isLetterOrDigit(codeUnit) {
  7241. var t1;
  7242. if (!(codeUnit >= 65 && codeUnit <= 90))
  7243. if (!(codeUnit >= 97 && codeUnit <= 122))
  7244. t1 = codeUnit >= 48 && codeUnit <= 57;
  7245. else
  7246. t1 = true;
  7247. else
  7248. t1 = true;
  7249. return t1;
  7250. },
  7251. Parser0: function Parser0(t0, t1, t2, t3, t4, t5) {
  7252. var _ = this;
  7253. _._commandName = t0;
  7254. _._parser$_parent = t1;
  7255. _._grammar = t2;
  7256. _._args = t3;
  7257. _._parser$_rest = t4;
  7258. _._results = t5;
  7259. },
  7260. Parser_parse_closure: function Parser_parse_closure(t0) {
  7261. this.$this = t0;
  7262. },
  7263. Parser__setOption_closure: function Parser__setOption_closure() {
  7264. },
  7265. _Usage: function _Usage(t0, t1, t2) {
  7266. var _ = this;
  7267. _._usage$_optionsAndSeparators = t0;
  7268. _._buffer = t1;
  7269. _._currentColumn = 0;
  7270. _.___Usage__columnWidths_FI = $;
  7271. _._newlinesNeeded = 0;
  7272. _.lineLength = t2;
  7273. },
  7274. _Usage__writeOption_closure: function _Usage__writeOption_closure() {
  7275. },
  7276. _Usage__buildAllowedList_closure: function _Usage__buildAllowedList_closure(t0) {
  7277. this.option = t0;
  7278. },
  7279. ErrorResult: function ErrorResult(t0, t1) {
  7280. this.error = t0;
  7281. this.stackTrace = t1;
  7282. },
  7283. ValueResult: function ValueResult(t0, t1) {
  7284. this.value = t0;
  7285. this.$ti = t1;
  7286. },
  7287. StreamCompleter: function StreamCompleter(t0, t1) {
  7288. this._stream_completer$_stream = t0;
  7289. this.$ti = t1;
  7290. },
  7291. _CompleterStream: function _CompleterStream(t0) {
  7292. this._sourceStream = this._stream_completer$_controller = null;
  7293. this.$ti = t0;
  7294. },
  7295. StreamGroup: function StreamGroup(t0, t1, t2) {
  7296. var _ = this;
  7297. _.__StreamGroup__controller_A = $;
  7298. _._closed = false;
  7299. _._stream_group$_state = t0;
  7300. _._subscriptions = t1;
  7301. _.$ti = t2;
  7302. },
  7303. StreamGroup_add_closure: function StreamGroup_add_closure() {
  7304. },
  7305. StreamGroup_add_closure0: function StreamGroup_add_closure0(t0, t1) {
  7306. this.$this = t0;
  7307. this.stream = t1;
  7308. },
  7309. StreamGroup__onListen_closure: function StreamGroup__onListen_closure() {
  7310. },
  7311. StreamGroup__onCancel_closure: function StreamGroup__onCancel_closure(t0) {
  7312. this.$this = t0;
  7313. },
  7314. StreamGroup__listenToStream_closure: function StreamGroup__listenToStream_closure(t0, t1) {
  7315. this.$this = t0;
  7316. this.stream = t1;
  7317. },
  7318. _StreamGroupState: function _StreamGroupState(t0) {
  7319. this.name = t0;
  7320. },
  7321. StreamQueue: function StreamQueue(t0, t1, t2, t3) {
  7322. var _ = this;
  7323. _._stream_queue$_source = t0;
  7324. _._stream_queue$_subscription = null;
  7325. _._isDone = false;
  7326. _._eventsReceived = 0;
  7327. _._eventQueue = t1;
  7328. _._requestQueue = t2;
  7329. _.$ti = t3;
  7330. },
  7331. StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {
  7332. this.$this = t0;
  7333. },
  7334. StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {
  7335. this.$this = t0;
  7336. },
  7337. StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {
  7338. this.$this = t0;
  7339. },
  7340. _NextRequest: function _NextRequest(t0, t1) {
  7341. this._completer = t0;
  7342. this.$ti = t1;
  7343. },
  7344. Repl: function Repl(t0, t1, t2, t3) {
  7345. var _ = this;
  7346. _.prompt = t0;
  7347. _.continuation = t1;
  7348. _.validator = t2;
  7349. _.__Repl__adapter_A = $;
  7350. _.history = t3;
  7351. },
  7352. alwaysValid_closure: function alwaysValid_closure() {
  7353. },
  7354. ReplAdapter: function ReplAdapter(t0) {
  7355. this.repl = t0;
  7356. this.rl = null;
  7357. },
  7358. ReplAdapter_runAsync_closure: function ReplAdapter_runAsync_closure(t0, t1, t2, t3) {
  7359. var _ = this;
  7360. _._box_0 = t0;
  7361. _.$this = t1;
  7362. _.rl = t2;
  7363. _.runController = t3;
  7364. },
  7365. ReplAdapter_runAsync__closure: function ReplAdapter_runAsync__closure(t0) {
  7366. this.lineController = t0;
  7367. },
  7368. Stdin: function Stdin() {
  7369. },
  7370. Stdout: function Stdout() {
  7371. },
  7372. ReadlineModule: function ReadlineModule() {
  7373. },
  7374. ReadlineOptions: function ReadlineOptions() {
  7375. },
  7376. ReadlineInterface: function ReadlineInterface() {
  7377. },
  7378. EmptyUnmodifiableSet: function EmptyUnmodifiableSet(t0) {
  7379. this.$ti = t0;
  7380. },
  7381. _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin: function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin() {
  7382. },
  7383. DefaultEquality: function DefaultEquality() {
  7384. },
  7385. IterableEquality: function IterableEquality() {
  7386. },
  7387. ListEquality: function ListEquality() {
  7388. },
  7389. _MapEntry: function _MapEntry(t0, t1, t2) {
  7390. this.equality = t0;
  7391. this.key = t1;
  7392. this.value = t2;
  7393. },
  7394. MapEquality: function MapEquality() {
  7395. },
  7396. QueueList$(initialCapacity, $E) {
  7397. 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>"));
  7398. },
  7399. QueueList_QueueList$from(source, $E) {
  7400. var $length, queue, t1;
  7401. if (type$.List_dynamic._is(source)) {
  7402. $length = J.get$length$asx(source);
  7403. queue = A.QueueList$($length + 1, $E);
  7404. J.setRange$4$ax(queue._table, 0, $length, source, 0);
  7405. queue._tail = $length;
  7406. return queue;
  7407. } else {
  7408. t1 = A.QueueList$(null, $E);
  7409. t1.addAll$1(0, source);
  7410. return t1;
  7411. }
  7412. },
  7413. QueueList__computeInitialCapacity(initialCapacity) {
  7414. if (initialCapacity == null || initialCapacity < 8)
  7415. return 8;
  7416. ++initialCapacity;
  7417. if ((initialCapacity & initialCapacity - 1) >>> 0 === 0)
  7418. return initialCapacity;
  7419. return A.QueueList__nextPowerOf2(initialCapacity);
  7420. },
  7421. QueueList__nextPowerOf2(number) {
  7422. var nextNumber;
  7423. number = (number << 1 >>> 0) - 1;
  7424. for (; true; number = nextNumber) {
  7425. nextNumber = (number & number - 1) >>> 0;
  7426. if (nextNumber === 0)
  7427. return number;
  7428. }
  7429. },
  7430. QueueList: function QueueList(t0, t1, t2, t3) {
  7431. var _ = this;
  7432. _._table = t0;
  7433. _._head = t1;
  7434. _._tail = t2;
  7435. _.$ti = t3;
  7436. },
  7437. _CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {
  7438. var _ = this;
  7439. _._queue_list$_delegate = t0;
  7440. _._table = t1;
  7441. _._head = t2;
  7442. _._tail = t3;
  7443. _.$ti = t4;
  7444. },
  7445. _QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {
  7446. },
  7447. UnionSet: function UnionSet(t0, t1) {
  7448. this._sets = t0;
  7449. this.$ti = t1;
  7450. },
  7451. UnionSet__iterable_closure: function UnionSet__iterable_closure(t0) {
  7452. this.$this = t0;
  7453. },
  7454. UnionSet_contains_closure: function UnionSet_contains_closure(t0, t1) {
  7455. this.$this = t0;
  7456. this.element = t1;
  7457. },
  7458. _UnionSet_SetBase_UnmodifiableSetMixin: function _UnionSet_SetBase_UnmodifiableSetMixin() {
  7459. },
  7460. UnmodifiableSetMixin__throw() {
  7461. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"));
  7462. },
  7463. UnmodifiableSetView0: function UnmodifiableSetView0(t0, t1) {
  7464. this._base = t0;
  7465. this.$ti = t1;
  7466. },
  7467. UnmodifiableSetMixin: function UnmodifiableSetMixin() {
  7468. },
  7469. _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin: function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin() {
  7470. },
  7471. _DelegatingIterableBase: function _DelegatingIterableBase() {
  7472. },
  7473. DelegatingSet: function DelegatingSet(t0, t1) {
  7474. this._base = t0;
  7475. this.$ti = t1;
  7476. },
  7477. MapKeySet: function MapKeySet(t0, t1) {
  7478. this._baseMap = t0;
  7479. this.$ti = t1;
  7480. },
  7481. MapKeySet_difference_closure: function MapKeySet_difference_closure(t0, t1) {
  7482. this.$this = t0;
  7483. this.other = t1;
  7484. },
  7485. _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin: function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin() {
  7486. },
  7487. BufferModule: function BufferModule() {
  7488. },
  7489. BufferConstants: function BufferConstants() {
  7490. },
  7491. Buffer: function Buffer() {
  7492. },
  7493. ConsoleModule: function ConsoleModule() {
  7494. },
  7495. Console: function Console() {
  7496. },
  7497. EventEmitter: function EventEmitter() {
  7498. },
  7499. fs() {
  7500. var t1 = $._fs;
  7501. return t1 == null ? $._fs = self.fs : t1;
  7502. },
  7503. FS: function FS() {
  7504. },
  7505. FSConstants: function FSConstants() {
  7506. },
  7507. FSWatcher: function FSWatcher() {
  7508. },
  7509. ReadStream: function ReadStream() {
  7510. },
  7511. ReadStreamOptions: function ReadStreamOptions() {
  7512. },
  7513. WriteStream: function WriteStream() {
  7514. },
  7515. WriteStreamOptions: function WriteStreamOptions() {
  7516. },
  7517. FileOptions: function FileOptions() {
  7518. },
  7519. StatOptions: function StatOptions() {
  7520. },
  7521. MkdirOptions: function MkdirOptions() {
  7522. },
  7523. RmdirOptions: function RmdirOptions() {
  7524. },
  7525. WatchOptions: function WatchOptions() {
  7526. },
  7527. WatchFileOptions: function WatchFileOptions() {
  7528. },
  7529. Stats: function Stats() {
  7530. },
  7531. Promise: function Promise() {
  7532. },
  7533. Date: function Date() {
  7534. },
  7535. JsError: function JsError() {
  7536. },
  7537. Atomics: function Atomics() {
  7538. },
  7539. Modules: function Modules() {
  7540. },
  7541. Module1: function Module1() {
  7542. },
  7543. Net: function Net() {
  7544. },
  7545. Socket: function Socket() {
  7546. },
  7547. NetAddress: function NetAddress() {
  7548. },
  7549. NetServer: function NetServer() {
  7550. },
  7551. NodeJsError: function NodeJsError() {
  7552. },
  7553. JsAssertionError: function JsAssertionError() {
  7554. },
  7555. JsRangeError: function JsRangeError() {
  7556. },
  7557. JsReferenceError: function JsReferenceError() {
  7558. },
  7559. JsSyntaxError: function JsSyntaxError() {
  7560. },
  7561. JsTypeError: function JsTypeError() {
  7562. },
  7563. JsSystemError: function JsSystemError() {
  7564. },
  7565. Process: function Process() {
  7566. },
  7567. CPUUsage: function CPUUsage() {
  7568. },
  7569. Release: function Release() {
  7570. },
  7571. StreamModule: function StreamModule() {
  7572. },
  7573. Readable: function Readable() {
  7574. },
  7575. Writable: function Writable() {
  7576. },
  7577. Duplex: function Duplex() {
  7578. },
  7579. Transform: function Transform() {
  7580. },
  7581. WritableOptions: function WritableOptions() {
  7582. },
  7583. ReadableOptions: function ReadableOptions() {
  7584. },
  7585. Immediate: function Immediate() {
  7586. },
  7587. Timeout: function Timeout() {
  7588. },
  7589. TTY: function TTY() {
  7590. },
  7591. TTYReadStream: function TTYReadStream() {
  7592. },
  7593. TTYWriteStream: function TTYWriteStream() {
  7594. },
  7595. jsify(dartObject) {
  7596. if (A._isBasicType(dartObject))
  7597. return dartObject;
  7598. return A.jsify0(dartObject);
  7599. },
  7600. _isBasicType(value) {
  7601. var t1 = false;
  7602. if (t1)
  7603. return true;
  7604. return false;
  7605. },
  7606. promiseToFuture(promise, $T) {
  7607. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  7608. completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
  7609. J.then$2$x(promise, A.allowInterop(new A.promiseToFuture_closure(completer)), A.allowInterop(new A.promiseToFuture_closure0(completer)));
  7610. return t1;
  7611. },
  7612. futureToPromise(future, $T) {
  7613. return new self.Promise(A.allowInterop(new A.futureToPromise_closure(future, $T)));
  7614. },
  7615. Util: function Util() {
  7616. },
  7617. promiseToFuture_closure: function promiseToFuture_closure(t0) {
  7618. this.completer = t0;
  7619. },
  7620. promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
  7621. this.completer = t0;
  7622. },
  7623. futureToPromise_closure: function futureToPromise_closure(t0, t1) {
  7624. this.future = t0;
  7625. this.T = t1;
  7626. },
  7627. futureToPromise__closure: function futureToPromise__closure(t0, t1) {
  7628. this.resolve = t0;
  7629. this.T = t1;
  7630. },
  7631. Context_Context(style) {
  7632. var current = style == null ? A.current() : ".";
  7633. if (style == null)
  7634. style = $.$get$Style_platform();
  7635. return new A.Context(type$.InternalStyle._as(style), current);
  7636. },
  7637. _parseUri(uri) {
  7638. if (typeof uri == "string")
  7639. return A.Uri_parse(uri);
  7640. if (type$.Uri._is(uri))
  7641. return uri;
  7642. throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri"));
  7643. },
  7644. _validateArgList(method, args) {
  7645. var numArgs, i, numArgs0, message, t1, t2, t3, t4;
  7646. for (numArgs = args.length, i = 1; i < numArgs; ++i) {
  7647. if (args[i] == null || args[i - 1] != null)
  7648. continue;
  7649. for (; numArgs >= 1; numArgs = numArgs0) {
  7650. numArgs0 = numArgs - 1;
  7651. if (args[numArgs0] != null)
  7652. break;
  7653. }
  7654. message = new A.StringBuffer("");
  7655. t1 = "" + (method + "(");
  7656. message._contents = t1;
  7657. t2 = A._arrayInstanceType(args);
  7658. t3 = t2._eval$1("SubListIterable<1>");
  7659. t4 = new A.SubListIterable(args, 0, numArgs, t3);
  7660. t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1);
  7661. t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ", ");
  7662. message._contents = t3;
  7663. message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
  7664. throw A.wrapException(A.ArgumentError$(message.toString$0(0), null));
  7665. }
  7666. },
  7667. Context: function Context(t0, t1) {
  7668. this.style = t0;
  7669. this._context$_current = t1;
  7670. },
  7671. Context_joinAll_closure: function Context_joinAll_closure() {
  7672. },
  7673. Context_split_closure: function Context_split_closure() {
  7674. },
  7675. _validateArgList_closure: function _validateArgList_closure() {
  7676. },
  7677. _PathDirection: function _PathDirection(t0) {
  7678. this.name = t0;
  7679. },
  7680. _PathRelation: function _PathRelation(t0) {
  7681. this.name = t0;
  7682. },
  7683. InternalStyle: function InternalStyle() {
  7684. },
  7685. ParsedPath_ParsedPath$parse(path, style) {
  7686. var t1, parts, separators, start, i,
  7687. root = style.getRoot$1(path),
  7688. isRootRelative = style.isRootRelative$1(path);
  7689. if (root != null)
  7690. path = B.JSString_methods.substring$1(path, root.length);
  7691. t1 = type$.JSArray_String;
  7692. parts = A._setArrayType([], t1);
  7693. separators = A._setArrayType([], t1);
  7694. t1 = path.length;
  7695. if (t1 !== 0 && style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, 0))) {
  7696. separators.push(path[0]);
  7697. start = 1;
  7698. } else {
  7699. separators.push("");
  7700. start = 0;
  7701. }
  7702. for (i = start; i < t1; ++i)
  7703. if (style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, i))) {
  7704. parts.push(B.JSString_methods.substring$2(path, start, i));
  7705. separators.push(path[i]);
  7706. start = i + 1;
  7707. }
  7708. if (start < t1) {
  7709. parts.push(B.JSString_methods.substring$1(path, start));
  7710. separators.push("");
  7711. }
  7712. return new A.ParsedPath(style, root, isRootRelative, parts, separators);
  7713. },
  7714. ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) {
  7715. var _ = this;
  7716. _.style = t0;
  7717. _.root = t1;
  7718. _.isRootRelative = t2;
  7719. _.parts = t3;
  7720. _.separators = t4;
  7721. },
  7722. ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() {
  7723. },
  7724. ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() {
  7725. },
  7726. PathException$(message) {
  7727. return new A.PathException(message);
  7728. },
  7729. PathException: function PathException(t0) {
  7730. this.message = t0;
  7731. },
  7732. PathMap__create(context, $V) {
  7733. var t1 = {};
  7734. t1.context = context;
  7735. t1.context = $.$get$context();
  7736. 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);
  7737. },
  7738. PathMap: function PathMap(t0, t1) {
  7739. this._map = t0;
  7740. this.$ti = t1;
  7741. },
  7742. PathMap__create_closure: function PathMap__create_closure(t0) {
  7743. this._box_0 = t0;
  7744. },
  7745. PathMap__create_closure0: function PathMap__create_closure0(t0) {
  7746. this._box_0 = t0;
  7747. },
  7748. PathMap__create_closure1: function PathMap__create_closure1() {
  7749. },
  7750. Style__getPlatformStyle() {
  7751. if (A.Uri_base().get$scheme() !== "file")
  7752. return $.$get$Style_url();
  7753. var t1 = A.Uri_base();
  7754. if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
  7755. return $.$get$Style_url();
  7756. if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
  7757. return $.$get$Style_windows();
  7758. return $.$get$Style_posix();
  7759. },
  7760. Style: function Style() {
  7761. },
  7762. PosixStyle: function PosixStyle(t0, t1, t2) {
  7763. this.separatorPattern = t0;
  7764. this.needsSeparatorPattern = t1;
  7765. this.rootPattern = t2;
  7766. },
  7767. UrlStyle: function UrlStyle(t0, t1, t2, t3) {
  7768. var _ = this;
  7769. _.separatorPattern = t0;
  7770. _.needsSeparatorPattern = t1;
  7771. _.rootPattern = t2;
  7772. _.relativeRootPattern = t3;
  7773. },
  7774. WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {
  7775. var _ = this;
  7776. _.separatorPattern = t0;
  7777. _.needsSeparatorPattern = t1;
  7778. _.rootPattern = t2;
  7779. _.relativeRootPattern = t3;
  7780. },
  7781. WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
  7782. },
  7783. Version$_(major, minor, patch, preRelease, build, _text) {
  7784. var t1 = preRelease == null ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(preRelease),
  7785. t2 = build == null ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(build);
  7786. if (major < 0)
  7787. A.throwExpression(A.ArgumentError$("Major version must be non-negative.", null));
  7788. if (minor < 0)
  7789. A.throwExpression(A.ArgumentError$("Minor version must be non-negative.", null));
  7790. if (patch < 0)
  7791. A.throwExpression(A.ArgumentError$("Patch version must be non-negative.", null));
  7792. return new A.Version(major, minor, patch, t1, t2, _text);
  7793. },
  7794. Version___parse_tearOff(text) {
  7795. return A.Version_Version$parse(text);
  7796. },
  7797. Version_Version$parse(text) {
  7798. var major, minor, patch, preRelease, build, t1, exception, _null = null,
  7799. _s17_ = 'Could not parse "',
  7800. match = $.$get$completeVersion().firstMatch$1(text);
  7801. if (match == null)
  7802. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  7803. try {
  7804. t1 = match._match[1];
  7805. t1.toString;
  7806. major = A.int_parse(t1, _null);
  7807. t1 = match._match[2];
  7808. t1.toString;
  7809. minor = A.int_parse(t1, _null);
  7810. t1 = match._match[3];
  7811. t1.toString;
  7812. patch = A.int_parse(t1, _null);
  7813. preRelease = match._match[5];
  7814. build = match._match[8];
  7815. t1 = A.Version$_(major, minor, patch, preRelease, build, text);
  7816. return t1;
  7817. } catch (exception) {
  7818. if (type$.FormatException._is(A.unwrapException(exception)))
  7819. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  7820. else
  7821. throw exception;
  7822. }
  7823. },
  7824. Version__splitParts(text) {
  7825. var t1 = type$.MappedListIterable_String_Object;
  7826. 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"));
  7827. },
  7828. Version: function Version(t0, t1, t2, t3, t4, t5) {
  7829. var _ = this;
  7830. _.major = t0;
  7831. _.minor = t1;
  7832. _.patch = t2;
  7833. _.preRelease = t3;
  7834. _.build = t4;
  7835. _._text = t5;
  7836. },
  7837. Version__splitParts_closure: function Version__splitParts_closure() {
  7838. },
  7839. VersionRange: function VersionRange(t0, t1, t2, t3) {
  7840. var _ = this;
  7841. _.min = t0;
  7842. _.max = t1;
  7843. _.includeMin = t2;
  7844. _.includeMax = t3;
  7845. },
  7846. CssMediaQuery_parseList(contents, interpolationMap, logger) {
  7847. var t1 = A.SpanScanner$(contents, null);
  7848. return new A.MediaQueryParser(t1, logger, interpolationMap).parse$0();
  7849. },
  7850. CssMediaQuery$type(type, conditions, modifier) {
  7851. return new A.CssMediaQuery(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  7852. },
  7853. CssMediaQuery$condition(conditions, conjunction) {
  7854. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  7855. if (t1.length > 1 && conjunction == null)
  7856. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  7857. return new A.CssMediaQuery(null, null, conjunction !== false, t1);
  7858. },
  7859. CssMediaQuery: function CssMediaQuery(t0, t1, t2, t3) {
  7860. var _ = this;
  7861. _.modifier = t0;
  7862. _.type = t1;
  7863. _.conjunction = t2;
  7864. _.conditions = t3;
  7865. },
  7866. _SingletonCssMediaQueryMergeResult: function _SingletonCssMediaQueryMergeResult(t0) {
  7867. this._media_query$_name = t0;
  7868. },
  7869. MediaQuerySuccessfulMergeResult: function MediaQuerySuccessfulMergeResult(t0) {
  7870. this.query = t0;
  7871. },
  7872. ModifiableCssAtRule$($name, span, childless, value) {
  7873. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7874. return new A.ModifiableCssAtRule($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7875. },
  7876. ModifiableCssAtRule: function ModifiableCssAtRule(t0, t1, t2, t3, t4, t5) {
  7877. var _ = this;
  7878. _.name = t0;
  7879. _.value = t1;
  7880. _.isChildless = t2;
  7881. _.span = t3;
  7882. _.children = t4;
  7883. _._children = t5;
  7884. _._indexInParent = _._parent = null;
  7885. _.isGroupEnd = false;
  7886. },
  7887. ModifiableCssComment: function ModifiableCssComment(t0, t1) {
  7888. var _ = this;
  7889. _.text = t0;
  7890. _.span = t1;
  7891. _._indexInParent = _._parent = null;
  7892. _.isGroupEnd = false;
  7893. },
  7894. ModifiableCssDeclaration$($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
  7895. var t2,
  7896. t1 = valueSpanForMap == null ? value.span : valueSpanForMap;
  7897. if (parsedAsCustomProperty)
  7898. if (!J.startsWith$1$s($name.value, "--"))
  7899. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  7900. else {
  7901. t2 = value.value;
  7902. if (!(t2 instanceof A.SassString))
  7903. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t2).toString$0(0) + ").", null));
  7904. }
  7905. return new A.ModifiableCssDeclaration($name, value, parsedAsCustomProperty, t1, span);
  7906. },
  7907. ModifiableCssDeclaration: function ModifiableCssDeclaration(t0, t1, t2, t3, t4) {
  7908. var _ = this;
  7909. _.name = t0;
  7910. _.value = t1;
  7911. _.parsedAsCustomProperty = t2;
  7912. _.valueSpanForMap = t3;
  7913. _.span = t4;
  7914. _._indexInParent = _._parent = null;
  7915. _.isGroupEnd = false;
  7916. },
  7917. ModifiableCssImport: function ModifiableCssImport(t0, t1, t2) {
  7918. var _ = this;
  7919. _.url = t0;
  7920. _.modifiers = t1;
  7921. _.span = t2;
  7922. _._indexInParent = _._parent = null;
  7923. _.isGroupEnd = false;
  7924. },
  7925. ModifiableCssKeyframeBlock$(selector, span) {
  7926. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7927. return new A.ModifiableCssKeyframeBlock(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7928. },
  7929. ModifiableCssKeyframeBlock: function ModifiableCssKeyframeBlock(t0, t1, t2, t3) {
  7930. var _ = this;
  7931. _.selector = t0;
  7932. _.span = t1;
  7933. _.children = t2;
  7934. _._children = t3;
  7935. _._indexInParent = _._parent = null;
  7936. _.isGroupEnd = false;
  7937. },
  7938. ModifiableCssMediaRule$(queries, span) {
  7939. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery),
  7940. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7941. if (J.get$isEmpty$asx(queries))
  7942. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  7943. return new A.ModifiableCssMediaRule(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode), t2);
  7944. },
  7945. ModifiableCssMediaRule: function ModifiableCssMediaRule(t0, t1, t2, t3) {
  7946. var _ = this;
  7947. _.queries = t0;
  7948. _.span = t1;
  7949. _.children = t2;
  7950. _._children = t3;
  7951. _._indexInParent = _._parent = null;
  7952. _.isGroupEnd = false;
  7953. },
  7954. ModifiableCssNode: function ModifiableCssNode() {
  7955. },
  7956. ModifiableCssNode_hasFollowingSibling_closure: function ModifiableCssNode_hasFollowingSibling_closure() {
  7957. },
  7958. ModifiableCssParentNode: function ModifiableCssParentNode() {
  7959. },
  7960. ModifiableCssStyleRule$(_selector, span, originalSelector) {
  7961. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7962. return new A.ModifiableCssStyleRule(_selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7963. },
  7964. ModifiableCssStyleRule: function ModifiableCssStyleRule(t0, t1, t2, t3, t4) {
  7965. var _ = this;
  7966. _._style_rule$_selector = t0;
  7967. _.originalSelector = t1;
  7968. _.span = t2;
  7969. _.children = t3;
  7970. _._children = t4;
  7971. _._indexInParent = _._parent = null;
  7972. _.isGroupEnd = false;
  7973. },
  7974. ModifiableCssStylesheet$(span) {
  7975. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7976. return new A.ModifiableCssStylesheet(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7977. },
  7978. ModifiableCssStylesheet: function ModifiableCssStylesheet(t0, t1, t2) {
  7979. var _ = this;
  7980. _.span = t0;
  7981. _.children = t1;
  7982. _._children = t2;
  7983. _._indexInParent = _._parent = null;
  7984. _.isGroupEnd = false;
  7985. },
  7986. ModifiableCssSupportsRule$(condition, span) {
  7987. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7988. return new A.ModifiableCssSupportsRule(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7989. },
  7990. ModifiableCssSupportsRule: function ModifiableCssSupportsRule(t0, t1, t2, t3) {
  7991. var _ = this;
  7992. _.condition = t0;
  7993. _.span = t1;
  7994. _.children = t2;
  7995. _._children = t3;
  7996. _._indexInParent = _._parent = null;
  7997. _.isGroupEnd = false;
  7998. },
  7999. CssNode: function CssNode() {
  8000. },
  8001. CssParentNode: function CssParentNode() {
  8002. },
  8003. _IsInvisibleVisitor: function _IsInvisibleVisitor(t0, t1) {
  8004. this.includeBogus = t0;
  8005. this.includeComments = t1;
  8006. },
  8007. __IsInvisibleVisitor_Object_EveryCssVisitor: function __IsInvisibleVisitor_Object_EveryCssVisitor() {
  8008. },
  8009. CssStylesheet: function CssStylesheet(t0, t1) {
  8010. this.children = t0;
  8011. this.span = t1;
  8012. },
  8013. CssValue: function CssValue(t0, t1, t2) {
  8014. this.value = t0;
  8015. this.span = t1;
  8016. this.$ti = t2;
  8017. },
  8018. AstNode: function AstNode() {
  8019. },
  8020. _FakeAstNode: function _FakeAstNode(t0) {
  8021. this._callback = t0;
  8022. },
  8023. Argument: function Argument(t0, t1, t2) {
  8024. this.name = t0;
  8025. this.defaultValue = t1;
  8026. this.span = t2;
  8027. },
  8028. ArgumentDeclaration_ArgumentDeclaration$parse(contents, url) {
  8029. return A.ScssParser$(contents, null, url).parseArgumentDeclaration$0();
  8030. },
  8031. ArgumentDeclaration: function ArgumentDeclaration(t0, t1, t2) {
  8032. this.$arguments = t0;
  8033. this.restArgument = t1;
  8034. this.span = t2;
  8035. },
  8036. ArgumentDeclaration_verify_closure: function ArgumentDeclaration_verify_closure() {
  8037. },
  8038. ArgumentDeclaration_verify_closure0: function ArgumentDeclaration_verify_closure0() {
  8039. },
  8040. ArgumentInvocation$empty(span) {
  8041. return new A.ArgumentInvocation(B.List_empty10, B.Map_empty3, null, null, span);
  8042. },
  8043. ArgumentInvocation: function ArgumentInvocation(t0, t1, t2, t3, t4) {
  8044. var _ = this;
  8045. _.positional = t0;
  8046. _.named = t1;
  8047. _.rest = t2;
  8048. _.keywordRest = t3;
  8049. _.span = t4;
  8050. },
  8051. AtRootQuery: function AtRootQuery(t0, t1, t2, t3) {
  8052. var _ = this;
  8053. _.include = t0;
  8054. _.names = t1;
  8055. _._all = t2;
  8056. _._at_root_query$_rule = t3;
  8057. },
  8058. ConfiguredVariable: function ConfiguredVariable(t0, t1, t2, t3) {
  8059. var _ = this;
  8060. _.name = t0;
  8061. _.expression = t1;
  8062. _.isGuarded = t2;
  8063. _.span = t3;
  8064. },
  8065. BinaryOperationExpression: function BinaryOperationExpression(t0, t1, t2, t3) {
  8066. var _ = this;
  8067. _.operator = t0;
  8068. _.left = t1;
  8069. _.right = t2;
  8070. _.allowsSlash = t3;
  8071. },
  8072. BinaryOperator: function BinaryOperator(t0, t1, t2, t3, t4) {
  8073. var _ = this;
  8074. _.name = t0;
  8075. _.operator = t1;
  8076. _.precedence = t2;
  8077. _.isAssociative = t3;
  8078. _._name = t4;
  8079. },
  8080. BooleanExpression: function BooleanExpression(t0, t1) {
  8081. this.value = t0;
  8082. this.span = t1;
  8083. },
  8084. CalculationExpression__verifyArguments($arguments) {
  8085. return A.List_List$unmodifiable(J.map$1$1$ax($arguments, new A.CalculationExpression__verifyArguments_closure(), type$.dynamic), type$.Expression);
  8086. },
  8087. CalculationExpression__verify(expression) {
  8088. var t1,
  8089. _s29_ = "Invalid calculation argument ";
  8090. if (expression instanceof A.NumberExpression)
  8091. return;
  8092. if (expression instanceof A.CalculationExpression)
  8093. return;
  8094. if (expression instanceof A.VariableExpression)
  8095. return;
  8096. if (expression instanceof A.FunctionExpression)
  8097. return;
  8098. if (expression instanceof A.IfExpression)
  8099. return;
  8100. if (expression instanceof A.StringExpression) {
  8101. if (expression.hasQuotes)
  8102. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  8103. } else if (expression instanceof A.ParenthesizedExpression)
  8104. A.CalculationExpression__verify(expression.expression);
  8105. else if (expression instanceof A.BinaryOperationExpression) {
  8106. A.CalculationExpression__verify(expression.left);
  8107. A.CalculationExpression__verify(expression.right);
  8108. t1 = expression.operator;
  8109. if (t1 === B.BinaryOperator_anB)
  8110. return;
  8111. if (t1 === B.BinaryOperator_olz)
  8112. return;
  8113. if (t1 === B.BinaryOperator_qN2)
  8114. return;
  8115. if (t1 === B.BinaryOperator_t8B)
  8116. return;
  8117. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  8118. } else
  8119. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  8120. },
  8121. CalculationExpression: function CalculationExpression(t0, t1, t2) {
  8122. this.name = t0;
  8123. this.$arguments = t1;
  8124. this.span = t2;
  8125. },
  8126. CalculationExpression__verifyArguments_closure: function CalculationExpression__verifyArguments_closure() {
  8127. },
  8128. ColorExpression: function ColorExpression(t0, t1) {
  8129. this.value = t0;
  8130. this.span = t1;
  8131. },
  8132. FunctionExpression: function FunctionExpression(t0, t1, t2, t3) {
  8133. var _ = this;
  8134. _.namespace = t0;
  8135. _.originalName = t1;
  8136. _.$arguments = t2;
  8137. _.span = t3;
  8138. },
  8139. IfExpression: function IfExpression(t0, t1) {
  8140. this.$arguments = t0;
  8141. this.span = t1;
  8142. },
  8143. InterpolatedFunctionExpression: function InterpolatedFunctionExpression(t0, t1, t2) {
  8144. this.name = t0;
  8145. this.$arguments = t1;
  8146. this.span = t2;
  8147. },
  8148. ListExpression: function ListExpression(t0, t1, t2, t3) {
  8149. var _ = this;
  8150. _.contents = t0;
  8151. _.separator = t1;
  8152. _.hasBrackets = t2;
  8153. _.span = t3;
  8154. },
  8155. ListExpression_toString_closure: function ListExpression_toString_closure(t0) {
  8156. this.$this = t0;
  8157. },
  8158. MapExpression: function MapExpression(t0, t1) {
  8159. this.pairs = t0;
  8160. this.span = t1;
  8161. },
  8162. MapExpression_toString_closure: function MapExpression_toString_closure() {
  8163. },
  8164. NullExpression: function NullExpression(t0) {
  8165. this.span = t0;
  8166. },
  8167. NumberExpression: function NumberExpression(t0, t1, t2) {
  8168. this.value = t0;
  8169. this.unit = t1;
  8170. this.span = t2;
  8171. },
  8172. ParenthesizedExpression: function ParenthesizedExpression(t0, t1) {
  8173. this.expression = t0;
  8174. this.span = t1;
  8175. },
  8176. SelectorExpression: function SelectorExpression(t0) {
  8177. this.span = t0;
  8178. },
  8179. StringExpression_quoteText(text) {
  8180. var t1,
  8181. quote = A.StringExpression__bestQuote(A._setArrayType([text], type$.JSArray_String)),
  8182. buffer = new A.StringBuffer("");
  8183. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  8184. A.StringExpression__quoteInnerText(text, quote, buffer, true);
  8185. t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
  8186. return t1.charCodeAt(0) == 0 ? t1 : t1;
  8187. },
  8188. StringExpression__quoteInnerText(text, quote, buffer, $static) {
  8189. var t1, t2, i, codeUnit, next, t3;
  8190. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  8191. codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
  8192. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
  8193. buffer.writeCharCode$1(92);
  8194. buffer.writeCharCode$1(97);
  8195. if (i !== t2) {
  8196. next = B.JSString_methods._codeUnitAt$1(text, i + 1);
  8197. if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex(next))
  8198. buffer.writeCharCode$1(32);
  8199. }
  8200. } else {
  8201. if (codeUnit !== quote)
  8202. if (codeUnit !== 92)
  8203. t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
  8204. else
  8205. t3 = true;
  8206. else
  8207. t3 = true;
  8208. if (t3)
  8209. buffer.writeCharCode$1(92);
  8210. buffer.writeCharCode$1(codeUnit);
  8211. }
  8212. }
  8213. },
  8214. StringExpression__bestQuote(strings) {
  8215. var t1, containsDoubleQuote, t2, t3, i, codeUnit;
  8216. for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
  8217. t2 = t1.get$current(t1);
  8218. for (t3 = t2.length, i = 0; i < t3; ++i) {
  8219. codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
  8220. if (codeUnit === 39)
  8221. return 34;
  8222. if (codeUnit === 34)
  8223. containsDoubleQuote = true;
  8224. }
  8225. }
  8226. return containsDoubleQuote ? 39 : 34;
  8227. },
  8228. StringExpression: function StringExpression(t0, t1) {
  8229. this.text = t0;
  8230. this.hasQuotes = t1;
  8231. },
  8232. SupportsExpression: function SupportsExpression(t0) {
  8233. this.condition = t0;
  8234. },
  8235. UnaryOperationExpression: function UnaryOperationExpression(t0, t1, t2) {
  8236. this.operator = t0;
  8237. this.operand = t1;
  8238. this.span = t2;
  8239. },
  8240. UnaryOperator: function UnaryOperator(t0, t1, t2) {
  8241. this.name = t0;
  8242. this.operator = t1;
  8243. this._name = t2;
  8244. },
  8245. ValueExpression: function ValueExpression(t0, t1) {
  8246. this.value = t0;
  8247. this.span = t1;
  8248. },
  8249. VariableExpression: function VariableExpression(t0, t1, t2) {
  8250. this.namespace = t0;
  8251. this.name = t1;
  8252. this.span = t2;
  8253. },
  8254. DynamicImport: function DynamicImport(t0, t1) {
  8255. this.urlString = t0;
  8256. this.span = t1;
  8257. },
  8258. StaticImport: function StaticImport(t0, t1, t2) {
  8259. this.url = t0;
  8260. this.modifiers = t1;
  8261. this.span = t2;
  8262. },
  8263. Interpolation$(contents, span) {
  8264. var t1 = new A.Interpolation(A.List_List$unmodifiable(contents, type$.Object), span);
  8265. t1.Interpolation$2(contents, span);
  8266. return t1;
  8267. },
  8268. Interpolation: function Interpolation(t0, t1) {
  8269. this.contents = t0;
  8270. this.span = t1;
  8271. },
  8272. Interpolation_toString_closure: function Interpolation_toString_closure() {
  8273. },
  8274. AtRootRule$(children, span, query) {
  8275. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8276. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8277. return new A.AtRootRule(query, span, t1, t2);
  8278. },
  8279. AtRootRule: function AtRootRule(t0, t1, t2, t3) {
  8280. var _ = this;
  8281. _.query = t0;
  8282. _.span = t1;
  8283. _.children = t2;
  8284. _.hasDeclarations = t3;
  8285. },
  8286. AtRule$($name, span, children, value) {
  8287. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement),
  8288. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8289. return new A.AtRule($name, value, span, t1, t2 === true);
  8290. },
  8291. AtRule: function AtRule(t0, t1, t2, t3, t4) {
  8292. var _ = this;
  8293. _.name = t0;
  8294. _.value = t1;
  8295. _.span = t2;
  8296. _.children = t3;
  8297. _.hasDeclarations = t4;
  8298. },
  8299. CallableDeclaration: function CallableDeclaration() {
  8300. },
  8301. ContentBlock$($arguments, children, span) {
  8302. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8303. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8304. return new A.ContentBlock("@content", $arguments, span, t1, t2);
  8305. },
  8306. ContentBlock: function ContentBlock(t0, t1, t2, t3, t4) {
  8307. var _ = this;
  8308. _.name = t0;
  8309. _.$arguments = t1;
  8310. _.span = t2;
  8311. _.children = t3;
  8312. _.hasDeclarations = t4;
  8313. },
  8314. ContentRule: function ContentRule(t0, t1) {
  8315. this.$arguments = t0;
  8316. this.span = t1;
  8317. },
  8318. DebugRule: function DebugRule(t0, t1) {
  8319. this.expression = t0;
  8320. this.span = t1;
  8321. },
  8322. Declaration$($name, value, span) {
  8323. return new A.Declaration($name, value, span, null, false);
  8324. },
  8325. Declaration$nested($name, children, span, value) {
  8326. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8327. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8328. return new A.Declaration($name, value, span, t1, t2);
  8329. },
  8330. Declaration: function Declaration(t0, t1, t2, t3, t4) {
  8331. var _ = this;
  8332. _.name = t0;
  8333. _.value = t1;
  8334. _.span = t2;
  8335. _.children = t3;
  8336. _.hasDeclarations = t4;
  8337. },
  8338. EachRule$(variables, list, children, span) {
  8339. var t1 = A.List_List$unmodifiable(variables, type$.String),
  8340. t2 = A.List_List$unmodifiable(children, type$.Statement),
  8341. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  8342. return new A.EachRule(t1, list, span, t2, t3);
  8343. },
  8344. EachRule: function EachRule(t0, t1, t2, t3, t4) {
  8345. var _ = this;
  8346. _.variables = t0;
  8347. _.list = t1;
  8348. _.span = t2;
  8349. _.children = t3;
  8350. _.hasDeclarations = t4;
  8351. },
  8352. EachRule_toString_closure: function EachRule_toString_closure() {
  8353. },
  8354. ErrorRule: function ErrorRule(t0, t1) {
  8355. this.expression = t0;
  8356. this.span = t1;
  8357. },
  8358. ExtendRule: function ExtendRule(t0, t1, t2) {
  8359. this.selector = t0;
  8360. this.isOptional = t1;
  8361. this.span = t2;
  8362. },
  8363. ForRule$(variable, from, to, children, span, exclusive) {
  8364. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8365. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8366. return new A.ForRule(variable, from, to, exclusive, span, t1, t2);
  8367. },
  8368. ForRule: function ForRule(t0, t1, t2, t3, t4, t5, t6) {
  8369. var _ = this;
  8370. _.variable = t0;
  8371. _.from = t1;
  8372. _.to = t2;
  8373. _.isExclusive = t3;
  8374. _.span = t4;
  8375. _.children = t5;
  8376. _.hasDeclarations = t6;
  8377. },
  8378. ForwardRule: function ForwardRule(t0, t1, t2, t3, t4, t5, t6, t7) {
  8379. var _ = this;
  8380. _.url = t0;
  8381. _.shownMixinsAndFunctions = t1;
  8382. _.shownVariables = t2;
  8383. _.hiddenMixinsAndFunctions = t3;
  8384. _.hiddenVariables = t4;
  8385. _.prefix = t5;
  8386. _.configuration = t6;
  8387. _.span = t7;
  8388. },
  8389. FunctionRule$($name, $arguments, children, span, comment) {
  8390. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8391. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8392. return new A.FunctionRule($name, $arguments, span, t1, t2);
  8393. },
  8394. FunctionRule: function FunctionRule(t0, t1, t2, t3, t4) {
  8395. var _ = this;
  8396. _.name = t0;
  8397. _.$arguments = t1;
  8398. _.span = t2;
  8399. _.children = t3;
  8400. _.hasDeclarations = t4;
  8401. },
  8402. IfClause$(expression, children) {
  8403. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  8404. return new A.IfClause(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  8405. },
  8406. ElseClause$(children) {
  8407. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  8408. return new A.ElseClause(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  8409. },
  8410. IfRule: function IfRule(t0, t1, t2) {
  8411. this.clauses = t0;
  8412. this.lastClause = t1;
  8413. this.span = t2;
  8414. },
  8415. IfRule_toString_closure: function IfRule_toString_closure() {
  8416. },
  8417. IfRuleClause: function IfRuleClause() {
  8418. },
  8419. IfRuleClause$__closure: function IfRuleClause$__closure() {
  8420. },
  8421. IfRuleClause$___closure: function IfRuleClause$___closure() {
  8422. },
  8423. IfClause: function IfClause(t0, t1, t2) {
  8424. this.expression = t0;
  8425. this.children = t1;
  8426. this.hasDeclarations = t2;
  8427. },
  8428. ElseClause: function ElseClause(t0, t1) {
  8429. this.children = t0;
  8430. this.hasDeclarations = t1;
  8431. },
  8432. ImportRule: function ImportRule(t0, t1) {
  8433. this.imports = t0;
  8434. this.span = t1;
  8435. },
  8436. IncludeRule: function IncludeRule(t0, t1, t2, t3, t4) {
  8437. var _ = this;
  8438. _.namespace = t0;
  8439. _.name = t1;
  8440. _.$arguments = t2;
  8441. _.content = t3;
  8442. _.span = t4;
  8443. },
  8444. LoudComment: function LoudComment(t0) {
  8445. this.text = t0;
  8446. },
  8447. MediaRule$(query, children, span) {
  8448. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8449. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8450. return new A.MediaRule(query, span, t1, t2);
  8451. },
  8452. MediaRule: function MediaRule(t0, t1, t2, t3) {
  8453. var _ = this;
  8454. _.query = t0;
  8455. _.span = t1;
  8456. _.children = t2;
  8457. _.hasDeclarations = t3;
  8458. },
  8459. MixinRule$($name, $arguments, children, span, comment) {
  8460. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8461. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8462. return new A.MixinRule($name, $arguments, span, t1, t2);
  8463. },
  8464. MixinRule: function MixinRule(t0, t1, t2, t3, t4) {
  8465. var _ = this;
  8466. _.__MixinRule_hasContent_FI = $;
  8467. _.name = t0;
  8468. _.$arguments = t1;
  8469. _.span = t2;
  8470. _.children = t3;
  8471. _.hasDeclarations = t4;
  8472. },
  8473. _HasContentVisitor: function _HasContentVisitor() {
  8474. },
  8475. __HasContentVisitor_Object_StatementSearchVisitor: function __HasContentVisitor_Object_StatementSearchVisitor() {
  8476. },
  8477. ParentStatement: function ParentStatement() {
  8478. },
  8479. ParentStatement_closure: function ParentStatement_closure() {
  8480. },
  8481. ParentStatement__closure: function ParentStatement__closure() {
  8482. },
  8483. ReturnRule: function ReturnRule(t0, t1) {
  8484. this.expression = t0;
  8485. this.span = t1;
  8486. },
  8487. SilentComment: function SilentComment(t0, t1) {
  8488. this.text = t0;
  8489. this.span = t1;
  8490. },
  8491. StyleRule$(selector, children, span) {
  8492. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8493. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8494. return new A.StyleRule(selector, span, t1, t2);
  8495. },
  8496. StyleRule: function StyleRule(t0, t1, t2, t3) {
  8497. var _ = this;
  8498. _.selector = t0;
  8499. _.span = t1;
  8500. _.children = t2;
  8501. _.hasDeclarations = t3;
  8502. },
  8503. Stylesheet$(children, span) {
  8504. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  8505. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  8506. t3 = A.List_List$unmodifiable(children, type$.Statement),
  8507. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
  8508. t1 = new A.Stylesheet(span, false, t1, t2, t3, t4);
  8509. t1.Stylesheet$internal$3$plainCss(children, span, false);
  8510. return t1;
  8511. },
  8512. Stylesheet$internal(children, span, plainCss) {
  8513. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  8514. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  8515. t3 = A.List_List$unmodifiable(children, type$.Statement),
  8516. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
  8517. t1 = new A.Stylesheet(span, plainCss, t1, t2, t3, t4);
  8518. t1.Stylesheet$internal$3$plainCss(children, span, plainCss);
  8519. return t1;
  8520. },
  8521. Stylesheet_Stylesheet$parse(contents, syntax, logger, url) {
  8522. var error, url0, t1, t2, exception;
  8523. try {
  8524. switch (syntax) {
  8525. case B.Syntax_Sass_sass:
  8526. t1 = A.SpanScanner$(contents, url);
  8527. t2 = logger == null ? B.StderrLogger_false : logger;
  8528. t2 = new A.SassParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2, null).parse$0();
  8529. return t2;
  8530. case B.Syntax_SCSS_scss:
  8531. t1 = A.ScssParser$(contents, logger, url).parse$0();
  8532. return t1;
  8533. case B.Syntax_CSS_css:
  8534. t1 = A.SpanScanner$(contents, url);
  8535. t2 = logger == null ? B.StderrLogger_false : logger;
  8536. t2 = new A.CssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2, null).parse$0();
  8537. return t2;
  8538. default:
  8539. t1 = A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null);
  8540. throw A.wrapException(t1);
  8541. }
  8542. } catch (exception) {
  8543. t1 = A.unwrapException(exception);
  8544. if (t1 instanceof A.SassException) {
  8545. error = t1;
  8546. t1 = error;
  8547. t2 = J.getInterceptor$z(t1);
  8548. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  8549. url0 = t1.get$sourceUrl(t1);
  8550. if (url0 == null || J.toString$0$(url0) === "stdin")
  8551. throw exception;
  8552. t1 = type$.Uri;
  8553. throw A.wrapException(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)));
  8554. } else
  8555. throw exception;
  8556. }
  8557. },
  8558. Stylesheet: function Stylesheet(t0, t1, t2, t3, t4, t5) {
  8559. var _ = this;
  8560. _.span = t0;
  8561. _.plainCss = t1;
  8562. _._uses = t2;
  8563. _._forwards = t3;
  8564. _.children = t4;
  8565. _.hasDeclarations = t5;
  8566. },
  8567. SupportsRule$(condition, children, span) {
  8568. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8569. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8570. return new A.SupportsRule(condition, span, t1, t2);
  8571. },
  8572. SupportsRule: function SupportsRule(t0, t1, t2, t3) {
  8573. var _ = this;
  8574. _.condition = t0;
  8575. _.span = t1;
  8576. _.children = t2;
  8577. _.hasDeclarations = t3;
  8578. },
  8579. UseRule: function UseRule(t0, t1, t2, t3) {
  8580. var _ = this;
  8581. _.url = t0;
  8582. _.namespace = t1;
  8583. _.configuration = t2;
  8584. _.span = t3;
  8585. },
  8586. VariableDeclaration$($name, expression, span, comment, global, guarded, namespace) {
  8587. if (namespace != null && global)
  8588. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  8589. return new A.VariableDeclaration(namespace, $name, expression, guarded, global, span);
  8590. },
  8591. VariableDeclaration: function VariableDeclaration(t0, t1, t2, t3, t4, t5) {
  8592. var _ = this;
  8593. _.namespace = t0;
  8594. _.name = t1;
  8595. _.expression = t2;
  8596. _.isGuarded = t3;
  8597. _.isGlobal = t4;
  8598. _.span = t5;
  8599. },
  8600. WarnRule: function WarnRule(t0, t1) {
  8601. this.expression = t0;
  8602. this.span = t1;
  8603. },
  8604. WhileRule$(condition, children, span) {
  8605. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8606. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8607. return new A.WhileRule(condition, span, t1, t2);
  8608. },
  8609. WhileRule: function WhileRule(t0, t1, t2, t3) {
  8610. var _ = this;
  8611. _.condition = t0;
  8612. _.span = t1;
  8613. _.children = t2;
  8614. _.hasDeclarations = t3;
  8615. },
  8616. SupportsAnything: function SupportsAnything(t0, t1) {
  8617. this.contents = t0;
  8618. this.span = t1;
  8619. },
  8620. SupportsDeclaration: function SupportsDeclaration(t0, t1, t2) {
  8621. this.name = t0;
  8622. this.value = t1;
  8623. this.span = t2;
  8624. },
  8625. SupportsFunction: function SupportsFunction(t0, t1, t2) {
  8626. this.name = t0;
  8627. this.$arguments = t1;
  8628. this.span = t2;
  8629. },
  8630. SupportsInterpolation: function SupportsInterpolation(t0, t1) {
  8631. this.expression = t0;
  8632. this.span = t1;
  8633. },
  8634. SupportsNegation: function SupportsNegation(t0, t1) {
  8635. this.condition = t0;
  8636. this.span = t1;
  8637. },
  8638. SupportsOperation$(left, right, operator, span) {
  8639. var lowerOperator = operator.toLowerCase();
  8640. if (lowerOperator !== "and" && lowerOperator !== "or")
  8641. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  8642. return new A.SupportsOperation(left, right, operator, span);
  8643. },
  8644. SupportsOperation: function SupportsOperation(t0, t1, t2, t3) {
  8645. var _ = this;
  8646. _.left = t0;
  8647. _.right = t1;
  8648. _.operator = t2;
  8649. _.span = t3;
  8650. },
  8651. Selector: function Selector() {
  8652. },
  8653. _IsInvisibleVisitor0: function _IsInvisibleVisitor0(t0) {
  8654. this.includeBogus = t0;
  8655. },
  8656. _IsBogusVisitor: function _IsBogusVisitor(t0) {
  8657. this.includeLeadingCombinator = t0;
  8658. },
  8659. _IsBogusVisitor_visitComplexSelector_closure: function _IsBogusVisitor_visitComplexSelector_closure(t0) {
  8660. this.$this = t0;
  8661. },
  8662. _IsUselessVisitor: function _IsUselessVisitor() {
  8663. },
  8664. _IsUselessVisitor_visitComplexSelector_closure: function _IsUselessVisitor_visitComplexSelector_closure(t0) {
  8665. this.$this = t0;
  8666. },
  8667. __IsBogusVisitor_Object_AnySelectorVisitor: function __IsBogusVisitor_Object_AnySelectorVisitor() {
  8668. },
  8669. __IsInvisibleVisitor_Object_AnySelectorVisitor: function __IsInvisibleVisitor_Object_AnySelectorVisitor() {
  8670. },
  8671. __IsUselessVisitor_Object_AnySelectorVisitor: function __IsUselessVisitor_Object_AnySelectorVisitor() {
  8672. },
  8673. AttributeSelector: function AttributeSelector(t0, t1, t2, t3, t4) {
  8674. var _ = this;
  8675. _.name = t0;
  8676. _.op = t1;
  8677. _.value = t2;
  8678. _.modifier = t3;
  8679. _.span = t4;
  8680. },
  8681. AttributeOperator: function AttributeOperator(t0, t1) {
  8682. this._attribute$_text = t0;
  8683. this._name = t1;
  8684. },
  8685. ClassSelector: function ClassSelector(t0, t1) {
  8686. this.name = t0;
  8687. this.span = t1;
  8688. },
  8689. Combinator: function Combinator(t0, t1) {
  8690. this._combinator$_text = t0;
  8691. this._name = t1;
  8692. },
  8693. ComplexSelector$(leadingCombinators, components, span, lineBreak) {
  8694. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator),
  8695. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent);
  8696. if (t1.length === 0 && t2.length === 0)
  8697. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  8698. return new A.ComplexSelector(t1, t2, lineBreak, span);
  8699. },
  8700. ComplexSelector: function ComplexSelector(t0, t1, t2, t3) {
  8701. var _ = this;
  8702. _.leadingCombinators = t0;
  8703. _.components = t1;
  8704. _.lineBreak = t2;
  8705. _.__ComplexSelector_specificity_FI = $;
  8706. _.span = t3;
  8707. },
  8708. ComplexSelector_specificity_closure: function ComplexSelector_specificity_closure() {
  8709. },
  8710. ComplexSelectorComponent: function ComplexSelectorComponent(t0, t1, t2) {
  8711. this.selector = t0;
  8712. this.combinators = t1;
  8713. this.span = t2;
  8714. },
  8715. ComplexSelectorComponent_toString_closure: function ComplexSelectorComponent_toString_closure() {
  8716. },
  8717. CompoundSelector$(components, span) {
  8718. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector);
  8719. if (t1.length === 0)
  8720. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  8721. return new A.CompoundSelector(t1, span);
  8722. },
  8723. CompoundSelector: function CompoundSelector(t0, t1) {
  8724. this.components = t0;
  8725. this.__CompoundSelector_specificity_FI = $;
  8726. this.span = t1;
  8727. },
  8728. CompoundSelector_specificity_closure: function CompoundSelector_specificity_closure() {
  8729. },
  8730. IDSelector: function IDSelector(t0, t1) {
  8731. this.name = t0;
  8732. this.span = t1;
  8733. },
  8734. IDSelector_unify_closure: function IDSelector_unify_closure(t0) {
  8735. this.$this = t0;
  8736. },
  8737. SelectorList$(components, span) {
  8738. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector);
  8739. if (t1.length === 0)
  8740. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  8741. return new A.SelectorList(t1, span);
  8742. },
  8743. SelectorList_SelectorList$parse(contents, allowParent, allowPlaceholder, interpolationMap, logger) {
  8744. return A.SelectorParser$(contents, allowParent, allowPlaceholder, interpolationMap, logger, null).parse$0();
  8745. },
  8746. SelectorList: function SelectorList(t0, t1) {
  8747. this.components = t0;
  8748. this.span = t1;
  8749. },
  8750. SelectorList_asSassList_closure: function SelectorList_asSassList_closure() {
  8751. },
  8752. SelectorList_resolveParentSelectors_closure: function SelectorList_resolveParentSelectors_closure(t0, t1, t2) {
  8753. this.$this = t0;
  8754. this.implicitParent = t1;
  8755. this.parent = t2;
  8756. },
  8757. SelectorList_resolveParentSelectors__closure: function SelectorList_resolveParentSelectors__closure(t0) {
  8758. this.complex = t0;
  8759. },
  8760. SelectorList_resolveParentSelectors__closure0: function SelectorList_resolveParentSelectors__closure0(t0) {
  8761. this.complex = t0;
  8762. },
  8763. SelectorList__resolveParentSelectorsCompound_closure: function SelectorList__resolveParentSelectorsCompound_closure() {
  8764. },
  8765. SelectorList__resolveParentSelectorsCompound_closure0: function SelectorList__resolveParentSelectorsCompound_closure0(t0) {
  8766. this.parent = t0;
  8767. },
  8768. SelectorList__resolveParentSelectorsCompound_closure1: function SelectorList__resolveParentSelectorsCompound_closure1(t0, t1, t2) {
  8769. this.parentSelector = t0;
  8770. this.resolvedSimples = t1;
  8771. this.component = t2;
  8772. },
  8773. SelectorList_withAdditionalCombinators_closure: function SelectorList_withAdditionalCombinators_closure(t0) {
  8774. this.combinators = t0;
  8775. },
  8776. _ParentSelectorVisitor: function _ParentSelectorVisitor() {
  8777. },
  8778. __ParentSelectorVisitor_Object_SelectorSearchVisitor: function __ParentSelectorVisitor_Object_SelectorSearchVisitor() {
  8779. },
  8780. ParentSelector: function ParentSelector(t0, t1) {
  8781. this.suffix = t0;
  8782. this.span = t1;
  8783. },
  8784. PlaceholderSelector: function PlaceholderSelector(t0, t1) {
  8785. this.name = t0;
  8786. this.span = t1;
  8787. },
  8788. PseudoSelector$($name, span, argument, element, selector) {
  8789. var t1 = !element,
  8790. t2 = t1 && !A.PseudoSelector__isFakePseudoElement($name);
  8791. return new A.PseudoSelector($name, A.unvendor($name), t2, t1, argument, selector, span);
  8792. },
  8793. PseudoSelector__isFakePseudoElement($name) {
  8794. switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
  8795. case 97:
  8796. case 65:
  8797. return A.equalsIgnoreCase($name, "after");
  8798. case 98:
  8799. case 66:
  8800. return A.equalsIgnoreCase($name, "before");
  8801. case 102:
  8802. case 70:
  8803. return A.equalsIgnoreCase($name, "first-line") || A.equalsIgnoreCase($name, "first-letter");
  8804. default:
  8805. return false;
  8806. }
  8807. },
  8808. PseudoSelector: function PseudoSelector(t0, t1, t2, t3, t4, t5, t6) {
  8809. var _ = this;
  8810. _.name = t0;
  8811. _.normalizedName = t1;
  8812. _.isClass = t2;
  8813. _.isSyntacticClass = t3;
  8814. _.argument = t4;
  8815. _.selector = t5;
  8816. _.__PseudoSelector_specificity_FI = $;
  8817. _.span = t6;
  8818. },
  8819. PseudoSelector_specificity_closure: function PseudoSelector_specificity_closure(t0) {
  8820. this.$this = t0;
  8821. },
  8822. PseudoSelector_specificity__closure: function PseudoSelector_specificity__closure() {
  8823. },
  8824. PseudoSelector_specificity__closure0: function PseudoSelector_specificity__closure0() {
  8825. },
  8826. PseudoSelector_unify_closure: function PseudoSelector_unify_closure() {
  8827. },
  8828. QualifiedName: function QualifiedName(t0, t1) {
  8829. this.name = t0;
  8830. this.namespace = t1;
  8831. },
  8832. SimpleSelector: function SimpleSelector() {
  8833. },
  8834. SimpleSelector_isSuperselector_closure: function SimpleSelector_isSuperselector_closure(t0) {
  8835. this.$this = t0;
  8836. },
  8837. SimpleSelector_isSuperselector__closure: function SimpleSelector_isSuperselector__closure(t0) {
  8838. this.$this = t0;
  8839. },
  8840. TypeSelector: function TypeSelector(t0, t1) {
  8841. this.name = t0;
  8842. this.span = t1;
  8843. },
  8844. UniversalSelector: function UniversalSelector(t0, t1) {
  8845. this.namespace = t0;
  8846. this.span = t1;
  8847. },
  8848. compileAsync(path, charset, fatalDeprecations, futureDeprecations, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
  8849. return A.compileAsync$body(path, charset, fatalDeprecations, futureDeprecations, importCache, logger, quietDeps, sourceMap, style, syntax, verbose);
  8850. },
  8851. compileAsync$body(path, charset, fatalDeprecations, futureDeprecations, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
  8852. var $async$goto = 0,
  8853. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  8854. $async$returnValue, t4, t0, stylesheet, result, t1, t2, t3;
  8855. var $async$compileAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  8856. if ($async$errorCode === 1)
  8857. return A._asyncRethrow($async$result, $async$completer);
  8858. while (true)
  8859. switch ($async$goto) {
  8860. case 0:
  8861. // Function start
  8862. t1 = logger == null ? new A.StderrLogger(false) : logger;
  8863. t2 = type$.Deprecation;
  8864. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  8865. t3.addAll$1(0, fatalDeprecations);
  8866. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  8867. t4.addAll$1(0, futureDeprecations);
  8868. logger = new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.int), t1, t3, t4, !verbose);
  8869. t1 = syntax === A.Syntax_forPath(path);
  8870. $async$goto = t1 ? 3 : 5;
  8871. break;
  8872. case 3:
  8873. // then
  8874. t1 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  8875. t2 = self.process;
  8876. if (!J.$eq$(t2 == null ? null : J.get$platform$x(t2), "win32")) {
  8877. t2 = self.process;
  8878. t2 = J.$eq$(t2 == null ? null : J.get$platform$x(t2), "darwin");
  8879. } else
  8880. t2 = true;
  8881. if (t2) {
  8882. t2 = $.$get$context();
  8883. t3 = A._realCasePath(A.absolute(t2.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  8884. t0 = t3;
  8885. t3 = t2;
  8886. t2 = t0;
  8887. } else {
  8888. t2 = $.$get$context();
  8889. t3 = t2.canonicalize$1(0, path);
  8890. t0 = t3;
  8891. t3 = t2;
  8892. t2 = t0;
  8893. }
  8894. $async$goto = 6;
  8895. return A._asyncAwait(importCache.importCanonical$3$originalUrl(new A.FilesystemImporter(t1), t3.toUri$1(t2), t3.toUri$1(path)), $async$compileAsync);
  8896. case 6:
  8897. // returning from await.
  8898. t3 = $async$result;
  8899. t3.toString;
  8900. stylesheet = t3;
  8901. // goto join
  8902. $async$goto = 4;
  8903. break;
  8904. case 5:
  8905. // else
  8906. t1 = A.readFile(path);
  8907. stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, logger, $.$get$context().toUri$1(path));
  8908. case 4:
  8909. // join
  8910. $async$goto = 7;
  8911. 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);
  8912. case 7:
  8913. // returning from await.
  8914. result = $async$result;
  8915. logger.summarize$1$node(false);
  8916. $async$returnValue = result;
  8917. // goto return
  8918. $async$goto = 1;
  8919. break;
  8920. case 1:
  8921. // return
  8922. return A._asyncReturn($async$returnValue, $async$completer);
  8923. }
  8924. });
  8925. return A._asyncStartSync($async$compileAsync, $async$completer);
  8926. },
  8927. compileStringAsync(source, charset, fatalDeprecations, futureDeprecations, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
  8928. return A.compileStringAsync$body(source, charset, fatalDeprecations, futureDeprecations, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose);
  8929. },
  8930. compileStringAsync$body(source, charset, fatalDeprecations, futureDeprecations, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
  8931. var $async$goto = 0,
  8932. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  8933. $async$returnValue, t4, stylesheet, result, t1, t2, t3;
  8934. var $async$compileStringAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  8935. if ($async$errorCode === 1)
  8936. return A._asyncRethrow($async$result, $async$completer);
  8937. while (true)
  8938. switch ($async$goto) {
  8939. case 0:
  8940. // Function start
  8941. t1 = logger == null ? new A.StderrLogger(false) : logger;
  8942. t2 = type$.Deprecation;
  8943. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  8944. t3.addAll$1(0, fatalDeprecations);
  8945. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  8946. t4.addAll$1(0, futureDeprecations);
  8947. logger = new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.int), t1, t3, t4, !verbose);
  8948. stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, logger, null);
  8949. $async$goto = 3;
  8950. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, importer, null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileStringAsync);
  8951. case 3:
  8952. // returning from await.
  8953. result = $async$result;
  8954. logger.summarize$1$node(false);
  8955. $async$returnValue = result;
  8956. // goto return
  8957. $async$goto = 1;
  8958. break;
  8959. case 1:
  8960. // return
  8961. return A._asyncReturn($async$returnValue, $async$completer);
  8962. }
  8963. });
  8964. return A._asyncStartSync($async$compileStringAsync, $async$completer);
  8965. },
  8966. _compileStylesheet0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  8967. var $async$goto = 0,
  8968. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  8969. $async$returnValue, serializeResult, resultSourceMap, $async$temp1;
  8970. var $async$_compileStylesheet0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  8971. if ($async$errorCode === 1)
  8972. return A._asyncRethrow($async$result, $async$completer);
  8973. while (true)
  8974. switch ($async$goto) {
  8975. case 0:
  8976. // Function start
  8977. $async$temp1 = A;
  8978. $async$goto = 3;
  8979. return A._asyncAwait(A._EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet0);
  8980. case 3:
  8981. // returning from await.
  8982. serializeResult = $async$temp1.serialize($async$result.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, true);
  8983. resultSourceMap = serializeResult.sourceMap;
  8984. if (resultSourceMap != null && true)
  8985. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure0(stylesheet, importCache));
  8986. $async$returnValue = new A.CompileResult(serializeResult);
  8987. // goto return
  8988. $async$goto = 1;
  8989. break;
  8990. case 1:
  8991. // return
  8992. return A._asyncReturn($async$returnValue, $async$completer);
  8993. }
  8994. });
  8995. return A._asyncStartSync($async$_compileStylesheet0, $async$completer);
  8996. },
  8997. _compileStylesheet_closure0: function _compileStylesheet_closure0(t0, t1) {
  8998. this.stylesheet = t0;
  8999. this.importCache = t1;
  9000. },
  9001. AsyncEnvironment$() {
  9002. var t1 = type$.String,
  9003. t2 = type$.Module_AsyncCallable,
  9004. t3 = type$.AstNode,
  9005. t4 = type$.int,
  9006. t5 = type$.AsyncCallable,
  9007. t6 = type$.JSArray_Map_String_AsyncCallable;
  9008. 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);
  9009. },
  9010. AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  9011. var t1 = type$.String,
  9012. t2 = type$.int;
  9013. 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);
  9014. },
  9015. _EnvironmentModule__EnvironmentModule0(environment, css, extensionStore, forwarded) {
  9016. var t1, t2, t3, t4, t5, t6;
  9017. if (forwarded == null)
  9018. forwarded = B.Set_empty2;
  9019. t1 = A._EnvironmentModule__makeModulesByVariable0(forwarded);
  9020. 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);
  9021. 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);
  9022. t4 = type$.Map_String_AsyncCallable;
  9023. t5 = type$.AsyncCallable;
  9024. 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);
  9025. 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);
  9026. t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure9());
  9027. 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()));
  9028. },
  9029. _EnvironmentModule__makeModulesByVariable0(forwarded) {
  9030. var modulesByVariable, t1, t2, t3, t4, t5;
  9031. if (forwarded.get$isEmpty(forwarded))
  9032. return B.Map_empty4;
  9033. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable);
  9034. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  9035. t2 = t1.get$current(t1);
  9036. if (t2 instanceof A._EnvironmentModule0) {
  9037. for (t3 = t2._async_environment$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  9038. t4 = t3.get$current(t3);
  9039. t5 = t4.get$variables();
  9040. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  9041. }
  9042. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment$_environment._async_environment$_variables)), t2);
  9043. } else {
  9044. t3 = t2.get$variables();
  9045. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  9046. }
  9047. }
  9048. return modulesByVariable;
  9049. },
  9050. _EnvironmentModule__memberMap0(localMap, otherMaps, $V) {
  9051. var t1, t2, t3;
  9052. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  9053. if (otherMaps.get$isEmpty(otherMaps))
  9054. return localMap;
  9055. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  9056. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  9057. t3 = t2.get$current(t2);
  9058. if (t3.get$isNotEmpty(t3))
  9059. t1.push(t3);
  9060. }
  9061. t1.push(localMap);
  9062. if (t1.length === 1)
  9063. return localMap;
  9064. return A.MergedMapView$(t1, type$.String, $V);
  9065. },
  9066. _EnvironmentModule$_0(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  9067. return new A._EnvironmentModule0(_environment._async_environment$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  9068. },
  9069. AsyncEnvironment: function AsyncEnvironment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  9070. var _ = this;
  9071. _._async_environment$_modules = t0;
  9072. _._async_environment$_namespaceNodes = t1;
  9073. _._async_environment$_globalModules = t2;
  9074. _._async_environment$_importedModules = t3;
  9075. _._async_environment$_forwardedModules = t4;
  9076. _._async_environment$_nestedForwardedModules = t5;
  9077. _._async_environment$_allModules = t6;
  9078. _._async_environment$_variables = t7;
  9079. _._async_environment$_variableNodes = t8;
  9080. _._async_environment$_variableIndices = t9;
  9081. _._async_environment$_functions = t10;
  9082. _._async_environment$_functionIndices = t11;
  9083. _._async_environment$_mixins = t12;
  9084. _._async_environment$_mixinIndices = t13;
  9085. _._async_environment$_content = t14;
  9086. _._async_environment$_inMixin = false;
  9087. _._async_environment$_inSemiGlobalScope = true;
  9088. _._async_environment$_lastVariableIndex = _._async_environment$_lastVariableName = null;
  9089. },
  9090. AsyncEnvironment_importForwards_closure: function AsyncEnvironment_importForwards_closure() {
  9091. },
  9092. AsyncEnvironment_importForwards_closure0: function AsyncEnvironment_importForwards_closure0() {
  9093. },
  9094. AsyncEnvironment_importForwards_closure1: function AsyncEnvironment_importForwards_closure1() {
  9095. },
  9096. AsyncEnvironment__getVariableFromGlobalModule_closure: function AsyncEnvironment__getVariableFromGlobalModule_closure(t0) {
  9097. this.name = t0;
  9098. },
  9099. AsyncEnvironment_setVariable_closure: function AsyncEnvironment_setVariable_closure(t0, t1) {
  9100. this.$this = t0;
  9101. this.name = t1;
  9102. },
  9103. AsyncEnvironment_setVariable_closure0: function AsyncEnvironment_setVariable_closure0(t0) {
  9104. this.name = t0;
  9105. },
  9106. AsyncEnvironment_setVariable_closure1: function AsyncEnvironment_setVariable_closure1(t0, t1) {
  9107. this.$this = t0;
  9108. this.name = t1;
  9109. },
  9110. AsyncEnvironment__getFunctionFromGlobalModule_closure: function AsyncEnvironment__getFunctionFromGlobalModule_closure(t0) {
  9111. this.name = t0;
  9112. },
  9113. AsyncEnvironment__getMixinFromGlobalModule_closure: function AsyncEnvironment__getMixinFromGlobalModule_closure(t0) {
  9114. this.name = t0;
  9115. },
  9116. AsyncEnvironment_toModule_closure: function AsyncEnvironment_toModule_closure() {
  9117. },
  9118. AsyncEnvironment_toDummyModule_closure: function AsyncEnvironment_toDummyModule_closure() {
  9119. },
  9120. AsyncEnvironment__fromOneModule_closure: function AsyncEnvironment__fromOneModule_closure(t0, t1) {
  9121. this.callback = t0;
  9122. this.T = t1;
  9123. },
  9124. AsyncEnvironment__fromOneModule__closure: function AsyncEnvironment__fromOneModule__closure(t0, t1) {
  9125. this.entry = t0;
  9126. this.T = t1;
  9127. },
  9128. _EnvironmentModule0: function _EnvironmentModule0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
  9129. var _ = this;
  9130. _.upstream = t0;
  9131. _.variables = t1;
  9132. _.variableNodes = t2;
  9133. _.functions = t3;
  9134. _.mixins = t4;
  9135. _.extensionStore = t5;
  9136. _.css = t6;
  9137. _.transitivelyContainsCss = t7;
  9138. _.transitivelyContainsExtensions = t8;
  9139. _._async_environment$_environment = t9;
  9140. _._async_environment$_modulesByVariable = t10;
  9141. },
  9142. _EnvironmentModule__EnvironmentModule_closure5: function _EnvironmentModule__EnvironmentModule_closure5() {
  9143. },
  9144. _EnvironmentModule__EnvironmentModule_closure6: function _EnvironmentModule__EnvironmentModule_closure6() {
  9145. },
  9146. _EnvironmentModule__EnvironmentModule_closure7: function _EnvironmentModule__EnvironmentModule_closure7() {
  9147. },
  9148. _EnvironmentModule__EnvironmentModule_closure8: function _EnvironmentModule__EnvironmentModule_closure8() {
  9149. },
  9150. _EnvironmentModule__EnvironmentModule_closure9: function _EnvironmentModule__EnvironmentModule_closure9() {
  9151. },
  9152. _EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
  9153. },
  9154. AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
  9155. var t2, t3, t4, _i, path, _null = null,
  9156. sassPath = A.getEnvironmentVariable("SASS_PATH"),
  9157. t1 = self.process;
  9158. if (t1 == null) {
  9159. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  9160. return t1;
  9161. }
  9162. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  9163. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  9164. t3 = t2.get$current(t2);
  9165. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  9166. }
  9167. if (sassPath != null) {
  9168. t2 = self.process;
  9169. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  9170. t4 = t3.length;
  9171. _i = 0;
  9172. for (; _i < t4; ++_i) {
  9173. path = t3[_i];
  9174. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  9175. }
  9176. }
  9177. return t1;
  9178. },
  9179. AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5) {
  9180. var _ = this;
  9181. _._async_import_cache$_importers = t0;
  9182. _._async_import_cache$_logger = t1;
  9183. _._async_import_cache$_canonicalizeCache = t2;
  9184. _._async_import_cache$_relativeCanonicalizeCache = t3;
  9185. _._async_import_cache$_importCache = t4;
  9186. _._async_import_cache$_resultsCache = t5;
  9187. },
  9188. AsyncImportCache_canonicalize_closure: function AsyncImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
  9189. var _ = this;
  9190. _.$this = t0;
  9191. _.baseUrl = t1;
  9192. _.url = t2;
  9193. _.baseImporter = t3;
  9194. _.forImport = t4;
  9195. },
  9196. AsyncImportCache_canonicalize_closure0: function AsyncImportCache_canonicalize_closure0(t0, t1, t2) {
  9197. this.$this = t0;
  9198. this.url = t1;
  9199. this.forImport = t2;
  9200. },
  9201. AsyncImportCache__canonicalize_closure: function AsyncImportCache__canonicalize_closure(t0, t1) {
  9202. this.importer = t0;
  9203. this.url = t1;
  9204. },
  9205. AsyncImportCache_importCanonical_closure: function AsyncImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
  9206. var _ = this;
  9207. _.$this = t0;
  9208. _.importer = t1;
  9209. _.canonicalUrl = t2;
  9210. _.originalUrl = t3;
  9211. _.quiet = t4;
  9212. },
  9213. AsyncImportCache_humanize_closure: function AsyncImportCache_humanize_closure(t0) {
  9214. this.canonicalUrl = t0;
  9215. },
  9216. AsyncImportCache_humanize_closure0: function AsyncImportCache_humanize_closure0() {
  9217. },
  9218. AsyncImportCache_humanize_closure1: function AsyncImportCache_humanize_closure1() {
  9219. },
  9220. AsyncBuiltInCallable$mixin($name, $arguments, callback, url) {
  9221. return new A.AsyncBuiltInCallable($name, A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure(callback));
  9222. },
  9223. AsyncBuiltInCallable: function AsyncBuiltInCallable(t0, t1, t2) {
  9224. this.name = t0;
  9225. this._async_built_in$_arguments = t1;
  9226. this._async_built_in$_callback = t2;
  9227. },
  9228. AsyncBuiltInCallable$mixin_closure: function AsyncBuiltInCallable$mixin_closure(t0) {
  9229. this.callback = t0;
  9230. },
  9231. BuiltInCallable$function($name, $arguments, callback, url) {
  9232. 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));
  9233. },
  9234. BuiltInCallable$mixin($name, $arguments, callback, url) {
  9235. 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));
  9236. },
  9237. BuiltInCallable$overloadedFunction($name, overloads) {
  9238. var t2, t3, t4, t5, t6, t7, t8,
  9239. t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value);
  9240. 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();) {
  9241. t7 = t2.get$current(t2);
  9242. t8 = A.SpanScanner$(t4 + A.S(t7.key) + ") {", null);
  9243. t1.push(new A.Tuple2(new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t5, t6), t8, B.StderrLogger_false, null).parseArgumentDeclaration$0(), t7.value, t3));
  9244. }
  9245. return new A.BuiltInCallable($name, t1);
  9246. },
  9247. BuiltInCallable: function BuiltInCallable(t0, t1) {
  9248. this.name = t0;
  9249. this._overloads = t1;
  9250. },
  9251. BuiltInCallable$mixin_closure: function BuiltInCallable$mixin_closure(t0) {
  9252. this.callback = t0;
  9253. },
  9254. PlainCssCallable: function PlainCssCallable(t0) {
  9255. this.name = t0;
  9256. },
  9257. UserDefinedCallable: function UserDefinedCallable(t0, t1, t2, t3) {
  9258. var _ = this;
  9259. _.declaration = t0;
  9260. _.environment = t1;
  9261. _.inDependency = t2;
  9262. _.$ti = t3;
  9263. },
  9264. _compileStylesheet(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  9265. 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),
  9266. resultSourceMap = serializeResult.sourceMap;
  9267. if (resultSourceMap != null && true)
  9268. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure(stylesheet, importCache));
  9269. return new A.CompileResult(serializeResult);
  9270. },
  9271. _compileStylesheet_closure: function _compileStylesheet_closure(t0, t1) {
  9272. this.stylesheet = t0;
  9273. this.importCache = t1;
  9274. },
  9275. CompileResult: function CompileResult(t0) {
  9276. this._serialize = t0;
  9277. },
  9278. Configuration: function Configuration(t0, t1) {
  9279. this._values = t0;
  9280. this.__originalConfiguration = t1;
  9281. },
  9282. Configuration_toString_closure: function Configuration_toString_closure() {
  9283. },
  9284. ExplicitConfiguration: function ExplicitConfiguration(t0, t1, t2) {
  9285. this.nodeWithSpan = t0;
  9286. this._values = t1;
  9287. this.__originalConfiguration = t2;
  9288. },
  9289. ConfiguredValue: function ConfiguredValue(t0, t1, t2) {
  9290. this.value = t0;
  9291. this.configurationSpan = t1;
  9292. this.assignmentNode = t2;
  9293. },
  9294. Deprecation_fromId(id) {
  9295. return A.IterableExtension_firstWhereOrNull(B.List_2vP, new A.Deprecation_fromId_closure(id));
  9296. },
  9297. Deprecation_forVersion(version) {
  9298. var t2, _i, deprecation, $self, t3,
  9299. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  9300. for (t2 = new A.VersionRange(null, version, false, true).get$allows(), _i = 0; _i < 13; ++_i) {
  9301. deprecation = B.List_2vP[_i];
  9302. $self = deprecation._deprecatedIn;
  9303. if ($self == null)
  9304. t3 = null;
  9305. else
  9306. t3 = A.Version___parse_tearOff($self);
  9307. if (t3 == null)
  9308. t3 = null;
  9309. else
  9310. t3 = t2.call$1(t3);
  9311. if (t3 == null ? false : t3)
  9312. t1.add$1(0, deprecation);
  9313. }
  9314. return t1;
  9315. },
  9316. Deprecation: function Deprecation(t0, t1, t2, t3, t4) {
  9317. var _ = this;
  9318. _.id = t0;
  9319. _._deprecatedIn = t1;
  9320. _.description = t2;
  9321. _.isFuture = t3;
  9322. _._name = t4;
  9323. },
  9324. Deprecation_fromId_closure: function Deprecation_fromId_closure(t0) {
  9325. this.id = t0;
  9326. },
  9327. Environment$() {
  9328. var t1 = type$.String,
  9329. t2 = type$.Module_Callable,
  9330. t3 = type$.AstNode,
  9331. t4 = type$.int,
  9332. t5 = type$.Callable,
  9333. t6 = type$.JSArray_Map_String_Callable;
  9334. 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);
  9335. },
  9336. Environment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  9337. var t1 = type$.String,
  9338. t2 = type$.int;
  9339. 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);
  9340. },
  9341. _EnvironmentModule__EnvironmentModule(environment, css, extensionStore, forwarded) {
  9342. var t1, t2, t3, t4, t5, t6;
  9343. if (forwarded == null)
  9344. forwarded = B.Set_empty0;
  9345. t1 = A._EnvironmentModule__makeModulesByVariable(forwarded);
  9346. 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);
  9347. 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);
  9348. t4 = type$.Map_String_Callable;
  9349. t5 = type$.Callable;
  9350. t6 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure1(), t4), t5);
  9351. t5 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure2(), t4), t5);
  9352. t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure3());
  9353. 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()));
  9354. },
  9355. _EnvironmentModule__makeModulesByVariable(forwarded) {
  9356. var modulesByVariable, t1, t2, t3, t4, t5;
  9357. if (forwarded.get$isEmpty(forwarded))
  9358. return B.Map_empty;
  9359. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable);
  9360. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  9361. t2 = t1.get$current(t1);
  9362. if (t2 instanceof A._EnvironmentModule) {
  9363. for (t3 = t2._modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  9364. t4 = t3.get$current(t3);
  9365. t5 = t4.get$variables();
  9366. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  9367. }
  9368. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment$_environment._variables)), t2);
  9369. } else {
  9370. t3 = t2.get$variables();
  9371. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  9372. }
  9373. }
  9374. return modulesByVariable;
  9375. },
  9376. _EnvironmentModule__memberMap(localMap, otherMaps, $V) {
  9377. var t1, t2, t3;
  9378. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  9379. if (otherMaps.get$isEmpty(otherMaps))
  9380. return localMap;
  9381. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  9382. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  9383. t3 = t2.get$current(t2);
  9384. if (t3.get$isNotEmpty(t3))
  9385. t1.push(t3);
  9386. }
  9387. t1.push(localMap);
  9388. if (t1.length === 1)
  9389. return localMap;
  9390. return A.MergedMapView$(t1, type$.String, $V);
  9391. },
  9392. _EnvironmentModule$_(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  9393. return new A._EnvironmentModule(_environment._allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  9394. },
  9395. Environment: function Environment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  9396. var _ = this;
  9397. _._environment$_modules = t0;
  9398. _._namespaceNodes = t1;
  9399. _._globalModules = t2;
  9400. _._importedModules = t3;
  9401. _._forwardedModules = t4;
  9402. _._nestedForwardedModules = t5;
  9403. _._allModules = t6;
  9404. _._variables = t7;
  9405. _._variableNodes = t8;
  9406. _._variableIndices = t9;
  9407. _._functions = t10;
  9408. _._functionIndices = t11;
  9409. _._mixins = t12;
  9410. _._mixinIndices = t13;
  9411. _._content = t14;
  9412. _._inMixin = false;
  9413. _._inSemiGlobalScope = true;
  9414. _._lastVariableIndex = _._lastVariableName = null;
  9415. },
  9416. Environment_importForwards_closure: function Environment_importForwards_closure() {
  9417. },
  9418. Environment_importForwards_closure0: function Environment_importForwards_closure0() {
  9419. },
  9420. Environment_importForwards_closure1: function Environment_importForwards_closure1() {
  9421. },
  9422. Environment__getVariableFromGlobalModule_closure: function Environment__getVariableFromGlobalModule_closure(t0) {
  9423. this.name = t0;
  9424. },
  9425. Environment_setVariable_closure: function Environment_setVariable_closure(t0, t1) {
  9426. this.$this = t0;
  9427. this.name = t1;
  9428. },
  9429. Environment_setVariable_closure0: function Environment_setVariable_closure0(t0) {
  9430. this.name = t0;
  9431. },
  9432. Environment_setVariable_closure1: function Environment_setVariable_closure1(t0, t1) {
  9433. this.$this = t0;
  9434. this.name = t1;
  9435. },
  9436. Environment__getFunctionFromGlobalModule_closure: function Environment__getFunctionFromGlobalModule_closure(t0) {
  9437. this.name = t0;
  9438. },
  9439. Environment__getMixinFromGlobalModule_closure: function Environment__getMixinFromGlobalModule_closure(t0) {
  9440. this.name = t0;
  9441. },
  9442. Environment_toModule_closure: function Environment_toModule_closure() {
  9443. },
  9444. Environment_toDummyModule_closure: function Environment_toDummyModule_closure() {
  9445. },
  9446. Environment__fromOneModule_closure: function Environment__fromOneModule_closure(t0, t1) {
  9447. this.callback = t0;
  9448. this.T = t1;
  9449. },
  9450. Environment__fromOneModule__closure: function Environment__fromOneModule__closure(t0, t1) {
  9451. this.entry = t0;
  9452. this.T = t1;
  9453. },
  9454. _EnvironmentModule: function _EnvironmentModule(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
  9455. var _ = this;
  9456. _.upstream = t0;
  9457. _.variables = t1;
  9458. _.variableNodes = t2;
  9459. _.functions = t3;
  9460. _.mixins = t4;
  9461. _.extensionStore = t5;
  9462. _.css = t6;
  9463. _.transitivelyContainsCss = t7;
  9464. _.transitivelyContainsExtensions = t8;
  9465. _._environment$_environment = t9;
  9466. _._modulesByVariable = t10;
  9467. },
  9468. _EnvironmentModule__EnvironmentModule_closure: function _EnvironmentModule__EnvironmentModule_closure() {
  9469. },
  9470. _EnvironmentModule__EnvironmentModule_closure0: function _EnvironmentModule__EnvironmentModule_closure0() {
  9471. },
  9472. _EnvironmentModule__EnvironmentModule_closure1: function _EnvironmentModule__EnvironmentModule_closure1() {
  9473. },
  9474. _EnvironmentModule__EnvironmentModule_closure2: function _EnvironmentModule__EnvironmentModule_closure2() {
  9475. },
  9476. _EnvironmentModule__EnvironmentModule_closure3: function _EnvironmentModule__EnvironmentModule_closure3() {
  9477. },
  9478. _EnvironmentModule__EnvironmentModule_closure4: function _EnvironmentModule__EnvironmentModule_closure4() {
  9479. },
  9480. SassException$(message, span, loadedUrls) {
  9481. return new A.SassException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  9482. },
  9483. MultiSpanSassException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  9484. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  9485. return new A.MultiSpanSassException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  9486. },
  9487. SassRuntimeException$(message, span, trace, loadedUrls) {
  9488. return new A.SassRuntimeException(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  9489. },
  9490. MultiSpanSassRuntimeException$(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  9491. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  9492. return new A.MultiSpanSassRuntimeException(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  9493. },
  9494. SassFormatException$(message, span, loadedUrls) {
  9495. return new A.SassFormatException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  9496. },
  9497. MultiSpanSassFormatException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  9498. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  9499. return new A.MultiSpanSassFormatException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  9500. },
  9501. SassScriptException$(message, argumentName) {
  9502. return new A.SassScriptException(argumentName == null ? message : "$" + argumentName + ": " + message);
  9503. },
  9504. MultiSpanSassScriptException$(message, primaryLabel, secondarySpans) {
  9505. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  9506. return new A.MultiSpanSassScriptException(primaryLabel, t1, message);
  9507. },
  9508. SassException: function SassException(t0, t1, t2) {
  9509. this.loadedUrls = t0;
  9510. this._span_exception$_message = t1;
  9511. this._span = t2;
  9512. },
  9513. MultiSpanSassException: function MultiSpanSassException(t0, t1, t2, t3, t4) {
  9514. var _ = this;
  9515. _.primaryLabel = t0;
  9516. _.secondarySpans = t1;
  9517. _.loadedUrls = t2;
  9518. _._span_exception$_message = t3;
  9519. _._span = t4;
  9520. },
  9521. SassRuntimeException: function SassRuntimeException(t0, t1, t2, t3) {
  9522. var _ = this;
  9523. _.trace = t0;
  9524. _.loadedUrls = t1;
  9525. _._span_exception$_message = t2;
  9526. _._span = t3;
  9527. },
  9528. MultiSpanSassRuntimeException: function MultiSpanSassRuntimeException(t0, t1, t2, t3, t4, t5) {
  9529. var _ = this;
  9530. _.trace = t0;
  9531. _.primaryLabel = t1;
  9532. _.secondarySpans = t2;
  9533. _.loadedUrls = t3;
  9534. _._span_exception$_message = t4;
  9535. _._span = t5;
  9536. },
  9537. SassFormatException: function SassFormatException(t0, t1, t2) {
  9538. this.loadedUrls = t0;
  9539. this._span_exception$_message = t1;
  9540. this._span = t2;
  9541. },
  9542. MultiSpanSassFormatException: function MultiSpanSassFormatException(t0, t1, t2, t3, t4) {
  9543. var _ = this;
  9544. _.primaryLabel = t0;
  9545. _.secondarySpans = t1;
  9546. _.loadedUrls = t2;
  9547. _._span_exception$_message = t3;
  9548. _._span = t4;
  9549. },
  9550. SassScriptException: function SassScriptException(t0) {
  9551. this.message = t0;
  9552. },
  9553. MultiSpanSassScriptException: function MultiSpanSassScriptException(t0, t1, t2) {
  9554. this.primaryLabel = t0;
  9555. this.secondarySpans = t1;
  9556. this.message = t2;
  9557. },
  9558. compileStylesheet(options, graph, source, destination, ifModified) {
  9559. return A.compileStylesheet$body(options, graph, source, destination, ifModified);
  9560. },
  9561. compileStylesheet$body(options, graph, source, destination, ifModified) {
  9562. var $async$goto = 0,
  9563. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  9564. $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;
  9565. var $async$compileStylesheet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  9566. if ($async$errorCode === 1) {
  9567. $async$currentError = $async$result;
  9568. $async$goto = $async$handler;
  9569. }
  9570. while (true)
  9571. switch ($async$goto) {
  9572. case 0:
  9573. // Function start
  9574. importer = new A.FilesystemImporter(A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  9575. if (ifModified)
  9576. try {
  9577. if (source != null && destination != null && !graph.modifiedSince$3($.$get$context().toUri$1(source), A.modificationTime(destination), importer)) {
  9578. // goto return
  9579. $async$goto = 1;
  9580. break;
  9581. }
  9582. } catch (exception) {
  9583. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  9584. throw exception;
  9585. }
  9586. syntax = null;
  9587. if (A._asBoolQ(options._ifParsed$1("indented")) === true)
  9588. syntax = B.Syntax_Sass_sass;
  9589. else if (source != null)
  9590. syntax = A.Syntax_forPath(source);
  9591. else
  9592. syntax = B.Syntax_SCSS_scss;
  9593. result = null;
  9594. $async$handler = 4;
  9595. t1 = options._options;
  9596. $async$goto = A._asBool(t1.$index(0, "async")) ? 7 : 9;
  9597. break;
  9598. case 7:
  9599. // then
  9600. t2 = type$.List_String._as(t1.$index(0, "load-path"));
  9601. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9602. t4 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri;
  9603. t5 = type$.Uri;
  9604. t2 = A.AsyncImportCache__toImporters(null, t2, null);
  9605. 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));
  9606. $async$goto = source == null ? 10 : 12;
  9607. break;
  9608. case 10:
  9609. // then
  9610. $async$goto = 13;
  9611. return A._asyncAwait(A.readStdin(), $async$compileStylesheet);
  9612. case 13:
  9613. // returning from await.
  9614. t2 = $async$result;
  9615. t3 = syntax;
  9616. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9617. t5 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  9618. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  9619. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  9620. t8 = A._asBool(t1.$index(0, "verbose"));
  9621. t9 = options.get$emitSourceMap();
  9622. $async$goto = 14;
  9623. 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);
  9624. case 14:
  9625. // returning from await.
  9626. result0 = $async$result;
  9627. // goto join
  9628. $async$goto = 11;
  9629. break;
  9630. case 12:
  9631. // else
  9632. t2 = syntax;
  9633. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9634. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  9635. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  9636. t6 = A._asBool(t1.$index(0, "verbose"));
  9637. t7 = options.get$emitSourceMap();
  9638. $async$goto = 15;
  9639. 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);
  9640. case 15:
  9641. // returning from await.
  9642. result0 = $async$result;
  9643. case 11:
  9644. // join
  9645. result = result0;
  9646. // goto join
  9647. $async$goto = 8;
  9648. break;
  9649. case 9:
  9650. // else
  9651. $async$goto = source == null ? 16 : 18;
  9652. break;
  9653. case 16:
  9654. // then
  9655. $async$goto = 19;
  9656. return A._asyncAwait(A.readStdin(), $async$compileStylesheet);
  9657. case 19:
  9658. // returning from await.
  9659. t2 = $async$result;
  9660. t3 = syntax;
  9661. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9662. t5 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  9663. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  9664. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  9665. t8 = A._asBool(t1.$index(0, "verbose"));
  9666. t9 = options.get$emitSourceMap();
  9667. t1 = A._asBool(t1.$index(0, "charset"));
  9668. t10 = options.get$fatalDeprecations();
  9669. t11 = options.get$futureDeprecations();
  9670. t12 = type$.Deprecation;
  9671. t13 = A.LinkedHashSet_LinkedHashSet$_empty(t12);
  9672. t13.addAll$1(0, t10);
  9673. t10 = A.LinkedHashSet_LinkedHashSet$_empty(t12);
  9674. t10.addAll$1(0, t11);
  9675. logger = new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t12, type$.int), t4, t13, t10, !t8);
  9676. stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS_scss : t3, logger, null);
  9677. result0 = A._compileStylesheet(stylesheet, logger, graph.importCache, null, new A.FilesystemImporter(t5), null, t6, true, null, null, t7, t9, t1);
  9678. logger.summarize$1$node(false);
  9679. // goto join
  9680. $async$goto = 17;
  9681. break;
  9682. case 18:
  9683. // else
  9684. t2 = syntax;
  9685. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9686. importCache = graph.importCache;
  9687. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  9688. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  9689. t6 = A._asBool(t1.$index(0, "verbose"));
  9690. t7 = options.get$emitSourceMap();
  9691. t1 = A._asBool(t1.$index(0, "charset"));
  9692. t8 = options.get$fatalDeprecations();
  9693. t9 = options.get$futureDeprecations();
  9694. t10 = type$.Deprecation;
  9695. t11 = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  9696. t11.addAll$1(0, t8);
  9697. t8 = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  9698. t8.addAll$1(0, t9);
  9699. logger = new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t10, type$.int), t3, t11, t8, !t6);
  9700. t3 = t2 == null || t2 === A.Syntax_forPath(source);
  9701. if (t3) {
  9702. t2 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  9703. t3 = self.process;
  9704. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  9705. t3 = self.process;
  9706. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  9707. } else
  9708. t3 = true;
  9709. if (t3) {
  9710. t3 = $.$get$context();
  9711. t6 = A._realCasePath(A.absolute(t3.normalize$1(source), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  9712. t0 = t6;
  9713. t6 = t3;
  9714. t3 = t0;
  9715. } else {
  9716. t3 = $.$get$context();
  9717. t6 = t3.canonicalize$1(0, source);
  9718. t0 = t6;
  9719. t6 = t3;
  9720. t3 = t0;
  9721. }
  9722. t6 = importCache.importCanonical$3$originalUrl(new A.FilesystemImporter(t2), t6.toUri$1(t3), t6.toUri$1(source));
  9723. t6.toString;
  9724. stylesheet = t6;
  9725. } else {
  9726. t3 = A.readFile(source);
  9727. if (t2 == null)
  9728. t2 = A.Syntax_forPath(source);
  9729. stylesheet = A.Stylesheet_Stylesheet$parse(t3, t2, logger, $.$get$context().toUri$1(source));
  9730. }
  9731. 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);
  9732. logger.summarize$1$node(false);
  9733. case 17:
  9734. // join
  9735. result = result0;
  9736. case 8:
  9737. // join
  9738. $async$handler = 2;
  9739. // goto after finally
  9740. $async$goto = 6;
  9741. break;
  9742. case 4:
  9743. // catch
  9744. $async$handler = 3;
  9745. $async$exception = $async$currentError;
  9746. t1 = A.unwrapException($async$exception);
  9747. if (t1 instanceof A.SassException) {
  9748. error = t1;
  9749. if (options.get$emitErrorCss())
  9750. if (destination == null)
  9751. A.print(error.toCssString$0());
  9752. else {
  9753. A.ensureDir($.$get$context().dirname$1(destination));
  9754. A.writeFile(destination, error.toCssString$0() + "\n");
  9755. }
  9756. throw $async$exception;
  9757. } else
  9758. throw $async$exception;
  9759. // goto after finally
  9760. $async$goto = 6;
  9761. break;
  9762. case 3:
  9763. // uncaught
  9764. // goto rethrow
  9765. $async$goto = 2;
  9766. break;
  9767. case 6:
  9768. // after finally
  9769. css = result._serialize.css + A._writeSourceMap(options, result._serialize.sourceMap, destination);
  9770. if (destination == null) {
  9771. if (css.length !== 0)
  9772. A.print(css);
  9773. } else {
  9774. A.ensureDir($.$get$context().dirname$1(destination));
  9775. A.writeFile(destination, css + "\n");
  9776. }
  9777. t1 = options._options;
  9778. if (!A._asBool(t1.$index(0, "quiet")))
  9779. t1 = !A._asBool(t1.$index(0, "update")) && !A._asBool(t1.$index(0, "watch"));
  9780. else
  9781. t1 = true;
  9782. if (t1) {
  9783. // goto return
  9784. $async$goto = 1;
  9785. break;
  9786. }
  9787. buffer = new A.StringBuffer("");
  9788. if (source == null)
  9789. sourceName = "stdin";
  9790. else {
  9791. t1 = $.$get$context();
  9792. sourceName = t1.prettyUri$1(t1.toUri$1(source));
  9793. }
  9794. destination.toString;
  9795. t1 = $.$get$context();
  9796. destinationName = t1.prettyUri$1(t1.toUri$1(destination));
  9797. nowStr = new A.DateTime(Date.now(), false).toString$0(0);
  9798. timestamp = B.JSString_methods.substring$2(nowStr, 0, nowStr.length - 7);
  9799. t1 = options.get$color() ? buffer._contents = "" + "\x1b[90m" : "";
  9800. t1 = buffer._contents = t1 + ("[" + timestamp + "] ");
  9801. if (options.get$color())
  9802. t1 = buffer._contents = t1 + "\x1b[32m";
  9803. t1 += "Compiled " + sourceName + " to " + destinationName + ".";
  9804. buffer._contents = t1;
  9805. if (options.get$color())
  9806. buffer._contents = t1 + "\x1b[0m";
  9807. A.print(buffer);
  9808. case 1:
  9809. // return
  9810. return A._asyncReturn($async$returnValue, $async$completer);
  9811. case 2:
  9812. // rethrow
  9813. return A._asyncRethrow($async$currentError, $async$completer);
  9814. }
  9815. });
  9816. return A._asyncStartSync($async$compileStylesheet, $async$completer);
  9817. },
  9818. _writeSourceMap(options, sourceMap, destination) {
  9819. var t1, sourceMapText, url, sourceMapPath, t2, escapedUrl;
  9820. if (sourceMap == null)
  9821. return "";
  9822. if (destination != null) {
  9823. t1 = $.$get$context();
  9824. sourceMap.targetUrl = t1.toUri$1(A.ParsedPath_ParsedPath$parse(destination, t1.style).get$basename()).toString$0(0);
  9825. }
  9826. A.mapInPlace(sourceMap.urls, new A._writeSourceMap_closure(options, destination));
  9827. t1 = options._options;
  9828. sourceMapText = B.C_JsonCodec.encode$2$toEncodable(sourceMap.toJson$1$includeSourceContents(A._asBool(t1.$index(0, "embed-sources"))), null);
  9829. if (A._asBool(t1.$index(0, "embed-source-map")))
  9830. url = A.Uri_Uri$dataFromString(sourceMapText, B.C_Utf8Codec, "application/json");
  9831. else {
  9832. destination.toString;
  9833. sourceMapPath = destination + ".map";
  9834. t2 = $.$get$context();
  9835. A.ensureDir(t2.dirname$1(sourceMapPath));
  9836. A.writeFile(sourceMapPath, sourceMapText);
  9837. url = t2.toUri$1(t2.relative$2$from(sourceMapPath, t2.dirname$1(destination)));
  9838. }
  9839. t2 = url.toString$0(0);
  9840. escapedUrl = A.stringReplaceAllUnchecked(t2, "*/", "%2A/");
  9841. t1 = (J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0) === B.OutputStyle_1 ? "" : "\n\n";
  9842. return t1 + ("/*# sourceMappingURL=" + escapedUrl + " */");
  9843. },
  9844. _writeSourceMap_closure: function _writeSourceMap_closure(t0, t1) {
  9845. this.options = t0;
  9846. this.destination = t1;
  9847. },
  9848. ExecutableOptions__separator(text) {
  9849. var t1 = $.$get$ExecutableOptions__separatorBar(),
  9850. t2 = B.JSString_methods.$mul(t1, 3),
  9851. t3 = A.hasTerminal() ? "\x1b[1m" : "",
  9852. t4 = A.hasTerminal() ? "\x1b[0m" : "";
  9853. return t2 + " " + t3 + text + t4 + " " + B.JSString_methods.$mul(t1, 35 - text.length);
  9854. },
  9855. ExecutableOptions__fail(message) {
  9856. return A.throwExpression(A.UsageException$(message));
  9857. },
  9858. ExecutableOptions_ExecutableOptions$parse(args) {
  9859. var options, error, t1, exception;
  9860. try {
  9861. t1 = A.Parser$(null, $.$get$ExecutableOptions__parser(), A.ListQueue_ListQueue$of(args, type$.String), null, null).parse$0();
  9862. if (t1.wasParsed$1("poll") && !A._asBool(t1.$index(0, "watch")))
  9863. A.ExecutableOptions__fail("--poll may not be passed without --watch.");
  9864. options = new A.ExecutableOptions(t1);
  9865. if (A._asBool(options._options.$index(0, "help")))
  9866. A.ExecutableOptions__fail("Compile Sass to CSS.");
  9867. return options;
  9868. } catch (exception) {
  9869. t1 = A.unwrapException(exception);
  9870. if (type$.FormatException._is(t1)) {
  9871. error = t1;
  9872. A.ExecutableOptions__fail(J.get$message$x(error));
  9873. } else
  9874. throw exception;
  9875. }
  9876. },
  9877. UsageException$(message) {
  9878. return new A.UsageException(message);
  9879. },
  9880. ExecutableOptions: function ExecutableOptions(t0) {
  9881. var _ = this;
  9882. _._options = t0;
  9883. _.__ExecutableOptions_interactive_FI = $;
  9884. _._sourcesToDestinations = null;
  9885. _.__ExecutableOptions__sourceDirectoriesToDestinations_F = $;
  9886. _._fatalDeprecations = null;
  9887. },
  9888. ExecutableOptions__parser_closure: function ExecutableOptions__parser_closure() {
  9889. },
  9890. ExecutableOptions_interactive_closure: function ExecutableOptions_interactive_closure(t0) {
  9891. this.$this = t0;
  9892. },
  9893. ExecutableOptions_emitErrorCss_closure: function ExecutableOptions_emitErrorCss_closure() {
  9894. },
  9895. ExecutableOptions_fatalDeprecations_closure: function ExecutableOptions_fatalDeprecations_closure(t0) {
  9896. this.$this = t0;
  9897. },
  9898. UsageException: function UsageException(t0) {
  9899. this.message = t0;
  9900. },
  9901. watch(options, graph) {
  9902. return A.watch$body(options, graph);
  9903. },
  9904. watch$body(options, graph) {
  9905. var $async$goto = 0,
  9906. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  9907. $async$returnValue, t1, t2, t3, t4, t5, t6, dirWatcher, watcher, t7;
  9908. var $async$watch = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  9909. if ($async$errorCode === 1)
  9910. return A._asyncRethrow($async$result, $async$completer);
  9911. while (true)
  9912. switch ($async$goto) {
  9913. case 0:
  9914. // Function start
  9915. options._ensureSources$0();
  9916. t1 = options.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  9917. t1 === $ && A.throwUnnamedLateFieldNI();
  9918. t2 = type$.String;
  9919. t1 = t1.cast$2$0(0, t2, t2);
  9920. t1 = A.List_List$of(t1.get$keys(t1), true, t2);
  9921. 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();) {
  9922. t4 = t3.get$current(t3);
  9923. t1.push($.$get$context().dirname$1(t4));
  9924. }
  9925. t3 = options._options;
  9926. B.JSArray_methods.addAll$1(t1, type$.List_String._as(t3.$index(0, "load-path")));
  9927. t4 = A._asBool(t3.$index(0, "poll"));
  9928. t5 = type$.Stream_WatchEvent;
  9929. t6 = A.PathMap__create(null, t5);
  9930. t5 = new A.StreamGroup(B._StreamGroupState_dormant, A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_StreamSubscription_WatchEvent), type$.StreamGroup_WatchEvent);
  9931. t5.__StreamGroup__controller_A = A.StreamController_StreamController(t5.get$_onCancel(), t5.get$_onListen(), t5.get$_onPause(), t5.get$_onResume(), true, type$.WatchEvent);
  9932. dirWatcher = new A.MultiDirWatcher(new A.PathMap(t6, type$.PathMap_Stream_WatchEvent), t5, t4);
  9933. $async$goto = 3;
  9934. 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);
  9935. case 3:
  9936. // returning from await.
  9937. watcher = new A._Watcher(options, graph);
  9938. options._ensureSources$0(), t1 = options._sourcesToDestinations.cast$2$0(0, t2, t2), t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
  9939. case 4:
  9940. // for condition
  9941. if (!t1.moveNext$0()) {
  9942. // goto after for
  9943. $async$goto = 5;
  9944. break;
  9945. }
  9946. t2 = t1.get$current(t1);
  9947. t4 = $.$get$context();
  9948. t5 = t4.absolute$15(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  9949. t6 = t2.key;
  9950. t7 = self.process;
  9951. if (!J.$eq$(t7 == null ? null : J.get$platform$x(t7), "win32")) {
  9952. t7 = self.process;
  9953. t7 = J.$eq$(t7 == null ? null : J.get$platform$x(t7), "darwin");
  9954. } else
  9955. t7 = true;
  9956. graph.addCanonical$4$recanonicalize(new A.FilesystemImporter(t5), t4.toUri$1(t7 ? 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);
  9957. $async$goto = 6;
  9958. return A._asyncAwait(watcher.compile$3$ifModified(0, t6, t2.value, true), $async$watch);
  9959. case 6:
  9960. // returning from await.
  9961. if (!$async$result && A._asBool(t3.$index(0, "stop-on-error"))) {
  9962. t1 = dirWatcher._group.__StreamGroup__controller_A;
  9963. t1 === $ && A.throwUnnamedLateFieldNI();
  9964. t1._subscribe$4(null, null, null, false).cancel$0();
  9965. // goto return
  9966. $async$goto = 1;
  9967. break;
  9968. }
  9969. // goto for condition
  9970. $async$goto = 4;
  9971. break;
  9972. case 5:
  9973. // after for
  9974. A.print("Sass is watching for changes. Press Ctrl-C to stop.\n");
  9975. $async$goto = 7;
  9976. return A._asyncAwait(watcher.watch$1(0, dirWatcher), $async$watch);
  9977. case 7:
  9978. // returning from await.
  9979. case 1:
  9980. // return
  9981. return A._asyncReturn($async$returnValue, $async$completer);
  9982. }
  9983. });
  9984. return A._asyncStartSync($async$watch, $async$completer);
  9985. },
  9986. watch_closure: function watch_closure(t0) {
  9987. this.dirWatcher = t0;
  9988. },
  9989. _Watcher: function _Watcher(t0, t1) {
  9990. this._watch$_options = t0;
  9991. this._graph = t1;
  9992. },
  9993. _Watcher__debounceEvents_closure: function _Watcher__debounceEvents_closure() {
  9994. },
  9995. EmptyExtensionStore: function EmptyExtensionStore() {
  9996. },
  9997. Extension: function Extension(t0, t1, t2, t3, t4) {
  9998. var _ = this;
  9999. _.extender = t0;
  10000. _.target = t1;
  10001. _.mediaContext = t2;
  10002. _.isOptional = t3;
  10003. _.span = t4;
  10004. },
  10005. Extender: function Extender(t0, t1) {
  10006. this.selector = t0;
  10007. this.isOriginal = t1;
  10008. this._extension = null;
  10009. },
  10010. ExtensionStore__extendOrReplace(selector, source, targets, mode, span) {
  10011. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, t9, compound, t10, t11, _i0, simple, t12, _i1, t13, t14,
  10012. extender = A.ExtensionStore$_mode(mode);
  10013. if (!selector.accept$1(B._IsInvisibleVisitor_true))
  10014. extender._originals.addAll$1(0, selector.components);
  10015. 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) {
  10016. complex = t1[_i];
  10017. if (complex.leadingCombinators.length === 0) {
  10018. t9 = complex.components;
  10019. t9 = t9.length === 1 && B.JSArray_methods.get$first(t9).combinators.length === 0;
  10020. } else
  10021. t9 = false;
  10022. compound = t9 ? B.JSArray_methods.get$first(complex.components).selector : null;
  10023. if (compound == null)
  10024. throw A.wrapException(A.SassScriptException$("Can't extend complex selector " + A.S(complex) + ".", null));
  10025. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  10026. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  10027. simple = t10[_i0];
  10028. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  10029. for (_i1 = 0; _i1 < t4; ++_i1) {
  10030. complex = t3[_i1];
  10031. complex.get$specificity();
  10032. t13 = new A.Extender(complex, false);
  10033. t14 = new A.Extension(t13, simple, null, true, span);
  10034. t13._extension = t14;
  10035. t12.$indexSet(0, complex, t14);
  10036. }
  10037. t9.$indexSet(0, simple, t12);
  10038. }
  10039. selector = extender._extendList$2(selector, t9);
  10040. }
  10041. return selector;
  10042. },
  10043. ExtensionStore$() {
  10044. var t1 = type$.SimpleSelector;
  10045. 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);
  10046. },
  10047. ExtensionStore$_mode(_mode) {
  10048. var t1 = type$.SimpleSelector;
  10049. 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);
  10050. },
  10051. ExtensionStore: function ExtensionStore(t0, t1, t2, t3, t4, t5, t6) {
  10052. var _ = this;
  10053. _._selectors = t0;
  10054. _._extensions = t1;
  10055. _._extensionsByExtender = t2;
  10056. _._mediaContexts = t3;
  10057. _._sourceSpecificity = t4;
  10058. _._originals = t5;
  10059. _._mode = t6;
  10060. },
  10061. ExtensionStore_extensionsWhereTarget_closure: function ExtensionStore_extensionsWhereTarget_closure() {
  10062. },
  10063. ExtensionStore__registerSelector_closure: function ExtensionStore__registerSelector_closure() {
  10064. },
  10065. ExtensionStore_addExtension_closure: function ExtensionStore_addExtension_closure() {
  10066. },
  10067. ExtensionStore_addExtension_closure0: function ExtensionStore_addExtension_closure0() {
  10068. },
  10069. ExtensionStore_addExtension_closure1: function ExtensionStore_addExtension_closure1(t0) {
  10070. this.complex = t0;
  10071. },
  10072. ExtensionStore__extendExistingExtensions_closure: function ExtensionStore__extendExistingExtensions_closure() {
  10073. },
  10074. ExtensionStore__extendExistingExtensions_closure0: function ExtensionStore__extendExistingExtensions_closure0() {
  10075. },
  10076. ExtensionStore_addExtensions_closure: function ExtensionStore_addExtensions_closure(t0, t1) {
  10077. this._box_0 = t0;
  10078. this.$this = t1;
  10079. },
  10080. ExtensionStore_addExtensions__closure1: function ExtensionStore_addExtensions__closure1(t0, t1, t2, t3, t4) {
  10081. var _ = this;
  10082. _._box_0 = t0;
  10083. _.existingSources = t1;
  10084. _.extensionsForTarget = t2;
  10085. _.selectorsForTarget = t3;
  10086. _.target = t4;
  10087. },
  10088. ExtensionStore_addExtensions___closure: function ExtensionStore_addExtensions___closure() {
  10089. },
  10090. ExtensionStore_addExtensions_closure0: function ExtensionStore_addExtensions_closure0(t0, t1) {
  10091. this._box_0 = t0;
  10092. this.$this = t1;
  10093. },
  10094. ExtensionStore_addExtensions__closure: function ExtensionStore_addExtensions__closure(t0, t1) {
  10095. this.$this = t0;
  10096. this.newExtensions = t1;
  10097. },
  10098. ExtensionStore_addExtensions__closure0: function ExtensionStore_addExtensions__closure0(t0, t1) {
  10099. this.$this = t0;
  10100. this.newExtensions = t1;
  10101. },
  10102. ExtensionStore__extendComplex_closure: function ExtensionStore__extendComplex_closure(t0, t1, t2) {
  10103. this._box_0 = t0;
  10104. this.$this = t1;
  10105. this.complex = t2;
  10106. },
  10107. ExtensionStore__extendComplex__closure: function ExtensionStore__extendComplex__closure(t0, t1, t2) {
  10108. this._box_0 = t0;
  10109. this.$this = t1;
  10110. this.complex = t2;
  10111. },
  10112. ExtensionStore__extendCompound_closure: function ExtensionStore__extendCompound_closure() {
  10113. },
  10114. ExtensionStore__extendCompound_closure0: function ExtensionStore__extendCompound_closure0() {
  10115. },
  10116. ExtensionStore__extendCompound_closure1: function ExtensionStore__extendCompound_closure1(t0) {
  10117. this.original = t0;
  10118. },
  10119. ExtensionStore__extendSimple_withoutPseudo: function ExtensionStore__extendSimple_withoutPseudo(t0, t1, t2) {
  10120. this.$this = t0;
  10121. this.extensions = t1;
  10122. this.targetsUsed = t2;
  10123. },
  10124. ExtensionStore__extendSimple_closure: function ExtensionStore__extendSimple_closure(t0, t1) {
  10125. this.$this = t0;
  10126. this.withoutPseudo = t1;
  10127. },
  10128. ExtensionStore__extendSimple_closure0: function ExtensionStore__extendSimple_closure0() {
  10129. },
  10130. ExtensionStore__extendPseudo_closure: function ExtensionStore__extendPseudo_closure() {
  10131. },
  10132. ExtensionStore__extendPseudo_closure0: function ExtensionStore__extendPseudo_closure0() {
  10133. },
  10134. ExtensionStore__extendPseudo_closure1: function ExtensionStore__extendPseudo_closure1() {
  10135. },
  10136. ExtensionStore__extendPseudo_closure2: function ExtensionStore__extendPseudo_closure2(t0) {
  10137. this.pseudo = t0;
  10138. },
  10139. ExtensionStore__extendPseudo_closure3: function ExtensionStore__extendPseudo_closure3(t0, t1) {
  10140. this.pseudo = t0;
  10141. this.selector = t1;
  10142. },
  10143. ExtensionStore__trim_closure: function ExtensionStore__trim_closure(t0, t1) {
  10144. this._box_0 = t0;
  10145. this.complex1 = t1;
  10146. },
  10147. ExtensionStore__trim_closure0: function ExtensionStore__trim_closure0(t0, t1) {
  10148. this._box_0 = t0;
  10149. this.complex1 = t1;
  10150. },
  10151. ExtensionStore_clone_closure: function ExtensionStore_clone_closure(t0, t1, t2, t3) {
  10152. var _ = this;
  10153. _.$this = t0;
  10154. _.newSelectors = t1;
  10155. _.oldToNewSelectors = t2;
  10156. _.newMediaContexts = t3;
  10157. },
  10158. unifyComplex(complexes, span) {
  10159. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, newLeadingCombinator, base, newTrailingCombinator, _i, t5, t6, t7, t8, _null = null,
  10160. t1 = J.getInterceptor$asx(complexes);
  10161. if (t1.get$length(complexes) === 1)
  10162. return complexes;
  10163. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  10164. t3 = t2.get$current(t2);
  10165. if (t3.accept$1(B.C__IsUselessVisitor))
  10166. return _null;
  10167. t4 = t3.components;
  10168. if (t4.length === 1 && t3.leadingCombinators.length !== 0) {
  10169. newLeadingCombinator = B.JSArray_methods.get$single(t3.leadingCombinators);
  10170. if (leadingCombinator != null)
  10171. t3 = !(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value));
  10172. else
  10173. t3 = false;
  10174. if (t3)
  10175. return _null;
  10176. leadingCombinator = newLeadingCombinator;
  10177. }
  10178. base = B.JSArray_methods.get$last(t4);
  10179. t3 = base.combinators;
  10180. if (t3.length !== 0) {
  10181. newTrailingCombinator = B.JSArray_methods.get$single(t3);
  10182. if (trailingCombinator != null)
  10183. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  10184. else
  10185. t3 = false;
  10186. if (t3)
  10187. return _null;
  10188. trailingCombinator = newTrailingCombinator;
  10189. }
  10190. if (unifiedBase == null)
  10191. unifiedBase = base.selector.components;
  10192. else
  10193. for (t3 = base.selector.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  10194. unifiedBase = t3[_i].unify$1(unifiedBase);
  10195. if (unifiedBase == null)
  10196. return _null;
  10197. }
  10198. }
  10199. t2 = type$.JSArray_ComplexSelector;
  10200. t3 = A._setArrayType([], t2);
  10201. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  10202. t5 = t4.get$current(t4);
  10203. t6 = t5.components;
  10204. t7 = t6.length;
  10205. if (t7 > 1) {
  10206. t8 = t5.leadingCombinators;
  10207. t3.push(A.ComplexSelector$(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  10208. }
  10209. }
  10210. t4 = leadingCombinator == null ? B.List_empty1 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator);
  10211. unifiedBase.toString;
  10212. t5 = A.CompoundSelector$(unifiedBase, span);
  10213. t6 = trailingCombinator == null ? B.List_empty1 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator);
  10214. 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()));
  10215. if (t3.length === 0)
  10216. t1 = A._setArrayType([base], t2);
  10217. else {
  10218. t1 = A.List_List$of(A.IterableExtension_get_exceptLast(t3), true, type$.ComplexSelector);
  10219. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  10220. }
  10221. return A.weave(t1, span, false);
  10222. },
  10223. unifyCompound(compound1, compound2) {
  10224. var t1, t2, _i, unified,
  10225. result = compound2.components;
  10226. for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i, result = unified) {
  10227. unified = t1[_i].unify$1(result);
  10228. if (unified == null)
  10229. return null;
  10230. }
  10231. return A.CompoundSelector$(result, compound1.span);
  10232. },
  10233. unifyUniversalAndElement(selector1, selector2) {
  10234. var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
  10235. _s45_ = string$.must_b;
  10236. if (selector1 instanceof A.UniversalSelector) {
  10237. namespace1 = selector1.namespace;
  10238. name1 = _null;
  10239. } else if (selector1 instanceof A.TypeSelector) {
  10240. t1 = selector1.name;
  10241. namespace1 = t1.namespace;
  10242. name1 = t1.name;
  10243. } else
  10244. throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
  10245. if (selector2 instanceof A.UniversalSelector) {
  10246. namespace2 = selector2.namespace;
  10247. name2 = _null;
  10248. } else if (selector2 instanceof A.TypeSelector) {
  10249. t1 = selector2.name;
  10250. namespace2 = t1.namespace;
  10251. name2 = t1.name;
  10252. } else
  10253. throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
  10254. if (namespace1 == namespace2 || namespace2 === "*")
  10255. namespace = namespace1;
  10256. else {
  10257. if (namespace1 !== "*")
  10258. return _null;
  10259. namespace = namespace2;
  10260. }
  10261. if (name1 == name2 || name2 == null)
  10262. $name = name1;
  10263. else {
  10264. if (!(name1 == null || name1 === "*"))
  10265. return _null;
  10266. $name = name2;
  10267. }
  10268. t1 = selector1.span;
  10269. return $name == null ? new A.UniversalSelector(namespace, t1) : new A.TypeSelector(new A.QualifiedName($name, namespace), t1);
  10270. },
  10271. weave(complexes, span, forceLineBreak) {
  10272. var complex, t2, prefixes, t3, t4, t5, i, t6, t7, _i, t8, t9, _i0, parentPrefix, t10, t11,
  10273. t1 = J.getInterceptor$asx(complexes);
  10274. if (t1.get$length(complexes) === 1) {
  10275. complex = t1.get$first(complexes);
  10276. if (!forceLineBreak || complex.lineBreak)
  10277. return complexes;
  10278. return A._setArrayType([A.ComplexSelector$(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector);
  10279. }
  10280. t2 = type$.JSArray_ComplexSelector;
  10281. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  10282. for (t1 = t1.skip$1(complexes, 1), t1 = t1.get$iterator(t1), t3 = type$.ComplexSelectorComponent; t1.moveNext$0();) {
  10283. t4 = t1.get$current(t1);
  10284. t5 = t4.components;
  10285. if (t5.length === 1) {
  10286. for (i = 0; i < prefixes.length; ++i)
  10287. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t4, span, forceLineBreak);
  10288. continue;
  10289. }
  10290. t6 = A._setArrayType([], t2);
  10291. for (t7 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t7 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  10292. t8 = A._weaveParents(prefixes[_i], t4, span);
  10293. if (t8 == null)
  10294. t8 = B.List_empty2;
  10295. t9 = t8.length;
  10296. _i0 = 0;
  10297. for (; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
  10298. parentPrefix = t8[_i0];
  10299. t10 = B.JSArray_methods.get$last(t5);
  10300. t11 = A.List_List$of(parentPrefix.components, true, t3);
  10301. t11.push(t10);
  10302. t10 = parentPrefix.lineBreak || forceLineBreak;
  10303. t6.push(A.ComplexSelector$(parentPrefix.leadingCombinators, t11, span, t10));
  10304. }
  10305. }
  10306. prefixes = t6;
  10307. }
  10308. return prefixes;
  10309. },
  10310. _weaveParents(prefix, base, span) {
  10311. 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,
  10312. leadingCombinators = A._mergeLeadingCombinators(prefix.leadingCombinators, base.leadingCombinators);
  10313. if (leadingCombinators == null)
  10314. return _null;
  10315. t1 = type$.ComplexSelectorComponent;
  10316. queue1 = A.ListQueue_ListQueue$of(prefix.components, t1);
  10317. queue2 = A.ListQueue_ListQueue$of(A.IterableExtension_get_exceptLast(base.components), t1);
  10318. trailingCombinators = A._mergeTrailingCombinators(queue1, queue2, span, _null);
  10319. if (trailingCombinators == null)
  10320. return _null;
  10321. rootish1 = A._firstIfRootish(queue1);
  10322. rootish2 = A._firstIfRootish(queue2);
  10323. t1 = rootish1 == null;
  10324. if (!t1 && rootish2 != null) {
  10325. rootish = A.unifyCompound(rootish1.selector, rootish2.selector);
  10326. if (rootish == null)
  10327. return _null;
  10328. t1 = rootish1.combinators;
  10329. t2 = rootish1.span;
  10330. t3 = type$.CssValue_Combinator;
  10331. queue1.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(t1, t3), t2));
  10332. queue2.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  10333. } else if (!t1 || rootish2 != null) {
  10334. t1 = t1 ? rootish2 : rootish1;
  10335. t1.toString;
  10336. queue1.addFirst$1(t1);
  10337. queue2.addFirst$1(t1);
  10338. }
  10339. groups1 = A._groupSelectors(queue1);
  10340. groups2 = A._groupSelectors(queue2);
  10341. t1 = type$.List_ComplexSelectorComponent;
  10342. lcs = A.longestCommonSubsequence(groups2, groups1, new A._weaveParents_closure(span), t1);
  10343. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent);
  10344. 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) {
  10345. group = lcs[_i];
  10346. t5 = A._setArrayType([], t3);
  10347. 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) {
  10348. chunk = t6[_i0];
  10349. t8 = A._setArrayType([], t4);
  10350. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  10351. B.JSArray_methods.addAll$1(t8, t9.get$current(t9));
  10352. t5.push(t8);
  10353. }
  10354. choices.push(t5);
  10355. choices.push(A._setArrayType([group], t3));
  10356. groups1.removeFirst$0();
  10357. groups2.removeFirst$0();
  10358. }
  10359. t2 = A._setArrayType([], t3);
  10360. 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) {
  10361. chunk = t1[_i];
  10362. t5 = A._setArrayType([], t4);
  10363. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  10364. B.JSArray_methods.addAll$1(t5, t6.get$current(t6));
  10365. t2.push(t5);
  10366. }
  10367. choices.push(t2);
  10368. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  10369. t1 = A._setArrayType([], type$.JSArray_ComplexSelector);
  10370. 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();) {
  10371. t6 = t2.get$current(t2);
  10372. t7 = A._setArrayType([], t4);
  10373. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  10374. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  10375. t1.push(A.ComplexSelector$(leadingCombinators, t7, span, !t3 || t5));
  10376. }
  10377. return t1;
  10378. },
  10379. _firstIfRootish(queue) {
  10380. var first, t1, t2, _i, simple;
  10381. if (queue._collection$_head === queue._collection$_tail)
  10382. return null;
  10383. first = queue.get$first(queue);
  10384. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  10385. simple = t1[_i];
  10386. if (simple instanceof A.PseudoSelector && simple.isClass && $._rootishPseudoClasses.contains$1(0, simple.normalizedName)) {
  10387. queue.removeFirst$0();
  10388. return first;
  10389. }
  10390. }
  10391. return null;
  10392. },
  10393. _mergeLeadingCombinators(combinators1, combinators2) {
  10394. var t2, _null = null,
  10395. t1 = combinators1.length;
  10396. if (t1 > 1)
  10397. return _null;
  10398. t2 = combinators2.length;
  10399. if (t2 > 1)
  10400. return _null;
  10401. if (t1 === 0)
  10402. return combinators2;
  10403. if (t2 === 0)
  10404. return combinators1;
  10405. return B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  10406. },
  10407. _mergeTrailingCombinators(components1, components2, span, result) {
  10408. var combinators1, combinators2, t1, t2, combinator1, combinator2, component1, component2, t3, t4, choices, unified, followingSiblingComponent, nextSiblingComponent, _null = null;
  10409. if (result == null)
  10410. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent);
  10411. combinators1 = components1._collection$_head === components1._collection$_tail ? B.List_empty1 : components1.get$last(components1).combinators;
  10412. combinators2 = components2._collection$_head === components2._collection$_tail ? B.List_empty1 : components2.get$last(components2).combinators;
  10413. t1 = combinators1.length;
  10414. t2 = t1 === 0;
  10415. if (t2 && combinators2.length === 0)
  10416. return result;
  10417. if (t1 > 1 || combinators2.length > 1)
  10418. return _null;
  10419. combinator1 = t2 ? _null : B.JSArray_methods.get$first(combinators1);
  10420. combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
  10421. t1 = combinator1 != null;
  10422. if (t1 && combinator2 != null) {
  10423. component1 = components1.removeLast$0(0);
  10424. component2 = components2.removeLast$0(0);
  10425. t1 = combinator1.value;
  10426. t2 = t1 === B.Combinator_Htt;
  10427. if (t2 && combinator2.value === B.Combinator_Htt) {
  10428. t1 = component1.selector;
  10429. t2 = component2.selector;
  10430. if (A.compoundIsSuperselector(t1, t2, _null))
  10431. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10432. else {
  10433. t3 = type$.JSArray_ComplexSelectorComponent;
  10434. t4 = type$.JSArray_List_ComplexSelectorComponent;
  10435. if (A.compoundIsSuperselector(t2, t1, _null))
  10436. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t3)], t4));
  10437. else {
  10438. choices = A._setArrayType([A._setArrayType([component1, component2], t3), A._setArrayType([component2, component1], t3)], t4);
  10439. unified = A.unifyCompound(t1, t2);
  10440. if (unified != null)
  10441. choices.push(A._setArrayType([new A.ComplexSelectorComponent(unified, A.List_List$unmodifiable(A._setArrayType([combinator1], type$.JSArray_CssValue_Combinator), type$.CssValue_Combinator), span)], t3));
  10442. result.addFirst$1(choices);
  10443. }
  10444. }
  10445. } else {
  10446. if (!(t2 && combinator2.value === B.Combinator_4QF))
  10447. t3 = t1 === B.Combinator_4QF && combinator2.value === B.Combinator_Htt;
  10448. else
  10449. t3 = true;
  10450. if (t3) {
  10451. followingSiblingComponent = t2 ? component1 : component2;
  10452. nextSiblingComponent = t2 ? component2 : component1;
  10453. t1 = type$.JSArray_ComplexSelectorComponent;
  10454. t2 = type$.JSArray_List_ComplexSelectorComponent;
  10455. if (A.compoundIsSuperselector(followingSiblingComponent.selector, nextSiblingComponent.selector, _null))
  10456. result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingComponent], t1)], t2));
  10457. else {
  10458. unified = A.unifyCompound(component1.selector, component2.selector);
  10459. t2 = A._setArrayType([A._setArrayType([followingSiblingComponent, nextSiblingComponent], t1)], t2);
  10460. if (unified != null)
  10461. t2.push(A._setArrayType([new A.ComplexSelectorComponent(unified, A.List_List$unmodifiable(nextSiblingComponent.combinators, type$.CssValue_Combinator), span)], t1));
  10462. result.addFirst$1(t2);
  10463. }
  10464. } else {
  10465. if (t1 === B.Combinator_Cht) {
  10466. t3 = combinator2.value;
  10467. t3 = t3 === B.Combinator_4QF || t3 === B.Combinator_Htt;
  10468. } else
  10469. t3 = false;
  10470. if (t3) {
  10471. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10472. components1._collection$_add$1(component1);
  10473. } else {
  10474. if (combinator2.value === B.Combinator_Cht)
  10475. t1 = t1 === B.Combinator_4QF || t2;
  10476. else
  10477. t1 = false;
  10478. if (t1) {
  10479. result.addFirst$1(A._setArrayType([A._setArrayType([component1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10480. components2._collection$_add$1(component2);
  10481. } else if (combinator1.$eq(0, combinator2)) {
  10482. unified = A.unifyCompound(component1.selector, component2.selector);
  10483. if (unified == null)
  10484. return _null;
  10485. 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));
  10486. } else
  10487. return _null;
  10488. }
  10489. }
  10490. }
  10491. return A._mergeTrailingCombinators(components1, components2, span, result);
  10492. } else if (t1) {
  10493. if (combinator1.value === B.Combinator_Cht && !components2.get$isEmpty(components2) && A.compoundIsSuperselector(components2.get$last(components2).selector, components1.get$last(components1).selector, _null))
  10494. components2.removeLast$0(0);
  10495. result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10496. return A._mergeTrailingCombinators(components1, components2, span, result);
  10497. } else {
  10498. 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))
  10499. components1.removeLast$0(0);
  10500. result.addFirst$1(A._setArrayType([A._setArrayType([components2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10501. return A._mergeTrailingCombinators(components1, components2, span, result);
  10502. }
  10503. },
  10504. _mustUnify(complex1, complex2) {
  10505. var t2, t3, t4,
  10506. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
  10507. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  10508. 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();)
  10509. t1.add$1(0, t3.get$current(t3));
  10510. if (t1._collection$_length === 0)
  10511. return false;
  10512. return J.any$1$ax(complex2, new A._mustUnify_closure(t1));
  10513. },
  10514. _isUnique(simple) {
  10515. var t1;
  10516. if (!(simple instanceof A.IDSelector))
  10517. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  10518. else
  10519. t1 = true;
  10520. return t1;
  10521. },
  10522. _chunks(queue1, queue2, done, $T) {
  10523. var chunk2, t2,
  10524. t1 = $T._eval$1("JSArray<0>"),
  10525. chunk1 = A._setArrayType([], t1);
  10526. for (; !done.call$1(queue1);)
  10527. chunk1.push(queue1.removeFirst$0());
  10528. chunk2 = A._setArrayType([], t1);
  10529. for (; !done.call$1(queue2);)
  10530. chunk2.push(queue2.removeFirst$0());
  10531. t1 = chunk1.length === 0;
  10532. if (t1 && chunk2.length === 0)
  10533. return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  10534. if (t1)
  10535. return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
  10536. if (chunk2.length === 0)
  10537. return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
  10538. t1 = A.List_List$of(chunk1, true, $T);
  10539. B.JSArray_methods.addAll$1(t1, chunk2);
  10540. t2 = A.List_List$of(chunk2, true, $T);
  10541. B.JSArray_methods.addAll$1(t2, chunk1);
  10542. return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  10543. },
  10544. paths(choices, $T) {
  10545. 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));
  10546. },
  10547. _groupSelectors(complex) {
  10548. var t2, t3, t4,
  10549. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent),
  10550. t1 = type$.JSArray_ComplexSelectorComponent,
  10551. group = A._setArrayType([], t1);
  10552. for (t2 = A._ListQueueIterator$(complex), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  10553. t4 = t2._collection$_current;
  10554. if (t4 == null)
  10555. t4 = t3._as(t4);
  10556. group.push(t4);
  10557. if (t4.combinators.length === 0) {
  10558. groups._add$1(group);
  10559. group = A._setArrayType([], t1);
  10560. }
  10561. }
  10562. if (group.length !== 0)
  10563. groups._add$1(group);
  10564. return groups;
  10565. },
  10566. listIsSuperselector(list1, list2) {
  10567. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure(list1));
  10568. },
  10569. _complexIsParentSuperselector(complex1, complex2) {
  10570. var t1, base, t2;
  10571. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  10572. return false;
  10573. t1 = $.$get$bogusSpan();
  10574. 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);
  10575. t1 = type$.ComplexSelectorComponent;
  10576. t2 = A.List_List$of(complex1, true, t1);
  10577. t2.push(base);
  10578. t1 = A.List_List$of(complex2, true, t1);
  10579. t1.push(base);
  10580. return A.complexIsSuperselector(t2, t1);
  10581. },
  10582. complexIsSuperselector(complex1, complex2) {
  10583. var t1, t2, t3, i1, i2, previousCombinator, remaining1, t4, remaining2, component1, t5, parents, endOfSubselector, component2, combinator1;
  10584. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  10585. return false;
  10586. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  10587. return false;
  10588. 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) {
  10589. remaining1 = complex1.length - i1;
  10590. t4 = complex2.length;
  10591. remaining2 = t4 - i2;
  10592. if (remaining1 === 0 || remaining2 === 0)
  10593. return false;
  10594. if (remaining1 > remaining2)
  10595. return false;
  10596. component1 = complex1[i1];
  10597. t5 = component1.combinators;
  10598. if (t5.length > 1)
  10599. return false;
  10600. if (remaining1 === 1) {
  10601. parents = B.JSArray_methods.sublist$2(complex2, i2, t4 - 1);
  10602. if (B.JSArray_methods.any$1(parents, new A.complexIsSuperselector_closure()))
  10603. return false;
  10604. return A.compoundIsSuperselector(component1.selector, B.JSArray_methods.get$last(complex2).selector, parents);
  10605. }
  10606. for (t4 = component1.selector, endOfSubselector = i2, parents = null; true;) {
  10607. component2 = complex2[endOfSubselector];
  10608. if (component2.combinators.length > 1)
  10609. return false;
  10610. if (A.compoundIsSuperselector(t4, component2.selector, parents))
  10611. break;
  10612. ++endOfSubselector;
  10613. if (endOfSubselector === complex2.length - 1)
  10614. return false;
  10615. if (parents == null)
  10616. parents = A._setArrayType([], t1);
  10617. parents.push(component2);
  10618. }
  10619. if (!A._compatibleWithPreviousCombinator(previousCombinator, parents == null ? B.List_empty0 : parents))
  10620. return false;
  10621. component2 = complex2[endOfSubselector];
  10622. combinator1 = A.IterableExtension_get_firstOrNull(t5);
  10623. if (!A._isSupercombinator(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  10624. return false;
  10625. ++i1;
  10626. i2 = endOfSubselector + 1;
  10627. if (complex1.length - i1 === 1) {
  10628. t4 = combinator1 == null;
  10629. if (J.$eq$(t4 ? null : combinator1.value, B.Combinator_Htt)) {
  10630. t4 = complex2.length - 1;
  10631. t5 = new A.SubListIterable(complex2, 0, t4, t2);
  10632. t5.SubListIterable$3(complex2, 0, t4, t3);
  10633. if (!t5.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure0(combinator1)))
  10634. return false;
  10635. } else if (!t4)
  10636. if (complex2.length - i2 > 1)
  10637. return false;
  10638. }
  10639. }
  10640. },
  10641. _compatibleWithPreviousCombinator(previous, parents) {
  10642. if (parents.length === 0)
  10643. return true;
  10644. if (previous == null)
  10645. return true;
  10646. if (previous.value !== B.Combinator_Htt)
  10647. return false;
  10648. return B.JSArray_methods.every$1(parents, new A._compatibleWithPreviousCombinator_closure());
  10649. },
  10650. _isSupercombinator(combinator1, combinator2) {
  10651. var t1, t2;
  10652. if (!J.$eq$(combinator1, combinator2)) {
  10653. t1 = combinator1 == null;
  10654. if (t1)
  10655. t2 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_Cht);
  10656. else
  10657. t2 = false;
  10658. if (!t2)
  10659. if (J.$eq$(t1 ? null : combinator1.value, B.Combinator_Htt))
  10660. t1 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_4QF);
  10661. else
  10662. t1 = false;
  10663. else
  10664. t1 = true;
  10665. } else
  10666. t1 = true;
  10667. return t1;
  10668. },
  10669. compoundIsSuperselector(compound1, compound2, parents) {
  10670. var t2, t3, t4, t5, t6, t7, t8, _i, simple1,
  10671. tuple1 = A._findPseudoElementIndexed(compound1),
  10672. tuple2 = A._findPseudoElementIndexed(compound2),
  10673. t1 = tuple1 == null;
  10674. if (!t1 && tuple2 != null) {
  10675. if (tuple1.item1.isSuperselector$1(tuple2.item1)) {
  10676. t1 = compound1.components;
  10677. t2 = tuple1.item2;
  10678. t3 = type$.int;
  10679. t4 = A._arrayInstanceType(t1)._precomputed1;
  10680. t5 = A.SubListIterable$(t1, 0, A.checkNotNullable(t2, "count", t3), t4);
  10681. t6 = compound2.components;
  10682. t7 = tuple2.item2;
  10683. t8 = A._arrayInstanceType(t6)._precomputed1;
  10684. 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);
  10685. } else
  10686. t1 = false;
  10687. return t1;
  10688. } else if (!t1 || tuple2 != null)
  10689. return false;
  10690. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  10691. simple1 = t1[_i];
  10692. if (simple1 instanceof A.PseudoSelector && simple1.selector != null) {
  10693. if (!A._selectorPseudoIsSuperselector(simple1, compound2, parents))
  10694. return false;
  10695. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  10696. return false;
  10697. }
  10698. return true;
  10699. },
  10700. _findPseudoElementIndexed(compound) {
  10701. var t1, t2, i, simple;
  10702. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  10703. simple = t1[i];
  10704. if (simple instanceof A.PseudoSelector && !simple.isClass)
  10705. return new A.Tuple2(simple, i, type$.Tuple2_PseudoSelector_int);
  10706. }
  10707. return null;
  10708. },
  10709. _compoundComponentsIsSuperselector(compound1, compound2, parents) {
  10710. var t1;
  10711. if (compound1.get$length(compound1) === 0)
  10712. return true;
  10713. if (compound2.get$length(compound2) === 0)
  10714. compound2 = A._setArrayType([new A.UniversalSelector("*", $.$get$bogusSpan())], type$.JSArray_SimpleSelector);
  10715. t1 = $.$get$bogusSpan();
  10716. return A.compoundIsSuperselector(A.CompoundSelector$(compound1, t1), A.CompoundSelector$(compound2, t1), parents);
  10717. },
  10718. _selectorPseudoIsSuperselector(pseudo1, compound2, parents) {
  10719. var selector1_ = pseudo1.selector;
  10720. if (selector1_ == null)
  10721. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  10722. switch (pseudo1.normalizedName) {
  10723. case "is":
  10724. case "matches":
  10725. case "any":
  10726. case "where":
  10727. 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));
  10728. case "has":
  10729. case "host":
  10730. case "host-context":
  10731. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure1(selector1_));
  10732. case "slotted":
  10733. return A._selectorPseudoArgs(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure2(selector1_));
  10734. case "not":
  10735. return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure3(compound2, pseudo1));
  10736. case "current":
  10737. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure4(selector1_));
  10738. case "nth-child":
  10739. case "nth-last-child":
  10740. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure5(pseudo1, selector1_));
  10741. default:
  10742. throw A.wrapException("unreachable");
  10743. }
  10744. },
  10745. _selectorPseudoArgs(compound, $name, isClass) {
  10746. var t1 = type$.WhereTypeIterable_PseudoSelector;
  10747. 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);
  10748. },
  10749. unifyComplex_closure: function unifyComplex_closure() {
  10750. },
  10751. _weaveParents_closure: function _weaveParents_closure(t0) {
  10752. this.span = t0;
  10753. },
  10754. _weaveParents_closure0: function _weaveParents_closure0(t0) {
  10755. this.group = t0;
  10756. },
  10757. _weaveParents_closure1: function _weaveParents_closure1() {
  10758. },
  10759. _weaveParents_closure2: function _weaveParents_closure2() {
  10760. },
  10761. _mustUnify_closure: function _mustUnify_closure(t0) {
  10762. this.uniqueSelectors = t0;
  10763. },
  10764. _mustUnify__closure: function _mustUnify__closure(t0) {
  10765. this.uniqueSelectors = t0;
  10766. },
  10767. paths_closure: function paths_closure(t0) {
  10768. this.T = t0;
  10769. },
  10770. paths__closure: function paths__closure(t0, t1) {
  10771. this.paths = t0;
  10772. this.T = t1;
  10773. },
  10774. paths___closure: function paths___closure(t0, t1) {
  10775. this.option = t0;
  10776. this.T = t1;
  10777. },
  10778. listIsSuperselector_closure: function listIsSuperselector_closure(t0) {
  10779. this.list1 = t0;
  10780. },
  10781. listIsSuperselector__closure: function listIsSuperselector__closure(t0) {
  10782. this.complex1 = t0;
  10783. },
  10784. complexIsSuperselector_closure: function complexIsSuperselector_closure() {
  10785. },
  10786. complexIsSuperselector_closure0: function complexIsSuperselector_closure0(t0) {
  10787. this.combinator1 = t0;
  10788. },
  10789. _compatibleWithPreviousCombinator_closure: function _compatibleWithPreviousCombinator_closure() {
  10790. },
  10791. _selectorPseudoIsSuperselector_closure: function _selectorPseudoIsSuperselector_closure(t0) {
  10792. this.selector1 = t0;
  10793. },
  10794. _selectorPseudoIsSuperselector_closure0: function _selectorPseudoIsSuperselector_closure0(t0, t1) {
  10795. this.parents = t0;
  10796. this.compound2 = t1;
  10797. },
  10798. _selectorPseudoIsSuperselector_closure1: function _selectorPseudoIsSuperselector_closure1(t0) {
  10799. this.selector1 = t0;
  10800. },
  10801. _selectorPseudoIsSuperselector_closure2: function _selectorPseudoIsSuperselector_closure2(t0) {
  10802. this.selector1 = t0;
  10803. },
  10804. _selectorPseudoIsSuperselector_closure3: function _selectorPseudoIsSuperselector_closure3(t0, t1) {
  10805. this.compound2 = t0;
  10806. this.pseudo1 = t1;
  10807. },
  10808. _selectorPseudoIsSuperselector__closure: function _selectorPseudoIsSuperselector__closure(t0, t1) {
  10809. this.complex = t0;
  10810. this.pseudo1 = t1;
  10811. },
  10812. _selectorPseudoIsSuperselector___closure: function _selectorPseudoIsSuperselector___closure(t0) {
  10813. this.simple2 = t0;
  10814. },
  10815. _selectorPseudoIsSuperselector___closure0: function _selectorPseudoIsSuperselector___closure0(t0) {
  10816. this.simple2 = t0;
  10817. },
  10818. _selectorPseudoIsSuperselector_closure4: function _selectorPseudoIsSuperselector_closure4(t0) {
  10819. this.selector1 = t0;
  10820. },
  10821. _selectorPseudoIsSuperselector_closure5: function _selectorPseudoIsSuperselector_closure5(t0, t1) {
  10822. this.pseudo1 = t0;
  10823. this.selector1 = t1;
  10824. },
  10825. _selectorPseudoArgs_closure: function _selectorPseudoArgs_closure(t0, t1) {
  10826. this.isClass = t0;
  10827. this.name = t1;
  10828. },
  10829. _selectorPseudoArgs_closure0: function _selectorPseudoArgs_closure0() {
  10830. },
  10831. MergedExtension_merge(left, right) {
  10832. var t2, t3, t4, t5,
  10833. t1 = left.extender.selector;
  10834. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  10835. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  10836. t2 = left.mediaContext;
  10837. t3 = t2 == null;
  10838. if (!t3) {
  10839. t4 = right.mediaContext;
  10840. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  10841. } else
  10842. t4 = false;
  10843. if (t4)
  10844. throw A.wrapException(A.SassException$("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  10845. if (right.isOptional && right.mediaContext == null)
  10846. return left;
  10847. if (left.isOptional && t3)
  10848. return right;
  10849. t4 = left.target;
  10850. t5 = left.span;
  10851. if (t3)
  10852. t2 = right.mediaContext;
  10853. t1.get$specificity();
  10854. t1 = new A.Extender(t1, false);
  10855. return t1._extension = new A.MergedExtension(left, right, t1, t4, t2, true, t5);
  10856. },
  10857. MergedExtension: function MergedExtension(t0, t1, t2, t3, t4, t5, t6) {
  10858. var _ = this;
  10859. _.left = t0;
  10860. _.right = t1;
  10861. _.extender = t2;
  10862. _.target = t3;
  10863. _.mediaContext = t4;
  10864. _.isOptional = t5;
  10865. _.span = t6;
  10866. },
  10867. ExtendMode: function ExtendMode(t0, t1) {
  10868. this.name = t0;
  10869. this._name = t1;
  10870. },
  10871. globalFunctions_closure: function globalFunctions_closure() {
  10872. },
  10873. _updateComponents($arguments, adjust, change, scale) {
  10874. var keywords, alpha, red, green, blue, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t2, t3, t4, t5, _null = null,
  10875. t1 = J.getInterceptor$asx($arguments),
  10876. color = t1.$index($arguments, 0).assertColor$1("color"),
  10877. argumentList = type$.SassArgumentList._as(t1.$index($arguments, 1));
  10878. if (argumentList._list$_contents.length !== 0)
  10879. throw A.wrapException(A.SassScriptException$(string$.Only_op, _null));
  10880. argumentList._wereKeywordsAccessed = true;
  10881. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._keywords, type$.String, type$.Value);
  10882. t1 = new A._updateComponents_getParam(keywords, scale, change);
  10883. alpha = t1.call$3$checkUnitless("alpha", 1, true);
  10884. red = t1.call$2("red", 255);
  10885. green = t1.call$2("green", 255);
  10886. blue = t1.call$2("blue", 255);
  10887. hue = scale ? _null : A.NullableExtension_andThen(keywords.remove$1(0, "hue"), new A._updateComponents_closure());
  10888. saturation = t1.call$3$checkPercent("saturation", 100, true);
  10889. lightness = t1.call$3$checkPercent("lightness", 100, true);
  10890. whiteness = t1.call$3$assertPercent("whiteness", 100, true);
  10891. blackness = t1.call$3$assertPercent("blackness", 100, true);
  10892. t1 = keywords.__js_helper$_length;
  10893. if (t1 !== 0)
  10894. 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));
  10895. hasRgb = red != null || green != null || blue != null;
  10896. hasSL = saturation != null || lightness != null;
  10897. hasWB = whiteness != null || blackness != null;
  10898. if (hasRgb)
  10899. t1 = hasSL || hasWB || hue != null;
  10900. else
  10901. t1 = false;
  10902. if (t1)
  10903. throw A.wrapException(A.SassScriptException$(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters.", _null));
  10904. if (hasSL && hasWB)
  10905. throw A.wrapException(A.SassScriptException$(string$.HSL_pa, _null));
  10906. t1 = new A._updateComponents_updateValue(change, adjust);
  10907. t2 = new A._updateComponents_updateRgb(t1);
  10908. if (hasRgb) {
  10909. t3 = t2.call$2(color.get$red(color), red);
  10910. t4 = t2.call$2(color.get$green(color), green);
  10911. t2 = t2.call$2(color.get$blue(color), blue);
  10912. return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
  10913. } else if (hasWB) {
  10914. if (change)
  10915. t2 = hue;
  10916. else {
  10917. t2 = color.get$hue(color);
  10918. t2 += hue == null ? 0 : hue;
  10919. }
  10920. t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
  10921. t4 = t1.call$3(color.get$blackness(color), blackness, 100);
  10922. t5 = color._alpha;
  10923. t1 = t1.call$3(t5, alpha, 1);
  10924. if (t2 == null)
  10925. t2 = color.get$hue(color);
  10926. if (t3 == null)
  10927. t3 = color.get$whiteness(color);
  10928. if (t4 == null)
  10929. t4 = color.get$blackness(color);
  10930. return A.SassColor_SassColor$hwb(t2, t3, t4, t1 == null ? t5 : t1);
  10931. } else {
  10932. t2 = hue == null;
  10933. if (!t2 || hasSL) {
  10934. if (change)
  10935. t2 = hue;
  10936. else {
  10937. t3 = color.get$hue(color);
  10938. t3 += t2 ? 0 : hue;
  10939. t2 = t3;
  10940. }
  10941. t3 = t1.call$3(color.get$saturation(color), saturation, 100);
  10942. t4 = t1.call$3(color.get$lightness(color), lightness, 100);
  10943. return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
  10944. } else if (alpha != null)
  10945. return color.changeAlpha$1(t1.call$3(color._alpha, alpha, 1));
  10946. else
  10947. return color;
  10948. }
  10949. },
  10950. _functionString($name, $arguments) {
  10951. return new A.SassString($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure(), type$.String).join$1(0, ", ") + ")", false);
  10952. },
  10953. _removedColorFunction($name, argument, negative) {
  10954. return A.BuiltInCallable$function($name, "$color, $amount", new A._removedColorFunction_closure($name, argument, negative), "sass:color");
  10955. },
  10956. _rgb($name, $arguments) {
  10957. var t2, red, green, blue,
  10958. t1 = J.getInterceptor$asx($arguments),
  10959. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  10960. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  10961. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  10962. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  10963. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  10964. t2 = t2 === true;
  10965. } else
  10966. t2 = true;
  10967. else
  10968. t2 = true;
  10969. else
  10970. t2 = true;
  10971. if (t2)
  10972. return A._functionString($name, $arguments);
  10973. red = t1.$index($arguments, 0).assertNumber$1("red");
  10974. green = t1.$index($arguments, 1).assertNumber$1("green");
  10975. blue = t1.$index($arguments, 2).assertNumber$1("blue");
  10976. 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);
  10977. },
  10978. _rgbTwoArg($name, $arguments) {
  10979. var first, color,
  10980. t1 = J.getInterceptor$asx($arguments);
  10981. if (t1.$index($arguments, 0).get$isVar())
  10982. return A._functionString($name, $arguments);
  10983. else if (t1.$index($arguments, 1).get$isVar()) {
  10984. first = t1.$index($arguments, 0);
  10985. if (first instanceof A.SassColor)
  10986. 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);
  10987. else
  10988. return A._functionString($name, $arguments);
  10989. } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
  10990. color = t1.$index($arguments, 0).assertColor$1("color");
  10991. 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);
  10992. }
  10993. return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
  10994. },
  10995. _hsl($name, $arguments) {
  10996. var t2, hue, saturation, lightness,
  10997. _s10_ = "saturation",
  10998. _s9_ = "lightness",
  10999. t1 = J.getInterceptor$asx($arguments),
  11000. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  11001. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  11002. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  11003. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  11004. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  11005. t2 = t2 === true;
  11006. } else
  11007. t2 = true;
  11008. else
  11009. t2 = true;
  11010. else
  11011. t2 = true;
  11012. if (t2)
  11013. return A._functionString($name, $arguments);
  11014. hue = A._angleValue(t1.$index($arguments, 0), "hue");
  11015. saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
  11016. lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
  11017. A._checkPercent(saturation, _s10_);
  11018. A._checkPercent(lightness, _s9_);
  11019. 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);
  11020. },
  11021. _angleValue(angleValue, $name) {
  11022. var t1, t2,
  11023. angle = angleValue.assertNumber$1($name);
  11024. if (angle.compatibleWithUnit$1("deg"))
  11025. return angle.coerceValueToUnit$1("deg");
  11026. t1 = angle.toString$0(0);
  11027. t2 = angle.unitSuggestion$1($name);
  11028. A.EvaluationContext_current().warn$2(0, "$" + $name + ": Passing a unit other than deg (" + t1 + string$.x29x20is_d + t2 + string$.x0a_See_, B.Deprecation_8WR);
  11029. return angle._number$_value;
  11030. },
  11031. _checkPercent(number, $name) {
  11032. var t1, t2;
  11033. if (number.hasUnit$1("%"))
  11034. return;
  11035. t1 = number.toString$0(0);
  11036. t2 = number.unitSuggestion$2($name, "%");
  11037. A.EvaluationContext_current().warn$2(0, "$" + $name + ": Passing a number without unit % (" + t1 + string$.x29x20is_d + t2 + string$.x0a_Morex3a, B.Deprecation_8WR);
  11038. },
  11039. _hwb($arguments) {
  11040. var _s9_ = "whiteness",
  11041. _s9_0 = "blackness",
  11042. t1 = J.getInterceptor$asx($arguments),
  11043. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  11044. hue = A._angleValue(t1.$index($arguments, 0), "hue"),
  11045. whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
  11046. blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
  11047. whiteness.assertUnit$2("%", _s9_);
  11048. blackness.assertUnit$2("%", _s9_0);
  11049. 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()));
  11050. },
  11051. _parseChannels($name, argumentNames, channels) {
  11052. var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash, _null = null,
  11053. _s17_ = "$channels must be";
  11054. if (channels.get$isVar())
  11055. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  11056. if (channels.get$separator(channels) === B.ListSeparator_zg9) {
  11057. list = channels.get$asList();
  11058. t1 = list.length;
  11059. if (t1 !== 2)
  11060. throw A.wrapException(A.SassScriptException$(string$.Only_2 + t1 + " " + A.pluralize("was", t1, "were") + " passed.", _null));
  11061. channels0 = list[0];
  11062. alphaFromSlashList = list[1];
  11063. if (!alphaFromSlashList.get$isSpecialNumber())
  11064. alphaFromSlashList.assertNumber$1("alpha");
  11065. if (list[0].get$isVar())
  11066. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  11067. } else {
  11068. alphaFromSlashList = _null;
  11069. channels0 = channels;
  11070. }
  11071. isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_rXA;
  11072. isBracketed = channels0.get$hasBrackets();
  11073. if (isCommaSeparated || isBracketed) {
  11074. buffer = new A.StringBuffer(_s17_);
  11075. if (isBracketed) {
  11076. t1 = _s17_ + " an unbracketed";
  11077. buffer._contents = t1;
  11078. } else
  11079. t1 = _s17_;
  11080. if (isCommaSeparated) {
  11081. t1 += isBracketed ? "," : " a";
  11082. buffer._contents = t1;
  11083. t1 = buffer._contents = t1 + " space-separated";
  11084. }
  11085. buffer._contents = t1 + " list.";
  11086. throw A.wrapException(A.SassScriptException$(buffer.toString$0(0), _null));
  11087. }
  11088. list = channels0.get$asList();
  11089. t1 = list.length;
  11090. if (t1 > 3)
  11091. throw A.wrapException(A.SassScriptException$("Only 3 elements allowed, but " + t1 + " were passed.", _null));
  11092. else if (t1 < 3) {
  11093. if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure()))
  11094. if (list.length !== 0) {
  11095. t1 = B.JSArray_methods.get$last(list);
  11096. if (t1 instanceof A.SassString)
  11097. if (t1._hasQuotes) {
  11098. t1 = t1._string$_text;
  11099. t1 = A.startsWithIgnoreCase(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
  11100. } else
  11101. t1 = false;
  11102. else
  11103. t1 = false;
  11104. } else
  11105. t1 = false;
  11106. else
  11107. t1 = true;
  11108. if (t1)
  11109. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  11110. else
  11111. throw A.wrapException(A.SassScriptException$("Missing element " + argumentNames[list.length] + ".", _null));
  11112. }
  11113. if (alphaFromSlashList != null) {
  11114. t1 = A.List_List$of(list, true, type$.Value);
  11115. t1.push(alphaFromSlashList);
  11116. return t1;
  11117. }
  11118. maybeSlashSeparated = list[2];
  11119. if (maybeSlashSeparated instanceof A.SassNumber) {
  11120. slash = maybeSlashSeparated.asSlash;
  11121. if (slash == null)
  11122. return list;
  11123. return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value);
  11124. } else if (maybeSlashSeparated instanceof A.SassString && !maybeSlashSeparated._hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string$_text, "/"))
  11125. return A._functionString($name, A._setArrayType([channels0], type$.JSArray_Value));
  11126. else
  11127. return list;
  11128. },
  11129. _percentageOrUnitless(number, max, $name) {
  11130. var value;
  11131. if (!number.get$hasUnits())
  11132. value = number._number$_value;
  11133. else if (number.hasUnit$1("%"))
  11134. value = max * number._number$_value / 100;
  11135. else
  11136. throw A.wrapException(A.SassScriptException$("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".', null));
  11137. return B.JSNumber_methods.clamp$2(value, 0, max);
  11138. },
  11139. _mixColors(color1, color2, weight) {
  11140. var weightScale, normalizedWeight, t1, t2, alphaDistance, t3, weight1, weight2;
  11141. A._checkPercent(weight, "weight");
  11142. weightScale = weight.valueInRange$3(0, 100, "weight") / 100;
  11143. normalizedWeight = weightScale * 2 - 1;
  11144. t1 = color1._alpha;
  11145. t2 = color2._alpha;
  11146. alphaDistance = t1 - t2;
  11147. t3 = normalizedWeight * alphaDistance;
  11148. weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2;
  11149. weight2 = 1 - weight1;
  11150. 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));
  11151. },
  11152. _opacify($arguments) {
  11153. var t1 = J.getInterceptor$asx($arguments),
  11154. color = t1.$index($arguments, 0).assertColor$1("color");
  11155. 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));
  11156. },
  11157. _transparentize($arguments) {
  11158. var t1 = J.getInterceptor$asx($arguments),
  11159. color = t1.$index($arguments, 0).assertColor$1("color");
  11160. 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));
  11161. },
  11162. _function4($name, $arguments, callback) {
  11163. return A.BuiltInCallable$function($name, $arguments, callback, "sass:color");
  11164. },
  11165. global_closure: function global_closure() {
  11166. },
  11167. global_closure0: function global_closure0() {
  11168. },
  11169. global_closure1: function global_closure1() {
  11170. },
  11171. global_closure2: function global_closure2() {
  11172. },
  11173. global_closure3: function global_closure3() {
  11174. },
  11175. global_closure4: function global_closure4() {
  11176. },
  11177. global_closure5: function global_closure5() {
  11178. },
  11179. global_closure6: function global_closure6() {
  11180. },
  11181. global_closure7: function global_closure7() {
  11182. },
  11183. global_closure8: function global_closure8() {
  11184. },
  11185. global_closure9: function global_closure9() {
  11186. },
  11187. global_closure10: function global_closure10() {
  11188. },
  11189. global_closure11: function global_closure11() {
  11190. },
  11191. global_closure12: function global_closure12() {
  11192. },
  11193. global_closure13: function global_closure13() {
  11194. },
  11195. global_closure14: function global_closure14() {
  11196. },
  11197. global_closure15: function global_closure15() {
  11198. },
  11199. global_closure16: function global_closure16() {
  11200. },
  11201. global_closure17: function global_closure17() {
  11202. },
  11203. global_closure18: function global_closure18() {
  11204. },
  11205. global_closure19: function global_closure19() {
  11206. },
  11207. global_closure20: function global_closure20() {
  11208. },
  11209. global_closure21: function global_closure21() {
  11210. },
  11211. global_closure22: function global_closure22() {
  11212. },
  11213. global_closure23: function global_closure23() {
  11214. },
  11215. global_closure24: function global_closure24() {
  11216. },
  11217. global__closure: function global__closure() {
  11218. },
  11219. global_closure25: function global_closure25() {
  11220. },
  11221. module_closure0: function module_closure0() {
  11222. },
  11223. module_closure1: function module_closure1() {
  11224. },
  11225. module_closure2: function module_closure2() {
  11226. },
  11227. module_closure3: function module_closure3() {
  11228. },
  11229. module_closure4: function module_closure4() {
  11230. },
  11231. module_closure5: function module_closure5() {
  11232. },
  11233. module_closure6: function module_closure6() {
  11234. },
  11235. module_closure7: function module_closure7() {
  11236. },
  11237. module__closure1: function module__closure1() {
  11238. },
  11239. module_closure8: function module_closure8() {
  11240. },
  11241. _red_closure: function _red_closure() {
  11242. },
  11243. _green_closure: function _green_closure() {
  11244. },
  11245. _blue_closure: function _blue_closure() {
  11246. },
  11247. _mix_closure: function _mix_closure() {
  11248. },
  11249. _hue_closure: function _hue_closure() {
  11250. },
  11251. _saturation_closure: function _saturation_closure() {
  11252. },
  11253. _lightness_closure: function _lightness_closure() {
  11254. },
  11255. _complement_closure: function _complement_closure() {
  11256. },
  11257. _adjust_closure: function _adjust_closure() {
  11258. },
  11259. _scale_closure: function _scale_closure() {
  11260. },
  11261. _change_closure: function _change_closure() {
  11262. },
  11263. _ieHexStr_closure: function _ieHexStr_closure() {
  11264. },
  11265. _ieHexStr_closure_hexString: function _ieHexStr_closure_hexString() {
  11266. },
  11267. _updateComponents_getParam: function _updateComponents_getParam(t0, t1, t2) {
  11268. this.keywords = t0;
  11269. this.scale = t1;
  11270. this.change = t2;
  11271. },
  11272. _updateComponents_closure: function _updateComponents_closure() {
  11273. },
  11274. _updateComponents_closure0: function _updateComponents_closure0() {
  11275. },
  11276. _updateComponents_updateValue: function _updateComponents_updateValue(t0, t1) {
  11277. this.change = t0;
  11278. this.adjust = t1;
  11279. },
  11280. _updateComponents_updateRgb: function _updateComponents_updateRgb(t0) {
  11281. this.updateValue = t0;
  11282. },
  11283. _functionString_closure: function _functionString_closure() {
  11284. },
  11285. _removedColorFunction_closure: function _removedColorFunction_closure(t0, t1, t2) {
  11286. this.name = t0;
  11287. this.argument = t1;
  11288. this.negative = t2;
  11289. },
  11290. _rgb_closure: function _rgb_closure() {
  11291. },
  11292. _hsl_closure: function _hsl_closure() {
  11293. },
  11294. _hwb_closure: function _hwb_closure() {
  11295. },
  11296. _parseChannels_closure: function _parseChannels_closure() {
  11297. },
  11298. _function3($name, $arguments, callback) {
  11299. return A.BuiltInCallable$function($name, $arguments, callback, "sass:list");
  11300. },
  11301. _length_closure0: function _length_closure0() {
  11302. },
  11303. _nth_closure: function _nth_closure() {
  11304. },
  11305. _setNth_closure: function _setNth_closure() {
  11306. },
  11307. _join_closure: function _join_closure() {
  11308. },
  11309. _append_closure0: function _append_closure0() {
  11310. },
  11311. _zip_closure: function _zip_closure() {
  11312. },
  11313. _zip__closure: function _zip__closure() {
  11314. },
  11315. _zip__closure0: function _zip__closure0(t0) {
  11316. this._box_0 = t0;
  11317. },
  11318. _zip__closure1: function _zip__closure1(t0) {
  11319. this._box_0 = t0;
  11320. },
  11321. _index_closure0: function _index_closure0() {
  11322. },
  11323. _separator_closure: function _separator_closure() {
  11324. },
  11325. _isBracketed_closure: function _isBracketed_closure() {
  11326. },
  11327. _slash_closure: function _slash_closure() {
  11328. },
  11329. _modify(map, keys, modify, addNesting) {
  11330. var keyIterator = J.get$iterator$ax(keys);
  11331. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  11332. },
  11333. _deepMergeImpl(map1, map2) {
  11334. var t2, t3, result,
  11335. t1 = map1._map$_contents;
  11336. if (t1.get$isEmpty(t1))
  11337. return map2;
  11338. t2 = map2._map$_contents;
  11339. if (t2.get$isEmpty(t2))
  11340. return map1;
  11341. t3 = type$.Value;
  11342. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  11343. t2.forEach$1(0, new A._deepMergeImpl_closure(result));
  11344. return new A.SassMap(A.ConstantMap_ConstantMap$from(result, t3, t3));
  11345. },
  11346. _function2($name, $arguments, callback) {
  11347. return A.BuiltInCallable$function($name, $arguments, callback, "sass:map");
  11348. },
  11349. _get_closure: function _get_closure() {
  11350. },
  11351. _set_closure: function _set_closure() {
  11352. },
  11353. _set__closure0: function _set__closure0(t0) {
  11354. this.$arguments = t0;
  11355. },
  11356. _set_closure0: function _set_closure0() {
  11357. },
  11358. _set__closure: function _set__closure(t0) {
  11359. this.args = t0;
  11360. },
  11361. _merge_closure: function _merge_closure() {
  11362. },
  11363. _merge_closure0: function _merge_closure0() {
  11364. },
  11365. _merge__closure: function _merge__closure(t0) {
  11366. this.map2 = t0;
  11367. },
  11368. _deepMerge_closure: function _deepMerge_closure() {
  11369. },
  11370. _deepRemove_closure: function _deepRemove_closure() {
  11371. },
  11372. _deepRemove__closure: function _deepRemove__closure(t0) {
  11373. this.keys = t0;
  11374. },
  11375. _remove_closure: function _remove_closure() {
  11376. },
  11377. _remove_closure0: function _remove_closure0() {
  11378. },
  11379. _keys_closure: function _keys_closure() {
  11380. },
  11381. _values_closure: function _values_closure() {
  11382. },
  11383. _hasKey_closure: function _hasKey_closure() {
  11384. },
  11385. _modify_modifyNestedMap: function _modify_modifyNestedMap(t0, t1, t2) {
  11386. this.keyIterator = t0;
  11387. this.modify = t1;
  11388. this.addNesting = t2;
  11389. },
  11390. _deepMergeImpl_closure: function _deepMergeImpl_closure(t0) {
  11391. this.result = t0;
  11392. },
  11393. _numberFunction($name, transform) {
  11394. return A.BuiltInCallable$function($name, "$number", new A._numberFunction_closure(transform), "sass:math");
  11395. },
  11396. _function1($name, $arguments, callback) {
  11397. return A.BuiltInCallable$function($name, $arguments, callback, "sass:math");
  11398. },
  11399. _ceil_closure: function _ceil_closure() {
  11400. },
  11401. _clamp_closure: function _clamp_closure() {
  11402. },
  11403. _floor_closure: function _floor_closure() {
  11404. },
  11405. _max_closure: function _max_closure() {
  11406. },
  11407. _min_closure: function _min_closure() {
  11408. },
  11409. _round_closure: function _round_closure() {
  11410. },
  11411. _abs_closure: function _abs_closure() {
  11412. },
  11413. _hypot_closure: function _hypot_closure() {
  11414. },
  11415. _hypot__closure: function _hypot__closure() {
  11416. },
  11417. _log_closure: function _log_closure() {
  11418. },
  11419. _pow_closure: function _pow_closure() {
  11420. },
  11421. _sqrt_closure: function _sqrt_closure() {
  11422. },
  11423. _acos_closure: function _acos_closure() {
  11424. },
  11425. _asin_closure: function _asin_closure() {
  11426. },
  11427. _atan_closure: function _atan_closure() {
  11428. },
  11429. _atan2_closure: function _atan2_closure() {
  11430. },
  11431. _cos_closure: function _cos_closure() {
  11432. },
  11433. _sin_closure: function _sin_closure() {
  11434. },
  11435. _tan_closure: function _tan_closure() {
  11436. },
  11437. _compatible_closure: function _compatible_closure() {
  11438. },
  11439. _isUnitless_closure: function _isUnitless_closure() {
  11440. },
  11441. _unit_closure: function _unit_closure() {
  11442. },
  11443. _percentage_closure: function _percentage_closure() {
  11444. },
  11445. _randomFunction_closure: function _randomFunction_closure() {
  11446. },
  11447. _div_closure: function _div_closure() {
  11448. },
  11449. _numberFunction_closure: function _numberFunction_closure(t0) {
  11450. this.transform = t0;
  11451. },
  11452. _function5($name, $arguments, callback) {
  11453. return A.BuiltInCallable$function($name, $arguments, callback, "sass:meta");
  11454. },
  11455. global_closure26: function global_closure26() {
  11456. },
  11457. global_closure27: function global_closure27() {
  11458. },
  11459. global_closure28: function global_closure28() {
  11460. },
  11461. global_closure29: function global_closure29() {
  11462. },
  11463. local_closure: function local_closure() {
  11464. },
  11465. local_closure0: function local_closure0() {
  11466. },
  11467. local__closure: function local__closure() {
  11468. },
  11469. _prependParent(compound) {
  11470. var span, t2, _null = null,
  11471. t1 = compound.components,
  11472. first = B.JSArray_methods.get$first(t1);
  11473. if (first instanceof A.UniversalSelector)
  11474. return _null;
  11475. span = A.EvaluationContext_current().get$currentCallableSpan();
  11476. if (first instanceof A.TypeSelector) {
  11477. t2 = first.name;
  11478. if (t2.namespace != null)
  11479. return _null;
  11480. t2 = A._setArrayType([new A.ParentSelector(t2.name, span)], type$.JSArray_SimpleSelector);
  11481. B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
  11482. return A.CompoundSelector$(t2, span);
  11483. } else {
  11484. t2 = A._setArrayType([new A.ParentSelector(_null, span)], type$.JSArray_SimpleSelector);
  11485. B.JSArray_methods.addAll$1(t2, t1);
  11486. return A.CompoundSelector$(t2, span);
  11487. }
  11488. },
  11489. _function0($name, $arguments, callback) {
  11490. return A.BuiltInCallable$function($name, $arguments, callback, "sass:selector");
  11491. },
  11492. _nest_closure: function _nest_closure() {
  11493. },
  11494. _nest__closure: function _nest__closure(t0) {
  11495. this._box_0 = t0;
  11496. },
  11497. _nest__closure0: function _nest__closure0() {
  11498. },
  11499. _append_closure: function _append_closure() {
  11500. },
  11501. _append__closure: function _append__closure() {
  11502. },
  11503. _append__closure0: function _append__closure0(t0) {
  11504. this.span = t0;
  11505. },
  11506. _append___closure: function _append___closure(t0, t1) {
  11507. this.parent = t0;
  11508. this.span = t1;
  11509. },
  11510. _extend_closure: function _extend_closure() {
  11511. },
  11512. _replace_closure: function _replace_closure() {
  11513. },
  11514. _unify_closure: function _unify_closure() {
  11515. },
  11516. _isSuperselector_closure: function _isSuperselector_closure() {
  11517. },
  11518. _simpleSelectors_closure: function _simpleSelectors_closure() {
  11519. },
  11520. _simpleSelectors__closure: function _simpleSelectors__closure() {
  11521. },
  11522. _parse_closure: function _parse_closure() {
  11523. },
  11524. _codepointForIndex(index, lengthInCodepoints, allowNegative) {
  11525. var result;
  11526. if (index === 0)
  11527. return 0;
  11528. if (index > 0)
  11529. return Math.min(index - 1, lengthInCodepoints);
  11530. result = lengthInCodepoints + index;
  11531. if (result < 0 && !allowNegative)
  11532. return 0;
  11533. return result;
  11534. },
  11535. _function($name, $arguments, callback) {
  11536. return A.BuiltInCallable$function($name, $arguments, callback, "sass:string");
  11537. },
  11538. module_closure: function module_closure() {
  11539. },
  11540. module__closure: function module__closure(t0) {
  11541. this.string = t0;
  11542. },
  11543. module__closure0: function module__closure0(t0) {
  11544. this.string = t0;
  11545. },
  11546. _unquote_closure: function _unquote_closure() {
  11547. },
  11548. _quote_closure: function _quote_closure() {
  11549. },
  11550. _length_closure: function _length_closure() {
  11551. },
  11552. _insert_closure: function _insert_closure() {
  11553. },
  11554. _index_closure: function _index_closure() {
  11555. },
  11556. _slice_closure: function _slice_closure() {
  11557. },
  11558. _toUpperCase_closure: function _toUpperCase_closure() {
  11559. },
  11560. _toLowerCase_closure: function _toLowerCase_closure() {
  11561. },
  11562. _uniqueId_closure: function _uniqueId_closure() {
  11563. },
  11564. ImportCache$(loadPaths, logger) {
  11565. var t1 = type$.nullable_Tuple3_Importer_Uri_Uri,
  11566. t2 = type$.Uri,
  11567. t3 = A.ImportCache__toImporters(null, loadPaths, null);
  11568. 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));
  11569. },
  11570. ImportCache__toImporters(importers, loadPaths, packageConfig) {
  11571. var t2, t3, t4, _i, path, _null = null,
  11572. sassPath = A.getEnvironmentVariable("SASS_PATH"),
  11573. t1 = self.process;
  11574. if (t1 == null) {
  11575. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  11576. return t1;
  11577. }
  11578. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  11579. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  11580. t3 = t2.get$current(t2);
  11581. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  11582. }
  11583. if (sassPath != null) {
  11584. t2 = self.process;
  11585. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  11586. t4 = t3.length;
  11587. _i = 0;
  11588. for (; _i < t4; ++_i) {
  11589. path = t3[_i];
  11590. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  11591. }
  11592. }
  11593. return t1;
  11594. },
  11595. ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5) {
  11596. var _ = this;
  11597. _._importers = t0;
  11598. _._logger = t1;
  11599. _._canonicalizeCache = t2;
  11600. _._relativeCanonicalizeCache = t3;
  11601. _._importCache = t4;
  11602. _._resultsCache = t5;
  11603. },
  11604. ImportCache_canonicalize_closure: function ImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
  11605. var _ = this;
  11606. _.$this = t0;
  11607. _.baseUrl = t1;
  11608. _.url = t2;
  11609. _.baseImporter = t3;
  11610. _.forImport = t4;
  11611. },
  11612. ImportCache_canonicalize_closure0: function ImportCache_canonicalize_closure0(t0, t1, t2) {
  11613. this.$this = t0;
  11614. this.url = t1;
  11615. this.forImport = t2;
  11616. },
  11617. ImportCache__canonicalize_closure: function ImportCache__canonicalize_closure(t0, t1) {
  11618. this.importer = t0;
  11619. this.url = t1;
  11620. },
  11621. ImportCache_importCanonical_closure: function ImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
  11622. var _ = this;
  11623. _.$this = t0;
  11624. _.importer = t1;
  11625. _.canonicalUrl = t2;
  11626. _.originalUrl = t3;
  11627. _.quiet = t4;
  11628. },
  11629. ImportCache_humanize_closure: function ImportCache_humanize_closure(t0) {
  11630. this.canonicalUrl = t0;
  11631. },
  11632. ImportCache_humanize_closure0: function ImportCache_humanize_closure0() {
  11633. },
  11634. ImportCache_humanize_closure1: function ImportCache_humanize_closure1() {
  11635. },
  11636. Importer: function Importer() {
  11637. },
  11638. AsyncImporter: function AsyncImporter() {
  11639. },
  11640. FilesystemImporter: function FilesystemImporter(t0) {
  11641. this._loadPath = t0;
  11642. },
  11643. FilesystemImporter_canonicalize_closure: function FilesystemImporter_canonicalize_closure() {
  11644. },
  11645. NoOpImporter: function NoOpImporter() {
  11646. },
  11647. ImporterResult: function ImporterResult(t0, t1, t2) {
  11648. this.contents = t0;
  11649. this._sourceMapUrl = t1;
  11650. this.syntax = t2;
  11651. },
  11652. fromImport() {
  11653. var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
  11654. return t1 === true;
  11655. },
  11656. resolveImportPath(path) {
  11657. var t1,
  11658. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  11659. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  11660. t1 = A.fromImport() ? new A.resolveImportPath_closure(path, extension).call$0() : null;
  11661. return t1 == null ? A._exactlyOne(A._tryPath(path)) : t1;
  11662. }
  11663. t1 = A.fromImport() ? new A.resolveImportPath_closure0(path).call$0() : null;
  11664. if (t1 == null)
  11665. t1 = A._exactlyOne(A._tryPathWithExtensions(path));
  11666. return t1 == null ? A._tryPathAsDirectory(path) : t1;
  11667. },
  11668. _tryPathWithExtensions(path) {
  11669. var result = A._tryPath(path + ".sass");
  11670. B.JSArray_methods.addAll$1(result, A._tryPath(path + ".scss"));
  11671. return result.length !== 0 ? result : A._tryPath(path + ".css");
  11672. },
  11673. _tryPath(path) {
  11674. var t1 = $.$get$context(),
  11675. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  11676. t1 = A._setArrayType([], type$.JSArray_String);
  11677. if (A.fileExists(partial))
  11678. t1.push(partial);
  11679. if (A.fileExists(path))
  11680. t1.push(path);
  11681. return t1;
  11682. },
  11683. _tryPathAsDirectory(path) {
  11684. var t1;
  11685. if (!A.dirExists(path))
  11686. return null;
  11687. t1 = A.fromImport() ? new A._tryPathAsDirectory_closure(path).call$0() : null;
  11688. return t1 == null ? A._exactlyOne(A._tryPathWithExtensions(A.join(path, "index", null))) : t1;
  11689. },
  11690. _exactlyOne(paths) {
  11691. var t1 = paths.length;
  11692. if (t1 === 0)
  11693. return null;
  11694. if (t1 === 1)
  11695. return B.JSArray_methods.get$first(paths);
  11696. throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure(), type$.String).join$1(0, "\n"));
  11697. },
  11698. resolveImportPath_closure: function resolveImportPath_closure(t0, t1) {
  11699. this.path = t0;
  11700. this.extension = t1;
  11701. },
  11702. resolveImportPath_closure0: function resolveImportPath_closure0(t0) {
  11703. this.path = t0;
  11704. },
  11705. _tryPathAsDirectory_closure: function _tryPathAsDirectory_closure(t0) {
  11706. this.path = t0;
  11707. },
  11708. _exactlyOne_closure: function _exactlyOne_closure() {
  11709. },
  11710. InterpolationBuffer: function InterpolationBuffer(t0, t1) {
  11711. this._interpolation_buffer$_text = t0;
  11712. this._interpolation_buffer$_contents = t1;
  11713. },
  11714. InterpolationMap$(_interpolation, targetLocations) {
  11715. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  11716. t2 = _interpolation.contents.length,
  11717. expectedLocations = Math.max(0, t2 - 1);
  11718. if (t1.length !== expectedLocations)
  11719. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  11720. return new A.InterpolationMap(_interpolation, t1);
  11721. },
  11722. InterpolationMap: function InterpolationMap(t0, t1) {
  11723. this._interpolation = t0;
  11724. this._targetLocations = t1;
  11725. },
  11726. InterpolationMap_mapException_closure: function InterpolationMap_mapException_closure() {
  11727. },
  11728. _realCasePath(path) {
  11729. var prefix,
  11730. t1 = self.process;
  11731. if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  11732. t1 = self.process;
  11733. t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
  11734. } else
  11735. t1 = true;
  11736. if (!t1)
  11737. return path;
  11738. t1 = self.process;
  11739. if (J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  11740. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  11741. t1 = prefix.length;
  11742. if (t1 !== 0 && A.isAlphabetic0(B.JSString_methods._codeUnitAt$1(prefix, 0)))
  11743. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  11744. }
  11745. return new A._realCasePath_helper().call$1(path);
  11746. },
  11747. _realCasePath_helper: function _realCasePath_helper() {
  11748. },
  11749. _realCasePath_helper_closure: function _realCasePath_helper_closure(t0, t1, t2) {
  11750. this.helper = t0;
  11751. this.dirname = t1;
  11752. this.path = t2;
  11753. },
  11754. _realCasePath_helper__closure: function _realCasePath_helper__closure(t0) {
  11755. this.basename = t0;
  11756. },
  11757. printError(message) {
  11758. var t1,
  11759. process_ = self.process;
  11760. if (process_ != null) {
  11761. t1 = J.get$stderr$x(process_);
  11762. J.write$1$x(t1, A.S(message == null ? "" : message) + "\n");
  11763. } else {
  11764. t1 = self.console;
  11765. J.error$1$x(t1, message == null ? "" : message);
  11766. }
  11767. },
  11768. readFile(path) {
  11769. var contents, sourceFile, t1, i;
  11770. if (self.process == null)
  11771. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  11772. contents = A._asString(A._readFile(path, "utf8"));
  11773. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  11774. return contents;
  11775. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  11776. for (t1 = contents.length, i = 0; i < t1; ++i) {
  11777. if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
  11778. continue;
  11779. throw A.wrapException(A.SassException$("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  11780. }
  11781. return contents;
  11782. },
  11783. _readFile(path, encoding) {
  11784. return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
  11785. },
  11786. writeFile(path, contents) {
  11787. if (self.process == null)
  11788. throw A.wrapException(A.UnsupportedError$("writeFile() is only supported on Node.js"));
  11789. return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
  11790. },
  11791. deleteFile(path) {
  11792. if (self.process == null)
  11793. throw A.wrapException(A.UnsupportedError$("deleteFile() is only supported on Node.js"));
  11794. return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
  11795. },
  11796. readStdin() {
  11797. return A.readStdin$body();
  11798. },
  11799. readStdin$body() {
  11800. var $async$goto = 0,
  11801. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  11802. $async$returnValue, t2, completer, sink, t1, process_;
  11803. var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11804. if ($async$errorCode === 1)
  11805. return A._asyncRethrow($async$result, $async$completer);
  11806. while (true)
  11807. switch ($async$goto) {
  11808. case 0:
  11809. // Function start
  11810. t1 = {};
  11811. process_ = self.process;
  11812. if (process_ == null)
  11813. throw A.wrapException(A.UnsupportedError$("readStdin() is only supported on Node.js"));
  11814. t2 = new A._Future($.Zone__current, type$._Future_String);
  11815. completer = new A._AsyncCompleter(t2, type$._AsyncCompleter_String);
  11816. t1.contents = null;
  11817. sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
  11818. t1 = J.getInterceptor$x(process_);
  11819. J.on$2$x(t1.get$stdin(process_), "data", A.allowInterop(new A.readStdin_closure0(sink)));
  11820. J.on$2$x(t1.get$stdin(process_), "end", A.allowInterop(new A.readStdin_closure1(sink)));
  11821. J.on$2$x(t1.get$stdin(process_), "error", A.allowInterop(new A.readStdin_closure2(completer)));
  11822. $async$returnValue = t2;
  11823. // goto return
  11824. $async$goto = 1;
  11825. break;
  11826. case 1:
  11827. // return
  11828. return A._asyncReturn($async$returnValue, $async$completer);
  11829. }
  11830. });
  11831. return A._asyncStartSync($async$readStdin, $async$completer);
  11832. },
  11833. fileExists(path) {
  11834. if (self.process == null)
  11835. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  11836. return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
  11837. },
  11838. dirExists(path) {
  11839. if (self.process == null)
  11840. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  11841. return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
  11842. },
  11843. ensureDir(path) {
  11844. if (self.process == null)
  11845. throw A.wrapException(A.UnsupportedError$("ensureDir() is only supported on Node.js"));
  11846. return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
  11847. },
  11848. listDir(path, recursive) {
  11849. if (self.process == null)
  11850. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  11851. return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
  11852. },
  11853. modificationTime(path) {
  11854. if (self.process == null)
  11855. throw A.wrapException(A.UnsupportedError$("modificationTime() is only supported on Node.js"));
  11856. return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
  11857. },
  11858. getEnvironmentVariable($name) {
  11859. var t1 = self.process,
  11860. env = t1 == null ? null : J.get$env$x(t1);
  11861. if (env == null)
  11862. t1 = null;
  11863. else
  11864. t1 = A._asStringQ(env[$name]);
  11865. return t1;
  11866. },
  11867. _systemErrorToFileSystemException(callback) {
  11868. var error, t1, exception, t2;
  11869. try {
  11870. t1 = callback.call$0();
  11871. return t1;
  11872. } catch (exception) {
  11873. error = A.unwrapException(exception);
  11874. if (!type$.JsSystemError._is(error))
  11875. throw exception;
  11876. t1 = error;
  11877. t2 = J.getInterceptor$x(t1);
  11878. 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)));
  11879. }
  11880. },
  11881. hasTerminal() {
  11882. var t1 = self.process;
  11883. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  11884. },
  11885. isWindows() {
  11886. var t1 = self.process;
  11887. return J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32");
  11888. },
  11889. watchDir(path, poll) {
  11890. var watcher, t2, t3, t1 = {};
  11891. if (self.process == null)
  11892. throw A.wrapException(A.UnsupportedError$("watchDir() is only supported on Node.js"));
  11893. watcher = J.watch$2$x(self.chokidar, path, {disableGlobbing: true, usePolling: poll});
  11894. t1.controller = null;
  11895. t2 = J.getInterceptor$x(watcher);
  11896. t2.on$2(watcher, "add", A.allowInterop(new A.watchDir_closure(t1)));
  11897. t2.on$2(watcher, "change", A.allowInterop(new A.watchDir_closure0(t1)));
  11898. t2.on$2(watcher, "unlink", A.allowInterop(new A.watchDir_closure1(t1)));
  11899. t2.on$2(watcher, "error", A.allowInterop(new A.watchDir_closure2(t1)));
  11900. t3 = new A._Future($.Zone__current, type$._Future_Stream_WatchEvent);
  11901. t2.on$2(watcher, "ready", A.allowInterop(new A.watchDir_closure3(t1, watcher, new A._AsyncCompleter(t3, type$._AsyncCompleter_Stream_WatchEvent))));
  11902. return t3;
  11903. },
  11904. FileSystemException: function FileSystemException(t0, t1) {
  11905. this.message = t0;
  11906. this.path = t1;
  11907. },
  11908. _readFile_closure: function _readFile_closure(t0, t1) {
  11909. this.path = t0;
  11910. this.encoding = t1;
  11911. },
  11912. writeFile_closure: function writeFile_closure(t0, t1) {
  11913. this.path = t0;
  11914. this.contents = t1;
  11915. },
  11916. deleteFile_closure: function deleteFile_closure(t0) {
  11917. this.path = t0;
  11918. },
  11919. readStdin_closure: function readStdin_closure(t0, t1) {
  11920. this._box_0 = t0;
  11921. this.completer = t1;
  11922. },
  11923. readStdin_closure0: function readStdin_closure0(t0) {
  11924. this.sink = t0;
  11925. },
  11926. readStdin_closure1: function readStdin_closure1(t0) {
  11927. this.sink = t0;
  11928. },
  11929. readStdin_closure2: function readStdin_closure2(t0) {
  11930. this.completer = t0;
  11931. },
  11932. fileExists_closure: function fileExists_closure(t0) {
  11933. this.path = t0;
  11934. },
  11935. dirExists_closure: function dirExists_closure(t0) {
  11936. this.path = t0;
  11937. },
  11938. ensureDir_closure: function ensureDir_closure(t0) {
  11939. this.path = t0;
  11940. },
  11941. listDir_closure: function listDir_closure(t0, t1) {
  11942. this.recursive = t0;
  11943. this.path = t1;
  11944. },
  11945. listDir__closure: function listDir__closure(t0) {
  11946. this.path = t0;
  11947. },
  11948. listDir__closure0: function listDir__closure0() {
  11949. },
  11950. listDir_closure_list: function listDir_closure_list() {
  11951. },
  11952. listDir__list_closure: function listDir__list_closure(t0, t1) {
  11953. this.parent = t0;
  11954. this.list = t1;
  11955. },
  11956. modificationTime_closure: function modificationTime_closure(t0) {
  11957. this.path = t0;
  11958. },
  11959. watchDir_closure: function watchDir_closure(t0) {
  11960. this._box_0 = t0;
  11961. },
  11962. watchDir_closure0: function watchDir_closure0(t0) {
  11963. this._box_0 = t0;
  11964. },
  11965. watchDir_closure1: function watchDir_closure1(t0) {
  11966. this._box_0 = t0;
  11967. },
  11968. watchDir_closure2: function watchDir_closure2(t0) {
  11969. this._box_0 = t0;
  11970. },
  11971. watchDir_closure3: function watchDir_closure3(t0, t1, t2) {
  11972. this._box_0 = t0;
  11973. this.watcher = t1;
  11974. this.completer = t2;
  11975. },
  11976. watchDir__closure: function watchDir__closure(t0) {
  11977. this.watcher = t0;
  11978. },
  11979. WarnForDeprecation_warnForDeprecation(_this, deprecation, message, span, trace) {
  11980. if (_this instanceof A.DeprecationHandlingLogger)
  11981. _this.warnForDeprecation$4$span$trace(deprecation, message, span, trace);
  11982. else if (!deprecation.isFuture)
  11983. _this.warn$4$deprecation$span$trace(0, message, true, span, trace);
  11984. },
  11985. _QuietLogger: function _QuietLogger() {
  11986. },
  11987. DeprecationHandlingLogger: function DeprecationHandlingLogger(t0, t1, t2, t3, t4) {
  11988. var _ = this;
  11989. _._warningCounts = t0;
  11990. _._inner = t1;
  11991. _.fatalDeprecations = t2;
  11992. _.futureDeprecations = t3;
  11993. _.limitRepetition = t4;
  11994. },
  11995. DeprecationHandlingLogger_summarize_closure: function DeprecationHandlingLogger_summarize_closure() {
  11996. },
  11997. DeprecationHandlingLogger_summarize_closure0: function DeprecationHandlingLogger_summarize_closure0() {
  11998. },
  11999. StderrLogger: function StderrLogger(t0) {
  12000. this.color = t0;
  12001. },
  12002. TrackingLogger: function TrackingLogger(t0) {
  12003. this._tracking$_logger = t0;
  12004. this._emittedDebug = this._emittedWarning = false;
  12005. },
  12006. BuiltInModule$($name, functions, mixins, variables, $T) {
  12007. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  12008. t2 = A.BuiltInModule__callableMap(functions, $T),
  12009. t3 = A.BuiltInModule__callableMap(mixins, $T),
  12010. t4 = variables == null ? B.Map_empty2 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value);
  12011. return new A.BuiltInModule(t1, t2, t3, t4, $T._eval$1("BuiltInModule<0>"));
  12012. },
  12013. BuiltInModule__callableMap(callables, $T) {
  12014. var t2, _i, callable,
  12015. t1 = type$.String;
  12016. if (callables == null)
  12017. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  12018. else {
  12019. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  12020. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  12021. callable = callables[_i];
  12022. t1.$indexSet(0, J.get$name$x(callable), callable);
  12023. }
  12024. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  12025. }
  12026. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  12027. },
  12028. BuiltInModule: function BuiltInModule(t0, t1, t2, t3, t4) {
  12029. var _ = this;
  12030. _.url = t0;
  12031. _.functions = t1;
  12032. _.mixins = t2;
  12033. _.variables = t3;
  12034. _.$ti = t4;
  12035. },
  12036. ForwardedModuleView_ifNecessary(inner, rule, $T) {
  12037. var t1;
  12038. if (rule.prefix == null)
  12039. if (rule.shownMixinsAndFunctions == null)
  12040. if (rule.shownVariables == null) {
  12041. t1 = rule.hiddenMixinsAndFunctions;
  12042. if (t1 == null)
  12043. t1 = null;
  12044. else {
  12045. t1 = t1._base;
  12046. t1 = t1.get$isEmpty(t1);
  12047. }
  12048. if (t1 === true) {
  12049. t1 = rule.hiddenVariables;
  12050. if (t1 == null)
  12051. t1 = null;
  12052. else {
  12053. t1 = t1._base;
  12054. t1 = t1.get$isEmpty(t1);
  12055. }
  12056. t1 = t1 === true;
  12057. } else
  12058. t1 = false;
  12059. } else
  12060. t1 = false;
  12061. else
  12062. t1 = false;
  12063. else
  12064. t1 = false;
  12065. if (t1)
  12066. return inner;
  12067. else
  12068. return A.ForwardedModuleView$(inner, rule, $T);
  12069. },
  12070. ForwardedModuleView$(_inner, _rule, $T) {
  12071. var t1 = _rule.prefix,
  12072. t2 = _rule.shownVariables,
  12073. t3 = _rule.hiddenVariables,
  12074. t4 = _rule.shownMixinsAndFunctions,
  12075. t5 = _rule.hiddenMixinsAndFunctions;
  12076. 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>"));
  12077. },
  12078. ForwardedModuleView__forwardedMap(map, prefix, safelist, blocklist, $V) {
  12079. var t2,
  12080. t1 = prefix == null;
  12081. if (t1)
  12082. if (safelist == null)
  12083. if (blocklist != null) {
  12084. t2 = blocklist._base;
  12085. t2 = t2.get$isEmpty(t2);
  12086. } else
  12087. t2 = true;
  12088. else
  12089. t2 = false;
  12090. else
  12091. t2 = false;
  12092. if (t2)
  12093. return map;
  12094. if (!t1)
  12095. map = new A.PrefixedMapView(map, prefix, $V._eval$1("PrefixedMapView<0>"));
  12096. if (safelist != null)
  12097. 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>"));
  12098. else {
  12099. if (blocklist != null) {
  12100. t1 = blocklist._base;
  12101. t1 = t1.get$isNotEmpty(t1);
  12102. } else
  12103. t1 = false;
  12104. if (t1)
  12105. map = A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  12106. }
  12107. return map;
  12108. },
  12109. ForwardedModuleView: function ForwardedModuleView(t0, t1, t2, t3, t4, t5, t6) {
  12110. var _ = this;
  12111. _._forwarded_view$_inner = t0;
  12112. _._rule = t1;
  12113. _.variables = t2;
  12114. _.variableNodes = t3;
  12115. _.functions = t4;
  12116. _.mixins = t5;
  12117. _.$ti = t6;
  12118. },
  12119. ShadowedModuleView_ifNecessary(inner, functions, mixins, variables, $T) {
  12120. 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;
  12121. },
  12122. ShadowedModuleView__shadowedMap(map, blocklist, $V) {
  12123. var t1 = A.ShadowedModuleView__needsBlocklist(map, blocklist);
  12124. return !t1 ? map : A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  12125. },
  12126. ShadowedModuleView__needsBlocklist(map, blocklist) {
  12127. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  12128. },
  12129. ShadowedModuleView: function ShadowedModuleView(t0, t1, t2, t3, t4, t5) {
  12130. var _ = this;
  12131. _._shadowed_view$_inner = t0;
  12132. _.variables = t1;
  12133. _.variableNodes = t2;
  12134. _.functions = t3;
  12135. _.mixins = t4;
  12136. _.$ti = t5;
  12137. },
  12138. JSArray0: function JSArray0() {
  12139. },
  12140. Chokidar: function Chokidar() {
  12141. },
  12142. ChokidarOptions: function ChokidarOptions() {
  12143. },
  12144. ChokidarWatcher: function ChokidarWatcher() {
  12145. },
  12146. JSFunction: function JSFunction() {
  12147. },
  12148. NodeImporterResult: function NodeImporterResult() {
  12149. },
  12150. RenderContext: function RenderContext() {
  12151. },
  12152. RenderContextOptions: function RenderContextOptions() {
  12153. },
  12154. RenderContextResult: function RenderContextResult() {
  12155. },
  12156. RenderContextResultStats: function RenderContextResultStats() {
  12157. },
  12158. JSClass: function JSClass() {
  12159. },
  12160. JSUrl: function JSUrl() {
  12161. },
  12162. _PropertyDescriptor: function _PropertyDescriptor() {
  12163. },
  12164. AtRootQueryParser$(contents, logger, url) {
  12165. var t1 = A.SpanScanner$(contents, url);
  12166. return new A.AtRootQueryParser(t1, logger, null);
  12167. },
  12168. AtRootQueryParser: function AtRootQueryParser(t0, t1, t2) {
  12169. this.scanner = t0;
  12170. this.logger = t1;
  12171. this._interpolationMap = t2;
  12172. },
  12173. AtRootQueryParser_parse_closure: function AtRootQueryParser_parse_closure(t0) {
  12174. this.$this = t0;
  12175. },
  12176. _disallowedFunctionNames_closure: function _disallowedFunctionNames_closure() {
  12177. },
  12178. CssParser: function CssParser(t0, t1, t2, t3) {
  12179. var _ = this;
  12180. _._isUseAllowed = true;
  12181. _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  12182. _._globalVariables = t0;
  12183. _.lastSilentComment = null;
  12184. _.scanner = t1;
  12185. _.logger = t2;
  12186. _._interpolationMap = t3;
  12187. },
  12188. KeyframeSelectorParser$(contents, interpolationMap, logger) {
  12189. var t1 = A.SpanScanner$(contents, null);
  12190. return new A.KeyframeSelectorParser(t1, logger, interpolationMap);
  12191. },
  12192. KeyframeSelectorParser: function KeyframeSelectorParser(t0, t1, t2) {
  12193. this.scanner = t0;
  12194. this.logger = t1;
  12195. this._interpolationMap = t2;
  12196. },
  12197. KeyframeSelectorParser_parse_closure: function KeyframeSelectorParser_parse_closure(t0) {
  12198. this.$this = t0;
  12199. },
  12200. MediaQueryParser: function MediaQueryParser(t0, t1, t2) {
  12201. this.scanner = t0;
  12202. this.logger = t1;
  12203. this._interpolationMap = t2;
  12204. },
  12205. MediaQueryParser_parse_closure: function MediaQueryParser_parse_closure(t0) {
  12206. this.$this = t0;
  12207. },
  12208. Parser_isIdentifier(text) {
  12209. var t1, t2, exception, logger = null;
  12210. try {
  12211. t1 = logger;
  12212. t2 = A.SpanScanner$(text, null);
  12213. new A.Parser(t2, t1 == null ? B.StderrLogger_false : t1, null)._parseIdentifier$0();
  12214. return true;
  12215. } catch (exception) {
  12216. if (type$.SassFormatException._is(A.unwrapException(exception)))
  12217. return false;
  12218. else
  12219. throw exception;
  12220. }
  12221. },
  12222. Parser: function Parser(t0, t1, t2) {
  12223. this.scanner = t0;
  12224. this.logger = t1;
  12225. this._interpolationMap = t2;
  12226. },
  12227. Parser__parseIdentifier_closure: function Parser__parseIdentifier_closure(t0) {
  12228. this.$this = t0;
  12229. },
  12230. Parser_scanIdentChar_matches: function Parser_scanIdentChar_matches(t0, t1) {
  12231. this.caseSensitive = t0;
  12232. this.char = t1;
  12233. },
  12234. Parser_spanFrom_closure: function Parser_spanFrom_closure(t0, t1) {
  12235. this.$this = t0;
  12236. this.span = t1;
  12237. },
  12238. SassParser: function SassParser(t0, t1, t2, t3) {
  12239. var _ = this;
  12240. _._currentIndentation = 0;
  12241. _._spaces = _._nextIndentationEnd = _._nextIndentation = null;
  12242. _._isUseAllowed = true;
  12243. _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  12244. _._globalVariables = t0;
  12245. _.lastSilentComment = null;
  12246. _.scanner = t1;
  12247. _.logger = t2;
  12248. _._interpolationMap = t3;
  12249. },
  12250. SassParser_children_closure: function SassParser_children_closure(t0, t1, t2) {
  12251. this.$this = t0;
  12252. this.child = t1;
  12253. this.children = t2;
  12254. },
  12255. ScssParser$(contents, logger, url) {
  12256. var t1 = A.SpanScanner$(contents, url),
  12257. t2 = logger == null ? B.StderrLogger_false : logger;
  12258. return new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2, null);
  12259. },
  12260. ScssParser: function ScssParser(t0, t1, t2, t3) {
  12261. var _ = this;
  12262. _._isUseAllowed = true;
  12263. _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  12264. _._globalVariables = t0;
  12265. _.lastSilentComment = null;
  12266. _.scanner = t1;
  12267. _.logger = t2;
  12268. _._interpolationMap = t3;
  12269. },
  12270. SelectorParser$(contents, allowParent, allowPlaceholder, interpolationMap, logger, url) {
  12271. var t1 = A.SpanScanner$(contents, url);
  12272. return new A.SelectorParser(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false : logger, interpolationMap);
  12273. },
  12274. SelectorParser: function SelectorParser(t0, t1, t2, t3, t4) {
  12275. var _ = this;
  12276. _._allowParent = t0;
  12277. _._allowPlaceholder = t1;
  12278. _.scanner = t2;
  12279. _.logger = t3;
  12280. _._interpolationMap = t4;
  12281. },
  12282. SelectorParser_parse_closure: function SelectorParser_parse_closure(t0) {
  12283. this.$this = t0;
  12284. },
  12285. SelectorParser_parseCompoundSelector_closure: function SelectorParser_parseCompoundSelector_closure(t0) {
  12286. this.$this = t0;
  12287. },
  12288. StylesheetParser: function StylesheetParser() {
  12289. },
  12290. StylesheetParser_parse_closure: function StylesheetParser_parse_closure(t0) {
  12291. this.$this = t0;
  12292. },
  12293. StylesheetParser_parse__closure: function StylesheetParser_parse__closure(t0) {
  12294. this.$this = t0;
  12295. },
  12296. StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0() {
  12297. },
  12298. StylesheetParser_parseArgumentDeclaration_closure: function StylesheetParser_parseArgumentDeclaration_closure(t0) {
  12299. this.$this = t0;
  12300. },
  12301. StylesheetParser_parseVariableDeclaration_closure: function StylesheetParser_parseVariableDeclaration_closure(t0) {
  12302. this.$this = t0;
  12303. },
  12304. StylesheetParser_parseUseRule_closure: function StylesheetParser_parseUseRule_closure(t0) {
  12305. this.$this = t0;
  12306. },
  12307. StylesheetParser__parseSingleProduction_closure: function StylesheetParser__parseSingleProduction_closure(t0, t1, t2) {
  12308. this.$this = t0;
  12309. this.production = t1;
  12310. this.T = t2;
  12311. },
  12312. StylesheetParser__statement_closure: function StylesheetParser__statement_closure(t0) {
  12313. this.$this = t0;
  12314. },
  12315. StylesheetParser_variableDeclarationWithoutNamespace_closure: function StylesheetParser_variableDeclarationWithoutNamespace_closure(t0, t1) {
  12316. this.$this = t0;
  12317. this.start = t1;
  12318. },
  12319. StylesheetParser_variableDeclarationWithoutNamespace_closure0: function StylesheetParser_variableDeclarationWithoutNamespace_closure0(t0) {
  12320. this.declaration = t0;
  12321. },
  12322. StylesheetParser__declarationOrBuffer_closure: function StylesheetParser__declarationOrBuffer_closure(t0) {
  12323. this.name = t0;
  12324. },
  12325. StylesheetParser__declarationOrBuffer_closure0: function StylesheetParser__declarationOrBuffer_closure0(t0, t1) {
  12326. this._box_0 = t0;
  12327. this.name = t1;
  12328. },
  12329. StylesheetParser__styleRule_closure: function StylesheetParser__styleRule_closure(t0, t1, t2, t3) {
  12330. var _ = this;
  12331. _._box_0 = t0;
  12332. _.$this = t1;
  12333. _.wasInStyleRule = t2;
  12334. _.start = t3;
  12335. },
  12336. StylesheetParser__propertyOrVariableDeclaration_closure: function StylesheetParser__propertyOrVariableDeclaration_closure(t0) {
  12337. this._box_0 = t0;
  12338. },
  12339. StylesheetParser__propertyOrVariableDeclaration_closure0: function StylesheetParser__propertyOrVariableDeclaration_closure0(t0, t1) {
  12340. this._box_0 = t0;
  12341. this.value = t1;
  12342. },
  12343. StylesheetParser__atRootRule_closure: function StylesheetParser__atRootRule_closure(t0) {
  12344. this.query = t0;
  12345. },
  12346. StylesheetParser__atRootRule_closure0: function StylesheetParser__atRootRule_closure0() {
  12347. },
  12348. StylesheetParser__eachRule_closure: function StylesheetParser__eachRule_closure(t0, t1, t2, t3) {
  12349. var _ = this;
  12350. _.$this = t0;
  12351. _.wasInControlDirective = t1;
  12352. _.variables = t2;
  12353. _.list = t3;
  12354. },
  12355. StylesheetParser__functionRule_closure: function StylesheetParser__functionRule_closure(t0, t1, t2) {
  12356. this.name = t0;
  12357. this.$arguments = t1;
  12358. this.precedingComment = t2;
  12359. },
  12360. StylesheetParser__forRule_closure: function StylesheetParser__forRule_closure(t0, t1) {
  12361. this._box_0 = t0;
  12362. this.$this = t1;
  12363. },
  12364. StylesheetParser__forRule_closure0: function StylesheetParser__forRule_closure0(t0, t1, t2, t3, t4, t5) {
  12365. var _ = this;
  12366. _._box_0 = t0;
  12367. _.$this = t1;
  12368. _.wasInControlDirective = t2;
  12369. _.variable = t3;
  12370. _.from = t4;
  12371. _.to = t5;
  12372. },
  12373. StylesheetParser__memberList_closure: function StylesheetParser__memberList_closure(t0, t1, t2) {
  12374. this.$this = t0;
  12375. this.variables = t1;
  12376. this.identifiers = t2;
  12377. },
  12378. StylesheetParser__includeRule_closure: function StylesheetParser__includeRule_closure(t0) {
  12379. this.contentArguments_ = t0;
  12380. },
  12381. StylesheetParser_mediaRule_closure: function StylesheetParser_mediaRule_closure(t0) {
  12382. this.query = t0;
  12383. },
  12384. StylesheetParser__mixinRule_closure: function StylesheetParser__mixinRule_closure(t0, t1, t2, t3) {
  12385. var _ = this;
  12386. _.$this = t0;
  12387. _.name = t1;
  12388. _.$arguments = t2;
  12389. _.precedingComment = t3;
  12390. },
  12391. StylesheetParser_mozDocumentRule_closure: function StylesheetParser_mozDocumentRule_closure(t0, t1, t2, t3) {
  12392. var _ = this;
  12393. _._box_0 = t0;
  12394. _.$this = t1;
  12395. _.name = t2;
  12396. _.value = t3;
  12397. },
  12398. StylesheetParser_supportsRule_closure: function StylesheetParser_supportsRule_closure(t0) {
  12399. this.condition = t0;
  12400. },
  12401. StylesheetParser__whileRule_closure: function StylesheetParser__whileRule_closure(t0, t1, t2) {
  12402. this.$this = t0;
  12403. this.wasInControlDirective = t1;
  12404. this.condition = t2;
  12405. },
  12406. StylesheetParser_unknownAtRule_closure: function StylesheetParser_unknownAtRule_closure(t0, t1) {
  12407. this._box_0 = t0;
  12408. this.name = t1;
  12409. },
  12410. StylesheetParser__expression_resetState: function StylesheetParser__expression_resetState(t0, t1, t2) {
  12411. this._box_0 = t0;
  12412. this.$this = t1;
  12413. this.start = t2;
  12414. },
  12415. StylesheetParser__expression_resolveOneOperation: function StylesheetParser__expression_resolveOneOperation(t0, t1) {
  12416. this._box_0 = t0;
  12417. this.$this = t1;
  12418. },
  12419. StylesheetParser__expression_resolveOperations: function StylesheetParser__expression_resolveOperations(t0, t1) {
  12420. this._box_0 = t0;
  12421. this.resolveOneOperation = t1;
  12422. },
  12423. StylesheetParser__expression_addSingleExpression: function StylesheetParser__expression_addSingleExpression(t0, t1, t2, t3) {
  12424. var _ = this;
  12425. _._box_0 = t0;
  12426. _.$this = t1;
  12427. _.resetState = t2;
  12428. _.resolveOperations = t3;
  12429. },
  12430. StylesheetParser__expression_addOperator: function StylesheetParser__expression_addOperator(t0, t1, t2) {
  12431. this._box_0 = t0;
  12432. this.$this = t1;
  12433. this.resolveOneOperation = t2;
  12434. },
  12435. StylesheetParser__expression_resolveSpaceExpressions: function StylesheetParser__expression_resolveSpaceExpressions(t0, t1, t2) {
  12436. this._box_0 = t0;
  12437. this.$this = t1;
  12438. this.resolveOperations = t2;
  12439. },
  12440. StylesheetParser_expressionUntilComma_closure: function StylesheetParser_expressionUntilComma_closure(t0) {
  12441. this.$this = t0;
  12442. },
  12443. StylesheetParser__unicodeRange_closure: function StylesheetParser__unicodeRange_closure() {
  12444. },
  12445. StylesheetParser__unicodeRange_closure0: function StylesheetParser__unicodeRange_closure0() {
  12446. },
  12447. StylesheetParser_namespacedExpression_closure: function StylesheetParser_namespacedExpression_closure(t0, t1) {
  12448. this.$this = t0;
  12449. this.start = t1;
  12450. },
  12451. StylesheetParser_trySpecialFunction_closure: function StylesheetParser_trySpecialFunction_closure() {
  12452. },
  12453. StylesheetParser__expressionUntilComparison_closure: function StylesheetParser__expressionUntilComparison_closure(t0) {
  12454. this.$this = t0;
  12455. },
  12456. StylesheetParser__publicIdentifier_closure: function StylesheetParser__publicIdentifier_closure(t0, t1) {
  12457. this.$this = t0;
  12458. this.start = t1;
  12459. },
  12460. StylesheetNode$_(_stylesheet, importer, canonicalUrl, allUpstream) {
  12461. var t1 = new A.StylesheetNode(_stylesheet, importer, canonicalUrl, allUpstream.item1, allUpstream.item2, A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode));
  12462. t1.StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream);
  12463. return t1;
  12464. },
  12465. StylesheetGraph: function StylesheetGraph(t0, t1, t2) {
  12466. this._nodes = t0;
  12467. this.importCache = t1;
  12468. this._transitiveModificationTimes = t2;
  12469. },
  12470. StylesheetGraph_modifiedSince_transitiveModificationTime: function StylesheetGraph_modifiedSince_transitiveModificationTime(t0) {
  12471. this.$this = t0;
  12472. },
  12473. StylesheetGraph_modifiedSince_transitiveModificationTime_closure: function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(t0, t1) {
  12474. this.node = t0;
  12475. this.transitiveModificationTime = t1;
  12476. },
  12477. StylesheetGraph__add_closure: function StylesheetGraph__add_closure(t0, t1, t2, t3) {
  12478. var _ = this;
  12479. _.$this = t0;
  12480. _.url = t1;
  12481. _.baseImporter = t2;
  12482. _.baseUrl = t3;
  12483. },
  12484. StylesheetGraph_addCanonical_closure: function StylesheetGraph_addCanonical_closure(t0, t1, t2, t3) {
  12485. var _ = this;
  12486. _.$this = t0;
  12487. _.importer = t1;
  12488. _.canonicalUrl = t2;
  12489. _.originalUrl = t3;
  12490. },
  12491. StylesheetGraph_reload_closure: function StylesheetGraph_reload_closure(t0, t1, t2) {
  12492. this.$this = t0;
  12493. this.node = t1;
  12494. this.canonicalUrl = t2;
  12495. },
  12496. StylesheetGraph__recanonicalizeImportsForNode_closure: function StylesheetGraph__recanonicalizeImportsForNode_closure(t0, t1, t2, t3, t4, t5) {
  12497. var _ = this;
  12498. _.$this = t0;
  12499. _.importer = t1;
  12500. _.canonicalUrl = t2;
  12501. _.node = t3;
  12502. _.forImport = t4;
  12503. _.newMap = t5;
  12504. },
  12505. StylesheetGraph__nodeFor_closure: function StylesheetGraph__nodeFor_closure(t0, t1, t2, t3, t4) {
  12506. var _ = this;
  12507. _.$this = t0;
  12508. _.url = t1;
  12509. _.baseImporter = t2;
  12510. _.baseUrl = t3;
  12511. _.forImport = t4;
  12512. },
  12513. StylesheetGraph__nodeFor_closure0: function StylesheetGraph__nodeFor_closure0(t0, t1, t2, t3) {
  12514. var _ = this;
  12515. _.$this = t0;
  12516. _.importer = t1;
  12517. _.canonicalUrl = t2;
  12518. _.resolvedUrl = t3;
  12519. },
  12520. StylesheetNode: function StylesheetNode(t0, t1, t2, t3, t4, t5) {
  12521. var _ = this;
  12522. _._stylesheet = t0;
  12523. _.importer = t1;
  12524. _.canonicalUrl = t2;
  12525. _._upstream = t3;
  12526. _._upstreamImports = t4;
  12527. _._downstream = t5;
  12528. },
  12529. Syntax_forPath(path) {
  12530. switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
  12531. case ".sass":
  12532. return B.Syntax_Sass_sass;
  12533. case ".css":
  12534. return B.Syntax_CSS_css;
  12535. default:
  12536. return B.Syntax_SCSS_scss;
  12537. }
  12538. },
  12539. Syntax: function Syntax(t0, t1) {
  12540. this._syntax$_name = t0;
  12541. this._name = t1;
  12542. },
  12543. Box: function Box(t0, t1) {
  12544. this._box$_inner = t0;
  12545. this.$ti = t1;
  12546. },
  12547. ModifiableBox: function ModifiableBox(t0, t1) {
  12548. this.value = t0;
  12549. this.$ti = t1;
  12550. },
  12551. LazyFileSpan: function LazyFileSpan(t0) {
  12552. this._builder = t0;
  12553. this._lazy_file_span$_span = null;
  12554. },
  12555. LimitedMapView$blocklist(_map, blocklist, $K, $V) {
  12556. var t2, key,
  12557. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  12558. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  12559. key = t2.get$current(t2);
  12560. if (!blocklist.contains$1(0, key))
  12561. t1.add$1(0, key);
  12562. }
  12563. return new A.LimitedMapView(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView<1,2>"));
  12564. },
  12565. LimitedMapView: function LimitedMapView(t0, t1, t2) {
  12566. this._limited_map_view$_map = t0;
  12567. this._limited_map_view$_keys = t1;
  12568. this.$ti = t2;
  12569. },
  12570. MergedMapView$(maps, $K, $V) {
  12571. var t1 = $K._eval$1("@<0>")._bind$1($V);
  12572. t1 = new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView<1,2>"));
  12573. t1.MergedMapView$1(maps, $K, $V);
  12574. return t1;
  12575. },
  12576. MergedMapView: function MergedMapView(t0, t1) {
  12577. this._mapsByKey = t0;
  12578. this.$ti = t1;
  12579. },
  12580. MultiDirWatcher: function MultiDirWatcher(t0, t1, t2) {
  12581. this._watchers = t0;
  12582. this._group = t1;
  12583. this._poll = t2;
  12584. },
  12585. MultiSpan: function MultiSpan(t0, t1, t2) {
  12586. this._multi_span$_primary = t0;
  12587. this.primaryLabel = t1;
  12588. this.secondarySpans = t2;
  12589. },
  12590. NoSourceMapBuffer: function NoSourceMapBuffer(t0) {
  12591. this._no_source_map_buffer$_buffer = t0;
  12592. },
  12593. PrefixedMapView: function PrefixedMapView(t0, t1, t2) {
  12594. this._prefixed_map_view$_map = t0;
  12595. this._prefix = t1;
  12596. this.$ti = t2;
  12597. },
  12598. _PrefixedKeys: function _PrefixedKeys(t0) {
  12599. this._view = t0;
  12600. },
  12601. _PrefixedKeys_iterator_closure: function _PrefixedKeys_iterator_closure(t0) {
  12602. this.$this = t0;
  12603. },
  12604. PublicMemberMapView: function PublicMemberMapView(t0, t1) {
  12605. this._public_member_map_view$_inner = t0;
  12606. this.$ti = t1;
  12607. },
  12608. SourceMapBuffer: function SourceMapBuffer(t0, t1) {
  12609. var _ = this;
  12610. _._source_map_buffer$_buffer = t0;
  12611. _._entries = t1;
  12612. _._column = _._line = 0;
  12613. _._inSpan = false;
  12614. },
  12615. SourceMapBuffer_buildSourceMap_closure: function SourceMapBuffer_buildSourceMap_closure(t0, t1) {
  12616. this._box_0 = t0;
  12617. this.prefixLength = t1;
  12618. },
  12619. UnprefixedMapView: function UnprefixedMapView(t0, t1, t2) {
  12620. this._unprefixed_map_view$_map = t0;
  12621. this._unprefixed_map_view$_prefix = t1;
  12622. this.$ti = t2;
  12623. },
  12624. _UnprefixedKeys: function _UnprefixedKeys(t0) {
  12625. this._unprefixed_map_view$_view = t0;
  12626. },
  12627. _UnprefixedKeys_iterator_closure: function _UnprefixedKeys_iterator_closure(t0) {
  12628. this.$this = t0;
  12629. },
  12630. _UnprefixedKeys_iterator_closure0: function _UnprefixedKeys_iterator_closure0(t0) {
  12631. this.$this = t0;
  12632. },
  12633. toSentence(iter, conjunction) {
  12634. var t1 = iter.__internal$_iterable,
  12635. t2 = J.getInterceptor$asx(t1);
  12636. if (t2.get$length(t1) === 1)
  12637. return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
  12638. return A.IterableExtension_get_exceptLast(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter._f.call$1(t2.get$last(t1))));
  12639. },
  12640. indent(string, indentation) {
  12641. 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");
  12642. },
  12643. pluralize($name, number, plural) {
  12644. if (number === 1)
  12645. return $name;
  12646. if (plural != null)
  12647. return plural;
  12648. return $name + "s";
  12649. },
  12650. trimAscii(string, excludeEscape) {
  12651. var t1,
  12652. start = A._firstNonWhitespace(string);
  12653. if (start == null)
  12654. t1 = "";
  12655. else {
  12656. t1 = A._lastNonWhitespace(string, true);
  12657. t1.toString;
  12658. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  12659. }
  12660. return t1;
  12661. },
  12662. trimAsciiRight(string, excludeEscape) {
  12663. var end = A._lastNonWhitespace(string, excludeEscape);
  12664. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  12665. },
  12666. _firstNonWhitespace(string) {
  12667. var t1, i, t2;
  12668. for (t1 = string.length, i = 0; i < t1; ++i) {
  12669. t2 = B.JSString_methods._codeUnitAt$1(string, i);
  12670. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  12671. return i;
  12672. }
  12673. return null;
  12674. },
  12675. _lastNonWhitespace(string, excludeEscape) {
  12676. var i, i0, codeUnit;
  12677. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  12678. codeUnit = B.JSString_methods.codeUnitAt$1(string, i0);
  12679. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  12680. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  12681. return i0 + 1;
  12682. else
  12683. return i0;
  12684. }
  12685. return null;
  12686. },
  12687. isPublic(member) {
  12688. var start = B.JSString_methods._codeUnitAt$1(member, 0);
  12689. return start !== 45 && start !== 95;
  12690. },
  12691. flattenVertically(iterable, $T) {
  12692. var result,
  12693. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  12694. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure($T), t1), true, t1._eval$1("ListIterable.E"));
  12695. if (queues.length === 1)
  12696. return B.JSArray_methods.get$first(queues);
  12697. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  12698. for (; queues.length !== 0;) {
  12699. if (!!queues.fixed$length)
  12700. A.throwExpression(A.UnsupportedError$("removeWhere"));
  12701. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure0(result, $T), true);
  12702. }
  12703. return result;
  12704. },
  12705. firstOrNull(iterable) {
  12706. var iterator = J.get$iterator$ax(iterable);
  12707. return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
  12708. },
  12709. codepointIndexToCodeUnitIndex(string, codepointIndex) {
  12710. var codeUnitIndex, i, codeUnitIndex0;
  12711. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  12712. codeUnitIndex0 = codeUnitIndex + 1;
  12713. codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  12714. }
  12715. return codeUnitIndex;
  12716. },
  12717. codeUnitIndexToCodepointIndex(string, codeUnitIndex) {
  12718. var codepointIndex, i;
  12719. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
  12720. ++codepointIndex;
  12721. return codepointIndex;
  12722. },
  12723. frameForSpan(span, member, url) {
  12724. var t2, t3,
  12725. t1 = url == null ? span.get$sourceUrl(span) : url;
  12726. if (t1 == null)
  12727. t1 = $.$get$_noSourceUrl();
  12728. t2 = span.get$start(span);
  12729. t2 = t2.file.getLine$1(t2.offset);
  12730. t3 = span.get$start(span);
  12731. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  12732. },
  12733. declarationName(span) {
  12734. var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
  12735. return A.trimAsciiRight(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  12736. },
  12737. unvendor($name) {
  12738. var i,
  12739. t1 = $name.length;
  12740. if (t1 < 2)
  12741. return $name;
  12742. if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
  12743. return $name;
  12744. if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
  12745. return $name;
  12746. for (i = 2; i < t1; ++i)
  12747. if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
  12748. return B.JSString_methods.substring$1($name, i + 1);
  12749. return $name;
  12750. },
  12751. equalsIgnoreCase(string1, string2) {
  12752. var t1, i;
  12753. if (string1 === string2)
  12754. return true;
  12755. if (string1 == null || false)
  12756. return false;
  12757. t1 = string1.length;
  12758. if (t1 !== string2.length)
  12759. return false;
  12760. for (i = 0; i < t1; ++i)
  12761. if (!A.characterEqualsIgnoreCase(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
  12762. return false;
  12763. return true;
  12764. },
  12765. startsWithIgnoreCase(string, prefix) {
  12766. var i,
  12767. t1 = prefix.length;
  12768. if (string.length < t1)
  12769. return false;
  12770. for (i = 0; i < t1; ++i)
  12771. if (!A.characterEqualsIgnoreCase(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
  12772. return false;
  12773. return true;
  12774. },
  12775. mapInPlace(list, $function) {
  12776. var i;
  12777. for (i = 0; i < list.length; ++i)
  12778. list[i] = $function.call$1(list[i]);
  12779. },
  12780. longestCommonSubsequence(list1, list2, select, $T) {
  12781. var t1, _i, selections, i, i0, j, selection, j0,
  12782. _length = list1.get$length(list1) + 1,
  12783. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  12784. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  12785. lengths[_i] = A.List_List$filled(((list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0) + 1, 0, false, t1);
  12786. _length = list1.get$length(list1);
  12787. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  12788. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  12789. selections[_i] = A.List_List$filled((list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0, null, false, t1);
  12790. for (i = 0; i < (list1._tail - list1._head & J.get$length$asx(list1._table) - 1) >>> 0; i = i0)
  12791. for (i0 = i + 1, j = 0; j < (list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0; j = j0) {
  12792. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  12793. selections[i][j] = selection;
  12794. t1 = lengths[i0];
  12795. j0 = j + 1;
  12796. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  12797. }
  12798. return new A.longestCommonSubsequence_backtrack(selections, lengths, $T).call$2(list1.get$length(list1) - 1, list2.get$length(list2) - 1);
  12799. },
  12800. removeFirstWhere(list, test, orElse) {
  12801. var i;
  12802. for (i = 0; i < list.length; ++i) {
  12803. if (!test.call$1(list[i]))
  12804. continue;
  12805. B.JSArray_methods.removeAt$1(list, i);
  12806. return;
  12807. }
  12808. orElse.call$0();
  12809. },
  12810. mapAddAll2(destination, source, K1, K2, $V) {
  12811. source.forEach$1(0, new A.mapAddAll2_closure(destination, K1, K2, $V));
  12812. },
  12813. setAll(map, keys, value) {
  12814. var t1;
  12815. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  12816. map.$indexSet(0, t1.get$current(t1), value);
  12817. },
  12818. rotateSlice(list, start, end) {
  12819. var i, next,
  12820. element = list.$index(0, end - 1);
  12821. for (i = start; i < end; ++i, element = next) {
  12822. next = list.$index(0, i);
  12823. list.$indexSet(0, i, element);
  12824. }
  12825. },
  12826. mapAsync(iterable, callback, $E, $F) {
  12827. return A.mapAsync$body(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  12828. },
  12829. mapAsync$body(iterable, callback, $E, $F, $async$type) {
  12830. var $async$goto = 0,
  12831. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  12832. $async$returnValue, t2, _i, t1, $async$temp1;
  12833. var $async$mapAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  12834. if ($async$errorCode === 1)
  12835. return A._asyncRethrow($async$result, $async$completer);
  12836. while (true)
  12837. switch ($async$goto) {
  12838. case 0:
  12839. // Function start
  12840. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  12841. t2 = iterable.length, _i = 0;
  12842. case 3:
  12843. // for condition
  12844. if (!(_i < t2)) {
  12845. // goto after for
  12846. $async$goto = 5;
  12847. break;
  12848. }
  12849. $async$temp1 = t1;
  12850. $async$goto = 6;
  12851. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync);
  12852. case 6:
  12853. // returning from await.
  12854. $async$temp1.push($async$result);
  12855. case 4:
  12856. // for update
  12857. ++_i;
  12858. // goto for condition
  12859. $async$goto = 3;
  12860. break;
  12861. case 5:
  12862. // after for
  12863. $async$returnValue = t1;
  12864. // goto return
  12865. $async$goto = 1;
  12866. break;
  12867. case 1:
  12868. // return
  12869. return A._asyncReturn($async$returnValue, $async$completer);
  12870. }
  12871. });
  12872. return A._asyncStartSync($async$mapAsync, $async$completer);
  12873. },
  12874. putIfAbsentAsync(map, key, ifAbsent, $K, $V) {
  12875. return A.putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $V);
  12876. },
  12877. putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $async$type) {
  12878. var $async$goto = 0,
  12879. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  12880. $async$returnValue, t1, value;
  12881. var $async$putIfAbsentAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  12882. if ($async$errorCode === 1)
  12883. return A._asyncRethrow($async$result, $async$completer);
  12884. while (true)
  12885. switch ($async$goto) {
  12886. case 0:
  12887. // Function start
  12888. if (map.containsKey$1(key)) {
  12889. t1 = map.$index(0, key);
  12890. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  12891. // goto return
  12892. $async$goto = 1;
  12893. break;
  12894. }
  12895. $async$goto = 3;
  12896. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync);
  12897. case 3:
  12898. // returning from await.
  12899. value = $async$result;
  12900. map.$indexSet(0, key, value);
  12901. $async$returnValue = value;
  12902. // goto return
  12903. $async$goto = 1;
  12904. break;
  12905. case 1:
  12906. // return
  12907. return A._asyncReturn($async$returnValue, $async$completer);
  12908. }
  12909. });
  12910. return A._asyncStartSync($async$putIfAbsentAsync, $async$completer);
  12911. },
  12912. copyMapOfMap(map, K1, K2, $V) {
  12913. var t2, t3, t4, t5,
  12914. t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
  12915. for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  12916. t3 = t2.get$current(t2);
  12917. t4 = t3.key;
  12918. t3 = t3.value;
  12919. t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  12920. t5.addAll$1(0, t3);
  12921. t1.$indexSet(0, t4, t5);
  12922. }
  12923. return t1;
  12924. },
  12925. copyMapOfList(map, $K, $E) {
  12926. var t2, t3,
  12927. t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
  12928. for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  12929. t3 = t2.get$current(t2);
  12930. t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
  12931. }
  12932. return t1;
  12933. },
  12934. consumeEscapedCharacter(scanner) {
  12935. var first, value, i, next, t1;
  12936. scanner.expectChar$1(92);
  12937. first = scanner.peekChar$0();
  12938. if (first == null)
  12939. return 65533;
  12940. else if (first === 10 || first === 13 || first === 12)
  12941. scanner.error$1(0, "Expected escape sequence.");
  12942. else if (A.isHex(first)) {
  12943. for (value = 0, i = 0; i < 6; ++i) {
  12944. next = scanner.peekChar$0();
  12945. if (next == null || !A.isHex(next))
  12946. break;
  12947. value = (value << 4 >>> 0) + A.asHex(scanner.readChar$0());
  12948. }
  12949. t1 = scanner.peekChar$0();
  12950. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  12951. scanner.readChar$0();
  12952. if (value !== 0)
  12953. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  12954. else
  12955. t1 = true;
  12956. if (t1)
  12957. return 65533;
  12958. else
  12959. return value;
  12960. } else
  12961. return scanner.readChar$0();
  12962. },
  12963. throwWithTrace(error, trace) {
  12964. A.attachTrace(error, trace);
  12965. throw A.wrapException(error);
  12966. },
  12967. attachTrace(error, trace) {
  12968. var t1;
  12969. if (trace.toString$0(0).length === 0)
  12970. return;
  12971. t1 = $.$get$_traces();
  12972. A.Expando__checkType(error);
  12973. if (t1._jsWeakMap.get(error) == null)
  12974. t1.$indexSet(0, error, trace);
  12975. },
  12976. getTrace(error) {
  12977. var t1;
  12978. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  12979. t1 = null;
  12980. else {
  12981. t1 = $.$get$_traces();
  12982. A.Expando__checkType(error);
  12983. t1 = t1._jsWeakMap.get(error);
  12984. }
  12985. return t1;
  12986. },
  12987. IterableExtension_search(_this, callback) {
  12988. var t1, value;
  12989. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  12990. value = callback.call$1(t1.get$current(t1));
  12991. if (value != null)
  12992. return value;
  12993. }
  12994. return null;
  12995. },
  12996. IterableExtension_get_exceptLast(_this) {
  12997. var t1 = J.getInterceptor$asx(_this),
  12998. size = t1.get$length(_this) - 1;
  12999. if (size < 0)
  13000. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  13001. return t1.take$1(_this, size);
  13002. },
  13003. indent_closure: function indent_closure(t0) {
  13004. this.indentation = t0;
  13005. },
  13006. flattenVertically_closure: function flattenVertically_closure(t0) {
  13007. this.T = t0;
  13008. },
  13009. flattenVertically_closure0: function flattenVertically_closure0(t0, t1) {
  13010. this.result = t0;
  13011. this.T = t1;
  13012. },
  13013. longestCommonSubsequence_backtrack: function longestCommonSubsequence_backtrack(t0, t1, t2) {
  13014. this.selections = t0;
  13015. this.lengths = t1;
  13016. this.T = t2;
  13017. },
  13018. mapAddAll2_closure: function mapAddAll2_closure(t0, t1, t2, t3) {
  13019. var _ = this;
  13020. _.destination = t0;
  13021. _.K1 = t1;
  13022. _.K2 = t2;
  13023. _.V = t3;
  13024. },
  13025. SassApiValue_assertSelector(_this, allowParent, $name) {
  13026. var error, stackTrace, t1, exception,
  13027. string = _this._selectorString$1($name);
  13028. try {
  13029. t1 = A.SelectorList_SelectorList$parse(string, allowParent, true, null, null);
  13030. return t1;
  13031. } catch (exception) {
  13032. t1 = A.unwrapException(exception);
  13033. if (type$.SassFormatException._is(t1)) {
  13034. error = t1;
  13035. stackTrace = A.getTraceFromException(exception);
  13036. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  13037. A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
  13038. } else
  13039. throw exception;
  13040. }
  13041. },
  13042. SassApiValue_assertCompoundSelector(_this, $name) {
  13043. var error, stackTrace, t1, exception,
  13044. allowParent = false,
  13045. string = _this._selectorString$1($name);
  13046. try {
  13047. t1 = A.SelectorParser$(string, allowParent, true, null, null, null).parseCompoundSelector$0();
  13048. return t1;
  13049. } catch (exception) {
  13050. t1 = A.unwrapException(exception);
  13051. if (type$.SassFormatException._is(t1)) {
  13052. error = t1;
  13053. stackTrace = A.getTraceFromException(exception);
  13054. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  13055. A.throwWithTrace(new A.SassScriptException("$" + $name + ": " + t1), stackTrace);
  13056. } else
  13057. throw exception;
  13058. }
  13059. },
  13060. Value: function Value() {
  13061. },
  13062. SassArgumentList$(contents, keywords, separator) {
  13063. var t1 = type$.Value;
  13064. t1 = new A.SassArgumentList(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  13065. t1.SassList$3$brackets(contents, separator, false);
  13066. return t1;
  13067. },
  13068. SassArgumentList: function SassArgumentList(t0, t1, t2, t3) {
  13069. var _ = this;
  13070. _._keywords = t0;
  13071. _._wereKeywordsAccessed = false;
  13072. _._list$_contents = t1;
  13073. _._separator = t2;
  13074. _._hasBrackets = t3;
  13075. },
  13076. SassBoolean: function SassBoolean(t0) {
  13077. this.value = t0;
  13078. },
  13079. SassCalculation_calc(argument) {
  13080. argument = A.SassCalculation__simplify(argument);
  13081. if (argument instanceof A.SassNumber)
  13082. return argument;
  13083. if (argument instanceof A.SassCalculation)
  13084. return argument;
  13085. return new A.SassCalculation("calc", A.List_List$unmodifiable([argument], type$.Object));
  13086. },
  13087. SassCalculation_min($arguments) {
  13088. var minimum, _i, arg, t2,
  13089. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  13090. t1 = args.length;
  13091. if (t1 === 0)
  13092. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  13093. for (minimum = null, _i = 0; _i < t1; ++_i) {
  13094. arg = args[_i];
  13095. if (arg instanceof A.SassNumber)
  13096. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  13097. else
  13098. t2 = true;
  13099. if (t2) {
  13100. minimum = null;
  13101. break;
  13102. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  13103. minimum = arg;
  13104. }
  13105. if (minimum != null)
  13106. return minimum;
  13107. A.SassCalculation__verifyCompatibleNumbers(args);
  13108. return new A.SassCalculation("min", args);
  13109. },
  13110. SassCalculation_max($arguments) {
  13111. var maximum, _i, arg, t2,
  13112. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  13113. t1 = args.length;
  13114. if (t1 === 0)
  13115. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  13116. for (maximum = null, _i = 0; _i < t1; ++_i) {
  13117. arg = args[_i];
  13118. if (arg instanceof A.SassNumber)
  13119. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  13120. else
  13121. t2 = true;
  13122. if (t2) {
  13123. maximum = null;
  13124. break;
  13125. } else if (maximum == null || maximum.lessThan$1(arg).value)
  13126. maximum = arg;
  13127. }
  13128. if (maximum != null)
  13129. return maximum;
  13130. A.SassCalculation__verifyCompatibleNumbers(args);
  13131. return new A.SassCalculation("max", args);
  13132. },
  13133. SassCalculation_clamp(min, value, max) {
  13134. var t1, args;
  13135. if (value == null && max != null)
  13136. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  13137. min = A.SassCalculation__simplify(min);
  13138. value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
  13139. max = A.NullableExtension_andThen(max, A.calculation_SassCalculation__simplify$closure());
  13140. if (min instanceof A.SassNumber && value instanceof A.SassNumber && max instanceof A.SassNumber && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  13141. if (value.lessThanOrEquals$1(min).value)
  13142. return min;
  13143. if (value.greaterThanOrEquals$1(max).value)
  13144. return max;
  13145. return value;
  13146. }
  13147. t1 = [min];
  13148. if (value != null)
  13149. t1.push(value);
  13150. if (max != null)
  13151. t1.push(max);
  13152. args = A.List_List$unmodifiable(t1, type$.Object);
  13153. A.SassCalculation__verifyCompatibleNumbers(args);
  13154. A.SassCalculation__verifyLength(args, 3);
  13155. return new A.SassCalculation("clamp", args);
  13156. },
  13157. SassCalculation_operateInternal(operator, left, right, inMinMax, simplify) {
  13158. var t1, t2;
  13159. if (!simplify)
  13160. return new A.CalculationOperation(operator, left, right);
  13161. left = A.SassCalculation__simplify(left);
  13162. right = A.SassCalculation__simplify(right);
  13163. t1 = operator === B.CalculationOperator_IyK;
  13164. if (t1 || operator === B.CalculationOperator_2bx) {
  13165. if (left instanceof A.SassNumber)
  13166. if (right instanceof A.SassNumber)
  13167. t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
  13168. else
  13169. t2 = false;
  13170. else
  13171. t2 = false;
  13172. if (t2)
  13173. return t1 ? left.plus$1(right) : left.minus$1(right);
  13174. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([left, right], type$.JSArray_Object));
  13175. if (right instanceof A.SassNumber) {
  13176. t2 = right._number$_value;
  13177. t2 = t2 < 0 && !A.fuzzyEquals(t2, 0);
  13178. } else
  13179. t2 = false;
  13180. if (t2) {
  13181. right = right.times$1(A.SassNumber_SassNumber(-1, null));
  13182. operator = t1 ? B.CalculationOperator_2bx : B.CalculationOperator_IyK;
  13183. }
  13184. return new A.CalculationOperation(operator, left, right);
  13185. } else if (left instanceof A.SassNumber && right instanceof A.SassNumber)
  13186. return operator === B.CalculationOperator_jFr ? left.times$1(right) : left.dividedBy$1(right);
  13187. else
  13188. return new A.CalculationOperation(operator, left, right);
  13189. },
  13190. SassCalculation__simplify(arg) {
  13191. var _s32_ = " can't be used in a calculation.";
  13192. if (arg instanceof A.SassNumber || arg instanceof A.CalculationInterpolation || arg instanceof A.CalculationOperation)
  13193. return arg;
  13194. else if (arg instanceof A.SassString) {
  13195. if (!arg._hasQuotes)
  13196. return arg;
  13197. throw A.wrapException(A.SassScriptException$("Quoted string " + arg.toString$0(0) + _s32_, null));
  13198. } else if (arg instanceof A.SassCalculation)
  13199. return arg.name === "calc" ? arg.$arguments[0] : arg;
  13200. else if (arg instanceof A.Value)
  13201. throw A.wrapException(A.SassScriptException$("Value " + arg.toString$0(0) + _s32_, null));
  13202. else
  13203. throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
  13204. },
  13205. SassCalculation__verifyCompatibleNumbers(args) {
  13206. var t1, _i, t2, arg, i, number1, j, number2;
  13207. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  13208. arg = args[_i];
  13209. if (!(arg instanceof A.SassNumber))
  13210. continue;
  13211. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  13212. throw A.wrapException(A.SassScriptException$("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", null));
  13213. }
  13214. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  13215. number1 = args[i];
  13216. if (!(number1 instanceof A.SassNumber))
  13217. continue;
  13218. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  13219. number2 = args[j];
  13220. if (!(number2 instanceof A.SassNumber))
  13221. continue;
  13222. if (number1.hasPossiblyCompatibleUnits$1(number2))
  13223. continue;
  13224. throw A.wrapException(A.SassScriptException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  13225. }
  13226. }
  13227. },
  13228. SassCalculation__verifyLength(args, expectedLength) {
  13229. var t1 = args.length;
  13230. if (t1 === expectedLength)
  13231. return;
  13232. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure()))
  13233. return;
  13234. throw A.wrapException(A.SassScriptException$("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize("was", t1, "were") + " passed.", null));
  13235. },
  13236. SassCalculation: function SassCalculation(t0, t1) {
  13237. this.name = t0;
  13238. this.$arguments = t1;
  13239. },
  13240. SassCalculation__verifyLength_closure: function SassCalculation__verifyLength_closure() {
  13241. },
  13242. CalculationOperation: function CalculationOperation(t0, t1, t2) {
  13243. this.operator = t0;
  13244. this.left = t1;
  13245. this.right = t2;
  13246. },
  13247. CalculationOperator: function CalculationOperator(t0, t1, t2, t3) {
  13248. var _ = this;
  13249. _.name = t0;
  13250. _.operator = t1;
  13251. _.precedence = t2;
  13252. _._name = t3;
  13253. },
  13254. CalculationInterpolation: function CalculationInterpolation(t0) {
  13255. this.value = t0;
  13256. },
  13257. SassColor$rgb(red, green, blue, alpha) {
  13258. var _null = null,
  13259. t1 = new A.SassColor(red, green, blue, _null, _null, _null, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), _null);
  13260. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  13261. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  13262. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  13263. return t1;
  13264. },
  13265. SassColor$rgbInternal(_red, _green, _blue, alpha, format) {
  13266. var t1 = new A.SassColor(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
  13267. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  13268. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  13269. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  13270. return t1;
  13271. },
  13272. SassColor$hslInternal(hue, saturation, lightness, alpha, format) {
  13273. var t1 = B.JSNumber_methods.$mod(hue, 360),
  13274. t2 = A.fuzzyAssertRange(saturation, 0, 100, "saturation"),
  13275. t3 = A.fuzzyAssertRange(lightness, 0, 100, "lightness");
  13276. return new A.SassColor(null, null, null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
  13277. },
  13278. SassColor_SassColor$hwb(hue, whiteness, blackness, alpha) {
  13279. var t2, t1 = {},
  13280. scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
  13281. scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange(whiteness, 0, 100, "whiteness") / 100,
  13282. scaledBlackness = A.fuzzyAssertRange(blackness, 0, 100, "blackness") / 100,
  13283. sum = scaledWhiteness + scaledBlackness;
  13284. if (sum > 1) {
  13285. t2 = t1.scaledWhiteness = scaledWhiteness / sum;
  13286. scaledBlackness /= sum;
  13287. } else
  13288. t2 = scaledWhiteness;
  13289. t2 = new A.SassColor_SassColor$hwb_toRgb(t1, 1 - t2 - scaledBlackness);
  13290. return A.SassColor$rgb(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
  13291. },
  13292. SassColor__hueToRgb(m1, m2, hue) {
  13293. if (hue < 0)
  13294. ++hue;
  13295. if (hue > 1)
  13296. --hue;
  13297. if (hue < 0.16666666666666666)
  13298. return m1 + (m2 - m1) * hue * 6;
  13299. else if (hue < 0.5)
  13300. return m2;
  13301. else if (hue < 0.6666666666666666)
  13302. return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  13303. else
  13304. return m1;
  13305. },
  13306. SassColor: function SassColor(t0, t1, t2, t3, t4, t5, t6, t7) {
  13307. var _ = this;
  13308. _._red = t0;
  13309. _._green = t1;
  13310. _._blue = t2;
  13311. _._hue = t3;
  13312. _._saturation = t4;
  13313. _._lightness = t5;
  13314. _._alpha = t6;
  13315. _.format = t7;
  13316. },
  13317. SassColor_SassColor$hwb_toRgb: function SassColor_SassColor$hwb_toRgb(t0, t1) {
  13318. this._box_0 = t0;
  13319. this.factor = t1;
  13320. },
  13321. _ColorFormatEnum: function _ColorFormatEnum(t0) {
  13322. this._color$_name = t0;
  13323. },
  13324. SpanColorFormat: function SpanColorFormat(t0) {
  13325. this._color$_span = t0;
  13326. },
  13327. SassFunction: function SassFunction(t0) {
  13328. this.callable = t0;
  13329. },
  13330. SassList$(contents, _separator, brackets) {
  13331. var t1 = new A.SassList(A.List_List$unmodifiable(contents, type$.Value), _separator, brackets);
  13332. t1.SassList$3$brackets(contents, _separator, brackets);
  13333. return t1;
  13334. },
  13335. SassList: function SassList(t0, t1, t2) {
  13336. this._list$_contents = t0;
  13337. this._separator = t1;
  13338. this._hasBrackets = t2;
  13339. },
  13340. SassList_isBlank_closure: function SassList_isBlank_closure() {
  13341. },
  13342. ListSeparator: function ListSeparator(t0, t1, t2) {
  13343. this._list$_name = t0;
  13344. this.separator = t1;
  13345. this._name = t2;
  13346. },
  13347. SassMap: function SassMap(t0) {
  13348. this._map$_contents = t0;
  13349. },
  13350. SassMap_asList_closure: function SassMap_asList_closure(t0) {
  13351. this.result = t0;
  13352. },
  13353. _SassNull: function _SassNull() {
  13354. },
  13355. conversionFactor(unit1, unit2) {
  13356. var innerMap;
  13357. if (unit1 === unit2)
  13358. return 1;
  13359. innerMap = B.Map_nfuzN.$index(0, unit1);
  13360. if (innerMap == null)
  13361. return null;
  13362. return innerMap.$index(0, unit2);
  13363. },
  13364. SassNumber_SassNumber(value, unit) {
  13365. return unit == null ? new A.UnitlessSassNumber(value, null) : new A.SingleUnitSassNumber(unit, value, null);
  13366. },
  13367. SassNumber_SassNumber$withUnits(value, denominatorUnits, numeratorUnits) {
  13368. var t1, numerators, unsimplifiedDenominators, denominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _null = null;
  13369. if (denominatorUnits == null || denominatorUnits.length === 0) {
  13370. t1 = numeratorUnits.length;
  13371. if (t1 === 0)
  13372. return new A.UnitlessSassNumber(value, _null);
  13373. else if (t1 === 1)
  13374. return new A.SingleUnitSassNumber(numeratorUnits[0], value, _null);
  13375. else
  13376. return new A.ComplexSassNumber(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
  13377. } else {
  13378. t1 = numeratorUnits.length;
  13379. if (t1 === 0)
  13380. return new A.ComplexSassNumber(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
  13381. else {
  13382. numerators = A._setArrayType(numeratorUnits.slice(0), A._arrayInstanceType(numeratorUnits));
  13383. unsimplifiedDenominators = A._setArrayType(denominatorUnits.slice(0), A.instanceType(denominatorUnits)._eval$1("JSArray<1>"));
  13384. denominators = A._setArrayType([], type$.JSArray_String);
  13385. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  13386. denominator = unsimplifiedDenominators[_i];
  13387. i = 0;
  13388. while (true) {
  13389. if (!(i < numerators.length)) {
  13390. simplifiedAway = false;
  13391. break;
  13392. }
  13393. c$0: {
  13394. factor = A.conversionFactor(denominator, numerators[i]);
  13395. if (factor == null)
  13396. break c$0;
  13397. valueDouble *= factor;
  13398. B.JSArray_methods.removeAt$1(numerators, i);
  13399. simplifiedAway = true;
  13400. break;
  13401. }
  13402. ++i;
  13403. }
  13404. if (!simplifiedAway)
  13405. denominators.push(denominator);
  13406. }
  13407. if (denominatorUnits.length === 0) {
  13408. t1 = numeratorUnits.length;
  13409. if (t1 === 0)
  13410. return new A.UnitlessSassNumber(valueDouble, _null);
  13411. else if (t1 === 1)
  13412. return new A.SingleUnitSassNumber(B.JSArray_methods.get$single(numeratorUnits), valueDouble, _null);
  13413. }
  13414. t1 = type$.String;
  13415. return new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  13416. }
  13417. }
  13418. },
  13419. SassNumber: function SassNumber() {
  13420. },
  13421. SassNumber__coerceOrConvertValue_compatibilityException: function SassNumber__coerceOrConvertValue_compatibilityException(t0, t1, t2, t3, t4, t5, t6) {
  13422. var _ = this;
  13423. _.$this = t0;
  13424. _.other = t1;
  13425. _.otherName = t2;
  13426. _.otherHasUnits = t3;
  13427. _.name = t4;
  13428. _.newNumerators = t5;
  13429. _.newDenominators = t6;
  13430. },
  13431. SassNumber__coerceOrConvertValue_closure: function SassNumber__coerceOrConvertValue_closure(t0, t1) {
  13432. this._box_0 = t0;
  13433. this.newNumerator = t1;
  13434. },
  13435. SassNumber__coerceOrConvertValue_closure0: function SassNumber__coerceOrConvertValue_closure0(t0) {
  13436. this.compatibilityException = t0;
  13437. },
  13438. SassNumber__coerceOrConvertValue_closure1: function SassNumber__coerceOrConvertValue_closure1(t0, t1) {
  13439. this._box_0 = t0;
  13440. this.newDenominator = t1;
  13441. },
  13442. SassNumber__coerceOrConvertValue_closure2: function SassNumber__coerceOrConvertValue_closure2(t0) {
  13443. this.compatibilityException = t0;
  13444. },
  13445. SassNumber_plus_closure: function SassNumber_plus_closure() {
  13446. },
  13447. SassNumber_minus_closure: function SassNumber_minus_closure() {
  13448. },
  13449. SassNumber_multiplyUnits_closure: function SassNumber_multiplyUnits_closure(t0, t1) {
  13450. this._box_0 = t0;
  13451. this.numerator = t1;
  13452. },
  13453. SassNumber_multiplyUnits_closure0: function SassNumber_multiplyUnits_closure0(t0, t1) {
  13454. this.newNumerators = t0;
  13455. this.numerator = t1;
  13456. },
  13457. SassNumber_multiplyUnits_closure1: function SassNumber_multiplyUnits_closure1(t0, t1) {
  13458. this._box_0 = t0;
  13459. this.numerator = t1;
  13460. },
  13461. SassNumber_multiplyUnits_closure2: function SassNumber_multiplyUnits_closure2(t0, t1) {
  13462. this.newNumerators = t0;
  13463. this.numerator = t1;
  13464. },
  13465. SassNumber__areAnyConvertible_closure: function SassNumber__areAnyConvertible_closure(t0) {
  13466. this.units2 = t0;
  13467. },
  13468. SassNumber__canonicalizeUnitList_closure: function SassNumber__canonicalizeUnitList_closure() {
  13469. },
  13470. SassNumber__canonicalMultiplier_closure: function SassNumber__canonicalMultiplier_closure(t0) {
  13471. this.$this = t0;
  13472. },
  13473. SassNumber_unitSuggestion_closure: function SassNumber_unitSuggestion_closure() {
  13474. },
  13475. SassNumber_unitSuggestion_closure0: function SassNumber_unitSuggestion_closure0() {
  13476. },
  13477. ComplexSassNumber: function ComplexSassNumber(t0, t1, t2, t3) {
  13478. var _ = this;
  13479. _._numeratorUnits = t0;
  13480. _._denominatorUnits = t1;
  13481. _._number$_value = t2;
  13482. _.hashCache = null;
  13483. _.asSlash = t3;
  13484. },
  13485. SingleUnitSassNumber: function SingleUnitSassNumber(t0, t1, t2) {
  13486. var _ = this;
  13487. _._unit = t0;
  13488. _._number$_value = t1;
  13489. _.hashCache = null;
  13490. _.asSlash = t2;
  13491. },
  13492. SingleUnitSassNumber__coerceToUnit_closure: function SingleUnitSassNumber__coerceToUnit_closure(t0, t1) {
  13493. this.$this = t0;
  13494. this.unit = t1;
  13495. },
  13496. SingleUnitSassNumber__coerceValueToUnit_closure: function SingleUnitSassNumber__coerceValueToUnit_closure(t0) {
  13497. this.$this = t0;
  13498. },
  13499. SingleUnitSassNumber_multiplyUnits_closure: function SingleUnitSassNumber_multiplyUnits_closure(t0, t1) {
  13500. this._box_0 = t0;
  13501. this.$this = t1;
  13502. },
  13503. SingleUnitSassNumber_multiplyUnits_closure0: function SingleUnitSassNumber_multiplyUnits_closure0(t0, t1) {
  13504. this._box_0 = t0;
  13505. this.$this = t1;
  13506. },
  13507. UnitlessSassNumber: function UnitlessSassNumber(t0, t1) {
  13508. this._number$_value = t0;
  13509. this.hashCache = null;
  13510. this.asSlash = t1;
  13511. },
  13512. SassString$(_text, quotes) {
  13513. return new A.SassString(_text, quotes);
  13514. },
  13515. SassString: function SassString(t0, t1) {
  13516. var _ = this;
  13517. _._string$_text = t0;
  13518. _._hasQuotes = t1;
  13519. _.__SassString__sassLength_FI = $;
  13520. _._hashCache = null;
  13521. },
  13522. AnySelectorVisitor: function AnySelectorVisitor() {
  13523. },
  13524. AnySelectorVisitor_visitComplexSelector_closure: function AnySelectorVisitor_visitComplexSelector_closure(t0) {
  13525. this.$this = t0;
  13526. },
  13527. AnySelectorVisitor_visitCompoundSelector_closure: function AnySelectorVisitor_visitCompoundSelector_closure(t0) {
  13528. this.$this = t0;
  13529. },
  13530. _EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  13531. var t1 = type$.Uri,
  13532. t2 = type$.Module_AsyncCallable,
  13533. t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode);
  13534. 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);
  13535. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  13536. return t1;
  13537. },
  13538. _EvaluateVisitor0: function _EvaluateVisitor0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  13539. var _ = this;
  13540. _._async_evaluate$_importCache = t0;
  13541. _._async_evaluate$_nodeImporter = t1;
  13542. _._async_evaluate$_builtInFunctions = t2;
  13543. _._async_evaluate$_builtInModules = t3;
  13544. _._async_evaluate$_modules = t4;
  13545. _._async_evaluate$_moduleConfigurations = t5;
  13546. _._async_evaluate$_moduleNodes = t6;
  13547. _._async_evaluate$_logger = t7;
  13548. _._async_evaluate$_warningsEmitted = t8;
  13549. _._async_evaluate$_quietDeps = t9;
  13550. _._async_evaluate$_sourceMap = t10;
  13551. _._async_evaluate$_environment = t11;
  13552. _._async_evaluate$_declarationName = _._async_evaluate$__parent = _._async_evaluate$_mediaQuerySources = _._async_evaluate$_mediaQueries = _._async_evaluate$_styleRuleIgnoringAtRoot = null;
  13553. _._async_evaluate$_member = "root stylesheet";
  13554. _._async_evaluate$_importSpan = _._async_evaluate$_callableNode = _._async_evaluate$_currentCallable = null;
  13555. _._async_evaluate$_inSupportsDeclaration = _._async_evaluate$_inKeyframes = _._async_evaluate$_atRootExcludingStyleRule = _._async_evaluate$_inUnknownAtRule = _._async_evaluate$_inFunction = false;
  13556. _._async_evaluate$_loadedUrls = t12;
  13557. _._async_evaluate$_activeModules = t13;
  13558. _._async_evaluate$_stack = t14;
  13559. _._async_evaluate$_importer = null;
  13560. _._async_evaluate$_inDependency = false;
  13561. _._async_evaluate$__extensionStore = _._async_evaluate$_outOfOrderImports = _._async_evaluate$__endOfImports = _._async_evaluate$__root = _._async_evaluate$__stylesheet = null;
  13562. _._async_evaluate$_configuration = t15;
  13563. },
  13564. _EvaluateVisitor_closure9: function _EvaluateVisitor_closure9(t0) {
  13565. this.$this = t0;
  13566. },
  13567. _EvaluateVisitor_closure10: function _EvaluateVisitor_closure10(t0) {
  13568. this.$this = t0;
  13569. },
  13570. _EvaluateVisitor_closure11: function _EvaluateVisitor_closure11(t0) {
  13571. this.$this = t0;
  13572. },
  13573. _EvaluateVisitor_closure12: function _EvaluateVisitor_closure12(t0) {
  13574. this.$this = t0;
  13575. },
  13576. _EvaluateVisitor_closure13: function _EvaluateVisitor_closure13(t0) {
  13577. this.$this = t0;
  13578. },
  13579. _EvaluateVisitor_closure14: function _EvaluateVisitor_closure14(t0) {
  13580. this.$this = t0;
  13581. },
  13582. _EvaluateVisitor_closure15: function _EvaluateVisitor_closure15(t0) {
  13583. this.$this = t0;
  13584. },
  13585. _EvaluateVisitor_closure16: function _EvaluateVisitor_closure16(t0) {
  13586. this.$this = t0;
  13587. },
  13588. _EvaluateVisitor__closure4: function _EvaluateVisitor__closure4(t0, t1, t2) {
  13589. this.$this = t0;
  13590. this.name = t1;
  13591. this.module = t2;
  13592. },
  13593. _EvaluateVisitor_closure17: function _EvaluateVisitor_closure17(t0) {
  13594. this.$this = t0;
  13595. },
  13596. _EvaluateVisitor_closure18: function _EvaluateVisitor_closure18(t0) {
  13597. this.$this = t0;
  13598. },
  13599. _EvaluateVisitor__closure2: function _EvaluateVisitor__closure2(t0, t1, t2) {
  13600. this.values = t0;
  13601. this.span = t1;
  13602. this.callableNode = t2;
  13603. },
  13604. _EvaluateVisitor__closure3: function _EvaluateVisitor__closure3(t0) {
  13605. this.$this = t0;
  13606. },
  13607. _EvaluateVisitor_run_closure0: function _EvaluateVisitor_run_closure0(t0, t1, t2) {
  13608. this.$this = t0;
  13609. this.node = t1;
  13610. this.importer = t2;
  13611. },
  13612. _EvaluateVisitor_run__closure0: function _EvaluateVisitor_run__closure0(t0, t1, t2) {
  13613. this.$this = t0;
  13614. this.importer = t1;
  13615. this.node = t2;
  13616. },
  13617. _EvaluateVisitor__loadModule_closure1: function _EvaluateVisitor__loadModule_closure1(t0, t1) {
  13618. this.callback = t0;
  13619. this.builtInModule = t1;
  13620. },
  13621. _EvaluateVisitor__loadModule_closure2: function _EvaluateVisitor__loadModule_closure2(t0, t1, t2, t3, t4, t5, t6) {
  13622. var _ = this;
  13623. _.$this = t0;
  13624. _.url = t1;
  13625. _.nodeWithSpan = t2;
  13626. _.baseUrl = t3;
  13627. _.namesInErrors = t4;
  13628. _.configuration = t5;
  13629. _.callback = t6;
  13630. },
  13631. _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
  13632. this.$this = t0;
  13633. this.message = t1;
  13634. },
  13635. _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1) {
  13636. this._box_0 = t0;
  13637. this.callback = t1;
  13638. },
  13639. _EvaluateVisitor__execute_closure0: function _EvaluateVisitor__execute_closure0(t0, t1, t2, t3, t4, t5) {
  13640. var _ = this;
  13641. _.$this = t0;
  13642. _.importer = t1;
  13643. _.stylesheet = t2;
  13644. _.extensionStore = t3;
  13645. _.configuration = t4;
  13646. _.css = t5;
  13647. },
  13648. _EvaluateVisitor__combineCss_closure2: function _EvaluateVisitor__combineCss_closure2() {
  13649. },
  13650. _EvaluateVisitor__combineCss_closure3: function _EvaluateVisitor__combineCss_closure3(t0) {
  13651. this.selectors = t0;
  13652. },
  13653. _EvaluateVisitor__combineCss_closure4: function _EvaluateVisitor__combineCss_closure4() {
  13654. },
  13655. _EvaluateVisitor__extendModules_closure1: function _EvaluateVisitor__extendModules_closure1(t0) {
  13656. this.originalSelectors = t0;
  13657. },
  13658. _EvaluateVisitor__extendModules_closure2: function _EvaluateVisitor__extendModules_closure2() {
  13659. },
  13660. _EvaluateVisitor__topologicalModules_visitModule0: function _EvaluateVisitor__topologicalModules_visitModule0(t0, t1) {
  13661. this.seen = t0;
  13662. this.sorted = t1;
  13663. },
  13664. _EvaluateVisitor_visitAtRootRule_closure1: function _EvaluateVisitor_visitAtRootRule_closure1(t0, t1) {
  13665. this.$this = t0;
  13666. this.node = t1;
  13667. },
  13668. _EvaluateVisitor_visitAtRootRule_closure2: function _EvaluateVisitor_visitAtRootRule_closure2(t0, t1) {
  13669. this.$this = t0;
  13670. this.node = t1;
  13671. },
  13672. _EvaluateVisitor__scopeForAtRoot_closure5: function _EvaluateVisitor__scopeForAtRoot_closure5(t0, t1, t2) {
  13673. this.$this = t0;
  13674. this.newParent = t1;
  13675. this.node = t2;
  13676. },
  13677. _EvaluateVisitor__scopeForAtRoot_closure6: function _EvaluateVisitor__scopeForAtRoot_closure6(t0, t1) {
  13678. this.$this = t0;
  13679. this.innerScope = t1;
  13680. },
  13681. _EvaluateVisitor__scopeForAtRoot_closure7: function _EvaluateVisitor__scopeForAtRoot_closure7(t0, t1) {
  13682. this.$this = t0;
  13683. this.innerScope = t1;
  13684. },
  13685. _EvaluateVisitor__scopeForAtRoot__closure0: function _EvaluateVisitor__scopeForAtRoot__closure0(t0, t1) {
  13686. this.innerScope = t0;
  13687. this.callback = t1;
  13688. },
  13689. _EvaluateVisitor__scopeForAtRoot_closure8: function _EvaluateVisitor__scopeForAtRoot_closure8(t0, t1) {
  13690. this.$this = t0;
  13691. this.innerScope = t1;
  13692. },
  13693. _EvaluateVisitor__scopeForAtRoot_closure9: function _EvaluateVisitor__scopeForAtRoot_closure9() {
  13694. },
  13695. _EvaluateVisitor__scopeForAtRoot_closure10: function _EvaluateVisitor__scopeForAtRoot_closure10(t0, t1) {
  13696. this.$this = t0;
  13697. this.innerScope = t1;
  13698. },
  13699. _EvaluateVisitor_visitContentRule_closure0: function _EvaluateVisitor_visitContentRule_closure0(t0, t1) {
  13700. this.$this = t0;
  13701. this.content = t1;
  13702. },
  13703. _EvaluateVisitor_visitDeclaration_closure1: function _EvaluateVisitor_visitDeclaration_closure1(t0) {
  13704. this.$this = t0;
  13705. },
  13706. _EvaluateVisitor_visitDeclaration_closure2: function _EvaluateVisitor_visitDeclaration_closure2(t0, t1) {
  13707. this.$this = t0;
  13708. this.children = t1;
  13709. },
  13710. _EvaluateVisitor_visitEachRule_closure2: function _EvaluateVisitor_visitEachRule_closure2(t0, t1, t2) {
  13711. this.$this = t0;
  13712. this.node = t1;
  13713. this.nodeWithSpan = t2;
  13714. },
  13715. _EvaluateVisitor_visitEachRule_closure3: function _EvaluateVisitor_visitEachRule_closure3(t0, t1, t2) {
  13716. this.$this = t0;
  13717. this.node = t1;
  13718. this.nodeWithSpan = t2;
  13719. },
  13720. _EvaluateVisitor_visitEachRule_closure4: function _EvaluateVisitor_visitEachRule_closure4(t0, t1, t2, t3) {
  13721. var _ = this;
  13722. _.$this = t0;
  13723. _.list = t1;
  13724. _.setVariables = t2;
  13725. _.node = t3;
  13726. },
  13727. _EvaluateVisitor_visitEachRule__closure0: function _EvaluateVisitor_visitEachRule__closure0(t0, t1, t2) {
  13728. this.$this = t0;
  13729. this.setVariables = t1;
  13730. this.node = t2;
  13731. },
  13732. _EvaluateVisitor_visitEachRule___closure0: function _EvaluateVisitor_visitEachRule___closure0(t0) {
  13733. this.$this = t0;
  13734. },
  13735. _EvaluateVisitor_visitAtRule_closure2: function _EvaluateVisitor_visitAtRule_closure2(t0) {
  13736. this.$this = t0;
  13737. },
  13738. _EvaluateVisitor_visitAtRule_closure3: function _EvaluateVisitor_visitAtRule_closure3(t0, t1, t2) {
  13739. this.$this = t0;
  13740. this.name = t1;
  13741. this.children = t2;
  13742. },
  13743. _EvaluateVisitor_visitAtRule__closure0: function _EvaluateVisitor_visitAtRule__closure0(t0, t1) {
  13744. this.$this = t0;
  13745. this.children = t1;
  13746. },
  13747. _EvaluateVisitor_visitAtRule_closure4: function _EvaluateVisitor_visitAtRule_closure4() {
  13748. },
  13749. _EvaluateVisitor_visitForRule_closure4: function _EvaluateVisitor_visitForRule_closure4(t0, t1) {
  13750. this.$this = t0;
  13751. this.node = t1;
  13752. },
  13753. _EvaluateVisitor_visitForRule_closure5: function _EvaluateVisitor_visitForRule_closure5(t0, t1) {
  13754. this.$this = t0;
  13755. this.node = t1;
  13756. },
  13757. _EvaluateVisitor_visitForRule_closure6: function _EvaluateVisitor_visitForRule_closure6(t0) {
  13758. this.fromNumber = t0;
  13759. },
  13760. _EvaluateVisitor_visitForRule_closure7: function _EvaluateVisitor_visitForRule_closure7(t0, t1) {
  13761. this.toNumber = t0;
  13762. this.fromNumber = t1;
  13763. },
  13764. _EvaluateVisitor_visitForRule_closure8: function _EvaluateVisitor_visitForRule_closure8(t0, t1, t2, t3, t4, t5) {
  13765. var _ = this;
  13766. _._box_0 = t0;
  13767. _.$this = t1;
  13768. _.node = t2;
  13769. _.from = t3;
  13770. _.direction = t4;
  13771. _.fromNumber = t5;
  13772. },
  13773. _EvaluateVisitor_visitForRule__closure0: function _EvaluateVisitor_visitForRule__closure0(t0) {
  13774. this.$this = t0;
  13775. },
  13776. _EvaluateVisitor_visitForwardRule_closure1: function _EvaluateVisitor_visitForwardRule_closure1(t0, t1) {
  13777. this.$this = t0;
  13778. this.node = t1;
  13779. },
  13780. _EvaluateVisitor_visitForwardRule_closure2: function _EvaluateVisitor_visitForwardRule_closure2(t0, t1) {
  13781. this.$this = t0;
  13782. this.node = t1;
  13783. },
  13784. _EvaluateVisitor_visitIfRule_closure0: function _EvaluateVisitor_visitIfRule_closure0(t0, t1) {
  13785. this._box_0 = t0;
  13786. this.$this = t1;
  13787. },
  13788. _EvaluateVisitor_visitIfRule__closure0: function _EvaluateVisitor_visitIfRule__closure0(t0) {
  13789. this.$this = t0;
  13790. },
  13791. _EvaluateVisitor__visitDynamicImport_closure0: function _EvaluateVisitor__visitDynamicImport_closure0(t0, t1) {
  13792. this.$this = t0;
  13793. this.$import = t1;
  13794. },
  13795. _EvaluateVisitor__visitDynamicImport__closure3: function _EvaluateVisitor__visitDynamicImport__closure3(t0) {
  13796. this.$this = t0;
  13797. },
  13798. _EvaluateVisitor__visitDynamicImport__closure4: function _EvaluateVisitor__visitDynamicImport__closure4() {
  13799. },
  13800. _EvaluateVisitor__visitDynamicImport__closure5: function _EvaluateVisitor__visitDynamicImport__closure5() {
  13801. },
  13802. _EvaluateVisitor__visitDynamicImport__closure6: function _EvaluateVisitor__visitDynamicImport__closure6(t0, t1, t2, t3, t4, t5) {
  13803. var _ = this;
  13804. _.$this = t0;
  13805. _.result = t1;
  13806. _.stylesheet = t2;
  13807. _.loadsUserDefinedModules = t3;
  13808. _.environment = t4;
  13809. _.children = t5;
  13810. },
  13811. _EvaluateVisitor_visitIncludeRule_closure3: function _EvaluateVisitor_visitIncludeRule_closure3(t0, t1) {
  13812. this.$this = t0;
  13813. this.node = t1;
  13814. },
  13815. _EvaluateVisitor_visitIncludeRule_closure4: function _EvaluateVisitor_visitIncludeRule_closure4(t0) {
  13816. this.node = t0;
  13817. },
  13818. _EvaluateVisitor_visitIncludeRule_closure6: function _EvaluateVisitor_visitIncludeRule_closure6(t0) {
  13819. this.$this = t0;
  13820. },
  13821. _EvaluateVisitor_visitIncludeRule_closure5: function _EvaluateVisitor_visitIncludeRule_closure5(t0, t1, t2, t3) {
  13822. var _ = this;
  13823. _.$this = t0;
  13824. _.contentCallable = t1;
  13825. _.mixin = t2;
  13826. _.nodeWithSpan = t3;
  13827. },
  13828. _EvaluateVisitor_visitIncludeRule__closure0: function _EvaluateVisitor_visitIncludeRule__closure0(t0, t1, t2) {
  13829. this.$this = t0;
  13830. this.mixin = t1;
  13831. this.nodeWithSpan = t2;
  13832. },
  13833. _EvaluateVisitor_visitIncludeRule___closure0: function _EvaluateVisitor_visitIncludeRule___closure0(t0, t1, t2) {
  13834. this.$this = t0;
  13835. this.mixin = t1;
  13836. this.nodeWithSpan = t2;
  13837. },
  13838. _EvaluateVisitor_visitIncludeRule____closure0: function _EvaluateVisitor_visitIncludeRule____closure0(t0, t1) {
  13839. this.$this = t0;
  13840. this.statement = t1;
  13841. },
  13842. _EvaluateVisitor_visitMediaRule_closure2: function _EvaluateVisitor_visitMediaRule_closure2(t0, t1) {
  13843. this.$this = t0;
  13844. this.queries = t1;
  13845. },
  13846. _EvaluateVisitor_visitMediaRule_closure3: function _EvaluateVisitor_visitMediaRule_closure3(t0, t1, t2, t3, t4) {
  13847. var _ = this;
  13848. _.$this = t0;
  13849. _.mergedQueries = t1;
  13850. _.queries = t2;
  13851. _.mergedSources = t3;
  13852. _.node = t4;
  13853. },
  13854. _EvaluateVisitor_visitMediaRule__closure0: function _EvaluateVisitor_visitMediaRule__closure0(t0, t1) {
  13855. this.$this = t0;
  13856. this.node = t1;
  13857. },
  13858. _EvaluateVisitor_visitMediaRule___closure0: function _EvaluateVisitor_visitMediaRule___closure0(t0, t1) {
  13859. this.$this = t0;
  13860. this.node = t1;
  13861. },
  13862. _EvaluateVisitor_visitMediaRule_closure4: function _EvaluateVisitor_visitMediaRule_closure4(t0) {
  13863. this.mergedSources = t0;
  13864. },
  13865. _EvaluateVisitor_visitStyleRule_closure4: function _EvaluateVisitor_visitStyleRule_closure4(t0, t1) {
  13866. this.$this = t0;
  13867. this.node = t1;
  13868. },
  13869. _EvaluateVisitor_visitStyleRule_closure5: function _EvaluateVisitor_visitStyleRule_closure5() {
  13870. },
  13871. _EvaluateVisitor_visitStyleRule_closure6: function _EvaluateVisitor_visitStyleRule_closure6(t0, t1, t2) {
  13872. this.$this = t0;
  13873. this.rule = t1;
  13874. this.node = t2;
  13875. },
  13876. _EvaluateVisitor_visitStyleRule__closure0: function _EvaluateVisitor_visitStyleRule__closure0(t0, t1) {
  13877. this.$this = t0;
  13878. this.node = t1;
  13879. },
  13880. _EvaluateVisitor_visitStyleRule_closure7: function _EvaluateVisitor_visitStyleRule_closure7() {
  13881. },
  13882. _EvaluateVisitor_visitStyleRule_closure8: function _EvaluateVisitor_visitStyleRule_closure8() {
  13883. },
  13884. _EvaluateVisitor_visitSupportsRule_closure1: function _EvaluateVisitor_visitSupportsRule_closure1(t0, t1) {
  13885. this.$this = t0;
  13886. this.node = t1;
  13887. },
  13888. _EvaluateVisitor_visitSupportsRule__closure0: function _EvaluateVisitor_visitSupportsRule__closure0(t0, t1) {
  13889. this.$this = t0;
  13890. this.node = t1;
  13891. },
  13892. _EvaluateVisitor_visitSupportsRule_closure2: function _EvaluateVisitor_visitSupportsRule_closure2() {
  13893. },
  13894. _EvaluateVisitor_visitVariableDeclaration_closure2: function _EvaluateVisitor_visitVariableDeclaration_closure2(t0, t1, t2) {
  13895. this.$this = t0;
  13896. this.node = t1;
  13897. this.override = t2;
  13898. },
  13899. _EvaluateVisitor_visitVariableDeclaration_closure3: function _EvaluateVisitor_visitVariableDeclaration_closure3(t0, t1) {
  13900. this.$this = t0;
  13901. this.node = t1;
  13902. },
  13903. _EvaluateVisitor_visitVariableDeclaration_closure4: function _EvaluateVisitor_visitVariableDeclaration_closure4(t0, t1, t2) {
  13904. this.$this = t0;
  13905. this.node = t1;
  13906. this.value = t2;
  13907. },
  13908. _EvaluateVisitor_visitUseRule_closure0: function _EvaluateVisitor_visitUseRule_closure0(t0, t1) {
  13909. this.$this = t0;
  13910. this.node = t1;
  13911. },
  13912. _EvaluateVisitor_visitWarnRule_closure0: function _EvaluateVisitor_visitWarnRule_closure0(t0, t1) {
  13913. this.$this = t0;
  13914. this.node = t1;
  13915. },
  13916. _EvaluateVisitor_visitWhileRule_closure0: function _EvaluateVisitor_visitWhileRule_closure0(t0, t1) {
  13917. this.$this = t0;
  13918. this.node = t1;
  13919. },
  13920. _EvaluateVisitor_visitWhileRule__closure0: function _EvaluateVisitor_visitWhileRule__closure0(t0) {
  13921. this.$this = t0;
  13922. },
  13923. _EvaluateVisitor_visitBinaryOperationExpression_closure0: function _EvaluateVisitor_visitBinaryOperationExpression_closure0(t0, t1) {
  13924. this.$this = t0;
  13925. this.node = t1;
  13926. },
  13927. _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0() {
  13928. },
  13929. _EvaluateVisitor_visitVariableExpression_closure0: function _EvaluateVisitor_visitVariableExpression_closure0(t0, t1) {
  13930. this.$this = t0;
  13931. this.node = t1;
  13932. },
  13933. _EvaluateVisitor_visitUnaryOperationExpression_closure0: function _EvaluateVisitor_visitUnaryOperationExpression_closure0(t0, t1) {
  13934. this.node = t0;
  13935. this.operand = t1;
  13936. },
  13937. _EvaluateVisitor__visitCalculationValue_closure0: function _EvaluateVisitor__visitCalculationValue_closure0(t0, t1, t2) {
  13938. this.$this = t0;
  13939. this.node = t1;
  13940. this.inMinMax = t2;
  13941. },
  13942. _EvaluateVisitor_visitListExpression_closure0: function _EvaluateVisitor_visitListExpression_closure0(t0) {
  13943. this.$this = t0;
  13944. },
  13945. _EvaluateVisitor_visitFunctionExpression_closure1: function _EvaluateVisitor_visitFunctionExpression_closure1(t0, t1) {
  13946. this.$this = t0;
  13947. this.node = t1;
  13948. },
  13949. _EvaluateVisitor_visitFunctionExpression_closure2: function _EvaluateVisitor_visitFunctionExpression_closure2(t0, t1, t2) {
  13950. this._box_0 = t0;
  13951. this.$this = t1;
  13952. this.node = t2;
  13953. },
  13954. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(t0, t1, t2) {
  13955. this.$this = t0;
  13956. this.node = t1;
  13957. this.$function = t2;
  13958. },
  13959. _EvaluateVisitor__runUserDefinedCallable_closure0: function _EvaluateVisitor__runUserDefinedCallable_closure0(t0, t1, t2, t3, t4, t5) {
  13960. var _ = this;
  13961. _.$this = t0;
  13962. _.callable = t1;
  13963. _.evaluated = t2;
  13964. _.nodeWithSpan = t3;
  13965. _.run = t4;
  13966. _.V = t5;
  13967. },
  13968. _EvaluateVisitor__runUserDefinedCallable__closure0: function _EvaluateVisitor__runUserDefinedCallable__closure0(t0, t1, t2, t3, t4, t5) {
  13969. var _ = this;
  13970. _.$this = t0;
  13971. _.evaluated = t1;
  13972. _.callable = t2;
  13973. _.nodeWithSpan = t3;
  13974. _.run = t4;
  13975. _.V = t5;
  13976. },
  13977. _EvaluateVisitor__runUserDefinedCallable___closure0: function _EvaluateVisitor__runUserDefinedCallable___closure0(t0, t1, t2, t3, t4, t5) {
  13978. var _ = this;
  13979. _.$this = t0;
  13980. _.evaluated = t1;
  13981. _.callable = t2;
  13982. _.nodeWithSpan = t3;
  13983. _.run = t4;
  13984. _.V = t5;
  13985. },
  13986. _EvaluateVisitor__runUserDefinedCallable____closure0: function _EvaluateVisitor__runUserDefinedCallable____closure0() {
  13987. },
  13988. _EvaluateVisitor__runFunctionCallable_closure0: function _EvaluateVisitor__runFunctionCallable_closure0(t0, t1) {
  13989. this.$this = t0;
  13990. this.callable = t1;
  13991. },
  13992. _EvaluateVisitor__runBuiltInCallable_closure2: function _EvaluateVisitor__runBuiltInCallable_closure2(t0, t1, t2) {
  13993. this.overload = t0;
  13994. this.evaluated = t1;
  13995. this.namedSet = t2;
  13996. },
  13997. _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1) {
  13998. this.callback = t0;
  13999. this.evaluated = t1;
  14000. },
  14001. _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
  14002. },
  14003. _EvaluateVisitor__evaluateArguments_closure3: function _EvaluateVisitor__evaluateArguments_closure3() {
  14004. },
  14005. _EvaluateVisitor__evaluateArguments_closure4: function _EvaluateVisitor__evaluateArguments_closure4(t0, t1) {
  14006. this.$this = t0;
  14007. this.restNodeForSpan = t1;
  14008. },
  14009. _EvaluateVisitor__evaluateArguments_closure5: function _EvaluateVisitor__evaluateArguments_closure5(t0, t1, t2, t3) {
  14010. var _ = this;
  14011. _.$this = t0;
  14012. _.named = t1;
  14013. _.restNodeForSpan = t2;
  14014. _.namedNodes = t3;
  14015. },
  14016. _EvaluateVisitor__evaluateArguments_closure6: function _EvaluateVisitor__evaluateArguments_closure6() {
  14017. },
  14018. _EvaluateVisitor__evaluateMacroArguments_closure3: function _EvaluateVisitor__evaluateMacroArguments_closure3(t0) {
  14019. this.restArgs = t0;
  14020. },
  14021. _EvaluateVisitor__evaluateMacroArguments_closure4: function _EvaluateVisitor__evaluateMacroArguments_closure4(t0, t1, t2) {
  14022. this.$this = t0;
  14023. this.restNodeForSpan = t1;
  14024. this.restArgs = t2;
  14025. },
  14026. _EvaluateVisitor__evaluateMacroArguments_closure5: function _EvaluateVisitor__evaluateMacroArguments_closure5(t0, t1, t2, t3) {
  14027. var _ = this;
  14028. _.$this = t0;
  14029. _.named = t1;
  14030. _.restNodeForSpan = t2;
  14031. _.restArgs = t3;
  14032. },
  14033. _EvaluateVisitor__evaluateMacroArguments_closure6: function _EvaluateVisitor__evaluateMacroArguments_closure6(t0, t1, t2) {
  14034. this.$this = t0;
  14035. this.keywordRestNodeForSpan = t1;
  14036. this.keywordRestArgs = t2;
  14037. },
  14038. _EvaluateVisitor__addRestMap_closure0: function _EvaluateVisitor__addRestMap_closure0(t0, t1, t2, t3, t4, t5) {
  14039. var _ = this;
  14040. _.$this = t0;
  14041. _.values = t1;
  14042. _.convert = t2;
  14043. _.expressionNode = t3;
  14044. _.map = t4;
  14045. _.nodeWithSpan = t5;
  14046. },
  14047. _EvaluateVisitor__verifyArguments_closure0: function _EvaluateVisitor__verifyArguments_closure0(t0, t1, t2) {
  14048. this.$arguments = t0;
  14049. this.positional = t1;
  14050. this.named = t2;
  14051. },
  14052. _EvaluateVisitor_visitStringExpression_closure0: function _EvaluateVisitor_visitStringExpression_closure0(t0) {
  14053. this.$this = t0;
  14054. },
  14055. _EvaluateVisitor_visitCssAtRule_closure1: function _EvaluateVisitor_visitCssAtRule_closure1(t0, t1) {
  14056. this.$this = t0;
  14057. this.node = t1;
  14058. },
  14059. _EvaluateVisitor_visitCssAtRule_closure2: function _EvaluateVisitor_visitCssAtRule_closure2() {
  14060. },
  14061. _EvaluateVisitor_visitCssKeyframeBlock_closure1: function _EvaluateVisitor_visitCssKeyframeBlock_closure1(t0, t1) {
  14062. this.$this = t0;
  14063. this.node = t1;
  14064. },
  14065. _EvaluateVisitor_visitCssKeyframeBlock_closure2: function _EvaluateVisitor_visitCssKeyframeBlock_closure2() {
  14066. },
  14067. _EvaluateVisitor_visitCssMediaRule_closure2: function _EvaluateVisitor_visitCssMediaRule_closure2(t0, t1) {
  14068. this.$this = t0;
  14069. this.node = t1;
  14070. },
  14071. _EvaluateVisitor_visitCssMediaRule_closure3: function _EvaluateVisitor_visitCssMediaRule_closure3(t0, t1, t2, t3) {
  14072. var _ = this;
  14073. _.$this = t0;
  14074. _.mergedQueries = t1;
  14075. _.node = t2;
  14076. _.mergedSources = t3;
  14077. },
  14078. _EvaluateVisitor_visitCssMediaRule__closure0: function _EvaluateVisitor_visitCssMediaRule__closure0(t0, t1) {
  14079. this.$this = t0;
  14080. this.node = t1;
  14081. },
  14082. _EvaluateVisitor_visitCssMediaRule___closure0: function _EvaluateVisitor_visitCssMediaRule___closure0(t0, t1) {
  14083. this.$this = t0;
  14084. this.node = t1;
  14085. },
  14086. _EvaluateVisitor_visitCssMediaRule_closure4: function _EvaluateVisitor_visitCssMediaRule_closure4(t0) {
  14087. this.mergedSources = t0;
  14088. },
  14089. _EvaluateVisitor_visitCssStyleRule_closure1: function _EvaluateVisitor_visitCssStyleRule_closure1(t0, t1, t2) {
  14090. this.$this = t0;
  14091. this.rule = t1;
  14092. this.node = t2;
  14093. },
  14094. _EvaluateVisitor_visitCssStyleRule__closure0: function _EvaluateVisitor_visitCssStyleRule__closure0(t0, t1) {
  14095. this.$this = t0;
  14096. this.node = t1;
  14097. },
  14098. _EvaluateVisitor_visitCssStyleRule_closure2: function _EvaluateVisitor_visitCssStyleRule_closure2() {
  14099. },
  14100. _EvaluateVisitor_visitCssSupportsRule_closure1: function _EvaluateVisitor_visitCssSupportsRule_closure1(t0, t1) {
  14101. this.$this = t0;
  14102. this.node = t1;
  14103. },
  14104. _EvaluateVisitor_visitCssSupportsRule__closure0: function _EvaluateVisitor_visitCssSupportsRule__closure0(t0, t1) {
  14105. this.$this = t0;
  14106. this.node = t1;
  14107. },
  14108. _EvaluateVisitor_visitCssSupportsRule_closure2: function _EvaluateVisitor_visitCssSupportsRule_closure2() {
  14109. },
  14110. _EvaluateVisitor__serialize_closure0: function _EvaluateVisitor__serialize_closure0(t0, t1) {
  14111. this.value = t0;
  14112. this.quote = t1;
  14113. },
  14114. _EvaluateVisitor__expressionNode_closure0: function _EvaluateVisitor__expressionNode_closure0(t0, t1) {
  14115. this.$this = t0;
  14116. this.expression = t1;
  14117. },
  14118. _EvaluateVisitor__withoutSlash_recommendation0: function _EvaluateVisitor__withoutSlash_recommendation0() {
  14119. },
  14120. _EvaluateVisitor__stackFrame_closure0: function _EvaluateVisitor__stackFrame_closure0(t0) {
  14121. this.$this = t0;
  14122. },
  14123. _EvaluateVisitor__stackTrace_closure0: function _EvaluateVisitor__stackTrace_closure0(t0) {
  14124. this.$this = t0;
  14125. },
  14126. _ImportedCssVisitor0: function _ImportedCssVisitor0(t0) {
  14127. this._async_evaluate$_visitor = t0;
  14128. },
  14129. _ImportedCssVisitor_visitCssAtRule_closure0: function _ImportedCssVisitor_visitCssAtRule_closure0() {
  14130. },
  14131. _ImportedCssVisitor_visitCssMediaRule_closure0: function _ImportedCssVisitor_visitCssMediaRule_closure0(t0) {
  14132. this.hasBeenMerged = t0;
  14133. },
  14134. _ImportedCssVisitor_visitCssStyleRule_closure0: function _ImportedCssVisitor_visitCssStyleRule_closure0() {
  14135. },
  14136. _ImportedCssVisitor_visitCssSupportsRule_closure0: function _ImportedCssVisitor_visitCssSupportsRule_closure0() {
  14137. },
  14138. EvaluateResult: function EvaluateResult(t0) {
  14139. this.stylesheet = t0;
  14140. },
  14141. _EvaluationContext0: function _EvaluationContext0(t0, t1) {
  14142. this._async_evaluate$_visitor = t0;
  14143. this._async_evaluate$_defaultWarnNodeWithSpan = t1;
  14144. },
  14145. _ArgumentResults0: function _ArgumentResults0(t0, t1, t2, t3, t4) {
  14146. var _ = this;
  14147. _.positional = t0;
  14148. _.positionalNodes = t1;
  14149. _.named = t2;
  14150. _.namedNodes = t3;
  14151. _.separator = t4;
  14152. },
  14153. _LoadedStylesheet0: function _LoadedStylesheet0(t0, t1, t2) {
  14154. this.stylesheet = t0;
  14155. this.importer = t1;
  14156. this.isDependency = t2;
  14157. },
  14158. cloneCssStylesheet(stylesheet, extensionStore) {
  14159. var result = extensionStore.clone$0();
  14160. return new A.Tuple2(new A._CloneCssVisitor(result.item2)._visitChildren$2(A.ModifiableCssStylesheet$(stylesheet.get$span(stylesheet)), stylesheet), result.item1, type$.Tuple2_ModifiableCssStylesheet_ExtensionStore);
  14161. },
  14162. _CloneCssVisitor: function _CloneCssVisitor(t0) {
  14163. this._oldToNewSelectors = t0;
  14164. },
  14165. _EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  14166. var t1 = type$.Uri,
  14167. t2 = type$.Module_Callable,
  14168. t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode);
  14169. 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);
  14170. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  14171. return t1;
  14172. },
  14173. Evaluator: function Evaluator(t0, t1) {
  14174. this._visitor = t0;
  14175. this._importer = t1;
  14176. },
  14177. _EvaluateVisitor: function _EvaluateVisitor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  14178. var _ = this;
  14179. _._evaluate$_importCache = t0;
  14180. _._nodeImporter = t1;
  14181. _._builtInFunctions = t2;
  14182. _._builtInModules = t3;
  14183. _._modules = t4;
  14184. _._moduleConfigurations = t5;
  14185. _._moduleNodes = t6;
  14186. _._evaluate$_logger = t7;
  14187. _._warningsEmitted = t8;
  14188. _._quietDeps = t9;
  14189. _._sourceMap = t10;
  14190. _._environment = t11;
  14191. _._declarationName = _.__parent = _._mediaQuerySources = _._mediaQueries = _._styleRuleIgnoringAtRoot = null;
  14192. _._member = "root stylesheet";
  14193. _._importSpan = _._callableNode = _._currentCallable = null;
  14194. _._inSupportsDeclaration = _._inKeyframes = _._atRootExcludingStyleRule = _._inUnknownAtRule = _._inFunction = false;
  14195. _._loadedUrls = t12;
  14196. _._activeModules = t13;
  14197. _._stack = t14;
  14198. _._importer = null;
  14199. _._inDependency = false;
  14200. _.__extensionStore = _._outOfOrderImports = _.__endOfImports = _.__root = _.__stylesheet = null;
  14201. _._configuration = t15;
  14202. },
  14203. _EvaluateVisitor_closure: function _EvaluateVisitor_closure(t0) {
  14204. this.$this = t0;
  14205. },
  14206. _EvaluateVisitor_closure0: function _EvaluateVisitor_closure0(t0) {
  14207. this.$this = t0;
  14208. },
  14209. _EvaluateVisitor_closure1: function _EvaluateVisitor_closure1(t0) {
  14210. this.$this = t0;
  14211. },
  14212. _EvaluateVisitor_closure2: function _EvaluateVisitor_closure2(t0) {
  14213. this.$this = t0;
  14214. },
  14215. _EvaluateVisitor_closure3: function _EvaluateVisitor_closure3(t0) {
  14216. this.$this = t0;
  14217. },
  14218. _EvaluateVisitor_closure4: function _EvaluateVisitor_closure4(t0) {
  14219. this.$this = t0;
  14220. },
  14221. _EvaluateVisitor_closure5: function _EvaluateVisitor_closure5(t0) {
  14222. this.$this = t0;
  14223. },
  14224. _EvaluateVisitor_closure6: function _EvaluateVisitor_closure6(t0) {
  14225. this.$this = t0;
  14226. },
  14227. _EvaluateVisitor__closure1: function _EvaluateVisitor__closure1(t0, t1, t2) {
  14228. this.$this = t0;
  14229. this.name = t1;
  14230. this.module = t2;
  14231. },
  14232. _EvaluateVisitor_closure7: function _EvaluateVisitor_closure7(t0) {
  14233. this.$this = t0;
  14234. },
  14235. _EvaluateVisitor_closure8: function _EvaluateVisitor_closure8(t0) {
  14236. this.$this = t0;
  14237. },
  14238. _EvaluateVisitor__closure: function _EvaluateVisitor__closure(t0, t1, t2) {
  14239. this.values = t0;
  14240. this.span = t1;
  14241. this.callableNode = t2;
  14242. },
  14243. _EvaluateVisitor__closure0: function _EvaluateVisitor__closure0(t0) {
  14244. this.$this = t0;
  14245. },
  14246. _EvaluateVisitor_run_closure: function _EvaluateVisitor_run_closure(t0, t1, t2) {
  14247. this.$this = t0;
  14248. this.node = t1;
  14249. this.importer = t2;
  14250. },
  14251. _EvaluateVisitor_run__closure: function _EvaluateVisitor_run__closure(t0, t1, t2) {
  14252. this.$this = t0;
  14253. this.importer = t1;
  14254. this.node = t2;
  14255. },
  14256. _EvaluateVisitor_runExpression_closure: function _EvaluateVisitor_runExpression_closure(t0, t1, t2) {
  14257. this.$this = t0;
  14258. this.importer = t1;
  14259. this.expression = t2;
  14260. },
  14261. _EvaluateVisitor_runExpression__closure: function _EvaluateVisitor_runExpression__closure(t0, t1) {
  14262. this.$this = t0;
  14263. this.expression = t1;
  14264. },
  14265. _EvaluateVisitor_runExpression___closure: function _EvaluateVisitor_runExpression___closure(t0, t1) {
  14266. this.$this = t0;
  14267. this.expression = t1;
  14268. },
  14269. _EvaluateVisitor_runStatement_closure: function _EvaluateVisitor_runStatement_closure(t0, t1, t2) {
  14270. this.$this = t0;
  14271. this.importer = t1;
  14272. this.statement = t2;
  14273. },
  14274. _EvaluateVisitor_runStatement__closure: function _EvaluateVisitor_runStatement__closure(t0, t1) {
  14275. this.$this = t0;
  14276. this.statement = t1;
  14277. },
  14278. _EvaluateVisitor_runStatement___closure: function _EvaluateVisitor_runStatement___closure(t0, t1) {
  14279. this.$this = t0;
  14280. this.statement = t1;
  14281. },
  14282. _EvaluateVisitor__loadModule_closure: function _EvaluateVisitor__loadModule_closure(t0, t1) {
  14283. this.callback = t0;
  14284. this.builtInModule = t1;
  14285. },
  14286. _EvaluateVisitor__loadModule_closure0: function _EvaluateVisitor__loadModule_closure0(t0, t1, t2, t3, t4, t5, t6) {
  14287. var _ = this;
  14288. _.$this = t0;
  14289. _.url = t1;
  14290. _.nodeWithSpan = t2;
  14291. _.baseUrl = t3;
  14292. _.namesInErrors = t4;
  14293. _.configuration = t5;
  14294. _.callback = t6;
  14295. },
  14296. _EvaluateVisitor__loadModule__closure: function _EvaluateVisitor__loadModule__closure(t0, t1) {
  14297. this.$this = t0;
  14298. this.message = t1;
  14299. },
  14300. _EvaluateVisitor__loadModule__closure0: function _EvaluateVisitor__loadModule__closure0(t0, t1) {
  14301. this._box_0 = t0;
  14302. this.callback = t1;
  14303. },
  14304. _EvaluateVisitor__execute_closure: function _EvaluateVisitor__execute_closure(t0, t1, t2, t3, t4, t5) {
  14305. var _ = this;
  14306. _.$this = t0;
  14307. _.importer = t1;
  14308. _.stylesheet = t2;
  14309. _.extensionStore = t3;
  14310. _.configuration = t4;
  14311. _.css = t5;
  14312. },
  14313. _EvaluateVisitor__combineCss_closure: function _EvaluateVisitor__combineCss_closure() {
  14314. },
  14315. _EvaluateVisitor__combineCss_closure0: function _EvaluateVisitor__combineCss_closure0(t0) {
  14316. this.selectors = t0;
  14317. },
  14318. _EvaluateVisitor__combineCss_closure1: function _EvaluateVisitor__combineCss_closure1() {
  14319. },
  14320. _EvaluateVisitor__extendModules_closure: function _EvaluateVisitor__extendModules_closure(t0) {
  14321. this.originalSelectors = t0;
  14322. },
  14323. _EvaluateVisitor__extendModules_closure0: function _EvaluateVisitor__extendModules_closure0() {
  14324. },
  14325. _EvaluateVisitor__topologicalModules_visitModule: function _EvaluateVisitor__topologicalModules_visitModule(t0, t1) {
  14326. this.seen = t0;
  14327. this.sorted = t1;
  14328. },
  14329. _EvaluateVisitor_visitAtRootRule_closure: function _EvaluateVisitor_visitAtRootRule_closure(t0, t1) {
  14330. this.$this = t0;
  14331. this.node = t1;
  14332. },
  14333. _EvaluateVisitor_visitAtRootRule_closure0: function _EvaluateVisitor_visitAtRootRule_closure0(t0, t1) {
  14334. this.$this = t0;
  14335. this.node = t1;
  14336. },
  14337. _EvaluateVisitor__scopeForAtRoot_closure: function _EvaluateVisitor__scopeForAtRoot_closure(t0, t1, t2) {
  14338. this.$this = t0;
  14339. this.newParent = t1;
  14340. this.node = t2;
  14341. },
  14342. _EvaluateVisitor__scopeForAtRoot_closure0: function _EvaluateVisitor__scopeForAtRoot_closure0(t0, t1) {
  14343. this.$this = t0;
  14344. this.innerScope = t1;
  14345. },
  14346. _EvaluateVisitor__scopeForAtRoot_closure1: function _EvaluateVisitor__scopeForAtRoot_closure1(t0, t1) {
  14347. this.$this = t0;
  14348. this.innerScope = t1;
  14349. },
  14350. _EvaluateVisitor__scopeForAtRoot__closure: function _EvaluateVisitor__scopeForAtRoot__closure(t0, t1) {
  14351. this.innerScope = t0;
  14352. this.callback = t1;
  14353. },
  14354. _EvaluateVisitor__scopeForAtRoot_closure2: function _EvaluateVisitor__scopeForAtRoot_closure2(t0, t1) {
  14355. this.$this = t0;
  14356. this.innerScope = t1;
  14357. },
  14358. _EvaluateVisitor__scopeForAtRoot_closure3: function _EvaluateVisitor__scopeForAtRoot_closure3() {
  14359. },
  14360. _EvaluateVisitor__scopeForAtRoot_closure4: function _EvaluateVisitor__scopeForAtRoot_closure4(t0, t1) {
  14361. this.$this = t0;
  14362. this.innerScope = t1;
  14363. },
  14364. _EvaluateVisitor_visitContentRule_closure: function _EvaluateVisitor_visitContentRule_closure(t0, t1) {
  14365. this.$this = t0;
  14366. this.content = t1;
  14367. },
  14368. _EvaluateVisitor_visitDeclaration_closure: function _EvaluateVisitor_visitDeclaration_closure(t0) {
  14369. this.$this = t0;
  14370. },
  14371. _EvaluateVisitor_visitDeclaration_closure0: function _EvaluateVisitor_visitDeclaration_closure0(t0, t1) {
  14372. this.$this = t0;
  14373. this.children = t1;
  14374. },
  14375. _EvaluateVisitor_visitEachRule_closure: function _EvaluateVisitor_visitEachRule_closure(t0, t1, t2) {
  14376. this.$this = t0;
  14377. this.node = t1;
  14378. this.nodeWithSpan = t2;
  14379. },
  14380. _EvaluateVisitor_visitEachRule_closure0: function _EvaluateVisitor_visitEachRule_closure0(t0, t1, t2) {
  14381. this.$this = t0;
  14382. this.node = t1;
  14383. this.nodeWithSpan = t2;
  14384. },
  14385. _EvaluateVisitor_visitEachRule_closure1: function _EvaluateVisitor_visitEachRule_closure1(t0, t1, t2, t3) {
  14386. var _ = this;
  14387. _.$this = t0;
  14388. _.list = t1;
  14389. _.setVariables = t2;
  14390. _.node = t3;
  14391. },
  14392. _EvaluateVisitor_visitEachRule__closure: function _EvaluateVisitor_visitEachRule__closure(t0, t1, t2) {
  14393. this.$this = t0;
  14394. this.setVariables = t1;
  14395. this.node = t2;
  14396. },
  14397. _EvaluateVisitor_visitEachRule___closure: function _EvaluateVisitor_visitEachRule___closure(t0) {
  14398. this.$this = t0;
  14399. },
  14400. _EvaluateVisitor_visitAtRule_closure: function _EvaluateVisitor_visitAtRule_closure(t0) {
  14401. this.$this = t0;
  14402. },
  14403. _EvaluateVisitor_visitAtRule_closure0: function _EvaluateVisitor_visitAtRule_closure0(t0, t1, t2) {
  14404. this.$this = t0;
  14405. this.name = t1;
  14406. this.children = t2;
  14407. },
  14408. _EvaluateVisitor_visitAtRule__closure: function _EvaluateVisitor_visitAtRule__closure(t0, t1) {
  14409. this.$this = t0;
  14410. this.children = t1;
  14411. },
  14412. _EvaluateVisitor_visitAtRule_closure1: function _EvaluateVisitor_visitAtRule_closure1() {
  14413. },
  14414. _EvaluateVisitor_visitForRule_closure: function _EvaluateVisitor_visitForRule_closure(t0, t1) {
  14415. this.$this = t0;
  14416. this.node = t1;
  14417. },
  14418. _EvaluateVisitor_visitForRule_closure0: function _EvaluateVisitor_visitForRule_closure0(t0, t1) {
  14419. this.$this = t0;
  14420. this.node = t1;
  14421. },
  14422. _EvaluateVisitor_visitForRule_closure1: function _EvaluateVisitor_visitForRule_closure1(t0) {
  14423. this.fromNumber = t0;
  14424. },
  14425. _EvaluateVisitor_visitForRule_closure2: function _EvaluateVisitor_visitForRule_closure2(t0, t1) {
  14426. this.toNumber = t0;
  14427. this.fromNumber = t1;
  14428. },
  14429. _EvaluateVisitor_visitForRule_closure3: function _EvaluateVisitor_visitForRule_closure3(t0, t1, t2, t3, t4, t5) {
  14430. var _ = this;
  14431. _._box_0 = t0;
  14432. _.$this = t1;
  14433. _.node = t2;
  14434. _.from = t3;
  14435. _.direction = t4;
  14436. _.fromNumber = t5;
  14437. },
  14438. _EvaluateVisitor_visitForRule__closure: function _EvaluateVisitor_visitForRule__closure(t0) {
  14439. this.$this = t0;
  14440. },
  14441. _EvaluateVisitor_visitForwardRule_closure: function _EvaluateVisitor_visitForwardRule_closure(t0, t1) {
  14442. this.$this = t0;
  14443. this.node = t1;
  14444. },
  14445. _EvaluateVisitor_visitForwardRule_closure0: function _EvaluateVisitor_visitForwardRule_closure0(t0, t1) {
  14446. this.$this = t0;
  14447. this.node = t1;
  14448. },
  14449. _EvaluateVisitor_visitIfRule_closure: function _EvaluateVisitor_visitIfRule_closure(t0, t1) {
  14450. this._box_0 = t0;
  14451. this.$this = t1;
  14452. },
  14453. _EvaluateVisitor_visitIfRule__closure: function _EvaluateVisitor_visitIfRule__closure(t0) {
  14454. this.$this = t0;
  14455. },
  14456. _EvaluateVisitor__visitDynamicImport_closure: function _EvaluateVisitor__visitDynamicImport_closure(t0, t1) {
  14457. this.$this = t0;
  14458. this.$import = t1;
  14459. },
  14460. _EvaluateVisitor__visitDynamicImport__closure: function _EvaluateVisitor__visitDynamicImport__closure(t0) {
  14461. this.$this = t0;
  14462. },
  14463. _EvaluateVisitor__visitDynamicImport__closure0: function _EvaluateVisitor__visitDynamicImport__closure0() {
  14464. },
  14465. _EvaluateVisitor__visitDynamicImport__closure1: function _EvaluateVisitor__visitDynamicImport__closure1() {
  14466. },
  14467. _EvaluateVisitor__visitDynamicImport__closure2: function _EvaluateVisitor__visitDynamicImport__closure2(t0, t1, t2, t3, t4, t5) {
  14468. var _ = this;
  14469. _.$this = t0;
  14470. _.result = t1;
  14471. _.stylesheet = t2;
  14472. _.loadsUserDefinedModules = t3;
  14473. _.environment = t4;
  14474. _.children = t5;
  14475. },
  14476. _EvaluateVisitor_visitIncludeRule_closure: function _EvaluateVisitor_visitIncludeRule_closure(t0, t1) {
  14477. this.$this = t0;
  14478. this.node = t1;
  14479. },
  14480. _EvaluateVisitor_visitIncludeRule_closure0: function _EvaluateVisitor_visitIncludeRule_closure0(t0) {
  14481. this.node = t0;
  14482. },
  14483. _EvaluateVisitor_visitIncludeRule_closure2: function _EvaluateVisitor_visitIncludeRule_closure2(t0) {
  14484. this.$this = t0;
  14485. },
  14486. _EvaluateVisitor_visitIncludeRule_closure1: function _EvaluateVisitor_visitIncludeRule_closure1(t0, t1, t2, t3) {
  14487. var _ = this;
  14488. _.$this = t0;
  14489. _.contentCallable = t1;
  14490. _.mixin = t2;
  14491. _.nodeWithSpan = t3;
  14492. },
  14493. _EvaluateVisitor_visitIncludeRule__closure: function _EvaluateVisitor_visitIncludeRule__closure(t0, t1, t2) {
  14494. this.$this = t0;
  14495. this.mixin = t1;
  14496. this.nodeWithSpan = t2;
  14497. },
  14498. _EvaluateVisitor_visitIncludeRule___closure: function _EvaluateVisitor_visitIncludeRule___closure(t0, t1, t2) {
  14499. this.$this = t0;
  14500. this.mixin = t1;
  14501. this.nodeWithSpan = t2;
  14502. },
  14503. _EvaluateVisitor_visitIncludeRule____closure: function _EvaluateVisitor_visitIncludeRule____closure(t0, t1) {
  14504. this.$this = t0;
  14505. this.statement = t1;
  14506. },
  14507. _EvaluateVisitor_visitMediaRule_closure: function _EvaluateVisitor_visitMediaRule_closure(t0, t1) {
  14508. this.$this = t0;
  14509. this.queries = t1;
  14510. },
  14511. _EvaluateVisitor_visitMediaRule_closure0: function _EvaluateVisitor_visitMediaRule_closure0(t0, t1, t2, t3, t4) {
  14512. var _ = this;
  14513. _.$this = t0;
  14514. _.mergedQueries = t1;
  14515. _.queries = t2;
  14516. _.mergedSources = t3;
  14517. _.node = t4;
  14518. },
  14519. _EvaluateVisitor_visitMediaRule__closure: function _EvaluateVisitor_visitMediaRule__closure(t0, t1) {
  14520. this.$this = t0;
  14521. this.node = t1;
  14522. },
  14523. _EvaluateVisitor_visitMediaRule___closure: function _EvaluateVisitor_visitMediaRule___closure(t0, t1) {
  14524. this.$this = t0;
  14525. this.node = t1;
  14526. },
  14527. _EvaluateVisitor_visitMediaRule_closure1: function _EvaluateVisitor_visitMediaRule_closure1(t0) {
  14528. this.mergedSources = t0;
  14529. },
  14530. _EvaluateVisitor_visitStyleRule_closure: function _EvaluateVisitor_visitStyleRule_closure(t0, t1) {
  14531. this.$this = t0;
  14532. this.node = t1;
  14533. },
  14534. _EvaluateVisitor_visitStyleRule_closure0: function _EvaluateVisitor_visitStyleRule_closure0() {
  14535. },
  14536. _EvaluateVisitor_visitStyleRule_closure1: function _EvaluateVisitor_visitStyleRule_closure1(t0, t1, t2) {
  14537. this.$this = t0;
  14538. this.rule = t1;
  14539. this.node = t2;
  14540. },
  14541. _EvaluateVisitor_visitStyleRule__closure: function _EvaluateVisitor_visitStyleRule__closure(t0, t1) {
  14542. this.$this = t0;
  14543. this.node = t1;
  14544. },
  14545. _EvaluateVisitor_visitStyleRule_closure2: function _EvaluateVisitor_visitStyleRule_closure2() {
  14546. },
  14547. _EvaluateVisitor_visitStyleRule_closure3: function _EvaluateVisitor_visitStyleRule_closure3() {
  14548. },
  14549. _EvaluateVisitor_visitSupportsRule_closure: function _EvaluateVisitor_visitSupportsRule_closure(t0, t1) {
  14550. this.$this = t0;
  14551. this.node = t1;
  14552. },
  14553. _EvaluateVisitor_visitSupportsRule__closure: function _EvaluateVisitor_visitSupportsRule__closure(t0, t1) {
  14554. this.$this = t0;
  14555. this.node = t1;
  14556. },
  14557. _EvaluateVisitor_visitSupportsRule_closure0: function _EvaluateVisitor_visitSupportsRule_closure0() {
  14558. },
  14559. _EvaluateVisitor_visitVariableDeclaration_closure: function _EvaluateVisitor_visitVariableDeclaration_closure(t0, t1, t2) {
  14560. this.$this = t0;
  14561. this.node = t1;
  14562. this.override = t2;
  14563. },
  14564. _EvaluateVisitor_visitVariableDeclaration_closure0: function _EvaluateVisitor_visitVariableDeclaration_closure0(t0, t1) {
  14565. this.$this = t0;
  14566. this.node = t1;
  14567. },
  14568. _EvaluateVisitor_visitVariableDeclaration_closure1: function _EvaluateVisitor_visitVariableDeclaration_closure1(t0, t1, t2) {
  14569. this.$this = t0;
  14570. this.node = t1;
  14571. this.value = t2;
  14572. },
  14573. _EvaluateVisitor_visitUseRule_closure: function _EvaluateVisitor_visitUseRule_closure(t0, t1) {
  14574. this.$this = t0;
  14575. this.node = t1;
  14576. },
  14577. _EvaluateVisitor_visitWarnRule_closure: function _EvaluateVisitor_visitWarnRule_closure(t0, t1) {
  14578. this.$this = t0;
  14579. this.node = t1;
  14580. },
  14581. _EvaluateVisitor_visitWhileRule_closure: function _EvaluateVisitor_visitWhileRule_closure(t0, t1) {
  14582. this.$this = t0;
  14583. this.node = t1;
  14584. },
  14585. _EvaluateVisitor_visitWhileRule__closure: function _EvaluateVisitor_visitWhileRule__closure(t0) {
  14586. this.$this = t0;
  14587. },
  14588. _EvaluateVisitor_visitBinaryOperationExpression_closure: function _EvaluateVisitor_visitBinaryOperationExpression_closure(t0, t1) {
  14589. this.$this = t0;
  14590. this.node = t1;
  14591. },
  14592. _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation() {
  14593. },
  14594. _EvaluateVisitor_visitVariableExpression_closure: function _EvaluateVisitor_visitVariableExpression_closure(t0, t1) {
  14595. this.$this = t0;
  14596. this.node = t1;
  14597. },
  14598. _EvaluateVisitor_visitUnaryOperationExpression_closure: function _EvaluateVisitor_visitUnaryOperationExpression_closure(t0, t1) {
  14599. this.node = t0;
  14600. this.operand = t1;
  14601. },
  14602. _EvaluateVisitor__visitCalculationValue_closure: function _EvaluateVisitor__visitCalculationValue_closure(t0, t1, t2) {
  14603. this.$this = t0;
  14604. this.node = t1;
  14605. this.inMinMax = t2;
  14606. },
  14607. _EvaluateVisitor_visitListExpression_closure: function _EvaluateVisitor_visitListExpression_closure(t0) {
  14608. this.$this = t0;
  14609. },
  14610. _EvaluateVisitor_visitFunctionExpression_closure: function _EvaluateVisitor_visitFunctionExpression_closure(t0, t1) {
  14611. this.$this = t0;
  14612. this.node = t1;
  14613. },
  14614. _EvaluateVisitor_visitFunctionExpression_closure0: function _EvaluateVisitor_visitFunctionExpression_closure0(t0, t1, t2) {
  14615. this._box_0 = t0;
  14616. this.$this = t1;
  14617. this.node = t2;
  14618. },
  14619. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure(t0, t1, t2) {
  14620. this.$this = t0;
  14621. this.node = t1;
  14622. this.$function = t2;
  14623. },
  14624. _EvaluateVisitor__runUserDefinedCallable_closure: function _EvaluateVisitor__runUserDefinedCallable_closure(t0, t1, t2, t3, t4, t5) {
  14625. var _ = this;
  14626. _.$this = t0;
  14627. _.callable = t1;
  14628. _.evaluated = t2;
  14629. _.nodeWithSpan = t3;
  14630. _.run = t4;
  14631. _.V = t5;
  14632. },
  14633. _EvaluateVisitor__runUserDefinedCallable__closure: function _EvaluateVisitor__runUserDefinedCallable__closure(t0, t1, t2, t3, t4, t5) {
  14634. var _ = this;
  14635. _.$this = t0;
  14636. _.evaluated = t1;
  14637. _.callable = t2;
  14638. _.nodeWithSpan = t3;
  14639. _.run = t4;
  14640. _.V = t5;
  14641. },
  14642. _EvaluateVisitor__runUserDefinedCallable___closure: function _EvaluateVisitor__runUserDefinedCallable___closure(t0, t1, t2, t3, t4, t5) {
  14643. var _ = this;
  14644. _.$this = t0;
  14645. _.evaluated = t1;
  14646. _.callable = t2;
  14647. _.nodeWithSpan = t3;
  14648. _.run = t4;
  14649. _.V = t5;
  14650. },
  14651. _EvaluateVisitor__runUserDefinedCallable____closure: function _EvaluateVisitor__runUserDefinedCallable____closure() {
  14652. },
  14653. _EvaluateVisitor__runFunctionCallable_closure: function _EvaluateVisitor__runFunctionCallable_closure(t0, t1) {
  14654. this.$this = t0;
  14655. this.callable = t1;
  14656. },
  14657. _EvaluateVisitor__runBuiltInCallable_closure: function _EvaluateVisitor__runBuiltInCallable_closure(t0, t1, t2) {
  14658. this.overload = t0;
  14659. this.evaluated = t1;
  14660. this.namedSet = t2;
  14661. },
  14662. _EvaluateVisitor__runBuiltInCallable_closure0: function _EvaluateVisitor__runBuiltInCallable_closure0(t0, t1) {
  14663. this.callback = t0;
  14664. this.evaluated = t1;
  14665. },
  14666. _EvaluateVisitor__runBuiltInCallable_closure1: function _EvaluateVisitor__runBuiltInCallable_closure1() {
  14667. },
  14668. _EvaluateVisitor__evaluateArguments_closure: function _EvaluateVisitor__evaluateArguments_closure() {
  14669. },
  14670. _EvaluateVisitor__evaluateArguments_closure0: function _EvaluateVisitor__evaluateArguments_closure0(t0, t1) {
  14671. this.$this = t0;
  14672. this.restNodeForSpan = t1;
  14673. },
  14674. _EvaluateVisitor__evaluateArguments_closure1: function _EvaluateVisitor__evaluateArguments_closure1(t0, t1, t2, t3) {
  14675. var _ = this;
  14676. _.$this = t0;
  14677. _.named = t1;
  14678. _.restNodeForSpan = t2;
  14679. _.namedNodes = t3;
  14680. },
  14681. _EvaluateVisitor__evaluateArguments_closure2: function _EvaluateVisitor__evaluateArguments_closure2() {
  14682. },
  14683. _EvaluateVisitor__evaluateMacroArguments_closure: function _EvaluateVisitor__evaluateMacroArguments_closure(t0) {
  14684. this.restArgs = t0;
  14685. },
  14686. _EvaluateVisitor__evaluateMacroArguments_closure0: function _EvaluateVisitor__evaluateMacroArguments_closure0(t0, t1, t2) {
  14687. this.$this = t0;
  14688. this.restNodeForSpan = t1;
  14689. this.restArgs = t2;
  14690. },
  14691. _EvaluateVisitor__evaluateMacroArguments_closure1: function _EvaluateVisitor__evaluateMacroArguments_closure1(t0, t1, t2, t3) {
  14692. var _ = this;
  14693. _.$this = t0;
  14694. _.named = t1;
  14695. _.restNodeForSpan = t2;
  14696. _.restArgs = t3;
  14697. },
  14698. _EvaluateVisitor__evaluateMacroArguments_closure2: function _EvaluateVisitor__evaluateMacroArguments_closure2(t0, t1, t2) {
  14699. this.$this = t0;
  14700. this.keywordRestNodeForSpan = t1;
  14701. this.keywordRestArgs = t2;
  14702. },
  14703. _EvaluateVisitor__addRestMap_closure: function _EvaluateVisitor__addRestMap_closure(t0, t1, t2, t3, t4, t5) {
  14704. var _ = this;
  14705. _.$this = t0;
  14706. _.values = t1;
  14707. _.convert = t2;
  14708. _.expressionNode = t3;
  14709. _.map = t4;
  14710. _.nodeWithSpan = t5;
  14711. },
  14712. _EvaluateVisitor__verifyArguments_closure: function _EvaluateVisitor__verifyArguments_closure(t0, t1, t2) {
  14713. this.$arguments = t0;
  14714. this.positional = t1;
  14715. this.named = t2;
  14716. },
  14717. _EvaluateVisitor_visitStringExpression_closure: function _EvaluateVisitor_visitStringExpression_closure(t0) {
  14718. this.$this = t0;
  14719. },
  14720. _EvaluateVisitor_visitCssAtRule_closure: function _EvaluateVisitor_visitCssAtRule_closure(t0, t1) {
  14721. this.$this = t0;
  14722. this.node = t1;
  14723. },
  14724. _EvaluateVisitor_visitCssAtRule_closure0: function _EvaluateVisitor_visitCssAtRule_closure0() {
  14725. },
  14726. _EvaluateVisitor_visitCssKeyframeBlock_closure: function _EvaluateVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  14727. this.$this = t0;
  14728. this.node = t1;
  14729. },
  14730. _EvaluateVisitor_visitCssKeyframeBlock_closure0: function _EvaluateVisitor_visitCssKeyframeBlock_closure0() {
  14731. },
  14732. _EvaluateVisitor_visitCssMediaRule_closure: function _EvaluateVisitor_visitCssMediaRule_closure(t0, t1) {
  14733. this.$this = t0;
  14734. this.node = t1;
  14735. },
  14736. _EvaluateVisitor_visitCssMediaRule_closure0: function _EvaluateVisitor_visitCssMediaRule_closure0(t0, t1, t2, t3) {
  14737. var _ = this;
  14738. _.$this = t0;
  14739. _.mergedQueries = t1;
  14740. _.node = t2;
  14741. _.mergedSources = t3;
  14742. },
  14743. _EvaluateVisitor_visitCssMediaRule__closure: function _EvaluateVisitor_visitCssMediaRule__closure(t0, t1) {
  14744. this.$this = t0;
  14745. this.node = t1;
  14746. },
  14747. _EvaluateVisitor_visitCssMediaRule___closure: function _EvaluateVisitor_visitCssMediaRule___closure(t0, t1) {
  14748. this.$this = t0;
  14749. this.node = t1;
  14750. },
  14751. _EvaluateVisitor_visitCssMediaRule_closure1: function _EvaluateVisitor_visitCssMediaRule_closure1(t0) {
  14752. this.mergedSources = t0;
  14753. },
  14754. _EvaluateVisitor_visitCssStyleRule_closure: function _EvaluateVisitor_visitCssStyleRule_closure(t0, t1, t2) {
  14755. this.$this = t0;
  14756. this.rule = t1;
  14757. this.node = t2;
  14758. },
  14759. _EvaluateVisitor_visitCssStyleRule__closure: function _EvaluateVisitor_visitCssStyleRule__closure(t0, t1) {
  14760. this.$this = t0;
  14761. this.node = t1;
  14762. },
  14763. _EvaluateVisitor_visitCssStyleRule_closure0: function _EvaluateVisitor_visitCssStyleRule_closure0() {
  14764. },
  14765. _EvaluateVisitor_visitCssSupportsRule_closure: function _EvaluateVisitor_visitCssSupportsRule_closure(t0, t1) {
  14766. this.$this = t0;
  14767. this.node = t1;
  14768. },
  14769. _EvaluateVisitor_visitCssSupportsRule__closure: function _EvaluateVisitor_visitCssSupportsRule__closure(t0, t1) {
  14770. this.$this = t0;
  14771. this.node = t1;
  14772. },
  14773. _EvaluateVisitor_visitCssSupportsRule_closure0: function _EvaluateVisitor_visitCssSupportsRule_closure0() {
  14774. },
  14775. _EvaluateVisitor__serialize_closure: function _EvaluateVisitor__serialize_closure(t0, t1) {
  14776. this.value = t0;
  14777. this.quote = t1;
  14778. },
  14779. _EvaluateVisitor__expressionNode_closure: function _EvaluateVisitor__expressionNode_closure(t0, t1) {
  14780. this.$this = t0;
  14781. this.expression = t1;
  14782. },
  14783. _EvaluateVisitor__withoutSlash_recommendation: function _EvaluateVisitor__withoutSlash_recommendation() {
  14784. },
  14785. _EvaluateVisitor__stackFrame_closure: function _EvaluateVisitor__stackFrame_closure(t0) {
  14786. this.$this = t0;
  14787. },
  14788. _EvaluateVisitor__stackTrace_closure: function _EvaluateVisitor__stackTrace_closure(t0) {
  14789. this.$this = t0;
  14790. },
  14791. _ImportedCssVisitor: function _ImportedCssVisitor(t0) {
  14792. this._visitor = t0;
  14793. },
  14794. _ImportedCssVisitor_visitCssAtRule_closure: function _ImportedCssVisitor_visitCssAtRule_closure() {
  14795. },
  14796. _ImportedCssVisitor_visitCssMediaRule_closure: function _ImportedCssVisitor_visitCssMediaRule_closure(t0) {
  14797. this.hasBeenMerged = t0;
  14798. },
  14799. _ImportedCssVisitor_visitCssStyleRule_closure: function _ImportedCssVisitor_visitCssStyleRule_closure() {
  14800. },
  14801. _ImportedCssVisitor_visitCssSupportsRule_closure: function _ImportedCssVisitor_visitCssSupportsRule_closure() {
  14802. },
  14803. _EvaluationContext: function _EvaluationContext(t0, t1) {
  14804. this._visitor = t0;
  14805. this._defaultWarnNodeWithSpan = t1;
  14806. },
  14807. _ArgumentResults: function _ArgumentResults(t0, t1, t2, t3, t4) {
  14808. var _ = this;
  14809. _.positional = t0;
  14810. _.positionalNodes = t1;
  14811. _.named = t2;
  14812. _.namedNodes = t3;
  14813. _.separator = t4;
  14814. },
  14815. _LoadedStylesheet: function _LoadedStylesheet(t0, t1, t2) {
  14816. this.stylesheet = t0;
  14817. this.importer = t1;
  14818. this.isDependency = t2;
  14819. },
  14820. EveryCssVisitor: function EveryCssVisitor() {
  14821. },
  14822. EveryCssVisitor_visitCssAtRule_closure: function EveryCssVisitor_visitCssAtRule_closure(t0) {
  14823. this.$this = t0;
  14824. },
  14825. EveryCssVisitor_visitCssKeyframeBlock_closure: function EveryCssVisitor_visitCssKeyframeBlock_closure(t0) {
  14826. this.$this = t0;
  14827. },
  14828. EveryCssVisitor_visitCssMediaRule_closure: function EveryCssVisitor_visitCssMediaRule_closure(t0) {
  14829. this.$this = t0;
  14830. },
  14831. EveryCssVisitor_visitCssStyleRule_closure: function EveryCssVisitor_visitCssStyleRule_closure(t0) {
  14832. this.$this = t0;
  14833. },
  14834. EveryCssVisitor_visitCssStylesheet_closure: function EveryCssVisitor_visitCssStylesheet_closure(t0) {
  14835. this.$this = t0;
  14836. },
  14837. EveryCssVisitor_visitCssSupportsRule_closure: function EveryCssVisitor_visitCssSupportsRule_closure(t0) {
  14838. this.$this = t0;
  14839. },
  14840. _MakeExpressionCalculationSafe: function _MakeExpressionCalculationSafe() {
  14841. },
  14842. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor() {
  14843. },
  14844. _FindDependenciesVisitor: function _FindDependenciesVisitor(t0, t1, t2, t3, t4) {
  14845. var _ = this;
  14846. _._find_dependencies$_uses = t0;
  14847. _._find_dependencies$_forwards = t1;
  14848. _._metaLoadCss = t2;
  14849. _._imports = t3;
  14850. _._metaNamespaces = t4;
  14851. },
  14852. DependencyReport: function DependencyReport(t0, t1, t2, t3) {
  14853. var _ = this;
  14854. _.uses = t0;
  14855. _.forwards = t1;
  14856. _.metaLoadCss = t2;
  14857. _.imports = t3;
  14858. },
  14859. __FindDependenciesVisitor_Object_RecursiveStatementVisitor: function __FindDependenciesVisitor_Object_RecursiveStatementVisitor() {
  14860. },
  14861. RecursiveStatementVisitor: function RecursiveStatementVisitor() {
  14862. },
  14863. ReplaceExpressionVisitor: function ReplaceExpressionVisitor() {
  14864. },
  14865. ReplaceExpressionVisitor_visitListExpression_closure: function ReplaceExpressionVisitor_visitListExpression_closure(t0) {
  14866. this.$this = t0;
  14867. },
  14868. ReplaceExpressionVisitor_visitMapExpression_closure: function ReplaceExpressionVisitor_visitMapExpression_closure(t0) {
  14869. this.$this = t0;
  14870. },
  14871. ReplaceExpressionVisitor_visitArgumentInvocation_closure: function ReplaceExpressionVisitor_visitArgumentInvocation_closure(t0) {
  14872. this.$this = t0;
  14873. },
  14874. ReplaceExpressionVisitor_visitInterpolation_closure: function ReplaceExpressionVisitor_visitInterpolation_closure(t0) {
  14875. this.$this = t0;
  14876. },
  14877. SelectorSearchVisitor: function SelectorSearchVisitor() {
  14878. },
  14879. SelectorSearchVisitor_visitComplexSelector_closure: function SelectorSearchVisitor_visitComplexSelector_closure(t0) {
  14880. this.$this = t0;
  14881. },
  14882. SelectorSearchVisitor_visitCompoundSelector_closure: function SelectorSearchVisitor_visitCompoundSelector_closure(t0) {
  14883. this.$this = t0;
  14884. },
  14885. serialize(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
  14886. var t1, css, t2, prefix,
  14887. visitor = A._SerializeVisitor$(2, inspect, lineFeed, true, sourceMap, style, true);
  14888. node.accept$1(visitor);
  14889. t1 = visitor._serialize$_buffer;
  14890. css = t1.toString$0(0);
  14891. if (charset) {
  14892. t2 = new A.CodeUnits(css);
  14893. t2 = t2.any$1(t2, new A.serialize_closure());
  14894. } else
  14895. t2 = false;
  14896. if (t2)
  14897. prefix = style === B.OutputStyle_1 ? "\ufeff" : '@charset "UTF-8";\n';
  14898. else
  14899. prefix = "";
  14900. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  14901. return new A.SerializeResult(prefix + css, t1);
  14902. },
  14903. serializeValue(value, inspect, quote) {
  14904. var visitor = A._SerializeVisitor$(null, inspect, null, quote, false, null, true);
  14905. value.accept$1(visitor);
  14906. return visitor._serialize$_buffer.toString$0(0);
  14907. },
  14908. serializeSelector(selector, inspect) {
  14909. var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  14910. selector.accept$1(visitor);
  14911. return visitor._serialize$_buffer.toString$0(0);
  14912. },
  14913. _SerializeVisitor$(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
  14914. var t1 = sourceMap ? new A.SourceMapBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer(new A.StringBuffer("")),
  14915. t2 = style == null ? B.OutputStyle_0 : style,
  14916. t3 = indentWidth == null ? 2 : indentWidth;
  14917. A.RangeError_checkValueInInterval(t3, 0, 10, "indentWidth");
  14918. return new A._SerializeVisitor(t1, t2, inspect, quote, 32, t3, B.LineFeed_lf);
  14919. },
  14920. serialize_closure: function serialize_closure() {
  14921. },
  14922. _SerializeVisitor: function _SerializeVisitor(t0, t1, t2, t3, t4, t5, t6) {
  14923. var _ = this;
  14924. _._serialize$_buffer = t0;
  14925. _._indentation = 0;
  14926. _._style = t1;
  14927. _._inspect = t2;
  14928. _._quote = t3;
  14929. _._indentCharacter = t4;
  14930. _._indentWidth = t5;
  14931. _._serialize$_lineFeed = t6;
  14932. },
  14933. _SerializeVisitor_visitCssComment_closure: function _SerializeVisitor_visitCssComment_closure(t0, t1) {
  14934. this.$this = t0;
  14935. this.node = t1;
  14936. },
  14937. _SerializeVisitor_visitCssAtRule_closure: function _SerializeVisitor_visitCssAtRule_closure(t0, t1) {
  14938. this.$this = t0;
  14939. this.node = t1;
  14940. },
  14941. _SerializeVisitor_visitCssMediaRule_closure: function _SerializeVisitor_visitCssMediaRule_closure(t0, t1) {
  14942. this.$this = t0;
  14943. this.node = t1;
  14944. },
  14945. _SerializeVisitor_visitCssImport_closure: function _SerializeVisitor_visitCssImport_closure(t0, t1) {
  14946. this.$this = t0;
  14947. this.node = t1;
  14948. },
  14949. _SerializeVisitor_visitCssImport__closure: function _SerializeVisitor_visitCssImport__closure(t0, t1) {
  14950. this.$this = t0;
  14951. this.node = t1;
  14952. },
  14953. _SerializeVisitor_visitCssKeyframeBlock_closure: function _SerializeVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  14954. this.$this = t0;
  14955. this.node = t1;
  14956. },
  14957. _SerializeVisitor_visitCssStyleRule_closure: function _SerializeVisitor_visitCssStyleRule_closure(t0, t1) {
  14958. this.$this = t0;
  14959. this.node = t1;
  14960. },
  14961. _SerializeVisitor_visitCssSupportsRule_closure: function _SerializeVisitor_visitCssSupportsRule_closure(t0, t1) {
  14962. this.$this = t0;
  14963. this.node = t1;
  14964. },
  14965. _SerializeVisitor_visitCssDeclaration_closure: function _SerializeVisitor_visitCssDeclaration_closure(t0, t1) {
  14966. this.$this = t0;
  14967. this.node = t1;
  14968. },
  14969. _SerializeVisitor_visitCssDeclaration_closure0: function _SerializeVisitor_visitCssDeclaration_closure0(t0, t1) {
  14970. this.$this = t0;
  14971. this.node = t1;
  14972. },
  14973. _SerializeVisitor_visitList_closure: function _SerializeVisitor_visitList_closure() {
  14974. },
  14975. _SerializeVisitor_visitList_closure0: function _SerializeVisitor_visitList_closure0(t0, t1) {
  14976. this.$this = t0;
  14977. this.value = t1;
  14978. },
  14979. _SerializeVisitor_visitList_closure1: function _SerializeVisitor_visitList_closure1(t0) {
  14980. this.$this = t0;
  14981. },
  14982. _SerializeVisitor_visitMap_closure: function _SerializeVisitor_visitMap_closure(t0) {
  14983. this.$this = t0;
  14984. },
  14985. _SerializeVisitor_visitSelectorList_closure: function _SerializeVisitor_visitSelectorList_closure() {
  14986. },
  14987. _SerializeVisitor__write_closure: function _SerializeVisitor__write_closure(t0, t1) {
  14988. this.$this = t0;
  14989. this.value = t1;
  14990. },
  14991. _SerializeVisitor__visitChildren_closure: function _SerializeVisitor__visitChildren_closure(t0, t1) {
  14992. this.$this = t0;
  14993. this.child = t1;
  14994. },
  14995. _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1) {
  14996. this.$this = t0;
  14997. this.child = t1;
  14998. },
  14999. OutputStyle: function OutputStyle(t0) {
  15000. this._name = t0;
  15001. },
  15002. LineFeed: function LineFeed(t0) {
  15003. this._name = t0;
  15004. },
  15005. SerializeResult: function SerializeResult(t0, t1) {
  15006. this.css = t0;
  15007. this.sourceMap = t1;
  15008. },
  15009. StatementSearchVisitor: function StatementSearchVisitor() {
  15010. },
  15011. StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
  15012. this.$this = t0;
  15013. },
  15014. StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
  15015. this.$this = t0;
  15016. },
  15017. StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
  15018. this.$this = t0;
  15019. },
  15020. StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
  15021. this.$this = t0;
  15022. },
  15023. StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
  15024. this.$this = t0;
  15025. },
  15026. Entry: function Entry(t0, t1, t2) {
  15027. this.source = t0;
  15028. this.target = t1;
  15029. this.identifierName = t2;
  15030. },
  15031. SingleMapping_SingleMapping$fromEntries(entries) {
  15032. var lines, t1, t2, urls, names, files, targetEntries, t3, t4, lineNum, _i, sourceEntry, t5, t6, sourceUrl, t7, urlId,
  15033. sourceEntries = J.toList$0$ax(entries);
  15034. B.JSArray_methods.sort$0(sourceEntries);
  15035. lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
  15036. t1 = type$.String;
  15037. t2 = type$.int;
  15038. urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  15039. names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  15040. files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
  15041. targetEntries = A._Cell$();
  15042. 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) {
  15043. sourceEntry = sourceEntries[_i];
  15044. if (lineNum == null || sourceEntry.target.line > lineNum) {
  15045. lineNum = sourceEntry.target.line;
  15046. t5 = A._setArrayType([], t3);
  15047. targetEntries.__late_helper$_value = t5;
  15048. lines.push(new A.TargetLineEntry(lineNum, t5));
  15049. }
  15050. t5 = sourceEntry.source;
  15051. t6 = t5.file;
  15052. sourceUrl = t6.url;
  15053. t7 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
  15054. urlId = urls.putIfAbsent$2(t7, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
  15055. files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
  15056. t7 = targetEntries.__late_helper$_value;
  15057. if (t7 === targetEntries)
  15058. A.throwExpression(A.LateError$localNI(t4));
  15059. t5 = t5.offset;
  15060. J.add$1$ax(t7, new A.TargetEntry(sourceEntry.target.column, urlId, t6.getLine$1(t5), t6.getColumn$1(t5), null));
  15061. }
  15062. t2 = urls.get$values(urls);
  15063. t2 = A.MappedIterable_MappedIterable(t2, new A.SingleMapping_SingleMapping$fromEntries_closure1(files), A._instanceType(t2)._eval$1("Iterable.E"), type$.nullable_SourceFile);
  15064. t2 = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E"));
  15065. t3 = urls.$ti._eval$1("LinkedHashMapKeyIterable<1>");
  15066. t4 = names.$ti._eval$1("LinkedHashMapKeyIterable<1>");
  15067. 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));
  15068. },
  15069. Mapping: function Mapping() {
  15070. },
  15071. SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
  15072. var _ = this;
  15073. _.urls = t0;
  15074. _.names = t1;
  15075. _.files = t2;
  15076. _.lines = t3;
  15077. _.targetUrl = t4;
  15078. _.sourceRoot = null;
  15079. _.extensions = t5;
  15080. },
  15081. SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
  15082. this.urls = t0;
  15083. },
  15084. SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
  15085. this.sourceEntry = t0;
  15086. },
  15087. SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
  15088. this.files = t0;
  15089. },
  15090. SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
  15091. },
  15092. SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
  15093. this.result = t0;
  15094. },
  15095. TargetLineEntry: function TargetLineEntry(t0, t1) {
  15096. this.line = t0;
  15097. this.entries = t1;
  15098. },
  15099. TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
  15100. var _ = this;
  15101. _.column = t0;
  15102. _.sourceUrlId = t1;
  15103. _.sourceLine = t2;
  15104. _.sourceColumn = t3;
  15105. _.sourceNameId = t4;
  15106. },
  15107. SourceFile$fromString(text, url) {
  15108. var t1 = new A.CodeUnits(text),
  15109. t2 = A._setArrayType([0], type$.JSArray_int),
  15110. t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  15111. t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
  15112. t2.SourceFile$decoded$2$url(t1, url);
  15113. return t2;
  15114. },
  15115. SourceFile$decoded(decodedChars, url) {
  15116. var t1 = A._setArrayType([0], type$.JSArray_int),
  15117. t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  15118. t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
  15119. t1.SourceFile$decoded$2$url(decodedChars, url);
  15120. return t1;
  15121. },
  15122. FileLocation$_(file, offset) {
  15123. if (offset < 0)
  15124. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  15125. else if (offset > file._decodedChars.length)
  15126. A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_ + file.get$length(file) + "."));
  15127. return new A.FileLocation(file, offset);
  15128. },
  15129. _FileSpan$(file, _start, _end) {
  15130. if (_end < _start)
  15131. A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
  15132. else if (_end > file._decodedChars.length)
  15133. A.throwExpression(A.RangeError$("End " + _end + string$.x20must_ + file.get$length(file) + "."));
  15134. else if (_start < 0)
  15135. A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
  15136. return new A._FileSpan(file, _start, _end);
  15137. },
  15138. FileSpanExtension_subspan(_this, start, end) {
  15139. var t1, startOffset, t2;
  15140. A.RangeError_checkValidRange(start, end, _this.get$length(_this));
  15141. if (start === 0)
  15142. t1 = end == null || end === _this.get$length(_this);
  15143. else
  15144. t1 = false;
  15145. if (t1)
  15146. return _this;
  15147. startOffset = _this.get$start(_this).offset;
  15148. t1 = _this.get$file(_this);
  15149. t2 = end == null ? _this.get$end(_this).offset : startOffset + end;
  15150. return t1.span$2(0, startOffset + start, t2);
  15151. },
  15152. SourceFile: function SourceFile(t0, t1, t2) {
  15153. var _ = this;
  15154. _.url = t0;
  15155. _._lineStarts = t1;
  15156. _._decodedChars = t2;
  15157. _._cachedLine = null;
  15158. },
  15159. FileLocation: function FileLocation(t0, t1) {
  15160. this.file = t0;
  15161. this.offset = t1;
  15162. },
  15163. _FileSpan: function _FileSpan(t0, t1, t2) {
  15164. this.file = t0;
  15165. this._file$_start = t1;
  15166. this._end = t2;
  15167. },
  15168. Highlighter$(span, color) {
  15169. var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
  15170. t2 = new A.Highlighter_closure(color).call$0(),
  15171. t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
  15172. t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
  15173. t5 = A._arrayInstanceType(t1);
  15174. 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(""));
  15175. },
  15176. Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
  15177. var t2, t3, t4, t5, t6,
  15178. t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
  15179. for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  15180. t3 = t2.get$current(t2);
  15181. t1.push(A._Highlight$(t3.key, t3.value, false));
  15182. }
  15183. t1 = A.Highlighter__collateLines(t1);
  15184. if (color)
  15185. t2 = primaryColor == null ? "\x1b[31m" : primaryColor;
  15186. else
  15187. t2 = null;
  15188. if (color)
  15189. t3 = "\x1b[34m";
  15190. else
  15191. t3 = null;
  15192. t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
  15193. t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
  15194. t6 = A._arrayInstanceType(t1);
  15195. 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(""));
  15196. },
  15197. Highlighter__contiguous(lines) {
  15198. var i, thisLine, nextLine;
  15199. for (i = 0; i < lines.length - 1;) {
  15200. thisLine = lines[i];
  15201. ++i;
  15202. nextLine = lines[i];
  15203. if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
  15204. return false;
  15205. }
  15206. return true;
  15207. },
  15208. Highlighter__collateLines(highlights) {
  15209. var t1, t2, t3,
  15210. highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
  15211. 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();) {
  15212. t3 = t1.__internal$_current;
  15213. if (t3 == null)
  15214. t3 = t2._as(t3);
  15215. J.sort$1$ax(t3, new A.Highlighter__collateLines_closure0());
  15216. }
  15217. t1 = highlightsByUrl.get$entries(highlightsByUrl);
  15218. t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,_Line>");
  15219. return A.List_List$of(new A.ExpandIterable(t1, new A.Highlighter__collateLines_closure1(), t2), true, t2._eval$1("Iterable.E"));
  15220. },
  15221. _Highlight$(span, label, primary) {
  15222. var t2,
  15223. t1 = new A._Highlight_closure(span).call$0();
  15224. if (label == null)
  15225. t2 = null;
  15226. else
  15227. t2 = A.stringReplaceAllUnchecked(label, "\r\n", "\n");
  15228. return new A._Highlight(t1, primary, t2);
  15229. },
  15230. _Highlight__normalizeNewlines(span) {
  15231. var endOffset, t1, i, t2, t3, t4,
  15232. text = span.get$text();
  15233. if (!B.JSString_methods.contains$1(text, "\r\n"))
  15234. return span;
  15235. endOffset = span.get$end(span).get$offset();
  15236. for (t1 = text.length - 1, i = 0; i < t1; ++i)
  15237. if (B.JSString_methods._codeUnitAt$1(text, i) === 13 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 10)
  15238. --endOffset;
  15239. t1 = span.get$start(span);
  15240. t2 = span.get$sourceUrl(span);
  15241. t3 = span.get$end(span).get$line();
  15242. t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
  15243. t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
  15244. t4 = span.get$context(span);
  15245. return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
  15246. },
  15247. _Highlight__normalizeTrailingNewline(span) {
  15248. var context, text, start, end, t1, t2, t3;
  15249. if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
  15250. return span;
  15251. if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
  15252. return span;
  15253. context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
  15254. text = span.get$text();
  15255. start = span.get$start(span);
  15256. end = span.get$end(span);
  15257. if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
  15258. t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
  15259. t1.toString;
  15260. t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
  15261. } else
  15262. t1 = false;
  15263. if (t1) {
  15264. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  15265. if (text.length === 0)
  15266. end = start;
  15267. else {
  15268. t1 = span.get$end(span).get$offset();
  15269. t2 = span.get$sourceUrl(span);
  15270. t3 = span.get$end(span).get$line();
  15271. end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
  15272. start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
  15273. }
  15274. }
  15275. return A.SourceSpanWithContext$(start, end, text, context);
  15276. },
  15277. _Highlight__normalizeEndOfLine(span) {
  15278. var text, t1, t2, t3, t4;
  15279. if (span.get$end(span).get$column() !== 0)
  15280. return span;
  15281. if (span.get$end(span).get$line() === span.get$start(span).get$line())
  15282. return span;
  15283. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  15284. t1 = span.get$start(span);
  15285. t2 = span.get$end(span).get$offset();
  15286. t3 = span.get$sourceUrl(span);
  15287. t4 = span.get$end(span).get$line();
  15288. t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
  15289. 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));
  15290. },
  15291. _Highlight__lastLineLength(text) {
  15292. var t1 = text.length;
  15293. if (t1 === 0)
  15294. return 0;
  15295. else if (B.JSString_methods.codeUnitAt$1(text, t1 - 1) === 10)
  15296. return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
  15297. else
  15298. return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
  15299. },
  15300. Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
  15301. var _ = this;
  15302. _._lines = t0;
  15303. _._primaryColor = t1;
  15304. _._secondaryColor = t2;
  15305. _._paddingBeforeSidebar = t3;
  15306. _._maxMultilineSpans = t4;
  15307. _._multipleFiles = t5;
  15308. _._highlighter$_buffer = t6;
  15309. },
  15310. Highlighter_closure: function Highlighter_closure(t0) {
  15311. this.color = t0;
  15312. },
  15313. Highlighter$__closure: function Highlighter$__closure() {
  15314. },
  15315. Highlighter$___closure: function Highlighter$___closure() {
  15316. },
  15317. Highlighter$__closure0: function Highlighter$__closure0() {
  15318. },
  15319. Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
  15320. },
  15321. Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
  15322. },
  15323. Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
  15324. },
  15325. Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
  15326. this.line = t0;
  15327. },
  15328. Highlighter_highlight_closure: function Highlighter_highlight_closure() {
  15329. },
  15330. Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
  15331. this.$this = t0;
  15332. },
  15333. Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
  15334. this.$this = t0;
  15335. this.startLine = t1;
  15336. this.line = t2;
  15337. },
  15338. Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
  15339. this.$this = t0;
  15340. this.highlight = t1;
  15341. },
  15342. Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
  15343. this.$this = t0;
  15344. },
  15345. Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
  15346. var _ = this;
  15347. _._box_0 = t0;
  15348. _.$this = t1;
  15349. _.current = t2;
  15350. _.startLine = t3;
  15351. _.line = t4;
  15352. _.highlight = t5;
  15353. _.endLine = t6;
  15354. },
  15355. Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
  15356. this._box_0 = t0;
  15357. this.$this = t1;
  15358. },
  15359. Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
  15360. this.$this = t0;
  15361. this.vertical = t1;
  15362. },
  15363. Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
  15364. var _ = this;
  15365. _.$this = t0;
  15366. _.text = t1;
  15367. _.startColumn = t2;
  15368. _.endColumn = t3;
  15369. },
  15370. Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
  15371. this.$this = t0;
  15372. this.line = t1;
  15373. this.highlight = t2;
  15374. },
  15375. Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
  15376. this.$this = t0;
  15377. this.line = t1;
  15378. this.highlight = t2;
  15379. },
  15380. Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
  15381. var _ = this;
  15382. _.$this = t0;
  15383. _.coversWholeLine = t1;
  15384. _.line = t2;
  15385. _.highlight = t3;
  15386. },
  15387. Highlighter__writeLabel_closure: function Highlighter__writeLabel_closure(t0, t1) {
  15388. this.$this = t0;
  15389. this.lines = t1;
  15390. },
  15391. Highlighter__writeLabel_closure0: function Highlighter__writeLabel_closure0(t0, t1) {
  15392. this.$this = t0;
  15393. this.text = t1;
  15394. },
  15395. Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
  15396. this._box_0 = t0;
  15397. this.$this = t1;
  15398. this.end = t2;
  15399. },
  15400. _Highlight: function _Highlight(t0, t1, t2) {
  15401. this.span = t0;
  15402. this.isPrimary = t1;
  15403. this.label = t2;
  15404. },
  15405. _Highlight_closure: function _Highlight_closure(t0) {
  15406. this.span = t0;
  15407. },
  15408. _Line: function _Line(t0, t1, t2, t3) {
  15409. var _ = this;
  15410. _.text = t0;
  15411. _.number = t1;
  15412. _.url = t2;
  15413. _.highlights = t3;
  15414. },
  15415. SourceLocation$(offset, column, line, sourceUrl) {
  15416. var t1 = line == null,
  15417. t2 = t1 ? 0 : line,
  15418. t3 = column == null,
  15419. t4 = t3 ? offset : column;
  15420. if (offset < 0)
  15421. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  15422. else if (!t1 && line < 0)
  15423. A.throwExpression(A.RangeError$("Line may not be negative, was " + A.S(line) + "."));
  15424. else if (!t3 && column < 0)
  15425. A.throwExpression(A.RangeError$("Column may not be negative, was " + A.S(column) + "."));
  15426. return new A.SourceLocation(sourceUrl, offset, t2, t4);
  15427. },
  15428. SourceLocation: function SourceLocation(t0, t1, t2, t3) {
  15429. var _ = this;
  15430. _.sourceUrl = t0;
  15431. _.offset = t1;
  15432. _.line = t2;
  15433. _.column = t3;
  15434. },
  15435. SourceLocationMixin: function SourceLocationMixin() {
  15436. },
  15437. SourceSpanExtension_messageMultiple(_this, message, label, secondarySpans, color, primaryColor, secondaryColor) {
  15438. var t2,
  15439. t1 = _this.get$start(_this);
  15440. t1 = t1.file.getLine$1(t1.offset);
  15441. t2 = _this.get$start(_this);
  15442. t2 = "" + ("line " + (t1 + 1) + ", column " + (t2.file.getColumn$1(t2.offset) + 1));
  15443. if (_this.get$sourceUrl(_this) != null) {
  15444. t1 = _this.get$sourceUrl(_this);
  15445. t1 = t2 + (" of " + $.$get$context().prettyUri$1(t1));
  15446. } else
  15447. t1 = t2;
  15448. t1 = t1 + (": " + message + "\n") + A.Highlighter$multiple(_this, label, secondarySpans, color, primaryColor, secondaryColor).highlight$0();
  15449. return t1.charCodeAt(0) == 0 ? t1 : t1;
  15450. },
  15451. SourceSpanBase: function SourceSpanBase() {
  15452. },
  15453. SourceSpanException: function SourceSpanException() {
  15454. },
  15455. SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
  15456. this.source = t0;
  15457. this._span_exception$_message = t1;
  15458. this._span = t2;
  15459. },
  15460. MultiSourceSpanException: function MultiSourceSpanException() {
  15461. },
  15462. MultiSourceSpanFormatException: function MultiSourceSpanFormatException(t0, t1, t2, t3) {
  15463. var _ = this;
  15464. _.primaryLabel = t0;
  15465. _.secondarySpans = t1;
  15466. _._span_exception$_message = t2;
  15467. _._span = t3;
  15468. },
  15469. SourceSpanMixin: function SourceSpanMixin() {
  15470. },
  15471. SourceSpanWithContext$(start, end, text, _context) {
  15472. var t1 = new A.SourceSpanWithContext(_context, start, end, text);
  15473. t1.SourceSpanBase$3(start, end, text);
  15474. if (!B.JSString_methods.contains$1(_context, text))
  15475. A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
  15476. if (A.findLineStart(_context, text, start.get$column()) == null)
  15477. A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
  15478. return t1;
  15479. },
  15480. SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
  15481. var _ = this;
  15482. _._context = t0;
  15483. _.start = t1;
  15484. _.end = t2;
  15485. _.text = t3;
  15486. },
  15487. Chain_Chain$parse(chain) {
  15488. var t1, t2,
  15489. _s51_ = string$.x3d_____;
  15490. if (chain.length === 0)
  15491. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
  15492. t1 = $.$get$vmChainGap();
  15493. if (B.JSString_methods.contains$1(chain, t1)) {
  15494. t1 = B.JSString_methods.split$1(chain, t1);
  15495. t2 = A._arrayInstanceType(t1);
  15496. 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));
  15497. }
  15498. if (!B.JSString_methods.contains$1(chain, _s51_))
  15499. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
  15500. 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));
  15501. },
  15502. Chain: function Chain(t0) {
  15503. this.traces = t0;
  15504. },
  15505. Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
  15506. },
  15507. Chain_toTrace_closure: function Chain_toTrace_closure() {
  15508. },
  15509. Chain_toString_closure0: function Chain_toString_closure0() {
  15510. },
  15511. Chain_toString__closure0: function Chain_toString__closure0() {
  15512. },
  15513. Chain_toString_closure: function Chain_toString_closure(t0) {
  15514. this.longest = t0;
  15515. },
  15516. Chain_toString__closure: function Chain_toString__closure(t0) {
  15517. this.longest = t0;
  15518. },
  15519. Frame___parseVM_tearOff(frame) {
  15520. return A.Frame_Frame$parseVM(frame);
  15521. },
  15522. Frame_Frame$parseVM(frame) {
  15523. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
  15524. },
  15525. Frame___parseV8_tearOff(frame) {
  15526. return A.Frame_Frame$parseV8(frame);
  15527. },
  15528. Frame_Frame$parseV8(frame) {
  15529. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
  15530. },
  15531. Frame_Frame$_parseFirefoxEval(frame) {
  15532. return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
  15533. },
  15534. Frame___parseFirefox_tearOff(frame) {
  15535. return A.Frame_Frame$parseFirefox(frame);
  15536. },
  15537. Frame_Frame$parseFirefox(frame) {
  15538. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
  15539. },
  15540. Frame___parseFriendly_tearOff(frame) {
  15541. return A.Frame_Frame$parseFriendly(frame);
  15542. },
  15543. Frame_Frame$parseFriendly(frame) {
  15544. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
  15545. },
  15546. Frame__uriOrPathToUri(uriOrPath) {
  15547. if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
  15548. return A.Uri_parse(uriOrPath);
  15549. else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
  15550. return A._Uri__Uri$file(uriOrPath, true);
  15551. else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
  15552. return A._Uri__Uri$file(uriOrPath, false);
  15553. if (B.JSString_methods.contains$1(uriOrPath, "\\"))
  15554. return $.$get$windows().toUri$1(uriOrPath);
  15555. return A.Uri_parse(uriOrPath);
  15556. },
  15557. Frame__catchFormatException(text, body) {
  15558. var t1, exception;
  15559. try {
  15560. t1 = body.call$0();
  15561. return t1;
  15562. } catch (exception) {
  15563. if (type$.FormatException._is(A.unwrapException(exception)))
  15564. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
  15565. else
  15566. throw exception;
  15567. }
  15568. },
  15569. Frame: function Frame(t0, t1, t2, t3) {
  15570. var _ = this;
  15571. _.uri = t0;
  15572. _.line = t1;
  15573. _.column = t2;
  15574. _.member = t3;
  15575. },
  15576. Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
  15577. this.frame = t0;
  15578. },
  15579. Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
  15580. this.frame = t0;
  15581. },
  15582. Frame_Frame$parseV8_closure_parseLocation: function Frame_Frame$parseV8_closure_parseLocation(t0) {
  15583. this.frame = t0;
  15584. },
  15585. Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
  15586. this.frame = t0;
  15587. },
  15588. Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
  15589. this.frame = t0;
  15590. },
  15591. Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
  15592. this.frame = t0;
  15593. },
  15594. LazyTrace: function LazyTrace(t0) {
  15595. this._thunk = t0;
  15596. this.__LazyTrace__trace_FI = $;
  15597. },
  15598. LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
  15599. this.$this = t0;
  15600. },
  15601. Trace_Trace$from(trace) {
  15602. if (type$.Trace._is(trace))
  15603. return trace;
  15604. if (trace instanceof A.Chain)
  15605. return trace.toTrace$0();
  15606. return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
  15607. },
  15608. Trace_Trace$parse(trace) {
  15609. var error, t1, exception;
  15610. try {
  15611. if (trace.length === 0) {
  15612. t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
  15613. return t1;
  15614. }
  15615. if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
  15616. t1 = A.Trace$parseV8(trace);
  15617. return t1;
  15618. }
  15619. if (B.JSString_methods.contains$1(trace, "\tat ")) {
  15620. t1 = A.Trace$parseJSCore(trace);
  15621. return t1;
  15622. }
  15623. if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
  15624. t1 = A.Trace$parseFirefox(trace);
  15625. return t1;
  15626. }
  15627. if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
  15628. t1 = A.Chain_Chain$parse(trace).toTrace$0();
  15629. return t1;
  15630. }
  15631. if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
  15632. t1 = A.Trace$parseFriendly(trace);
  15633. return t1;
  15634. }
  15635. t1 = A.Trace$parseVM(trace);
  15636. return t1;
  15637. } catch (exception) {
  15638. t1 = A.unwrapException(exception);
  15639. if (type$.FormatException._is(t1)) {
  15640. error = t1;
  15641. throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
  15642. } else
  15643. throw exception;
  15644. }
  15645. },
  15646. Trace___parseVM_tearOff(trace) {
  15647. return A.Trace$parseVM(trace);
  15648. },
  15649. Trace$parseVM(trace) {
  15650. var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
  15651. return new A.Trace(t1, new A._StringStackTrace(trace));
  15652. },
  15653. Trace__parseVM(trace) {
  15654. var $frames,
  15655. t1 = B.JSString_methods.trim$0(trace),
  15656. t2 = $.$get$vmChainGap(),
  15657. t3 = type$.WhereIterable_String,
  15658. lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
  15659. if (!lines.get$iterator(lines).moveNext$0())
  15660. return A._setArrayType([], type$.JSArray_Frame);
  15661. t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(lines) - 1, t3._eval$1("Iterable.E"));
  15662. t1 = A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseVM_tearOff$closure(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
  15663. $frames = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  15664. if (!J.endsWith$1$s(lines.get$last(lines), ".da"))
  15665. B.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(lines.get$last(lines)));
  15666. return $frames;
  15667. },
  15668. Trace$parseV8(trace) {
  15669. 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()),
  15670. t2 = type$.Frame;
  15671. t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseV8_tearOff$closure(), t1.$ti._eval$1("Iterable.E"), t2), t2);
  15672. return new A.Trace(t2, new A._StringStackTrace(trace));
  15673. },
  15674. Trace$parseJSCore(trace) {
  15675. 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);
  15676. return new A.Trace(t1, new A._StringStackTrace(trace));
  15677. },
  15678. Trace$parseFirefox(trace) {
  15679. 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);
  15680. return new A.Trace(t1, new A._StringStackTrace(trace));
  15681. },
  15682. Trace___parseFriendly_tearOff(trace) {
  15683. return A.Trace$parseFriendly(trace);
  15684. },
  15685. Trace$parseFriendly(trace) {
  15686. 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);
  15687. t1 = A.List_List$unmodifiable(t1, type$.Frame);
  15688. return new A.Trace(t1, new A._StringStackTrace(trace));
  15689. },
  15690. Trace$($frames, original) {
  15691. var t1 = A.List_List$unmodifiable($frames, type$.Frame);
  15692. return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
  15693. },
  15694. Trace: function Trace(t0, t1) {
  15695. this.frames = t0;
  15696. this.original = t1;
  15697. },
  15698. Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
  15699. this.trace = t0;
  15700. },
  15701. Trace__parseVM_closure: function Trace__parseVM_closure() {
  15702. },
  15703. Trace$parseV8_closure: function Trace$parseV8_closure() {
  15704. },
  15705. Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
  15706. },
  15707. Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
  15708. },
  15709. Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
  15710. },
  15711. Trace_terse_closure: function Trace_terse_closure() {
  15712. },
  15713. Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
  15714. this.oldPredicate = t0;
  15715. },
  15716. Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
  15717. this._box_0 = t0;
  15718. },
  15719. Trace_toString_closure0: function Trace_toString_closure0() {
  15720. },
  15721. Trace_toString_closure: function Trace_toString_closure(t0) {
  15722. this.longest = t0;
  15723. },
  15724. UnparsedFrame: function UnparsedFrame(t0, t1) {
  15725. this.uri = t0;
  15726. this.member = t1;
  15727. },
  15728. TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
  15729. var _null = null, t1 = {},
  15730. controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
  15731. t1.subscription = null;
  15732. controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
  15733. return controller.get$stream();
  15734. },
  15735. TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
  15736. sink.addError$2(error, stackTrace);
  15737. },
  15738. TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
  15739. var _ = this;
  15740. _._box_1 = t0;
  15741. _._this = t1;
  15742. _.handleData = t2;
  15743. _.controller = t3;
  15744. _.handleError = t4;
  15745. _.handleDone = t5;
  15746. _.S = t6;
  15747. },
  15748. TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
  15749. this.handleData = t0;
  15750. this.controller = t1;
  15751. this.S = t2;
  15752. },
  15753. TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
  15754. this.handleError = t0;
  15755. this.controller = t1;
  15756. },
  15757. TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
  15758. this._box_0 = t0;
  15759. this.handleDone = t1;
  15760. this.controller = t2;
  15761. },
  15762. TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
  15763. this._box_1 = t0;
  15764. this._box_0 = t1;
  15765. },
  15766. RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
  15767. var t1 = {};
  15768. t1.soFar = t1.timer = null;
  15769. t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
  15770. 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);
  15771. },
  15772. _collect($event, soFar, $T) {
  15773. var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
  15774. J.add$1$ax(t1, $event);
  15775. return t1;
  15776. },
  15777. RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
  15778. var _ = this;
  15779. _._box_0 = t0;
  15780. _.S = t1;
  15781. _.collect = t2;
  15782. _.leading = t3;
  15783. _.duration = t4;
  15784. _.trailing = t5;
  15785. _.T = t6;
  15786. },
  15787. RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
  15788. this._box_0 = t0;
  15789. this.sink = t1;
  15790. this.S = t2;
  15791. },
  15792. RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
  15793. var _ = this;
  15794. _._box_0 = t0;
  15795. _.trailing = t1;
  15796. _.emit = t2;
  15797. _.sink = t3;
  15798. },
  15799. RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
  15800. this._box_0 = t0;
  15801. this.trailing = t1;
  15802. this.S = t2;
  15803. },
  15804. StringScannerException$(message, span, source) {
  15805. return new A.StringScannerException(source, message, span);
  15806. },
  15807. StringScannerException: function StringScannerException(t0, t1, t2) {
  15808. this.source = t0;
  15809. this._span_exception$_message = t1;
  15810. this._span = t2;
  15811. },
  15812. LineScanner$(string) {
  15813. return new A.LineScanner(null, string);
  15814. },
  15815. LineScanner: function LineScanner(t0, t1) {
  15816. var _ = this;
  15817. _._line_scanner$_column = _._line_scanner$_line = 0;
  15818. _.sourceUrl = t0;
  15819. _.string = t1;
  15820. _._string_scanner$_position = 0;
  15821. _._lastMatchPosition = _._lastMatch = null;
  15822. },
  15823. SpanScanner$(string, sourceUrl) {
  15824. var t2,
  15825. t1 = A.SourceFile$fromString(string, sourceUrl);
  15826. if (sourceUrl == null)
  15827. t2 = null;
  15828. else
  15829. t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  15830. return new A.SpanScanner(t1, t2, string);
  15831. },
  15832. SpanScanner: function SpanScanner(t0, t1, t2) {
  15833. var _ = this;
  15834. _._sourceFile = t0;
  15835. _.sourceUrl = t1;
  15836. _.string = t2;
  15837. _._string_scanner$_position = 0;
  15838. _._lastMatchPosition = _._lastMatch = null;
  15839. },
  15840. _SpanScannerState: function _SpanScannerState(t0, t1) {
  15841. this._scanner = t0;
  15842. this.position = t1;
  15843. },
  15844. StringScanner$(string, position, sourceUrl) {
  15845. var t1;
  15846. if (sourceUrl == null)
  15847. t1 = null;
  15848. else
  15849. t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  15850. return new A.StringScanner(t1, string);
  15851. },
  15852. StringScanner: function StringScanner(t0, t1) {
  15853. var _ = this;
  15854. _.sourceUrl = t0;
  15855. _.string = t1;
  15856. _._string_scanner$_position = 0;
  15857. _._lastMatchPosition = _._lastMatch = null;
  15858. },
  15859. AsciiGlyphSet: function AsciiGlyphSet() {
  15860. },
  15861. UnicodeGlyphSet: function UnicodeGlyphSet() {
  15862. },
  15863. Tuple2: function Tuple2(t0, t1, t2) {
  15864. this.item1 = t0;
  15865. this.item2 = t1;
  15866. this.$ti = t2;
  15867. },
  15868. Tuple3: function Tuple3(t0, t1, t2, t3) {
  15869. var _ = this;
  15870. _.item1 = t0;
  15871. _.item2 = t1;
  15872. _.item3 = t2;
  15873. _.$ti = t3;
  15874. },
  15875. Tuple4: function Tuple4(t0, t1, t2, t3, t4) {
  15876. var _ = this;
  15877. _.item1 = t0;
  15878. _.item2 = t1;
  15879. _.item3 = t2;
  15880. _.item4 = t3;
  15881. _.$ti = t4;
  15882. },
  15883. WatchEvent: function WatchEvent(t0, t1) {
  15884. this.type = t0;
  15885. this.path = t1;
  15886. },
  15887. ChangeType: function ChangeType(t0) {
  15888. this._watch_event$_name = t0;
  15889. },
  15890. AnySelectorVisitor0: function AnySelectorVisitor0() {
  15891. },
  15892. AnySelectorVisitor_visitComplexSelector_closure0: function AnySelectorVisitor_visitComplexSelector_closure0(t0) {
  15893. this.$this = t0;
  15894. },
  15895. AnySelectorVisitor_visitCompoundSelector_closure0: function AnySelectorVisitor_visitCompoundSelector_closure0(t0) {
  15896. this.$this = t0;
  15897. },
  15898. SupportsAnything0: function SupportsAnything0(t0, t1) {
  15899. this.contents = t0;
  15900. this.span = t1;
  15901. },
  15902. Argument0: function Argument0(t0, t1, t2) {
  15903. this.name = t0;
  15904. this.defaultValue = t1;
  15905. this.span = t2;
  15906. },
  15907. ArgumentDeclaration_ArgumentDeclaration$parse0(contents, url) {
  15908. return A.ScssParser$0(contents, null, url).parseArgumentDeclaration$0();
  15909. },
  15910. ArgumentDeclaration0: function ArgumentDeclaration0(t0, t1, t2) {
  15911. this.$arguments = t0;
  15912. this.restArgument = t1;
  15913. this.span = t2;
  15914. },
  15915. ArgumentDeclaration_verify_closure1: function ArgumentDeclaration_verify_closure1() {
  15916. },
  15917. ArgumentDeclaration_verify_closure2: function ArgumentDeclaration_verify_closure2() {
  15918. },
  15919. ArgumentInvocation$empty0(span) {
  15920. return new A.ArgumentInvocation0(B.List_empty21, B.Map_empty9, null, null, span);
  15921. },
  15922. ArgumentInvocation0: function ArgumentInvocation0(t0, t1, t2, t3, t4) {
  15923. var _ = this;
  15924. _.positional = t0;
  15925. _.named = t1;
  15926. _.rest = t2;
  15927. _.keywordRest = t3;
  15928. _.span = t4;
  15929. },
  15930. argumentListClass_closure: function argumentListClass_closure() {
  15931. },
  15932. argumentListClass__closure: function argumentListClass__closure() {
  15933. },
  15934. argumentListClass__closure0: function argumentListClass__closure0() {
  15935. },
  15936. SassArgumentList$0(contents, keywords, separator) {
  15937. var t1 = type$.Value_2;
  15938. t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  15939. t1.SassList$3$brackets0(contents, separator, false);
  15940. return t1;
  15941. },
  15942. SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
  15943. var _ = this;
  15944. _._argument_list$_keywords = t0;
  15945. _._argument_list$_wereKeywordsAccessed = false;
  15946. _._list1$_contents = t1;
  15947. _._list1$_separator = t2;
  15948. _._list1$_hasBrackets = t3;
  15949. },
  15950. JSArray1: function JSArray1() {
  15951. },
  15952. AsyncImporter0: function AsyncImporter0() {
  15953. },
  15954. NodeToDartAsyncImporter: function NodeToDartAsyncImporter(t0, t1) {
  15955. this._async0$_canonicalize = t0;
  15956. this._load = t1;
  15957. },
  15958. AsyncBuiltInCallable$mixin0($name, $arguments, callback, url) {
  15959. return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback));
  15960. },
  15961. AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2) {
  15962. this.name = t0;
  15963. this._async_built_in0$_arguments = t1;
  15964. this._async_built_in0$_callback = t2;
  15965. },
  15966. AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
  15967. this.callback = t0;
  15968. },
  15969. compileAsync0(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
  15970. var $async$goto = 0,
  15971. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  15972. $async$returnValue, t2, t3, t4, t0, stylesheet, result, t1;
  15973. var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15974. if ($async$errorCode === 1)
  15975. return A._asyncRethrow($async$result, $async$completer);
  15976. while (true)
  15977. switch ($async$goto) {
  15978. case 0:
  15979. // Function start
  15980. t1 = type$.Deprecation_2;
  15981. logger = new A.DeprecationHandlingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), !verbose);
  15982. t1 = nodeImporter == null;
  15983. if (t1)
  15984. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  15985. else
  15986. t2 = false;
  15987. $async$goto = t2 ? 3 : 5;
  15988. break;
  15989. case 3:
  15990. // then
  15991. if (importCache == null)
  15992. importCache = A.AsyncImportCache$none(logger);
  15993. t2 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  15994. t3 = self.process;
  15995. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  15996. t3 = self.process;
  15997. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  15998. } else
  15999. t3 = true;
  16000. if (t3) {
  16001. t3 = $.$get$context();
  16002. t4 = A._realCasePath0(A.absolute(t3.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  16003. t0 = t4;
  16004. t4 = t3;
  16005. t3 = t0;
  16006. } else {
  16007. t3 = $.$get$context();
  16008. t4 = t3.canonicalize$1(0, path);
  16009. t0 = t4;
  16010. t4 = t3;
  16011. t3 = t0;
  16012. }
  16013. $async$goto = 6;
  16014. return A._asyncAwait(importCache.importCanonical$3$originalUrl(new A.FilesystemImporter0(t2), t4.toUri$1(t3), t4.toUri$1(path)), $async$compileAsync0);
  16015. case 6:
  16016. // returning from await.
  16017. t4 = $async$result;
  16018. t4.toString;
  16019. stylesheet = t4;
  16020. // goto join
  16021. $async$goto = 4;
  16022. break;
  16023. case 5:
  16024. // else
  16025. t2 = A.readFile0(path);
  16026. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  16027. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, $.$get$context().toUri$1(path));
  16028. case 4:
  16029. // join
  16030. $async$goto = 7;
  16031. 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);
  16032. case 7:
  16033. // returning from await.
  16034. result = $async$result;
  16035. logger.summarize$1$node(!t1);
  16036. $async$returnValue = result;
  16037. // goto return
  16038. $async$goto = 1;
  16039. break;
  16040. case 1:
  16041. // return
  16042. return A._asyncReturn($async$returnValue, $async$completer);
  16043. }
  16044. });
  16045. return A._asyncStartSync($async$compileAsync0, $async$completer);
  16046. },
  16047. compileStringAsync0(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
  16048. var $async$goto = 0,
  16049. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  16050. $async$returnValue, stylesheet, result, t1;
  16051. var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  16052. if ($async$errorCode === 1)
  16053. return A._asyncRethrow($async$result, $async$completer);
  16054. while (true)
  16055. switch ($async$goto) {
  16056. case 0:
  16057. // Function start
  16058. t1 = type$.Deprecation_2;
  16059. logger = new A.DeprecationHandlingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), !verbose);
  16060. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, logger, url);
  16061. if (importer == null) {
  16062. t1 = self.process;
  16063. t1 = t1 == null ? new A.NoOpImporter0() : new A.FilesystemImporter0(A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  16064. } else
  16065. t1 = importer;
  16066. $async$goto = 3;
  16067. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileStringAsync0);
  16068. case 3:
  16069. // returning from await.
  16070. result = $async$result;
  16071. logger.summarize$1$node(nodeImporter != null);
  16072. $async$returnValue = result;
  16073. // goto return
  16074. $async$goto = 1;
  16075. break;
  16076. case 1:
  16077. // return
  16078. return A._asyncReturn($async$returnValue, $async$completer);
  16079. }
  16080. });
  16081. return A._asyncStartSync($async$compileStringAsync0, $async$completer);
  16082. },
  16083. _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  16084. var $async$goto = 0,
  16085. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  16086. $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
  16087. var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  16088. if ($async$errorCode === 1)
  16089. return A._asyncRethrow($async$result, $async$completer);
  16090. while (true)
  16091. switch ($async$goto) {
  16092. case 0:
  16093. // Function start
  16094. $async$goto = 3;
  16095. return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
  16096. case 3:
  16097. // returning from await.
  16098. evaluateResult = $async$result;
  16099. serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces);
  16100. resultSourceMap = serializeResult.sourceMap;
  16101. if (resultSourceMap != null && importCache != null)
  16102. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
  16103. $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
  16104. // goto return
  16105. $async$goto = 1;
  16106. break;
  16107. case 1:
  16108. // return
  16109. return A._asyncReturn($async$returnValue, $async$completer);
  16110. }
  16111. });
  16112. return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
  16113. },
  16114. _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
  16115. this.stylesheet = t0;
  16116. this.importCache = t1;
  16117. },
  16118. AsyncEnvironment$0() {
  16119. var t1 = type$.String,
  16120. t2 = type$.Module_AsyncCallable_2,
  16121. t3 = type$.AstNode_2,
  16122. t4 = type$.int,
  16123. t5 = type$.AsyncCallable_2,
  16124. t6 = type$.JSArray_Map_String_AsyncCallable_2;
  16125. 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);
  16126. },
  16127. AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  16128. var t1 = type$.String,
  16129. t2 = type$.int;
  16130. 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);
  16131. },
  16132. _EnvironmentModule__EnvironmentModule2(environment, css, extensionStore, forwarded) {
  16133. var t1, t2, t3, t4, t5, t6;
  16134. if (forwarded == null)
  16135. forwarded = B.Set_empty6;
  16136. t1 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
  16137. 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);
  16138. 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);
  16139. t4 = type$.Map_String_AsyncCallable_2;
  16140. t5 = type$.AsyncCallable_2;
  16141. 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);
  16142. 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);
  16143. t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure21());
  16144. 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()));
  16145. },
  16146. _EnvironmentModule__makeModulesByVariable2(forwarded) {
  16147. var modulesByVariable, t1, t2, t3, t4, t5;
  16148. if (forwarded.get$isEmpty(forwarded))
  16149. return B.Map_empty10;
  16150. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
  16151. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  16152. t2 = t1.get$current(t1);
  16153. if (t2 instanceof A._EnvironmentModule2) {
  16154. for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  16155. t4 = t3.get$current(t3);
  16156. t5 = t4.get$variables();
  16157. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  16158. }
  16159. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables)), t2);
  16160. } else {
  16161. t3 = t2.get$variables();
  16162. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  16163. }
  16164. }
  16165. return modulesByVariable;
  16166. },
  16167. _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
  16168. var t1, t2, t3;
  16169. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  16170. if (otherMaps.get$isEmpty(otherMaps))
  16171. return localMap;
  16172. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  16173. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  16174. t3 = t2.get$current(t2);
  16175. if (t3.get$isNotEmpty(t3))
  16176. t1.push(t3);
  16177. }
  16178. t1.push(localMap);
  16179. if (t1.length === 1)
  16180. return localMap;
  16181. return A.MergedMapView$0(t1, type$.String, $V);
  16182. },
  16183. _EnvironmentModule$_2(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  16184. return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  16185. },
  16186. AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  16187. var _ = this;
  16188. _._async_environment0$_modules = t0;
  16189. _._async_environment0$_namespaceNodes = t1;
  16190. _._async_environment0$_globalModules = t2;
  16191. _._async_environment0$_importedModules = t3;
  16192. _._async_environment0$_forwardedModules = t4;
  16193. _._async_environment0$_nestedForwardedModules = t5;
  16194. _._async_environment0$_allModules = t6;
  16195. _._async_environment0$_variables = t7;
  16196. _._async_environment0$_variableNodes = t8;
  16197. _._async_environment0$_variableIndices = t9;
  16198. _._async_environment0$_functions = t10;
  16199. _._async_environment0$_functionIndices = t11;
  16200. _._async_environment0$_mixins = t12;
  16201. _._async_environment0$_mixinIndices = t13;
  16202. _._async_environment0$_content = t14;
  16203. _._async_environment0$_inMixin = false;
  16204. _._async_environment0$_inSemiGlobalScope = true;
  16205. _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
  16206. },
  16207. AsyncEnvironment_importForwards_closure2: function AsyncEnvironment_importForwards_closure2() {
  16208. },
  16209. AsyncEnvironment_importForwards_closure3: function AsyncEnvironment_importForwards_closure3() {
  16210. },
  16211. AsyncEnvironment_importForwards_closure4: function AsyncEnvironment_importForwards_closure4() {
  16212. },
  16213. AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
  16214. this.name = t0;
  16215. },
  16216. AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
  16217. this.$this = t0;
  16218. this.name = t1;
  16219. },
  16220. AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
  16221. this.name = t0;
  16222. },
  16223. AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
  16224. this.$this = t0;
  16225. this.name = t1;
  16226. },
  16227. AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
  16228. this.name = t0;
  16229. },
  16230. AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
  16231. this.name = t0;
  16232. },
  16233. AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
  16234. },
  16235. AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
  16236. },
  16237. AsyncEnvironment__fromOneModule_closure0: function AsyncEnvironment__fromOneModule_closure0(t0, t1) {
  16238. this.callback = t0;
  16239. this.T = t1;
  16240. },
  16241. AsyncEnvironment__fromOneModule__closure0: function AsyncEnvironment__fromOneModule__closure0(t0, t1) {
  16242. this.entry = t0;
  16243. this.T = t1;
  16244. },
  16245. _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
  16246. var _ = this;
  16247. _.upstream = t0;
  16248. _.variables = t1;
  16249. _.variableNodes = t2;
  16250. _.functions = t3;
  16251. _.mixins = t4;
  16252. _.extensionStore = t5;
  16253. _.css = t6;
  16254. _.transitivelyContainsCss = t7;
  16255. _.transitivelyContainsExtensions = t8;
  16256. _._async_environment0$_environment = t9;
  16257. _._async_environment0$_modulesByVariable = t10;
  16258. },
  16259. _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
  16260. },
  16261. _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
  16262. },
  16263. _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
  16264. },
  16265. _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
  16266. },
  16267. _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
  16268. },
  16269. _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
  16270. },
  16271. _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  16272. var t4,
  16273. t1 = type$.Uri,
  16274. t2 = type$.Module_AsyncCallable_2,
  16275. t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
  16276. if (nodeImporter == null)
  16277. t4 = importCache == null ? A.AsyncImportCache$none(logger) : importCache;
  16278. else
  16279. t4 = null;
  16280. 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);
  16281. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  16282. return t1;
  16283. },
  16284. _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  16285. var _ = this;
  16286. _._async_evaluate0$_importCache = t0;
  16287. _._async_evaluate0$_nodeImporter = t1;
  16288. _._async_evaluate0$_builtInFunctions = t2;
  16289. _._async_evaluate0$_builtInModules = t3;
  16290. _._async_evaluate0$_modules = t4;
  16291. _._async_evaluate0$_moduleConfigurations = t5;
  16292. _._async_evaluate0$_moduleNodes = t6;
  16293. _._async_evaluate0$_logger = t7;
  16294. _._async_evaluate0$_warningsEmitted = t8;
  16295. _._async_evaluate0$_quietDeps = t9;
  16296. _._async_evaluate0$_sourceMap = t10;
  16297. _._async_evaluate0$_environment = t11;
  16298. _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQuerySources = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  16299. _._async_evaluate0$_member = "root stylesheet";
  16300. _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = _._async_evaluate0$_currentCallable = null;
  16301. _._async_evaluate0$_inSupportsDeclaration = _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
  16302. _._async_evaluate0$_loadedUrls = t12;
  16303. _._async_evaluate0$_activeModules = t13;
  16304. _._async_evaluate0$_stack = t14;
  16305. _._async_evaluate0$_importer = null;
  16306. _._async_evaluate0$_inDependency = false;
  16307. _._async_evaluate0$__extensionStore = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
  16308. _._async_evaluate0$_configuration = t15;
  16309. },
  16310. _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
  16311. this.$this = t0;
  16312. },
  16313. _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
  16314. this.$this = t0;
  16315. },
  16316. _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
  16317. this.$this = t0;
  16318. },
  16319. _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
  16320. this.$this = t0;
  16321. },
  16322. _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
  16323. this.$this = t0;
  16324. },
  16325. _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
  16326. this.$this = t0;
  16327. },
  16328. _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
  16329. this.$this = t0;
  16330. },
  16331. _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
  16332. this.$this = t0;
  16333. },
  16334. _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
  16335. this.$this = t0;
  16336. this.name = t1;
  16337. this.module = t2;
  16338. },
  16339. _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
  16340. this.$this = t0;
  16341. },
  16342. _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
  16343. this.$this = t0;
  16344. },
  16345. _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0, t1, t2) {
  16346. this.values = t0;
  16347. this.span = t1;
  16348. this.callableNode = t2;
  16349. },
  16350. _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0) {
  16351. this.$this = t0;
  16352. },
  16353. _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
  16354. this.$this = t0;
  16355. this.node = t1;
  16356. this.importer = t2;
  16357. },
  16358. _EvaluateVisitor_run__closure2: function _EvaluateVisitor_run__closure2(t0, t1, t2) {
  16359. this.$this = t0;
  16360. this.importer = t1;
  16361. this.node = t2;
  16362. },
  16363. _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
  16364. this.callback = t0;
  16365. this.builtInModule = t1;
  16366. },
  16367. _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
  16368. var _ = this;
  16369. _.$this = t0;
  16370. _.url = t1;
  16371. _.nodeWithSpan = t2;
  16372. _.baseUrl = t3;
  16373. _.namesInErrors = t4;
  16374. _.configuration = t5;
  16375. _.callback = t6;
  16376. },
  16377. _EvaluateVisitor__loadModule__closure5: function _EvaluateVisitor__loadModule__closure5(t0, t1) {
  16378. this.$this = t0;
  16379. this.message = t1;
  16380. },
  16381. _EvaluateVisitor__loadModule__closure6: function _EvaluateVisitor__loadModule__closure6(t0, t1) {
  16382. this._box_0 = t0;
  16383. this.callback = t1;
  16384. },
  16385. _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5) {
  16386. var _ = this;
  16387. _.$this = t0;
  16388. _.importer = t1;
  16389. _.stylesheet = t2;
  16390. _.extensionStore = t3;
  16391. _.configuration = t4;
  16392. _.css = t5;
  16393. },
  16394. _EvaluateVisitor__combineCss_closure8: function _EvaluateVisitor__combineCss_closure8() {
  16395. },
  16396. _EvaluateVisitor__combineCss_closure9: function _EvaluateVisitor__combineCss_closure9(t0) {
  16397. this.selectors = t0;
  16398. },
  16399. _EvaluateVisitor__combineCss_closure10: function _EvaluateVisitor__combineCss_closure10() {
  16400. },
  16401. _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
  16402. this.originalSelectors = t0;
  16403. },
  16404. _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
  16405. },
  16406. _EvaluateVisitor__topologicalModules_visitModule2: function _EvaluateVisitor__topologicalModules_visitModule2(t0, t1) {
  16407. this.seen = t0;
  16408. this.sorted = t1;
  16409. },
  16410. _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
  16411. this.$this = t0;
  16412. this.node = t1;
  16413. },
  16414. _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
  16415. this.$this = t0;
  16416. this.node = t1;
  16417. },
  16418. _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
  16419. this.$this = t0;
  16420. this.newParent = t1;
  16421. this.node = t2;
  16422. },
  16423. _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
  16424. this.$this = t0;
  16425. this.innerScope = t1;
  16426. },
  16427. _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
  16428. this.$this = t0;
  16429. this.innerScope = t1;
  16430. },
  16431. _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
  16432. this.innerScope = t0;
  16433. this.callback = t1;
  16434. },
  16435. _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
  16436. this.$this = t0;
  16437. this.innerScope = t1;
  16438. },
  16439. _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
  16440. },
  16441. _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
  16442. this.$this = t0;
  16443. this.innerScope = t1;
  16444. },
  16445. _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
  16446. this.$this = t0;
  16447. this.content = t1;
  16448. },
  16449. _EvaluateVisitor_visitDeclaration_closure5: function _EvaluateVisitor_visitDeclaration_closure5(t0) {
  16450. this.$this = t0;
  16451. },
  16452. _EvaluateVisitor_visitDeclaration_closure6: function _EvaluateVisitor_visitDeclaration_closure6(t0, t1) {
  16453. this.$this = t0;
  16454. this.children = t1;
  16455. },
  16456. _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
  16457. this.$this = t0;
  16458. this.node = t1;
  16459. this.nodeWithSpan = t2;
  16460. },
  16461. _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
  16462. this.$this = t0;
  16463. this.node = t1;
  16464. this.nodeWithSpan = t2;
  16465. },
  16466. _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
  16467. var _ = this;
  16468. _.$this = t0;
  16469. _.list = t1;
  16470. _.setVariables = t2;
  16471. _.node = t3;
  16472. },
  16473. _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
  16474. this.$this = t0;
  16475. this.setVariables = t1;
  16476. this.node = t2;
  16477. },
  16478. _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
  16479. this.$this = t0;
  16480. },
  16481. _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
  16482. this.$this = t0;
  16483. },
  16484. _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1, t2) {
  16485. this.$this = t0;
  16486. this.name = t1;
  16487. this.children = t2;
  16488. },
  16489. _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
  16490. this.$this = t0;
  16491. this.children = t1;
  16492. },
  16493. _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
  16494. },
  16495. _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
  16496. this.$this = t0;
  16497. this.node = t1;
  16498. },
  16499. _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
  16500. this.$this = t0;
  16501. this.node = t1;
  16502. },
  16503. _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
  16504. this.fromNumber = t0;
  16505. },
  16506. _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
  16507. this.toNumber = t0;
  16508. this.fromNumber = t1;
  16509. },
  16510. _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
  16511. var _ = this;
  16512. _._box_0 = t0;
  16513. _.$this = t1;
  16514. _.node = t2;
  16515. _.from = t3;
  16516. _.direction = t4;
  16517. _.fromNumber = t5;
  16518. },
  16519. _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
  16520. this.$this = t0;
  16521. },
  16522. _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
  16523. this.$this = t0;
  16524. this.node = t1;
  16525. },
  16526. _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
  16527. this.$this = t0;
  16528. this.node = t1;
  16529. },
  16530. _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0, t1) {
  16531. this._box_0 = t0;
  16532. this.$this = t1;
  16533. },
  16534. _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0) {
  16535. this.$this = t0;
  16536. },
  16537. _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
  16538. this.$this = t0;
  16539. this.$import = t1;
  16540. },
  16541. _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
  16542. this.$this = t0;
  16543. },
  16544. _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
  16545. },
  16546. _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
  16547. },
  16548. _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4, t5) {
  16549. var _ = this;
  16550. _.$this = t0;
  16551. _.result = t1;
  16552. _.stylesheet = t2;
  16553. _.loadsUserDefinedModules = t3;
  16554. _.environment = t4;
  16555. _.children = t5;
  16556. },
  16557. _EvaluateVisitor_visitIncludeRule_closure11: function _EvaluateVisitor_visitIncludeRule_closure11(t0, t1) {
  16558. this.$this = t0;
  16559. this.node = t1;
  16560. },
  16561. _EvaluateVisitor_visitIncludeRule_closure12: function _EvaluateVisitor_visitIncludeRule_closure12(t0) {
  16562. this.node = t0;
  16563. },
  16564. _EvaluateVisitor_visitIncludeRule_closure14: function _EvaluateVisitor_visitIncludeRule_closure14(t0) {
  16565. this.$this = t0;
  16566. },
  16567. _EvaluateVisitor_visitIncludeRule_closure13: function _EvaluateVisitor_visitIncludeRule_closure13(t0, t1, t2, t3) {
  16568. var _ = this;
  16569. _.$this = t0;
  16570. _.contentCallable = t1;
  16571. _.mixin = t2;
  16572. _.nodeWithSpan = t3;
  16573. },
  16574. _EvaluateVisitor_visitIncludeRule__closure2: function _EvaluateVisitor_visitIncludeRule__closure2(t0, t1, t2) {
  16575. this.$this = t0;
  16576. this.mixin = t1;
  16577. this.nodeWithSpan = t2;
  16578. },
  16579. _EvaluateVisitor_visitIncludeRule___closure2: function _EvaluateVisitor_visitIncludeRule___closure2(t0, t1, t2) {
  16580. this.$this = t0;
  16581. this.mixin = t1;
  16582. this.nodeWithSpan = t2;
  16583. },
  16584. _EvaluateVisitor_visitIncludeRule____closure2: function _EvaluateVisitor_visitIncludeRule____closure2(t0, t1) {
  16585. this.$this = t0;
  16586. this.statement = t1;
  16587. },
  16588. _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
  16589. this.$this = t0;
  16590. this.queries = t1;
  16591. },
  16592. _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3, t4) {
  16593. var _ = this;
  16594. _.$this = t0;
  16595. _.mergedQueries = t1;
  16596. _.queries = t2;
  16597. _.mergedSources = t3;
  16598. _.node = t4;
  16599. },
  16600. _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
  16601. this.$this = t0;
  16602. this.node = t1;
  16603. },
  16604. _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
  16605. this.$this = t0;
  16606. this.node = t1;
  16607. },
  16608. _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
  16609. this.mergedSources = t0;
  16610. },
  16611. _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14(t0, t1) {
  16612. this.$this = t0;
  16613. this.node = t1;
  16614. },
  16615. _EvaluateVisitor_visitStyleRule_closure15: function _EvaluateVisitor_visitStyleRule_closure15() {
  16616. },
  16617. _EvaluateVisitor_visitStyleRule_closure16: function _EvaluateVisitor_visitStyleRule_closure16(t0, t1, t2) {
  16618. this.$this = t0;
  16619. this.rule = t1;
  16620. this.node = t2;
  16621. },
  16622. _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
  16623. this.$this = t0;
  16624. this.node = t1;
  16625. },
  16626. _EvaluateVisitor_visitStyleRule_closure17: function _EvaluateVisitor_visitStyleRule_closure17() {
  16627. },
  16628. _EvaluateVisitor_visitStyleRule_closure18: function _EvaluateVisitor_visitStyleRule_closure18() {
  16629. },
  16630. _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
  16631. this.$this = t0;
  16632. this.node = t1;
  16633. },
  16634. _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
  16635. this.$this = t0;
  16636. this.node = t1;
  16637. },
  16638. _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
  16639. },
  16640. _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
  16641. this.$this = t0;
  16642. this.node = t1;
  16643. this.override = t2;
  16644. },
  16645. _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
  16646. this.$this = t0;
  16647. this.node = t1;
  16648. },
  16649. _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
  16650. this.$this = t0;
  16651. this.node = t1;
  16652. this.value = t2;
  16653. },
  16654. _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
  16655. this.$this = t0;
  16656. this.node = t1;
  16657. },
  16658. _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
  16659. this.$this = t0;
  16660. this.node = t1;
  16661. },
  16662. _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
  16663. this.$this = t0;
  16664. this.node = t1;
  16665. },
  16666. _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
  16667. this.$this = t0;
  16668. },
  16669. _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
  16670. this.$this = t0;
  16671. this.node = t1;
  16672. },
  16673. _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2() {
  16674. },
  16675. _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
  16676. this.$this = t0;
  16677. this.node = t1;
  16678. },
  16679. _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
  16680. this.node = t0;
  16681. this.operand = t1;
  16682. },
  16683. _EvaluateVisitor__visitCalculationValue_closure2: function _EvaluateVisitor__visitCalculationValue_closure2(t0, t1, t2) {
  16684. this.$this = t0;
  16685. this.node = t1;
  16686. this.inMinMax = t2;
  16687. },
  16688. _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
  16689. this.$this = t0;
  16690. },
  16691. _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
  16692. this.$this = t0;
  16693. this.node = t1;
  16694. },
  16695. _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6(t0, t1, t2) {
  16696. this._box_0 = t0;
  16697. this.$this = t1;
  16698. this.node = t2;
  16699. },
  16700. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
  16701. this.$this = t0;
  16702. this.node = t1;
  16703. this.$function = t2;
  16704. },
  16705. _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
  16706. var _ = this;
  16707. _.$this = t0;
  16708. _.callable = t1;
  16709. _.evaluated = t2;
  16710. _.nodeWithSpan = t3;
  16711. _.run = t4;
  16712. _.V = t5;
  16713. },
  16714. _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
  16715. var _ = this;
  16716. _.$this = t0;
  16717. _.evaluated = t1;
  16718. _.callable = t2;
  16719. _.nodeWithSpan = t3;
  16720. _.run = t4;
  16721. _.V = t5;
  16722. },
  16723. _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
  16724. var _ = this;
  16725. _.$this = t0;
  16726. _.evaluated = t1;
  16727. _.callable = t2;
  16728. _.nodeWithSpan = t3;
  16729. _.run = t4;
  16730. _.V = t5;
  16731. },
  16732. _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
  16733. },
  16734. _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
  16735. this.$this = t0;
  16736. this.callable = t1;
  16737. },
  16738. _EvaluateVisitor__runBuiltInCallable_closure8: function _EvaluateVisitor__runBuiltInCallable_closure8(t0, t1, t2) {
  16739. this.overload = t0;
  16740. this.evaluated = t1;
  16741. this.namedSet = t2;
  16742. },
  16743. _EvaluateVisitor__runBuiltInCallable_closure9: function _EvaluateVisitor__runBuiltInCallable_closure9(t0, t1) {
  16744. this.callback = t0;
  16745. this.evaluated = t1;
  16746. },
  16747. _EvaluateVisitor__runBuiltInCallable_closure10: function _EvaluateVisitor__runBuiltInCallable_closure10() {
  16748. },
  16749. _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
  16750. },
  16751. _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
  16752. this.$this = t0;
  16753. this.restNodeForSpan = t1;
  16754. },
  16755. _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
  16756. var _ = this;
  16757. _.$this = t0;
  16758. _.named = t1;
  16759. _.restNodeForSpan = t2;
  16760. _.namedNodes = t3;
  16761. },
  16762. _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
  16763. },
  16764. _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
  16765. this.restArgs = t0;
  16766. },
  16767. _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
  16768. this.$this = t0;
  16769. this.restNodeForSpan = t1;
  16770. this.restArgs = t2;
  16771. },
  16772. _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
  16773. var _ = this;
  16774. _.$this = t0;
  16775. _.named = t1;
  16776. _.restNodeForSpan = t2;
  16777. _.restArgs = t3;
  16778. },
  16779. _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
  16780. this.$this = t0;
  16781. this.keywordRestNodeForSpan = t1;
  16782. this.keywordRestArgs = t2;
  16783. },
  16784. _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
  16785. var _ = this;
  16786. _.$this = t0;
  16787. _.values = t1;
  16788. _.convert = t2;
  16789. _.expressionNode = t3;
  16790. _.map = t4;
  16791. _.nodeWithSpan = t5;
  16792. },
  16793. _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
  16794. this.$arguments = t0;
  16795. this.positional = t1;
  16796. this.named = t2;
  16797. },
  16798. _EvaluateVisitor_visitStringExpression_closure2: function _EvaluateVisitor_visitStringExpression_closure2(t0) {
  16799. this.$this = t0;
  16800. },
  16801. _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
  16802. this.$this = t0;
  16803. this.node = t1;
  16804. },
  16805. _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
  16806. },
  16807. _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
  16808. this.$this = t0;
  16809. this.node = t1;
  16810. },
  16811. _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
  16812. },
  16813. _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
  16814. this.$this = t0;
  16815. this.node = t1;
  16816. },
  16817. _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2, t3) {
  16818. var _ = this;
  16819. _.$this = t0;
  16820. _.mergedQueries = t1;
  16821. _.node = t2;
  16822. _.mergedSources = t3;
  16823. },
  16824. _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
  16825. this.$this = t0;
  16826. this.node = t1;
  16827. },
  16828. _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
  16829. this.$this = t0;
  16830. this.node = t1;
  16831. },
  16832. _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
  16833. this.mergedSources = t0;
  16834. },
  16835. _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5(t0, t1, t2) {
  16836. this.$this = t0;
  16837. this.rule = t1;
  16838. this.node = t2;
  16839. },
  16840. _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
  16841. this.$this = t0;
  16842. this.node = t1;
  16843. },
  16844. _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6() {
  16845. },
  16846. _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
  16847. this.$this = t0;
  16848. this.node = t1;
  16849. },
  16850. _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
  16851. this.$this = t0;
  16852. this.node = t1;
  16853. },
  16854. _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
  16855. },
  16856. _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
  16857. this.value = t0;
  16858. this.quote = t1;
  16859. },
  16860. _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
  16861. this.$this = t0;
  16862. this.expression = t1;
  16863. },
  16864. _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
  16865. },
  16866. _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
  16867. this.$this = t0;
  16868. },
  16869. _EvaluateVisitor__stackTrace_closure2: function _EvaluateVisitor__stackTrace_closure2(t0) {
  16870. this.$this = t0;
  16871. },
  16872. _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
  16873. this._async_evaluate0$_visitor = t0;
  16874. },
  16875. _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
  16876. },
  16877. _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
  16878. this.hasBeenMerged = t0;
  16879. },
  16880. _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
  16881. },
  16882. _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
  16883. },
  16884. EvaluateResult0: function EvaluateResult0(t0, t1) {
  16885. this.stylesheet = t0;
  16886. this.loadedUrls = t1;
  16887. },
  16888. _EvaluationContext2: function _EvaluationContext2(t0, t1) {
  16889. this._async_evaluate0$_visitor = t0;
  16890. this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
  16891. },
  16892. _ArgumentResults2: function _ArgumentResults2(t0, t1, t2, t3, t4) {
  16893. var _ = this;
  16894. _.positional = t0;
  16895. _.positionalNodes = t1;
  16896. _.named = t2;
  16897. _.namedNodes = t3;
  16898. _.separator = t4;
  16899. },
  16900. _LoadedStylesheet2: function _LoadedStylesheet2(t0, t1, t2) {
  16901. this.stylesheet = t0;
  16902. this.importer = t1;
  16903. this.isDependency = t2;
  16904. },
  16905. NodeToDartAsyncFileImporter: function NodeToDartAsyncFileImporter(t0) {
  16906. this._findFileUrl = t0;
  16907. },
  16908. AsyncImportCache$(importers, loadPaths, logger, packageConfig) {
  16909. var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
  16910. t2 = type$.Uri,
  16911. t3 = A.AsyncImportCache__toImporters0(importers, loadPaths, packageConfig);
  16912. 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));
  16913. },
  16914. AsyncImportCache$none(logger) {
  16915. var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
  16916. t2 = type$.Uri;
  16917. 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));
  16918. },
  16919. AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
  16920. var t2, t3, t4, _i, path, _null = null,
  16921. sassPath = A.getEnvironmentVariable0("SASS_PATH"),
  16922. t1 = self.process;
  16923. if (t1 == null) {
  16924. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  16925. if (importers != null)
  16926. B.JSArray_methods.addAll$1(t1, importers);
  16927. return t1;
  16928. }
  16929. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  16930. if (importers != null)
  16931. B.JSArray_methods.addAll$1(t1, importers);
  16932. if (loadPaths != null)
  16933. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  16934. t3 = t2.get$current(t2);
  16935. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  16936. }
  16937. if (sassPath != null) {
  16938. t2 = self.process;
  16939. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  16940. t4 = t3.length;
  16941. _i = 0;
  16942. for (; _i < t4; ++_i) {
  16943. path = t3[_i];
  16944. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  16945. }
  16946. }
  16947. return t1;
  16948. },
  16949. AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5) {
  16950. var _ = this;
  16951. _._async_import_cache0$_importers = t0;
  16952. _._async_import_cache0$_logger = t1;
  16953. _._async_import_cache0$_canonicalizeCache = t2;
  16954. _._async_import_cache0$_relativeCanonicalizeCache = t3;
  16955. _._async_import_cache0$_importCache = t4;
  16956. _._async_import_cache0$_resultsCache = t5;
  16957. },
  16958. AsyncImportCache_canonicalize_closure1: function AsyncImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
  16959. var _ = this;
  16960. _.$this = t0;
  16961. _.baseUrl = t1;
  16962. _.url = t2;
  16963. _.baseImporter = t3;
  16964. _.forImport = t4;
  16965. },
  16966. AsyncImportCache_canonicalize_closure2: function AsyncImportCache_canonicalize_closure2(t0, t1, t2) {
  16967. this.$this = t0;
  16968. this.url = t1;
  16969. this.forImport = t2;
  16970. },
  16971. AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
  16972. this.importer = t0;
  16973. this.url = t1;
  16974. },
  16975. AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
  16976. var _ = this;
  16977. _.$this = t0;
  16978. _.importer = t1;
  16979. _.canonicalUrl = t2;
  16980. _.originalUrl = t3;
  16981. _.quiet = t4;
  16982. },
  16983. AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
  16984. this.canonicalUrl = t0;
  16985. },
  16986. AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3() {
  16987. },
  16988. AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
  16989. },
  16990. AtRootQueryParser$0(contents, logger, url) {
  16991. var t1 = A.SpanScanner$(contents, url);
  16992. return new A.AtRootQueryParser0(t1, logger, null);
  16993. },
  16994. AtRootQueryParser0: function AtRootQueryParser0(t0, t1, t2) {
  16995. this.scanner = t0;
  16996. this.logger = t1;
  16997. this._parser0$_interpolationMap = t2;
  16998. },
  16999. AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
  17000. this.$this = t0;
  17001. },
  17002. AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
  17003. var _ = this;
  17004. _.include = t0;
  17005. _.names = t1;
  17006. _._at_root_query0$_all = t2;
  17007. _._at_root_query0$_rule = t3;
  17008. },
  17009. AtRootRule$0(children, span, query) {
  17010. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  17011. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  17012. return new A.AtRootRule0(query, span, t1, t2);
  17013. },
  17014. AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
  17015. var _ = this;
  17016. _.query = t0;
  17017. _.span = t1;
  17018. _.children = t2;
  17019. _.hasDeclarations = t3;
  17020. },
  17021. ModifiableCssAtRule$0($name, span, childless, value) {
  17022. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  17023. return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  17024. },
  17025. ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
  17026. var _ = this;
  17027. _.name = t0;
  17028. _.value = t1;
  17029. _.isChildless = t2;
  17030. _.span = t3;
  17031. _.children = t4;
  17032. _._node$_children = t5;
  17033. _._node$_indexInParent = _._node$_parent = null;
  17034. _.isGroupEnd = false;
  17035. },
  17036. AtRule$0($name, span, children, value) {
  17037. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
  17038. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  17039. return new A.AtRule0($name, value, span, t1, t2 === true);
  17040. },
  17041. AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
  17042. var _ = this;
  17043. _.name = t0;
  17044. _.value = t1;
  17045. _.span = t2;
  17046. _.children = t3;
  17047. _.hasDeclarations = t4;
  17048. },
  17049. AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3, t4) {
  17050. var _ = this;
  17051. _.name = t0;
  17052. _.op = t1;
  17053. _.value = t2;
  17054. _.modifier = t3;
  17055. _.span = t4;
  17056. },
  17057. AttributeOperator0: function AttributeOperator0(t0, t1) {
  17058. this._attribute0$_text = t0;
  17059. this._name = t1;
  17060. },
  17061. BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
  17062. var _ = this;
  17063. _.operator = t0;
  17064. _.left = t1;
  17065. _.right = t2;
  17066. _.allowsSlash = t3;
  17067. },
  17068. BinaryOperator0: function BinaryOperator0(t0, t1, t2, t3, t4) {
  17069. var _ = this;
  17070. _.name = t0;
  17071. _.operator = t1;
  17072. _.precedence = t2;
  17073. _.isAssociative = t3;
  17074. _._name = t4;
  17075. },
  17076. BooleanExpression0: function BooleanExpression0(t0, t1) {
  17077. this.value = t0;
  17078. this.span = t1;
  17079. },
  17080. legacyBooleanClass_closure: function legacyBooleanClass_closure() {
  17081. },
  17082. legacyBooleanClass__closure: function legacyBooleanClass__closure() {
  17083. },
  17084. legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
  17085. },
  17086. booleanClass_closure: function booleanClass_closure() {
  17087. },
  17088. booleanClass__closure: function booleanClass__closure() {
  17089. },
  17090. SassBoolean0: function SassBoolean0(t0) {
  17091. this.value = t0;
  17092. },
  17093. Box0: function Box0(t0, t1) {
  17094. this._box0$_inner = t0;
  17095. this.$ti = t1;
  17096. },
  17097. ModifiableBox0: function ModifiableBox0(t0, t1) {
  17098. this.value = t0;
  17099. this.$ti = t1;
  17100. },
  17101. BuiltInCallable$function0($name, $arguments, callback, url) {
  17102. 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));
  17103. },
  17104. BuiltInCallable$mixin0($name, $arguments, callback, url) {
  17105. 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));
  17106. },
  17107. BuiltInCallable$overloadedFunction0($name, overloads) {
  17108. var t2, t3, t4, t5, t6, t7, t8,
  17109. t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2);
  17110. 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();) {
  17111. t7 = t2.get$current(t2);
  17112. t8 = A.SpanScanner$(t4 + A.S(t7.key) + ") {", null);
  17113. t1.push(new A.Tuple2(new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(t5, t6), t8, B.StderrLogger_false0, null).parseArgumentDeclaration$0(), t7.value, t3));
  17114. }
  17115. return new A.BuiltInCallable0($name, t1);
  17116. },
  17117. BuiltInCallable0: function BuiltInCallable0(t0, t1) {
  17118. this.name = t0;
  17119. this._built_in$_overloads = t1;
  17120. },
  17121. BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
  17122. this.callback = t0;
  17123. },
  17124. BuiltInModule$0($name, functions, mixins, variables, $T) {
  17125. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  17126. t2 = A.BuiltInModule__callableMap0(functions, $T),
  17127. t3 = A.BuiltInModule__callableMap0(mixins, $T),
  17128. t4 = variables == null ? B.Map_empty8 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
  17129. return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
  17130. },
  17131. BuiltInModule__callableMap0(callables, $T) {
  17132. var t2, _i, callable,
  17133. t1 = type$.String;
  17134. if (callables == null)
  17135. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  17136. else {
  17137. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  17138. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  17139. callable = callables[_i];
  17140. t1.$indexSet(0, J.get$name$x(callable), callable);
  17141. }
  17142. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  17143. }
  17144. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  17145. },
  17146. BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
  17147. var _ = this;
  17148. _.url = t0;
  17149. _.functions = t1;
  17150. _.mixins = t2;
  17151. _.variables = t3;
  17152. _.$ti = t4;
  17153. },
  17154. CalculationExpression__verifyArguments0($arguments) {
  17155. return A.List_List$unmodifiable(J.map$1$1$ax($arguments, new A.CalculationExpression__verifyArguments_closure0(), type$.dynamic), type$.Expression_2);
  17156. },
  17157. CalculationExpression__verify0(expression) {
  17158. var t1,
  17159. _s29_ = "Invalid calculation argument ";
  17160. if (expression instanceof A.NumberExpression0)
  17161. return;
  17162. if (expression instanceof A.CalculationExpression0)
  17163. return;
  17164. if (expression instanceof A.VariableExpression0)
  17165. return;
  17166. if (expression instanceof A.FunctionExpression0)
  17167. return;
  17168. if (expression instanceof A.IfExpression0)
  17169. return;
  17170. if (expression instanceof A.StringExpression0) {
  17171. if (expression.hasQuotes)
  17172. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  17173. } else if (expression instanceof A.ParenthesizedExpression0)
  17174. A.CalculationExpression__verify0(expression.expression);
  17175. else if (expression instanceof A.BinaryOperationExpression0) {
  17176. A.CalculationExpression__verify0(expression.left);
  17177. A.CalculationExpression__verify0(expression.right);
  17178. t1 = expression.operator;
  17179. if (t1 === B.BinaryOperator_anB0)
  17180. return;
  17181. if (t1 === B.BinaryOperator_olz0)
  17182. return;
  17183. if (t1 === B.BinaryOperator_qN20)
  17184. return;
  17185. if (t1 === B.BinaryOperator_t8B0)
  17186. return;
  17187. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  17188. } else
  17189. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  17190. },
  17191. CalculationExpression0: function CalculationExpression0(t0, t1, t2) {
  17192. this.name = t0;
  17193. this.$arguments = t1;
  17194. this.span = t2;
  17195. },
  17196. CalculationExpression__verifyArguments_closure0: function CalculationExpression__verifyArguments_closure0() {
  17197. },
  17198. SassCalculation_calc0(argument) {
  17199. argument = A.SassCalculation__simplify0(argument);
  17200. if (argument instanceof A.SassNumber0)
  17201. return argument;
  17202. if (argument instanceof A.SassCalculation0)
  17203. return argument;
  17204. return new A.SassCalculation0("calc", A.List_List$unmodifiable([argument], type$.Object));
  17205. },
  17206. SassCalculation_min0($arguments) {
  17207. var minimum, _i, arg, t2,
  17208. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  17209. t1 = args.length;
  17210. if (t1 === 0)
  17211. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  17212. for (minimum = null, _i = 0; _i < t1; ++_i) {
  17213. arg = args[_i];
  17214. if (arg instanceof A.SassNumber0)
  17215. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  17216. else
  17217. t2 = true;
  17218. if (t2) {
  17219. minimum = null;
  17220. break;
  17221. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  17222. minimum = arg;
  17223. }
  17224. if (minimum != null)
  17225. return minimum;
  17226. A.SassCalculation__verifyCompatibleNumbers0(args);
  17227. return new A.SassCalculation0("min", args);
  17228. },
  17229. SassCalculation_max0($arguments) {
  17230. var maximum, _i, arg, t2,
  17231. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  17232. t1 = args.length;
  17233. if (t1 === 0)
  17234. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  17235. for (maximum = null, _i = 0; _i < t1; ++_i) {
  17236. arg = args[_i];
  17237. if (arg instanceof A.SassNumber0)
  17238. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  17239. else
  17240. t2 = true;
  17241. if (t2) {
  17242. maximum = null;
  17243. break;
  17244. } else if (maximum == null || maximum.lessThan$1(arg).value)
  17245. maximum = arg;
  17246. }
  17247. if (maximum != null)
  17248. return maximum;
  17249. A.SassCalculation__verifyCompatibleNumbers0(args);
  17250. return new A.SassCalculation0("max", args);
  17251. },
  17252. SassCalculation_clamp0(min, value, max) {
  17253. var t1, args;
  17254. if (value == null && max != null)
  17255. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  17256. min = A.SassCalculation__simplify0(min);
  17257. value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
  17258. max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
  17259. if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  17260. if (value.lessThanOrEquals$1(min).value)
  17261. return min;
  17262. if (value.greaterThanOrEquals$1(max).value)
  17263. return max;
  17264. return value;
  17265. }
  17266. t1 = [min];
  17267. if (value != null)
  17268. t1.push(value);
  17269. if (max != null)
  17270. t1.push(max);
  17271. args = A.List_List$unmodifiable(t1, type$.Object);
  17272. A.SassCalculation__verifyCompatibleNumbers0(args);
  17273. A.SassCalculation__verifyLength0(args, 3);
  17274. return new A.SassCalculation0("clamp", args);
  17275. },
  17276. SassCalculation_operateInternal0(operator, left, right, inMinMax, simplify) {
  17277. var t1, t2;
  17278. if (!simplify)
  17279. return new A.CalculationOperation0(operator, left, right);
  17280. left = A.SassCalculation__simplify0(left);
  17281. right = A.SassCalculation__simplify0(right);
  17282. t1 = operator === B.CalculationOperator_IyK0;
  17283. if (t1 || operator === B.CalculationOperator_2bx0) {
  17284. if (left instanceof A.SassNumber0)
  17285. if (right instanceof A.SassNumber0)
  17286. t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
  17287. else
  17288. t2 = false;
  17289. else
  17290. t2 = false;
  17291. if (t2)
  17292. return t1 ? left.plus$1(right) : left.minus$1(right);
  17293. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
  17294. if (right instanceof A.SassNumber0) {
  17295. t2 = right._number1$_value;
  17296. t2 = t2 < 0 && !A.fuzzyEquals0(t2, 0);
  17297. } else
  17298. t2 = false;
  17299. if (t2) {
  17300. right = right.times$1(A.SassNumber_SassNumber0(-1, null));
  17301. operator = t1 ? B.CalculationOperator_2bx0 : B.CalculationOperator_IyK0;
  17302. }
  17303. return new A.CalculationOperation0(operator, left, right);
  17304. } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  17305. return operator === B.CalculationOperator_jFr0 ? left.times$1(right) : left.dividedBy$1(right);
  17306. else
  17307. return new A.CalculationOperation0(operator, left, right);
  17308. },
  17309. SassCalculation__simplify0(arg) {
  17310. var _s32_ = " can't be used in a calculation.";
  17311. if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationInterpolation0 || arg instanceof A.CalculationOperation0)
  17312. return arg;
  17313. else if (arg instanceof A.SassString0) {
  17314. if (!arg._string0$_hasQuotes)
  17315. return arg;
  17316. throw A.wrapException(A.SassScriptException$0("Quoted string " + arg.toString$0(0) + _s32_, null));
  17317. } else if (arg instanceof A.SassCalculation0)
  17318. return arg.name === "calc" ? arg.$arguments[0] : arg;
  17319. else if (arg instanceof A.Value0)
  17320. throw A.wrapException(A.SassScriptException$0("Value " + arg.toString$0(0) + _s32_, null));
  17321. else
  17322. throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
  17323. },
  17324. SassCalculation__verifyCompatibleNumbers0(args) {
  17325. var t1, _i, t2, arg, i, number1, j, number2;
  17326. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  17327. arg = args[_i];
  17328. if (!(arg instanceof A.SassNumber0))
  17329. continue;
  17330. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  17331. throw A.wrapException(A.SassScriptException$0("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", null));
  17332. }
  17333. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  17334. number1 = args[i];
  17335. if (!(number1 instanceof A.SassNumber0))
  17336. continue;
  17337. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  17338. number2 = args[j];
  17339. if (!(number2 instanceof A.SassNumber0))
  17340. continue;
  17341. if (number1.hasPossiblyCompatibleUnits$1(number2))
  17342. continue;
  17343. throw A.wrapException(A.SassScriptException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  17344. }
  17345. }
  17346. },
  17347. SassCalculation__verifyLength0(args, expectedLength) {
  17348. var t1 = args.length;
  17349. if (t1 === expectedLength)
  17350. return;
  17351. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
  17352. return;
  17353. throw A.wrapException(A.SassScriptException$0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", null));
  17354. },
  17355. SassCalculation0: function SassCalculation0(t0, t1) {
  17356. this.name = t0;
  17357. this.$arguments = t1;
  17358. },
  17359. SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
  17360. },
  17361. CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
  17362. this.operator = t0;
  17363. this.left = t1;
  17364. this.right = t2;
  17365. },
  17366. CalculationOperator0: function CalculationOperator0(t0, t1, t2, t3) {
  17367. var _ = this;
  17368. _.name = t0;
  17369. _.operator = t1;
  17370. _.precedence = t2;
  17371. _._name = t3;
  17372. },
  17373. CalculationInterpolation0: function CalculationInterpolation0(t0) {
  17374. this.value = t0;
  17375. },
  17376. CallableDeclaration0: function CallableDeclaration0() {
  17377. },
  17378. Chokidar0: function Chokidar0() {
  17379. },
  17380. ChokidarOptions0: function ChokidarOptions0() {
  17381. },
  17382. ChokidarWatcher0: function ChokidarWatcher0() {
  17383. },
  17384. ClassSelector0: function ClassSelector0(t0, t1) {
  17385. this.name = t0;
  17386. this.span = t1;
  17387. },
  17388. cloneCssStylesheet0(stylesheet, extensionStore) {
  17389. var result = extensionStore.clone$0();
  17390. 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);
  17391. },
  17392. _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
  17393. this._clone_css$_oldToNewSelectors = t0;
  17394. },
  17395. ColorExpression0: function ColorExpression0(t0, t1) {
  17396. this.value = t0;
  17397. this.span = t1;
  17398. },
  17399. _updateComponents0($arguments, adjust, change, scale) {
  17400. var keywords, alpha, red, green, blue, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t2, t3, t4, _null = null,
  17401. t1 = J.getInterceptor$asx($arguments),
  17402. color = t1.$index($arguments, 0).assertColor$1("color"),
  17403. argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  17404. if (argumentList._list1$_contents.length !== 0)
  17405. throw A.wrapException(A.SassScriptException$0(string$.Only_op, _null));
  17406. argumentList._argument_list$_wereKeywordsAccessed = true;
  17407. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, type$.String, type$.Value_2);
  17408. t1 = new A._updateComponents_getParam0(keywords, scale, change);
  17409. alpha = t1.call$3$checkUnitless("alpha", 1, true);
  17410. red = t1.call$2("red", 255);
  17411. green = t1.call$2("green", 255);
  17412. blue = t1.call$2("blue", 255);
  17413. hue = scale ? _null : A.NullableExtension_andThen0(keywords.remove$1(0, "hue"), new A._updateComponents_closure1());
  17414. saturation = t1.call$3$checkPercent("saturation", 100, true);
  17415. lightness = t1.call$3$checkPercent("lightness", 100, true);
  17416. whiteness = t1.call$3$assertPercent("whiteness", 100, true);
  17417. blackness = t1.call$3$assertPercent("blackness", 100, true);
  17418. t1 = keywords.__js_helper$_length;
  17419. if (t1 !== 0)
  17420. 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));
  17421. hasRgb = red != null || green != null || blue != null;
  17422. hasSL = saturation != null || lightness != null;
  17423. hasWB = whiteness != null || blackness != null;
  17424. if (hasRgb)
  17425. t1 = hasSL || hasWB || hue != null;
  17426. else
  17427. t1 = false;
  17428. if (t1)
  17429. throw A.wrapException(A.SassScriptException$0(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters.", _null));
  17430. if (hasSL && hasWB)
  17431. throw A.wrapException(A.SassScriptException$0(string$.HSL_pa, _null));
  17432. t1 = new A._updateComponents_updateValue0(change, adjust);
  17433. t2 = new A._updateComponents_updateRgb0(t1);
  17434. if (hasRgb) {
  17435. t3 = t2.call$2(color.get$red(color), red);
  17436. t4 = t2.call$2(color.get$green(color), green);
  17437. t2 = t2.call$2(color.get$blue(color), blue);
  17438. return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
  17439. } else if (hasWB) {
  17440. if (change)
  17441. t2 = hue;
  17442. else {
  17443. t2 = color.get$hue(color);
  17444. t2 += hue == null ? 0 : hue;
  17445. }
  17446. t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
  17447. t4 = t1.call$3(color.get$blackness(color), blackness, 100);
  17448. return color.changeHwb$4$alpha$blackness$hue$whiteness(t1.call$3(color._color1$_alpha, alpha, 1), t4, t2, t3);
  17449. } else {
  17450. t2 = hue == null;
  17451. if (!t2 || hasSL) {
  17452. if (change)
  17453. t2 = hue;
  17454. else {
  17455. t3 = color.get$hue(color);
  17456. t3 += t2 ? 0 : hue;
  17457. t2 = t3;
  17458. }
  17459. t3 = t1.call$3(color.get$saturation(color), saturation, 100);
  17460. t4 = t1.call$3(color.get$lightness(color), lightness, 100);
  17461. return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
  17462. } else if (alpha != null)
  17463. return color.changeAlpha$1(t1.call$3(color._color1$_alpha, alpha, 1));
  17464. else
  17465. return color;
  17466. }
  17467. },
  17468. _functionString0($name, $arguments) {
  17469. return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
  17470. },
  17471. _removedColorFunction0($name, argument, negative) {
  17472. return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
  17473. },
  17474. _rgb0($name, $arguments) {
  17475. var t2, red, green, blue,
  17476. t1 = J.getInterceptor$asx($arguments),
  17477. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  17478. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  17479. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  17480. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  17481. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  17482. t2 = t2 === true;
  17483. } else
  17484. t2 = true;
  17485. else
  17486. t2 = true;
  17487. else
  17488. t2 = true;
  17489. if (t2)
  17490. return A._functionString0($name, $arguments);
  17491. red = t1.$index($arguments, 0).assertNumber$1("red");
  17492. green = t1.$index($arguments, 1).assertNumber$1("green");
  17493. blue = t1.$index($arguments, 2).assertNumber$1("blue");
  17494. 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);
  17495. },
  17496. _rgbTwoArg0($name, $arguments) {
  17497. var first, color,
  17498. t1 = J.getInterceptor$asx($arguments);
  17499. if (t1.$index($arguments, 0).get$isVar())
  17500. return A._functionString0($name, $arguments);
  17501. else if (t1.$index($arguments, 1).get$isVar()) {
  17502. first = t1.$index($arguments, 0);
  17503. if (first instanceof A.SassColor0)
  17504. 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);
  17505. else
  17506. return A._functionString0($name, $arguments);
  17507. } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
  17508. color = t1.$index($arguments, 0).assertColor$1("color");
  17509. 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);
  17510. }
  17511. return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
  17512. },
  17513. _hsl0($name, $arguments) {
  17514. var t2, hue, saturation, lightness,
  17515. _s10_ = "saturation",
  17516. _s9_ = "lightness",
  17517. t1 = J.getInterceptor$asx($arguments),
  17518. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  17519. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  17520. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  17521. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  17522. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  17523. t2 = t2 === true;
  17524. } else
  17525. t2 = true;
  17526. else
  17527. t2 = true;
  17528. else
  17529. t2 = true;
  17530. if (t2)
  17531. return A._functionString0($name, $arguments);
  17532. hue = A._angleValue0(t1.$index($arguments, 0), "hue");
  17533. saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
  17534. lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
  17535. A._checkPercent0(saturation, _s10_);
  17536. A._checkPercent0(lightness, _s9_);
  17537. 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);
  17538. },
  17539. _angleValue0(angleValue, $name) {
  17540. var t1, t2,
  17541. angle = angleValue.assertNumber$1($name);
  17542. if (angle.compatibleWithUnit$1("deg"))
  17543. return angle.coerceValueToUnit$1("deg");
  17544. t1 = angle.toString$0(0);
  17545. t2 = angle.unitSuggestion$1($name);
  17546. A.EvaluationContext_current0().warn$2(0, "$" + $name + ": Passing a unit other than deg (" + t1 + string$.x29x20is_d + t2 + string$.x0a_See_, B.Deprecation_0bn);
  17547. return angle._number1$_value;
  17548. },
  17549. _checkPercent0(number, $name) {
  17550. var t1, t2;
  17551. if (number.hasUnit$1("%"))
  17552. return;
  17553. t1 = number.toString$0(0);
  17554. t2 = number.unitSuggestion$2($name, "%");
  17555. A.EvaluationContext_current0().warn$2(0, "$" + $name + ": Passing a number without unit % (" + t1 + string$.x29x20is_d + t2 + string$.x0a_Morex3a, B.Deprecation_0bn);
  17556. },
  17557. _hwb0($arguments) {
  17558. var _s9_ = "whiteness",
  17559. _s9_0 = "blackness",
  17560. t1 = J.getInterceptor$asx($arguments),
  17561. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  17562. hue = A._angleValue0(t1.$index($arguments, 0), "hue"),
  17563. whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
  17564. blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
  17565. whiteness.assertUnit$2("%", _s9_);
  17566. blackness.assertUnit$2("%", _s9_0);
  17567. 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()));
  17568. },
  17569. _parseChannels0($name, argumentNames, channels) {
  17570. var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash, _null = null,
  17571. _s17_ = "$channels must be";
  17572. if (channels.get$isVar())
  17573. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  17574. if (channels.get$separator(channels) === B.ListSeparator_zg90) {
  17575. list = channels.get$asList();
  17576. t1 = list.length;
  17577. if (t1 !== 2)
  17578. throw A.wrapException(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", _null));
  17579. channels0 = list[0];
  17580. alphaFromSlashList = list[1];
  17581. if (!alphaFromSlashList.get$isSpecialNumber())
  17582. alphaFromSlashList.assertNumber$1("alpha");
  17583. if (list[0].get$isVar())
  17584. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  17585. } else {
  17586. alphaFromSlashList = _null;
  17587. channels0 = channels;
  17588. }
  17589. isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_rXA0;
  17590. isBracketed = channels0.get$hasBrackets();
  17591. if (isCommaSeparated || isBracketed) {
  17592. buffer = new A.StringBuffer(_s17_);
  17593. if (isBracketed) {
  17594. t1 = _s17_ + " an unbracketed";
  17595. buffer._contents = t1;
  17596. } else
  17597. t1 = _s17_;
  17598. if (isCommaSeparated) {
  17599. t1 += isBracketed ? "," : " a";
  17600. buffer._contents = t1;
  17601. t1 = buffer._contents = t1 + " space-separated";
  17602. }
  17603. buffer._contents = t1 + " list.";
  17604. throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0), _null));
  17605. }
  17606. list = channels0.get$asList();
  17607. t1 = list.length;
  17608. if (t1 > 3)
  17609. throw A.wrapException(A.SassScriptException$0("Only 3 elements allowed, but " + t1 + " were passed.", _null));
  17610. else if (t1 < 3) {
  17611. if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure0()))
  17612. if (list.length !== 0) {
  17613. t1 = B.JSArray_methods.get$last(list);
  17614. if (t1 instanceof A.SassString0)
  17615. if (t1._string0$_hasQuotes) {
  17616. t1 = t1._string0$_text;
  17617. t1 = A.startsWithIgnoreCase0(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
  17618. } else
  17619. t1 = false;
  17620. else
  17621. t1 = false;
  17622. } else
  17623. t1 = false;
  17624. else
  17625. t1 = true;
  17626. if (t1)
  17627. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  17628. else
  17629. throw A.wrapException(A.SassScriptException$0("Missing element " + argumentNames[list.length] + ".", _null));
  17630. }
  17631. if (alphaFromSlashList != null) {
  17632. t1 = A.List_List$of(list, true, type$.Value_2);
  17633. t1.push(alphaFromSlashList);
  17634. return t1;
  17635. }
  17636. maybeSlashSeparated = list[2];
  17637. if (maybeSlashSeparated instanceof A.SassNumber0) {
  17638. slash = maybeSlashSeparated.asSlash;
  17639. if (slash == null)
  17640. return list;
  17641. return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value_2);
  17642. } else if (maybeSlashSeparated instanceof A.SassString0 && !maybeSlashSeparated._string0$_hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string0$_text, "/"))
  17643. return A._functionString0($name, A._setArrayType([channels0], type$.JSArray_Value_2));
  17644. else
  17645. return list;
  17646. },
  17647. _percentageOrUnitless0(number, max, $name) {
  17648. var value;
  17649. if (!number.get$hasUnits())
  17650. value = number._number1$_value;
  17651. else if (number.hasUnit$1("%"))
  17652. value = max * number._number1$_value / 100;
  17653. else
  17654. throw A.wrapException(A.SassScriptException$0("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".', null));
  17655. return B.JSNumber_methods.clamp$2(value, 0, max);
  17656. },
  17657. _mixColors0(color1, color2, weight) {
  17658. var weightScale, normalizedWeight, t1, t2, alphaDistance, t3, weight1, weight2;
  17659. A._checkPercent0(weight, "weight");
  17660. weightScale = weight.valueInRange$3(0, 100, "weight") / 100;
  17661. normalizedWeight = weightScale * 2 - 1;
  17662. t1 = color1._color1$_alpha;
  17663. t2 = color2._color1$_alpha;
  17664. alphaDistance = t1 - t2;
  17665. t3 = normalizedWeight * alphaDistance;
  17666. weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2;
  17667. weight2 = 1 - weight1;
  17668. 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));
  17669. },
  17670. _opacify0($arguments) {
  17671. var t1 = J.getInterceptor$asx($arguments),
  17672. color = t1.$index($arguments, 0).assertColor$1("color");
  17673. 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));
  17674. },
  17675. _transparentize0($arguments) {
  17676. var t1 = J.getInterceptor$asx($arguments),
  17677. color = t1.$index($arguments, 0).assertColor$1("color");
  17678. 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));
  17679. },
  17680. _function11($name, $arguments, callback) {
  17681. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
  17682. },
  17683. global_closure30: function global_closure30() {
  17684. },
  17685. global_closure31: function global_closure31() {
  17686. },
  17687. global_closure32: function global_closure32() {
  17688. },
  17689. global_closure33: function global_closure33() {
  17690. },
  17691. global_closure34: function global_closure34() {
  17692. },
  17693. global_closure35: function global_closure35() {
  17694. },
  17695. global_closure36: function global_closure36() {
  17696. },
  17697. global_closure37: function global_closure37() {
  17698. },
  17699. global_closure38: function global_closure38() {
  17700. },
  17701. global_closure39: function global_closure39() {
  17702. },
  17703. global_closure40: function global_closure40() {
  17704. },
  17705. global_closure41: function global_closure41() {
  17706. },
  17707. global_closure42: function global_closure42() {
  17708. },
  17709. global_closure43: function global_closure43() {
  17710. },
  17711. global_closure44: function global_closure44() {
  17712. },
  17713. global_closure45: function global_closure45() {
  17714. },
  17715. global_closure46: function global_closure46() {
  17716. },
  17717. global_closure47: function global_closure47() {
  17718. },
  17719. global_closure48: function global_closure48() {
  17720. },
  17721. global_closure49: function global_closure49() {
  17722. },
  17723. global_closure50: function global_closure50() {
  17724. },
  17725. global_closure51: function global_closure51() {
  17726. },
  17727. global_closure52: function global_closure52() {
  17728. },
  17729. global_closure53: function global_closure53() {
  17730. },
  17731. global_closure54: function global_closure54() {
  17732. },
  17733. global_closure55: function global_closure55() {
  17734. },
  17735. global__closure0: function global__closure0() {
  17736. },
  17737. global_closure56: function global_closure56() {
  17738. },
  17739. module_closure10: function module_closure10() {
  17740. },
  17741. module_closure11: function module_closure11() {
  17742. },
  17743. module_closure12: function module_closure12() {
  17744. },
  17745. module_closure13: function module_closure13() {
  17746. },
  17747. module_closure14: function module_closure14() {
  17748. },
  17749. module_closure15: function module_closure15() {
  17750. },
  17751. module_closure16: function module_closure16() {
  17752. },
  17753. module_closure17: function module_closure17() {
  17754. },
  17755. module__closure4: function module__closure4() {
  17756. },
  17757. module_closure18: function module_closure18() {
  17758. },
  17759. _red_closure0: function _red_closure0() {
  17760. },
  17761. _green_closure0: function _green_closure0() {
  17762. },
  17763. _blue_closure0: function _blue_closure0() {
  17764. },
  17765. _mix_closure0: function _mix_closure0() {
  17766. },
  17767. _hue_closure0: function _hue_closure0() {
  17768. },
  17769. _saturation_closure0: function _saturation_closure0() {
  17770. },
  17771. _lightness_closure0: function _lightness_closure0() {
  17772. },
  17773. _complement_closure0: function _complement_closure0() {
  17774. },
  17775. _adjust_closure0: function _adjust_closure0() {
  17776. },
  17777. _scale_closure0: function _scale_closure0() {
  17778. },
  17779. _change_closure0: function _change_closure0() {
  17780. },
  17781. _ieHexStr_closure0: function _ieHexStr_closure0() {
  17782. },
  17783. _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
  17784. },
  17785. _updateComponents_getParam0: function _updateComponents_getParam0(t0, t1, t2) {
  17786. this.keywords = t0;
  17787. this.scale = t1;
  17788. this.change = t2;
  17789. },
  17790. _updateComponents_closure1: function _updateComponents_closure1() {
  17791. },
  17792. _updateComponents_closure2: function _updateComponents_closure2() {
  17793. },
  17794. _updateComponents_updateValue0: function _updateComponents_updateValue0(t0, t1) {
  17795. this.change = t0;
  17796. this.adjust = t1;
  17797. },
  17798. _updateComponents_updateRgb0: function _updateComponents_updateRgb0(t0) {
  17799. this.updateValue = t0;
  17800. },
  17801. _functionString_closure0: function _functionString_closure0() {
  17802. },
  17803. _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
  17804. this.name = t0;
  17805. this.argument = t1;
  17806. this.negative = t2;
  17807. },
  17808. _rgb_closure0: function _rgb_closure0() {
  17809. },
  17810. _hsl_closure0: function _hsl_closure0() {
  17811. },
  17812. _hwb_closure0: function _hwb_closure0() {
  17813. },
  17814. _parseChannels_closure0: function _parseChannels_closure0() {
  17815. },
  17816. _NodeSassColor: function _NodeSassColor() {
  17817. },
  17818. legacyColorClass_closure: function legacyColorClass_closure() {
  17819. },
  17820. legacyColorClass_closure0: function legacyColorClass_closure0() {
  17821. },
  17822. legacyColorClass_closure1: function legacyColorClass_closure1() {
  17823. },
  17824. legacyColorClass_closure2: function legacyColorClass_closure2() {
  17825. },
  17826. legacyColorClass_closure3: function legacyColorClass_closure3() {
  17827. },
  17828. legacyColorClass_closure4: function legacyColorClass_closure4() {
  17829. },
  17830. legacyColorClass_closure5: function legacyColorClass_closure5() {
  17831. },
  17832. legacyColorClass_closure6: function legacyColorClass_closure6() {
  17833. },
  17834. legacyColorClass_closure7: function legacyColorClass_closure7() {
  17835. },
  17836. colorClass_closure: function colorClass_closure() {
  17837. },
  17838. colorClass__closure: function colorClass__closure() {
  17839. },
  17840. colorClass__closure0: function colorClass__closure0() {
  17841. },
  17842. colorClass__closure1: function colorClass__closure1() {
  17843. },
  17844. colorClass__closure2: function colorClass__closure2() {
  17845. },
  17846. colorClass__closure3: function colorClass__closure3() {
  17847. },
  17848. colorClass__closure4: function colorClass__closure4() {
  17849. },
  17850. colorClass__closure5: function colorClass__closure5() {
  17851. },
  17852. colorClass__closure6: function colorClass__closure6() {
  17853. },
  17854. colorClass__closure7: function colorClass__closure7() {
  17855. },
  17856. colorClass__closure8: function colorClass__closure8() {
  17857. },
  17858. colorClass__closure9: function colorClass__closure9() {
  17859. },
  17860. _Channels: function _Channels() {
  17861. },
  17862. SassColor$rgb0(red, green, blue, alpha) {
  17863. var _null = null,
  17864. t1 = new A.SassColor0(red, green, blue, _null, _null, _null, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), _null);
  17865. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  17866. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  17867. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  17868. return t1;
  17869. },
  17870. SassColor$rgbInternal0(_red, _green, _blue, alpha, format) {
  17871. var t1 = new A.SassColor0(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
  17872. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  17873. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  17874. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  17875. return t1;
  17876. },
  17877. SassColor$hsl(hue, saturation, lightness, alpha) {
  17878. var _null = null,
  17879. t1 = B.JSNumber_methods.$mod(hue, 360),
  17880. t2 = A.fuzzyAssertRange0(saturation, 0, 100, "saturation"),
  17881. t3 = A.fuzzyAssertRange0(lightness, 0, 100, "lightness");
  17882. return new A.SassColor0(_null, _null, _null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), _null);
  17883. },
  17884. SassColor$hslInternal0(hue, saturation, lightness, alpha, format) {
  17885. var t1 = B.JSNumber_methods.$mod(hue, 360),
  17886. t2 = A.fuzzyAssertRange0(saturation, 0, 100, "saturation"),
  17887. t3 = A.fuzzyAssertRange0(lightness, 0, 100, "lightness");
  17888. return new A.SassColor0(null, null, null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
  17889. },
  17890. SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
  17891. var t2, t1 = {},
  17892. scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
  17893. scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange0(whiteness, 0, 100, "whiteness") / 100,
  17894. scaledBlackness = A.fuzzyAssertRange0(blackness, 0, 100, "blackness") / 100,
  17895. sum = scaledWhiteness + scaledBlackness;
  17896. if (sum > 1) {
  17897. t2 = t1.scaledWhiteness = scaledWhiteness / sum;
  17898. scaledBlackness /= sum;
  17899. } else
  17900. t2 = scaledWhiteness;
  17901. t2 = new A.SassColor_SassColor$hwb_toRgb0(t1, 1 - t2 - scaledBlackness);
  17902. return A.SassColor$rgb0(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
  17903. },
  17904. SassColor__hueToRgb0(m1, m2, hue) {
  17905. if (hue < 0)
  17906. ++hue;
  17907. if (hue > 1)
  17908. --hue;
  17909. if (hue < 0.16666666666666666)
  17910. return m1 + (m2 - m1) * hue * 6;
  17911. else if (hue < 0.5)
  17912. return m2;
  17913. else if (hue < 0.6666666666666666)
  17914. return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  17915. else
  17916. return m1;
  17917. },
  17918. SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5, t6, t7) {
  17919. var _ = this;
  17920. _._color1$_red = t0;
  17921. _._color1$_green = t1;
  17922. _._color1$_blue = t2;
  17923. _._color1$_hue = t3;
  17924. _._color1$_saturation = t4;
  17925. _._color1$_lightness = t5;
  17926. _._color1$_alpha = t6;
  17927. _.format = t7;
  17928. },
  17929. SassColor_SassColor$hwb_toRgb0: function SassColor_SassColor$hwb_toRgb0(t0, t1) {
  17930. this._box_0 = t0;
  17931. this.factor = t1;
  17932. },
  17933. _ColorFormatEnum0: function _ColorFormatEnum0(t0) {
  17934. this._color1$_name = t0;
  17935. },
  17936. SpanColorFormat0: function SpanColorFormat0(t0) {
  17937. this._color1$_span = t0;
  17938. },
  17939. Combinator0: function Combinator0(t0, t1) {
  17940. this._combinator0$_text = t0;
  17941. this._name = t1;
  17942. },
  17943. ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
  17944. var _ = this;
  17945. _.text = t0;
  17946. _.span = t1;
  17947. _._node$_indexInParent = _._node$_parent = null;
  17948. _.isGroupEnd = false;
  17949. },
  17950. compile0(path, options) {
  17951. var color, ascii, result, error, stackTrace, t1, color0, ascii0, t2, t3, t4, t5, t6, t7, t8, t9, t10, exception, _null = null;
  17952. if (self.process == null)
  17953. A.jsThrow(new self.Error("The compile() method is only available in Node.js."));
  17954. t1 = options == null;
  17955. color0 = t1 ? _null : J.get$alertColor$x(options);
  17956. color = color0 == null ? A.hasTerminal0() : color0;
  17957. ascii0 = t1 ? _null : J.get$alertAscii$x(options);
  17958. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  17959. try {
  17960. t2 = t1 ? _null : J.get$loadPaths$x(options);
  17961. t3 = t1 ? _null : J.get$quietDeps$x(options);
  17962. if (t3 == null)
  17963. t3 = false;
  17964. t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  17965. t5 = t1 ? _null : J.get$verbose$x(options);
  17966. if (t5 == null)
  17967. t5 = false;
  17968. t6 = t1 ? _null : J.get$charset$x(options);
  17969. if (t6 == null)
  17970. t6 = true;
  17971. t7 = t1 ? _null : J.get$sourceMap$x(options);
  17972. if (t7 == null)
  17973. t7 = false;
  17974. t8 = t1 ? _null : J.get$logger$x(options);
  17975. t9 = ascii;
  17976. if (t9 == null)
  17977. t9 = $._glyphs === B.C_AsciiGlyphSet;
  17978. t9 = new A.NodeToDartLogger(t8, new A.StderrLogger0(color), t9);
  17979. if (t1)
  17980. t8 = _null;
  17981. else {
  17982. t8 = J.get$importers$x(options);
  17983. t8 = t8 == null ? _null : J.map$1$1$ax(t8, A.compile___parseImporter$closure(), type$.Importer);
  17984. }
  17985. t10 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  17986. 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);
  17987. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  17988. if (t1 == null)
  17989. t1 = false;
  17990. t1 = A._convertResult(result, t1);
  17991. return t1;
  17992. } catch (exception) {
  17993. t1 = A.unwrapException(exception);
  17994. if (t1 instanceof A.SassException0) {
  17995. error = t1;
  17996. stackTrace = A.getTraceFromException(exception);
  17997. A.throwNodeException(error, ascii, color, stackTrace);
  17998. } else
  17999. throw exception;
  18000. }
  18001. },
  18002. compileString0(text, options) {
  18003. var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, exception, _null = null,
  18004. t1 = options == null,
  18005. color0 = t1 ? _null : J.get$alertColor$x(options),
  18006. color = color0 == null ? A.hasTerminal0() : color0,
  18007. ascii0 = t1 ? _null : J.get$alertAscii$x(options),
  18008. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  18009. try {
  18010. t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
  18011. t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils1__jsToDartUrl$closure());
  18012. t4 = t1 ? _null : J.get$loadPaths$x(options);
  18013. t5 = t1 ? _null : J.get$quietDeps$x(options);
  18014. if (t5 == null)
  18015. t5 = false;
  18016. t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  18017. t7 = t1 ? _null : J.get$verbose$x(options);
  18018. if (t7 == null)
  18019. t7 = false;
  18020. t8 = t1 ? _null : J.get$charset$x(options);
  18021. if (t8 == null)
  18022. t8 = true;
  18023. t9 = t1 ? _null : J.get$sourceMap$x(options);
  18024. if (t9 == null)
  18025. t9 = false;
  18026. t10 = t1 ? _null : J.get$logger$x(options);
  18027. t11 = ascii;
  18028. if (t11 == null)
  18029. t11 = $._glyphs === B.C_AsciiGlyphSet;
  18030. t11 = new A.NodeToDartLogger(t10, new A.StderrLogger0(color), t11);
  18031. if (t1)
  18032. t10 = _null;
  18033. else {
  18034. t10 = J.get$importers$x(options);
  18035. t10 = t10 == null ? _null : J.map$1$1$ax(t10, A.compile___parseImporter$closure(), type$.Importer);
  18036. }
  18037. t12 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
  18038. if (t12 == null)
  18039. t12 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter0() : _null;
  18040. t13 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  18041. 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);
  18042. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  18043. if (t1 == null)
  18044. t1 = false;
  18045. t1 = A._convertResult(result, t1);
  18046. return t1;
  18047. } catch (exception) {
  18048. t1 = A.unwrapException(exception);
  18049. if (t1 instanceof A.SassException0) {
  18050. error = t1;
  18051. stackTrace = A.getTraceFromException(exception);
  18052. A.throwNodeException(error, ascii, color, stackTrace);
  18053. } else
  18054. throw exception;
  18055. }
  18056. },
  18057. compileAsync1(path, options) {
  18058. var t1, color, ascii;
  18059. if (self.process == null)
  18060. A.jsThrow(new self.Error("The compileAsync() method is only available in Node.js."));
  18061. t1 = options == null;
  18062. color = t1 ? null : J.get$alertColor$x(options);
  18063. if (color == null)
  18064. color = A.hasTerminal0();
  18065. ascii = t1 ? null : J.get$alertAscii$x(options);
  18066. if (ascii == null)
  18067. ascii = $._glyphs === B.C_AsciiGlyphSet;
  18068. return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileAsync_closure(path, color, options, ascii).call$0()), ascii, color);
  18069. },
  18070. compileStringAsync1(text, options) {
  18071. var ascii,
  18072. t1 = options == null,
  18073. color = t1 ? null : J.get$alertColor$x(options);
  18074. if (color == null)
  18075. color = A.hasTerminal0();
  18076. ascii = t1 ? null : J.get$alertAscii$x(options);
  18077. if (ascii == null)
  18078. ascii = $._glyphs === B.C_AsciiGlyphSet;
  18079. return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileStringAsync_closure(text, options, color, ascii).call$0()), ascii, color);
  18080. },
  18081. _convertResult(result, includeSourceContents) {
  18082. var loadedUrls,
  18083. t1 = result._compile_result$_serialize,
  18084. t2 = t1.sourceMap,
  18085. sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
  18086. if (type$.Map_String_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
  18087. sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
  18088. t2 = result._evaluate.loadedUrls;
  18089. loadedUrls = A.toJSArray(new A.EfficientLengthMappedIterable(t2, A.utils1__dartToJSUrl$closure(), A._instanceType(t2)._eval$1("EfficientLengthMappedIterable<1,Object?>")));
  18090. t1 = t1.css;
  18091. return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify(sourceMap), loadedUrls: loadedUrls};
  18092. },
  18093. _wrapAsyncSassExceptions(promise, ascii, color) {
  18094. return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
  18095. },
  18096. _parseOutputStyle0(style) {
  18097. if (style == null || style === "expanded")
  18098. return B.OutputStyle_00;
  18099. if (style === "compressed")
  18100. return B.OutputStyle_10;
  18101. A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
  18102. },
  18103. _parseAsyncImporter(importer) {
  18104. var t1, findFileUrl, canonicalize, load;
  18105. if (importer == null)
  18106. A.jsThrow(new self.Error("Importers may not be null."));
  18107. type$.NodeImporter._as(importer);
  18108. t1 = J.getInterceptor$x(importer);
  18109. findFileUrl = t1.get$findFileUrl(importer);
  18110. canonicalize = t1.get$canonicalize(importer);
  18111. load = t1.get$load(importer);
  18112. if (findFileUrl == null) {
  18113. if (canonicalize == null || load == null)
  18114. A.jsThrow(new self.Error(string$.An_impu));
  18115. return new A.NodeToDartAsyncImporter(canonicalize, load);
  18116. } else if (canonicalize != null || load != null)
  18117. A.jsThrow(new self.Error(string$.An_impa));
  18118. else
  18119. return new A.NodeToDartAsyncFileImporter(findFileUrl);
  18120. },
  18121. _parseImporter0(importer) {
  18122. var t1, findFileUrl, canonicalize, load;
  18123. if (importer == null)
  18124. A.jsThrow(new self.Error("Importers may not be null."));
  18125. type$.NodeImporter._as(importer);
  18126. t1 = J.getInterceptor$x(importer);
  18127. findFileUrl = t1.get$findFileUrl(importer);
  18128. canonicalize = t1.get$canonicalize(importer);
  18129. load = t1.get$load(importer);
  18130. if (findFileUrl == null) {
  18131. if (canonicalize == null || load == null)
  18132. A.jsThrow(new self.Error(string$.An_impu));
  18133. return new A.NodeToDartImporter(canonicalize, load);
  18134. } else if (canonicalize != null || load != null)
  18135. A.jsThrow(new self.Error(string$.An_impa));
  18136. else
  18137. return new A.NodeToDartFileImporter(findFileUrl);
  18138. },
  18139. _parseFunctions0(functions, asynch) {
  18140. var result;
  18141. if (functions == null)
  18142. return B.List_empty24;
  18143. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  18144. A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
  18145. return result;
  18146. },
  18147. compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
  18148. var _ = this;
  18149. _.path = t0;
  18150. _.color = t1;
  18151. _.options = t2;
  18152. _.ascii = t3;
  18153. },
  18154. compileAsync__closure: function compileAsync__closure() {
  18155. },
  18156. compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
  18157. var _ = this;
  18158. _.text = t0;
  18159. _.options = t1;
  18160. _.color = t2;
  18161. _.ascii = t3;
  18162. },
  18163. compileStringAsync__closure: function compileStringAsync__closure() {
  18164. },
  18165. compileStringAsync__closure0: function compileStringAsync__closure0() {
  18166. },
  18167. _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
  18168. this.color = t0;
  18169. this.ascii = t1;
  18170. },
  18171. _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
  18172. this.asynch = t0;
  18173. this.result = t1;
  18174. },
  18175. _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
  18176. this.callback = t0;
  18177. this.callable = t1;
  18178. },
  18179. _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
  18180. this.callback = t0;
  18181. this.callable = t1;
  18182. },
  18183. compile(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
  18184. var t2, t3, t4, t0, stylesheet, result, _null = null,
  18185. t1 = type$.Deprecation_2;
  18186. logger = new A.DeprecationHandlingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), !verbose);
  18187. t1 = nodeImporter == null;
  18188. if (t1)
  18189. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  18190. else
  18191. t2 = false;
  18192. if (t2) {
  18193. if (importCache == null)
  18194. importCache = A.ImportCache$none(logger);
  18195. t2 = A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  18196. t3 = self.process;
  18197. if (!J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "win32")) {
  18198. t3 = self.process;
  18199. t3 = J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "darwin");
  18200. } else
  18201. t3 = true;
  18202. if (t3) {
  18203. t3 = $.$get$context();
  18204. t4 = A._realCasePath0(A.absolute(t3.normalize$1(path), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  18205. t0 = t4;
  18206. t4 = t3;
  18207. t3 = t0;
  18208. } else {
  18209. t3 = $.$get$context();
  18210. t4 = t3.canonicalize$1(0, path);
  18211. t0 = t4;
  18212. t4 = t3;
  18213. t3 = t0;
  18214. }
  18215. t4 = importCache.importCanonical$3$originalUrl(new A.FilesystemImporter0(t2), t4.toUri$1(t3), t4.toUri$1(path));
  18216. t4.toString;
  18217. stylesheet = t4;
  18218. } else {
  18219. t2 = A.readFile0(path);
  18220. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  18221. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, $.$get$context().toUri$1(path));
  18222. }
  18223. 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);
  18224. logger.summarize$1$node(!t1);
  18225. return result;
  18226. },
  18227. compileString(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
  18228. var stylesheet, result, _null = null,
  18229. t1 = type$.Deprecation_2;
  18230. logger = new A.DeprecationHandlingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), !verbose);
  18231. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, logger, url);
  18232. if (importer == null) {
  18233. t1 = self.process;
  18234. t1 = t1 == null ? new A.NoOpImporter0() : new A.FilesystemImporter0(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  18235. } else
  18236. t1 = importer;
  18237. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  18238. logger.summarize$1$node(nodeImporter != null);
  18239. return result;
  18240. },
  18241. _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  18242. var t1 = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet),
  18243. serializeResult = A.serialize0(t1.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces),
  18244. resultSourceMap = serializeResult.sourceMap;
  18245. if (resultSourceMap != null && importCache != null)
  18246. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
  18247. return new A.CompileResult0(t1, serializeResult);
  18248. },
  18249. _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
  18250. this.stylesheet = t0;
  18251. this.importCache = t1;
  18252. },
  18253. CompileOptions: function CompileOptions() {
  18254. },
  18255. CompileStringOptions: function CompileStringOptions() {
  18256. },
  18257. NodeCompileResult: function NodeCompileResult() {
  18258. },
  18259. CompileResult0: function CompileResult0(t0, t1) {
  18260. this._evaluate = t0;
  18261. this._compile_result$_serialize = t1;
  18262. },
  18263. ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
  18264. var _ = this;
  18265. _._complex0$_numeratorUnits = t0;
  18266. _._complex0$_denominatorUnits = t1;
  18267. _._number1$_value = t2;
  18268. _.hashCache = null;
  18269. _.asSlash = t3;
  18270. },
  18271. ComplexSelector$0(leadingCombinators, components, span, lineBreak) {
  18272. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator_2),
  18273. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
  18274. if (t1.length === 0 && t2.length === 0)
  18275. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  18276. return new A.ComplexSelector0(t1, t2, lineBreak, span);
  18277. },
  18278. ComplexSelector0: function ComplexSelector0(t0, t1, t2, t3) {
  18279. var _ = this;
  18280. _.leadingCombinators = t0;
  18281. _.components = t1;
  18282. _.lineBreak = t2;
  18283. _._complex$__ComplexSelector_specificity_FI = $;
  18284. _.span = t3;
  18285. },
  18286. ComplexSelector_specificity_closure0: function ComplexSelector_specificity_closure0() {
  18287. },
  18288. ComplexSelectorComponent0: function ComplexSelectorComponent0(t0, t1, t2) {
  18289. this.selector = t0;
  18290. this.combinators = t1;
  18291. this.span = t2;
  18292. },
  18293. ComplexSelectorComponent_toString_closure0: function ComplexSelectorComponent_toString_closure0() {
  18294. },
  18295. CompoundSelector$0(components, span) {
  18296. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
  18297. if (t1.length === 0)
  18298. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  18299. return new A.CompoundSelector0(t1, span);
  18300. },
  18301. CompoundSelector0: function CompoundSelector0(t0, t1) {
  18302. this.components = t0;
  18303. this._compound$__CompoundSelector_specificity_FI = $;
  18304. this.span = t1;
  18305. },
  18306. CompoundSelector_specificity_closure0: function CompoundSelector_specificity_closure0() {
  18307. },
  18308. Configuration0: function Configuration0(t0, t1) {
  18309. this._configuration$_values = t0;
  18310. this._configuration$__originalConfiguration = t1;
  18311. },
  18312. Configuration_toString_closure0: function Configuration_toString_closure0() {
  18313. },
  18314. ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1, t2) {
  18315. this.nodeWithSpan = t0;
  18316. this._configuration$_values = t1;
  18317. this._configuration$__originalConfiguration = t2;
  18318. },
  18319. ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
  18320. this.value = t0;
  18321. this.configurationSpan = t1;
  18322. this.assignmentNode = t2;
  18323. },
  18324. ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
  18325. var _ = this;
  18326. _.name = t0;
  18327. _.expression = t1;
  18328. _.isGuarded = t2;
  18329. _.span = t3;
  18330. },
  18331. ContentBlock$0($arguments, children, span) {
  18332. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  18333. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  18334. return new A.ContentBlock0("@content", $arguments, span, t1, t2);
  18335. },
  18336. ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4) {
  18337. var _ = this;
  18338. _.name = t0;
  18339. _.$arguments = t1;
  18340. _.span = t2;
  18341. _.children = t3;
  18342. _.hasDeclarations = t4;
  18343. },
  18344. ContentRule0: function ContentRule0(t0, t1) {
  18345. this.$arguments = t0;
  18346. this.span = t1;
  18347. },
  18348. _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
  18349. },
  18350. CssParser0: function CssParser0(t0, t1, t2, t3) {
  18351. var _ = this;
  18352. _._stylesheet0$_isUseAllowed = true;
  18353. _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  18354. _._stylesheet0$_globalVariables = t0;
  18355. _.lastSilentComment = null;
  18356. _.scanner = t1;
  18357. _.logger = t2;
  18358. _._parser0$_interpolationMap = t3;
  18359. },
  18360. DebugRule0: function DebugRule0(t0, t1) {
  18361. this.expression = t0;
  18362. this.span = t1;
  18363. },
  18364. ModifiableCssDeclaration$0($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
  18365. var t2,
  18366. t1 = valueSpanForMap == null ? value.span : valueSpanForMap;
  18367. if (parsedAsCustomProperty)
  18368. if (!J.startsWith$1$s($name.value, "--"))
  18369. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  18370. else {
  18371. t2 = value.value;
  18372. if (!(t2 instanceof A.SassString0))
  18373. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t2).toString$0(0) + ").", null));
  18374. }
  18375. return new A.ModifiableCssDeclaration0($name, value, parsedAsCustomProperty, t1, span);
  18376. },
  18377. ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4) {
  18378. var _ = this;
  18379. _.name = t0;
  18380. _.value = t1;
  18381. _.parsedAsCustomProperty = t2;
  18382. _.valueSpanForMap = t3;
  18383. _.span = t4;
  18384. _._node$_indexInParent = _._node$_parent = null;
  18385. _.isGroupEnd = false;
  18386. },
  18387. Declaration$0($name, value, span) {
  18388. return new A.Declaration0($name, value, span, null, false);
  18389. },
  18390. Declaration$nested0($name, children, span, value) {
  18391. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  18392. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  18393. return new A.Declaration0($name, value, span, t1, t2);
  18394. },
  18395. Declaration0: function Declaration0(t0, t1, t2, t3, t4) {
  18396. var _ = this;
  18397. _.name = t0;
  18398. _.value = t1;
  18399. _.span = t2;
  18400. _.children = t3;
  18401. _.hasDeclarations = t4;
  18402. },
  18403. SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
  18404. this.name = t0;
  18405. this.value = t1;
  18406. this.span = t2;
  18407. },
  18408. Deprecation0: function Deprecation0(t0, t1, t2) {
  18409. this.id = t0;
  18410. this.isFuture = t1;
  18411. this._name = t2;
  18412. },
  18413. DeprecationHandlingLogger0: function DeprecationHandlingLogger0(t0, t1, t2, t3, t4) {
  18414. var _ = this;
  18415. _._deprecation_handling$_warningCounts = t0;
  18416. _._deprecation_handling$_inner = t1;
  18417. _.fatalDeprecations = t2;
  18418. _.futureDeprecations = t3;
  18419. _.limitRepetition = t4;
  18420. },
  18421. DeprecationHandlingLogger_summarize_closure1: function DeprecationHandlingLogger_summarize_closure1() {
  18422. },
  18423. DeprecationHandlingLogger_summarize_closure2: function DeprecationHandlingLogger_summarize_closure2() {
  18424. },
  18425. DynamicImport0: function DynamicImport0(t0, t1) {
  18426. this.urlString = t0;
  18427. this.span = t1;
  18428. },
  18429. EachRule$0(variables, list, children, span) {
  18430. var t1 = A.List_List$unmodifiable(variables, type$.String),
  18431. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  18432. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  18433. return new A.EachRule0(t1, list, span, t2, t3);
  18434. },
  18435. EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
  18436. var _ = this;
  18437. _.variables = t0;
  18438. _.list = t1;
  18439. _.span = t2;
  18440. _.children = t3;
  18441. _.hasDeclarations = t4;
  18442. },
  18443. EachRule_toString_closure0: function EachRule_toString_closure0() {
  18444. },
  18445. EmptyExtensionStore0: function EmptyExtensionStore0() {
  18446. },
  18447. Environment$0() {
  18448. var t1 = type$.String,
  18449. t2 = type$.Module_Callable_2,
  18450. t3 = type$.AstNode_2,
  18451. t4 = type$.int,
  18452. t5 = type$.Callable_2,
  18453. t6 = type$.JSArray_Map_String_Callable_2;
  18454. 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);
  18455. },
  18456. Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  18457. var t1 = type$.String,
  18458. t2 = type$.int;
  18459. 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);
  18460. },
  18461. _EnvironmentModule__EnvironmentModule1(environment, css, extensionStore, forwarded) {
  18462. var t1, t2, t3, t4, t5, t6;
  18463. if (forwarded == null)
  18464. forwarded = B.Set_empty4;
  18465. t1 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
  18466. 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);
  18467. 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);
  18468. t4 = type$.Map_String_Callable_2;
  18469. t5 = type$.Callable_2;
  18470. t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t4), t5);
  18471. t5 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t4), t5);
  18472. t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure15());
  18473. 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()));
  18474. },
  18475. _EnvironmentModule__makeModulesByVariable1(forwarded) {
  18476. var modulesByVariable, t1, t2, t3, t4, t5;
  18477. if (forwarded.get$isEmpty(forwarded))
  18478. return B.Map_empty6;
  18479. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
  18480. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  18481. t2 = t1.get$current(t1);
  18482. if (t2 instanceof A._EnvironmentModule1) {
  18483. for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  18484. t4 = t3.get$current(t3);
  18485. t5 = t4.get$variables();
  18486. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  18487. }
  18488. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables)), t2);
  18489. } else {
  18490. t3 = t2.get$variables();
  18491. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  18492. }
  18493. }
  18494. return modulesByVariable;
  18495. },
  18496. _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
  18497. var t1, t2, t3;
  18498. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  18499. if (otherMaps.get$isEmpty(otherMaps))
  18500. return localMap;
  18501. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  18502. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  18503. t3 = t2.get$current(t2);
  18504. if (t3.get$isNotEmpty(t3))
  18505. t1.push(t3);
  18506. }
  18507. t1.push(localMap);
  18508. if (t1.length === 1)
  18509. return localMap;
  18510. return A.MergedMapView$0(t1, type$.String, $V);
  18511. },
  18512. _EnvironmentModule$_1(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  18513. return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  18514. },
  18515. Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  18516. var _ = this;
  18517. _._environment0$_modules = t0;
  18518. _._environment0$_namespaceNodes = t1;
  18519. _._environment0$_globalModules = t2;
  18520. _._environment0$_importedModules = t3;
  18521. _._environment0$_forwardedModules = t4;
  18522. _._environment0$_nestedForwardedModules = t5;
  18523. _._environment0$_allModules = t6;
  18524. _._environment0$_variables = t7;
  18525. _._environment0$_variableNodes = t8;
  18526. _._environment0$_variableIndices = t9;
  18527. _._environment0$_functions = t10;
  18528. _._environment0$_functionIndices = t11;
  18529. _._environment0$_mixins = t12;
  18530. _._environment0$_mixinIndices = t13;
  18531. _._environment0$_content = t14;
  18532. _._environment0$_inMixin = false;
  18533. _._environment0$_inSemiGlobalScope = true;
  18534. _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
  18535. },
  18536. Environment_importForwards_closure2: function Environment_importForwards_closure2() {
  18537. },
  18538. Environment_importForwards_closure3: function Environment_importForwards_closure3() {
  18539. },
  18540. Environment_importForwards_closure4: function Environment_importForwards_closure4() {
  18541. },
  18542. Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
  18543. this.name = t0;
  18544. },
  18545. Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
  18546. this.$this = t0;
  18547. this.name = t1;
  18548. },
  18549. Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
  18550. this.name = t0;
  18551. },
  18552. Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
  18553. this.$this = t0;
  18554. this.name = t1;
  18555. },
  18556. Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
  18557. this.name = t0;
  18558. },
  18559. Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
  18560. this.name = t0;
  18561. },
  18562. Environment_toModule_closure0: function Environment_toModule_closure0() {
  18563. },
  18564. Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
  18565. },
  18566. Environment__fromOneModule_closure0: function Environment__fromOneModule_closure0(t0, t1) {
  18567. this.callback = t0;
  18568. this.T = t1;
  18569. },
  18570. Environment__fromOneModule__closure0: function Environment__fromOneModule__closure0(t0, t1) {
  18571. this.entry = t0;
  18572. this.T = t1;
  18573. },
  18574. _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
  18575. var _ = this;
  18576. _.upstream = t0;
  18577. _.variables = t1;
  18578. _.variableNodes = t2;
  18579. _.functions = t3;
  18580. _.mixins = t4;
  18581. _.extensionStore = t5;
  18582. _.css = t6;
  18583. _.transitivelyContainsCss = t7;
  18584. _.transitivelyContainsExtensions = t8;
  18585. _._environment0$_environment = t9;
  18586. _._environment0$_modulesByVariable = t10;
  18587. },
  18588. _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
  18589. },
  18590. _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
  18591. },
  18592. _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
  18593. },
  18594. _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
  18595. },
  18596. _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
  18597. },
  18598. _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
  18599. },
  18600. ErrorRule0: function ErrorRule0(t0, t1) {
  18601. this.expression = t0;
  18602. this.span = t1;
  18603. },
  18604. _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  18605. var t4,
  18606. t1 = type$.Uri,
  18607. t2 = type$.Module_Callable_2,
  18608. t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
  18609. if (nodeImporter == null)
  18610. t4 = importCache == null ? A.ImportCache$none(logger) : importCache;
  18611. else
  18612. t4 = null;
  18613. 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);
  18614. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  18615. return t1;
  18616. },
  18617. _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  18618. var _ = this;
  18619. _._evaluate0$_importCache = t0;
  18620. _._evaluate0$_nodeImporter = t1;
  18621. _._evaluate0$_builtInFunctions = t2;
  18622. _._evaluate0$_builtInModules = t3;
  18623. _._evaluate0$_modules = t4;
  18624. _._evaluate0$_moduleConfigurations = t5;
  18625. _._evaluate0$_moduleNodes = t6;
  18626. _._evaluate0$_logger = t7;
  18627. _._evaluate0$_warningsEmitted = t8;
  18628. _._evaluate0$_quietDeps = t9;
  18629. _._evaluate0$_sourceMap = t10;
  18630. _._evaluate0$_environment = t11;
  18631. _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQuerySources = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
  18632. _._evaluate0$_member = "root stylesheet";
  18633. _._evaluate0$_importSpan = _._evaluate0$_callableNode = _._evaluate0$_currentCallable = null;
  18634. _._evaluate0$_inSupportsDeclaration = _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
  18635. _._evaluate0$_loadedUrls = t12;
  18636. _._evaluate0$_activeModules = t13;
  18637. _._evaluate0$_stack = t14;
  18638. _._evaluate0$_importer = null;
  18639. _._evaluate0$_inDependency = false;
  18640. _._evaluate0$__extensionStore = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
  18641. _._evaluate0$_configuration = t15;
  18642. },
  18643. _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
  18644. this.$this = t0;
  18645. },
  18646. _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
  18647. this.$this = t0;
  18648. },
  18649. _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
  18650. this.$this = t0;
  18651. },
  18652. _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
  18653. this.$this = t0;
  18654. },
  18655. _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
  18656. this.$this = t0;
  18657. },
  18658. _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
  18659. this.$this = t0;
  18660. },
  18661. _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
  18662. this.$this = t0;
  18663. },
  18664. _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
  18665. this.$this = t0;
  18666. },
  18667. _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2) {
  18668. this.$this = t0;
  18669. this.name = t1;
  18670. this.module = t2;
  18671. },
  18672. _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
  18673. this.$this = t0;
  18674. },
  18675. _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
  18676. this.$this = t0;
  18677. },
  18678. _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
  18679. this.values = t0;
  18680. this.span = t1;
  18681. this.callableNode = t2;
  18682. },
  18683. _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0) {
  18684. this.$this = t0;
  18685. },
  18686. _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
  18687. this.$this = t0;
  18688. this.node = t1;
  18689. this.importer = t2;
  18690. },
  18691. _EvaluateVisitor_run__closure1: function _EvaluateVisitor_run__closure1(t0, t1, t2) {
  18692. this.$this = t0;
  18693. this.importer = t1;
  18694. this.node = t2;
  18695. },
  18696. _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
  18697. this.callback = t0;
  18698. this.builtInModule = t1;
  18699. },
  18700. _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
  18701. var _ = this;
  18702. _.$this = t0;
  18703. _.url = t1;
  18704. _.nodeWithSpan = t2;
  18705. _.baseUrl = t3;
  18706. _.namesInErrors = t4;
  18707. _.configuration = t5;
  18708. _.callback = t6;
  18709. },
  18710. _EvaluateVisitor__loadModule__closure3: function _EvaluateVisitor__loadModule__closure3(t0, t1) {
  18711. this.$this = t0;
  18712. this.message = t1;
  18713. },
  18714. _EvaluateVisitor__loadModule__closure4: function _EvaluateVisitor__loadModule__closure4(t0, t1) {
  18715. this._box_0 = t0;
  18716. this.callback = t1;
  18717. },
  18718. _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5) {
  18719. var _ = this;
  18720. _.$this = t0;
  18721. _.importer = t1;
  18722. _.stylesheet = t2;
  18723. _.extensionStore = t3;
  18724. _.configuration = t4;
  18725. _.css = t5;
  18726. },
  18727. _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
  18728. },
  18729. _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
  18730. this.selectors = t0;
  18731. },
  18732. _EvaluateVisitor__combineCss_closure7: function _EvaluateVisitor__combineCss_closure7() {
  18733. },
  18734. _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
  18735. this.originalSelectors = t0;
  18736. },
  18737. _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
  18738. },
  18739. _EvaluateVisitor__topologicalModules_visitModule1: function _EvaluateVisitor__topologicalModules_visitModule1(t0, t1) {
  18740. this.seen = t0;
  18741. this.sorted = t1;
  18742. },
  18743. _EvaluateVisitor_visitAtRootRule_closure3: function _EvaluateVisitor_visitAtRootRule_closure3(t0, t1) {
  18744. this.$this = t0;
  18745. this.node = t1;
  18746. },
  18747. _EvaluateVisitor_visitAtRootRule_closure4: function _EvaluateVisitor_visitAtRootRule_closure4(t0, t1) {
  18748. this.$this = t0;
  18749. this.node = t1;
  18750. },
  18751. _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
  18752. this.$this = t0;
  18753. this.newParent = t1;
  18754. this.node = t2;
  18755. },
  18756. _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
  18757. this.$this = t0;
  18758. this.innerScope = t1;
  18759. },
  18760. _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
  18761. this.$this = t0;
  18762. this.innerScope = t1;
  18763. },
  18764. _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
  18765. this.innerScope = t0;
  18766. this.callback = t1;
  18767. },
  18768. _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
  18769. this.$this = t0;
  18770. this.innerScope = t1;
  18771. },
  18772. _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
  18773. },
  18774. _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
  18775. this.$this = t0;
  18776. this.innerScope = t1;
  18777. },
  18778. _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
  18779. this.$this = t0;
  18780. this.content = t1;
  18781. },
  18782. _EvaluateVisitor_visitDeclaration_closure3: function _EvaluateVisitor_visitDeclaration_closure3(t0) {
  18783. this.$this = t0;
  18784. },
  18785. _EvaluateVisitor_visitDeclaration_closure4: function _EvaluateVisitor_visitDeclaration_closure4(t0, t1) {
  18786. this.$this = t0;
  18787. this.children = t1;
  18788. },
  18789. _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
  18790. this.$this = t0;
  18791. this.node = t1;
  18792. this.nodeWithSpan = t2;
  18793. },
  18794. _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
  18795. this.$this = t0;
  18796. this.node = t1;
  18797. this.nodeWithSpan = t2;
  18798. },
  18799. _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
  18800. var _ = this;
  18801. _.$this = t0;
  18802. _.list = t1;
  18803. _.setVariables = t2;
  18804. _.node = t3;
  18805. },
  18806. _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
  18807. this.$this = t0;
  18808. this.setVariables = t1;
  18809. this.node = t2;
  18810. },
  18811. _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
  18812. this.$this = t0;
  18813. },
  18814. _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
  18815. this.$this = t0;
  18816. },
  18817. _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1, t2) {
  18818. this.$this = t0;
  18819. this.name = t1;
  18820. this.children = t2;
  18821. },
  18822. _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
  18823. this.$this = t0;
  18824. this.children = t1;
  18825. },
  18826. _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
  18827. },
  18828. _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
  18829. this.$this = t0;
  18830. this.node = t1;
  18831. },
  18832. _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
  18833. this.$this = t0;
  18834. this.node = t1;
  18835. },
  18836. _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
  18837. this.fromNumber = t0;
  18838. },
  18839. _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
  18840. this.toNumber = t0;
  18841. this.fromNumber = t1;
  18842. },
  18843. _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
  18844. var _ = this;
  18845. _._box_0 = t0;
  18846. _.$this = t1;
  18847. _.node = t2;
  18848. _.from = t3;
  18849. _.direction = t4;
  18850. _.fromNumber = t5;
  18851. },
  18852. _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
  18853. this.$this = t0;
  18854. },
  18855. _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
  18856. this.$this = t0;
  18857. this.node = t1;
  18858. },
  18859. _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
  18860. this.$this = t0;
  18861. this.node = t1;
  18862. },
  18863. _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0, t1) {
  18864. this._box_0 = t0;
  18865. this.$this = t1;
  18866. },
  18867. _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0) {
  18868. this.$this = t0;
  18869. },
  18870. _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
  18871. this.$this = t0;
  18872. this.$import = t1;
  18873. },
  18874. _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
  18875. this.$this = t0;
  18876. },
  18877. _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
  18878. },
  18879. _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
  18880. },
  18881. _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4, t5) {
  18882. var _ = this;
  18883. _.$this = t0;
  18884. _.result = t1;
  18885. _.stylesheet = t2;
  18886. _.loadsUserDefinedModules = t3;
  18887. _.environment = t4;
  18888. _.children = t5;
  18889. },
  18890. _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0, t1) {
  18891. this.$this = t0;
  18892. this.node = t1;
  18893. },
  18894. _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0) {
  18895. this.node = t0;
  18896. },
  18897. _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
  18898. this.$this = t0;
  18899. },
  18900. _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0, t1, t2, t3) {
  18901. var _ = this;
  18902. _.$this = t0;
  18903. _.contentCallable = t1;
  18904. _.mixin = t2;
  18905. _.nodeWithSpan = t3;
  18906. },
  18907. _EvaluateVisitor_visitIncludeRule__closure1: function _EvaluateVisitor_visitIncludeRule__closure1(t0, t1, t2) {
  18908. this.$this = t0;
  18909. this.mixin = t1;
  18910. this.nodeWithSpan = t2;
  18911. },
  18912. _EvaluateVisitor_visitIncludeRule___closure1: function _EvaluateVisitor_visitIncludeRule___closure1(t0, t1, t2) {
  18913. this.$this = t0;
  18914. this.mixin = t1;
  18915. this.nodeWithSpan = t2;
  18916. },
  18917. _EvaluateVisitor_visitIncludeRule____closure1: function _EvaluateVisitor_visitIncludeRule____closure1(t0, t1) {
  18918. this.$this = t0;
  18919. this.statement = t1;
  18920. },
  18921. _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
  18922. this.$this = t0;
  18923. this.queries = t1;
  18924. },
  18925. _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3, t4) {
  18926. var _ = this;
  18927. _.$this = t0;
  18928. _.mergedQueries = t1;
  18929. _.queries = t2;
  18930. _.mergedSources = t3;
  18931. _.node = t4;
  18932. },
  18933. _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
  18934. this.$this = t0;
  18935. this.node = t1;
  18936. },
  18937. _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
  18938. this.$this = t0;
  18939. this.node = t1;
  18940. },
  18941. _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
  18942. this.mergedSources = t0;
  18943. },
  18944. _EvaluateVisitor_visitStyleRule_closure9: function _EvaluateVisitor_visitStyleRule_closure9(t0, t1) {
  18945. this.$this = t0;
  18946. this.node = t1;
  18947. },
  18948. _EvaluateVisitor_visitStyleRule_closure10: function _EvaluateVisitor_visitStyleRule_closure10() {
  18949. },
  18950. _EvaluateVisitor_visitStyleRule_closure11: function _EvaluateVisitor_visitStyleRule_closure11(t0, t1, t2) {
  18951. this.$this = t0;
  18952. this.rule = t1;
  18953. this.node = t2;
  18954. },
  18955. _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
  18956. this.$this = t0;
  18957. this.node = t1;
  18958. },
  18959. _EvaluateVisitor_visitStyleRule_closure12: function _EvaluateVisitor_visitStyleRule_closure12() {
  18960. },
  18961. _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13() {
  18962. },
  18963. _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
  18964. this.$this = t0;
  18965. this.node = t1;
  18966. },
  18967. _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
  18968. this.$this = t0;
  18969. this.node = t1;
  18970. },
  18971. _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
  18972. },
  18973. _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
  18974. this.$this = t0;
  18975. this.node = t1;
  18976. this.override = t2;
  18977. },
  18978. _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
  18979. this.$this = t0;
  18980. this.node = t1;
  18981. },
  18982. _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
  18983. this.$this = t0;
  18984. this.node = t1;
  18985. this.value = t2;
  18986. },
  18987. _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
  18988. this.$this = t0;
  18989. this.node = t1;
  18990. },
  18991. _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
  18992. this.$this = t0;
  18993. this.node = t1;
  18994. },
  18995. _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
  18996. this.$this = t0;
  18997. this.node = t1;
  18998. },
  18999. _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
  19000. this.$this = t0;
  19001. },
  19002. _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
  19003. this.$this = t0;
  19004. this.node = t1;
  19005. },
  19006. _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1() {
  19007. },
  19008. _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
  19009. this.$this = t0;
  19010. this.node = t1;
  19011. },
  19012. _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
  19013. this.node = t0;
  19014. this.operand = t1;
  19015. },
  19016. _EvaluateVisitor__visitCalculationValue_closure1: function _EvaluateVisitor__visitCalculationValue_closure1(t0, t1, t2) {
  19017. this.$this = t0;
  19018. this.node = t1;
  19019. this.inMinMax = t2;
  19020. },
  19021. _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
  19022. this.$this = t0;
  19023. },
  19024. _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3(t0, t1) {
  19025. this.$this = t0;
  19026. this.node = t1;
  19027. },
  19028. _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
  19029. this._box_0 = t0;
  19030. this.$this = t1;
  19031. this.node = t2;
  19032. },
  19033. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
  19034. this.$this = t0;
  19035. this.node = t1;
  19036. this.$function = t2;
  19037. },
  19038. _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
  19039. var _ = this;
  19040. _.$this = t0;
  19041. _.callable = t1;
  19042. _.evaluated = t2;
  19043. _.nodeWithSpan = t3;
  19044. _.run = t4;
  19045. _.V = t5;
  19046. },
  19047. _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
  19048. var _ = this;
  19049. _.$this = t0;
  19050. _.evaluated = t1;
  19051. _.callable = t2;
  19052. _.nodeWithSpan = t3;
  19053. _.run = t4;
  19054. _.V = t5;
  19055. },
  19056. _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
  19057. var _ = this;
  19058. _.$this = t0;
  19059. _.evaluated = t1;
  19060. _.callable = t2;
  19061. _.nodeWithSpan = t3;
  19062. _.run = t4;
  19063. _.V = t5;
  19064. },
  19065. _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
  19066. },
  19067. _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
  19068. this.$this = t0;
  19069. this.callable = t1;
  19070. },
  19071. _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
  19072. this.overload = t0;
  19073. this.evaluated = t1;
  19074. this.namedSet = t2;
  19075. },
  19076. _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6(t0, t1) {
  19077. this.callback = t0;
  19078. this.evaluated = t1;
  19079. },
  19080. _EvaluateVisitor__runBuiltInCallable_closure7: function _EvaluateVisitor__runBuiltInCallable_closure7() {
  19081. },
  19082. _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
  19083. },
  19084. _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
  19085. this.$this = t0;
  19086. this.restNodeForSpan = t1;
  19087. },
  19088. _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
  19089. var _ = this;
  19090. _.$this = t0;
  19091. _.named = t1;
  19092. _.restNodeForSpan = t2;
  19093. _.namedNodes = t3;
  19094. },
  19095. _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
  19096. },
  19097. _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
  19098. this.restArgs = t0;
  19099. },
  19100. _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
  19101. this.$this = t0;
  19102. this.restNodeForSpan = t1;
  19103. this.restArgs = t2;
  19104. },
  19105. _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
  19106. var _ = this;
  19107. _.$this = t0;
  19108. _.named = t1;
  19109. _.restNodeForSpan = t2;
  19110. _.restArgs = t3;
  19111. },
  19112. _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
  19113. this.$this = t0;
  19114. this.keywordRestNodeForSpan = t1;
  19115. this.keywordRestArgs = t2;
  19116. },
  19117. _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
  19118. var _ = this;
  19119. _.$this = t0;
  19120. _.values = t1;
  19121. _.convert = t2;
  19122. _.expressionNode = t3;
  19123. _.map = t4;
  19124. _.nodeWithSpan = t5;
  19125. },
  19126. _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
  19127. this.$arguments = t0;
  19128. this.positional = t1;
  19129. this.named = t2;
  19130. },
  19131. _EvaluateVisitor_visitStringExpression_closure1: function _EvaluateVisitor_visitStringExpression_closure1(t0) {
  19132. this.$this = t0;
  19133. },
  19134. _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
  19135. this.$this = t0;
  19136. this.node = t1;
  19137. },
  19138. _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
  19139. },
  19140. _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
  19141. this.$this = t0;
  19142. this.node = t1;
  19143. },
  19144. _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
  19145. },
  19146. _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
  19147. this.$this = t0;
  19148. this.node = t1;
  19149. },
  19150. _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2, t3) {
  19151. var _ = this;
  19152. _.$this = t0;
  19153. _.mergedQueries = t1;
  19154. _.node = t2;
  19155. _.mergedSources = t3;
  19156. },
  19157. _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
  19158. this.$this = t0;
  19159. this.node = t1;
  19160. },
  19161. _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
  19162. this.$this = t0;
  19163. this.node = t1;
  19164. },
  19165. _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
  19166. this.mergedSources = t0;
  19167. },
  19168. _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3(t0, t1, t2) {
  19169. this.$this = t0;
  19170. this.rule = t1;
  19171. this.node = t2;
  19172. },
  19173. _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
  19174. this.$this = t0;
  19175. this.node = t1;
  19176. },
  19177. _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4() {
  19178. },
  19179. _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
  19180. this.$this = t0;
  19181. this.node = t1;
  19182. },
  19183. _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
  19184. this.$this = t0;
  19185. this.node = t1;
  19186. },
  19187. _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
  19188. },
  19189. _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
  19190. this.value = t0;
  19191. this.quote = t1;
  19192. },
  19193. _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
  19194. this.$this = t0;
  19195. this.expression = t1;
  19196. },
  19197. _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
  19198. },
  19199. _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
  19200. this.$this = t0;
  19201. },
  19202. _EvaluateVisitor__stackTrace_closure1: function _EvaluateVisitor__stackTrace_closure1(t0) {
  19203. this.$this = t0;
  19204. },
  19205. _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
  19206. this._evaluate0$_visitor = t0;
  19207. },
  19208. _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
  19209. },
  19210. _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
  19211. this.hasBeenMerged = t0;
  19212. },
  19213. _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
  19214. },
  19215. _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
  19216. },
  19217. _EvaluationContext1: function _EvaluationContext1(t0, t1) {
  19218. this._evaluate0$_visitor = t0;
  19219. this._evaluate0$_defaultWarnNodeWithSpan = t1;
  19220. },
  19221. _ArgumentResults1: function _ArgumentResults1(t0, t1, t2, t3, t4) {
  19222. var _ = this;
  19223. _.positional = t0;
  19224. _.positionalNodes = t1;
  19225. _.named = t2;
  19226. _.namedNodes = t3;
  19227. _.separator = t4;
  19228. },
  19229. _LoadedStylesheet1: function _LoadedStylesheet1(t0, t1, t2) {
  19230. this.stylesheet = t0;
  19231. this.importer = t1;
  19232. this.isDependency = t2;
  19233. },
  19234. EveryCssVisitor0: function EveryCssVisitor0() {
  19235. },
  19236. EveryCssVisitor_visitCssAtRule_closure0: function EveryCssVisitor_visitCssAtRule_closure0(t0) {
  19237. this.$this = t0;
  19238. },
  19239. EveryCssVisitor_visitCssKeyframeBlock_closure0: function EveryCssVisitor_visitCssKeyframeBlock_closure0(t0) {
  19240. this.$this = t0;
  19241. },
  19242. EveryCssVisitor_visitCssMediaRule_closure0: function EveryCssVisitor_visitCssMediaRule_closure0(t0) {
  19243. this.$this = t0;
  19244. },
  19245. EveryCssVisitor_visitCssStyleRule_closure0: function EveryCssVisitor_visitCssStyleRule_closure0(t0) {
  19246. this.$this = t0;
  19247. },
  19248. EveryCssVisitor_visitCssStylesheet_closure0: function EveryCssVisitor_visitCssStylesheet_closure0(t0) {
  19249. this.$this = t0;
  19250. },
  19251. EveryCssVisitor_visitCssSupportsRule_closure0: function EveryCssVisitor_visitCssSupportsRule_closure0(t0) {
  19252. this.$this = t0;
  19253. },
  19254. throwNodeException(exception, ascii, color, trace) {
  19255. var wasAscii, jsException, t1, trace0;
  19256. trace = trace;
  19257. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  19258. $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  19259. try {
  19260. t1 = A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]);
  19261. jsException = type$._NodeException._as(t1);
  19262. trace0 = A.getTrace0(exception);
  19263. trace = trace0 == null ? trace : trace0;
  19264. if (trace != null)
  19265. A.attachJsStack(jsException, trace);
  19266. A.jsThrow(jsException);
  19267. } finally {
  19268. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  19269. }
  19270. },
  19271. _NodeException: function _NodeException() {
  19272. },
  19273. exceptionClass_closure: function exceptionClass_closure() {
  19274. },
  19275. exceptionClass__closure: function exceptionClass__closure() {
  19276. },
  19277. exceptionClass__closure0: function exceptionClass__closure0() {
  19278. },
  19279. exceptionClass__closure1: function exceptionClass__closure1() {
  19280. },
  19281. SassException$0(message, span, loadedUrls) {
  19282. return new A.SassException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  19283. },
  19284. MultiSpanSassException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  19285. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  19286. return new A.MultiSpanSassException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  19287. },
  19288. SassRuntimeException$0(message, span, trace, loadedUrls) {
  19289. return new A.SassRuntimeException0(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  19290. },
  19291. MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  19292. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  19293. return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  19294. },
  19295. SassFormatException$0(message, span, loadedUrls) {
  19296. return new A.SassFormatException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  19297. },
  19298. MultiSpanSassFormatException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  19299. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  19300. return new A.MultiSpanSassFormatException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  19301. },
  19302. SassScriptException$0(message, argumentName) {
  19303. return new A.SassScriptException0(argumentName == null ? message : "$" + argumentName + ": " + message);
  19304. },
  19305. MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
  19306. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  19307. return new A.MultiSpanSassScriptException0(primaryLabel, t1, message);
  19308. },
  19309. SassException0: function SassException0(t0, t1, t2) {
  19310. this.loadedUrls = t0;
  19311. this._span_exception$_message = t1;
  19312. this._span = t2;
  19313. },
  19314. MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3, t4) {
  19315. var _ = this;
  19316. _.primaryLabel = t0;
  19317. _.secondarySpans = t1;
  19318. _.loadedUrls = t2;
  19319. _._span_exception$_message = t3;
  19320. _._span = t4;
  19321. },
  19322. SassRuntimeException0: function SassRuntimeException0(t0, t1, t2, t3) {
  19323. var _ = this;
  19324. _.trace = t0;
  19325. _.loadedUrls = t1;
  19326. _._span_exception$_message = t2;
  19327. _._span = t3;
  19328. },
  19329. MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4, t5) {
  19330. var _ = this;
  19331. _.trace = t0;
  19332. _.primaryLabel = t1;
  19333. _.secondarySpans = t2;
  19334. _.loadedUrls = t3;
  19335. _._span_exception$_message = t4;
  19336. _._span = t5;
  19337. },
  19338. SassFormatException0: function SassFormatException0(t0, t1, t2) {
  19339. this.loadedUrls = t0;
  19340. this._span_exception$_message = t1;
  19341. this._span = t2;
  19342. },
  19343. MultiSpanSassFormatException0: function MultiSpanSassFormatException0(t0, t1, t2, t3, t4) {
  19344. var _ = this;
  19345. _.primaryLabel = t0;
  19346. _.secondarySpans = t1;
  19347. _.loadedUrls = t2;
  19348. _._span_exception$_message = t3;
  19349. _._span = t4;
  19350. },
  19351. SassScriptException0: function SassScriptException0(t0) {
  19352. this.message = t0;
  19353. },
  19354. MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
  19355. this.primaryLabel = t0;
  19356. this.secondarySpans = t1;
  19357. this.message = t2;
  19358. },
  19359. Exports: function Exports() {
  19360. },
  19361. LoggerNamespace: function LoggerNamespace() {
  19362. },
  19363. _MakeExpressionCalculationSafe0: function _MakeExpressionCalculationSafe0() {
  19364. },
  19365. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0() {
  19366. },
  19367. ExtendRule0: function ExtendRule0(t0, t1, t2) {
  19368. this.selector = t0;
  19369. this.isOptional = t1;
  19370. this.span = t2;
  19371. },
  19372. Extension0: function Extension0(t0, t1, t2, t3, t4) {
  19373. var _ = this;
  19374. _.extender = t0;
  19375. _.target = t1;
  19376. _.mediaContext = t2;
  19377. _.isOptional = t3;
  19378. _.span = t4;
  19379. },
  19380. Extender0: function Extender0(t0, t1) {
  19381. this.selector = t0;
  19382. this.isOriginal = t1;
  19383. this._extension$_extension = null;
  19384. },
  19385. ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
  19386. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, t9, compound, t10, t11, _i0, simple, t12, _i1, t13, t14,
  19387. extender = A.ExtensionStore$_mode0(mode);
  19388. if (!selector.accept$1(B._IsInvisibleVisitor_true0))
  19389. extender._extension_store$_originals.addAll$1(0, selector.components);
  19390. 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) {
  19391. complex = t1[_i];
  19392. if (complex.leadingCombinators.length === 0) {
  19393. t9 = complex.components;
  19394. t9 = t9.length === 1 && B.JSArray_methods.get$first(t9).combinators.length === 0;
  19395. } else
  19396. t9 = false;
  19397. compound = t9 ? B.JSArray_methods.get$first(complex.components).selector : null;
  19398. if (compound == null)
  19399. throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + A.S(complex) + ".", null));
  19400. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  19401. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  19402. simple = t10[_i0];
  19403. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  19404. for (_i1 = 0; _i1 < t4; ++_i1) {
  19405. complex = t3[_i1];
  19406. complex.get$specificity();
  19407. t13 = new A.Extender0(complex, false);
  19408. t14 = new A.Extension0(t13, simple, null, true, span);
  19409. t13._extension$_extension = t14;
  19410. t12.$indexSet(0, complex, t14);
  19411. }
  19412. t9.$indexSet(0, simple, t12);
  19413. }
  19414. selector = extender._extension_store$_extendList$2(selector, t9);
  19415. }
  19416. return selector;
  19417. },
  19418. ExtensionStore$0() {
  19419. var t1 = type$.SimpleSelector_2;
  19420. 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);
  19421. },
  19422. ExtensionStore$_mode0(_mode) {
  19423. var t1 = type$.SimpleSelector_2;
  19424. 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);
  19425. },
  19426. ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
  19427. var _ = this;
  19428. _._extension_store$_selectors = t0;
  19429. _._extension_store$_extensions = t1;
  19430. _._extension_store$_extensionsByExtender = t2;
  19431. _._extension_store$_mediaContexts = t3;
  19432. _._extension_store$_sourceSpecificity = t4;
  19433. _._extension_store$_originals = t5;
  19434. _._extension_store$_mode = t6;
  19435. },
  19436. ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
  19437. },
  19438. ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0() {
  19439. },
  19440. ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
  19441. },
  19442. ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
  19443. },
  19444. ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
  19445. this.complex = t0;
  19446. },
  19447. ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
  19448. },
  19449. ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
  19450. },
  19451. ExtensionStore_addExtensions_closure1: function ExtensionStore_addExtensions_closure1(t0, t1) {
  19452. this._box_0 = t0;
  19453. this.$this = t1;
  19454. },
  19455. ExtensionStore_addExtensions__closure4: function ExtensionStore_addExtensions__closure4(t0, t1, t2, t3, t4) {
  19456. var _ = this;
  19457. _._box_0 = t0;
  19458. _.existingSources = t1;
  19459. _.extensionsForTarget = t2;
  19460. _.selectorsForTarget = t3;
  19461. _.target = t4;
  19462. },
  19463. ExtensionStore_addExtensions___closure0: function ExtensionStore_addExtensions___closure0() {
  19464. },
  19465. ExtensionStore_addExtensions_closure2: function ExtensionStore_addExtensions_closure2(t0, t1) {
  19466. this._box_0 = t0;
  19467. this.$this = t1;
  19468. },
  19469. ExtensionStore_addExtensions__closure2: function ExtensionStore_addExtensions__closure2(t0, t1) {
  19470. this.$this = t0;
  19471. this.newExtensions = t1;
  19472. },
  19473. ExtensionStore_addExtensions__closure3: function ExtensionStore_addExtensions__closure3(t0, t1) {
  19474. this.$this = t0;
  19475. this.newExtensions = t1;
  19476. },
  19477. ExtensionStore__extendComplex_closure0: function ExtensionStore__extendComplex_closure0(t0, t1, t2) {
  19478. this._box_0 = t0;
  19479. this.$this = t1;
  19480. this.complex = t2;
  19481. },
  19482. ExtensionStore__extendComplex__closure0: function ExtensionStore__extendComplex__closure0(t0, t1, t2) {
  19483. this._box_0 = t0;
  19484. this.$this = t1;
  19485. this.complex = t2;
  19486. },
  19487. ExtensionStore__extendCompound_closure2: function ExtensionStore__extendCompound_closure2() {
  19488. },
  19489. ExtensionStore__extendCompound_closure3: function ExtensionStore__extendCompound_closure3() {
  19490. },
  19491. ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
  19492. this.original = t0;
  19493. },
  19494. ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2) {
  19495. this.$this = t0;
  19496. this.extensions = t1;
  19497. this.targetsUsed = t2;
  19498. },
  19499. ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1) {
  19500. this.$this = t0;
  19501. this.withoutPseudo = t1;
  19502. },
  19503. ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
  19504. },
  19505. ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
  19506. },
  19507. ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
  19508. },
  19509. ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
  19510. },
  19511. ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
  19512. this.pseudo = t0;
  19513. },
  19514. ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0, t1) {
  19515. this.pseudo = t0;
  19516. this.selector = t1;
  19517. },
  19518. ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
  19519. this._box_0 = t0;
  19520. this.complex1 = t1;
  19521. },
  19522. ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
  19523. this._box_0 = t0;
  19524. this.complex1 = t1;
  19525. },
  19526. ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3) {
  19527. var _ = this;
  19528. _.$this = t0;
  19529. _.newSelectors = t1;
  19530. _.oldToNewSelectors = t2;
  19531. _.newMediaContexts = t3;
  19532. },
  19533. FiberClass: function FiberClass() {
  19534. },
  19535. Fiber: function Fiber() {
  19536. },
  19537. NodeToDartFileImporter: function NodeToDartFileImporter(t0) {
  19538. this._file0$_findFileUrl = t0;
  19539. },
  19540. FilesystemImporter$(loadPath) {
  19541. var _null = null;
  19542. return new A.FilesystemImporter0(A.absolute(loadPath, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  19543. },
  19544. FilesystemImporter0: function FilesystemImporter0(t0) {
  19545. this._filesystem$_loadPath = t0;
  19546. },
  19547. FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
  19548. },
  19549. ForRule$0(variable, from, to, children, span, exclusive) {
  19550. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  19551. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  19552. return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
  19553. },
  19554. ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
  19555. var _ = this;
  19556. _.variable = t0;
  19557. _.from = t1;
  19558. _.to = t2;
  19559. _.isExclusive = t3;
  19560. _.span = t4;
  19561. _.children = t5;
  19562. _.hasDeclarations = t6;
  19563. },
  19564. ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
  19565. var _ = this;
  19566. _.url = t0;
  19567. _.shownMixinsAndFunctions = t1;
  19568. _.shownVariables = t2;
  19569. _.hiddenMixinsAndFunctions = t3;
  19570. _.hiddenVariables = t4;
  19571. _.prefix = t5;
  19572. _.configuration = t6;
  19573. _.span = t7;
  19574. },
  19575. ForwardedModuleView_ifNecessary0(inner, rule, $T) {
  19576. var t1;
  19577. if (rule.prefix == null)
  19578. if (rule.shownMixinsAndFunctions == null)
  19579. if (rule.shownVariables == null) {
  19580. t1 = rule.hiddenMixinsAndFunctions;
  19581. if (t1 == null)
  19582. t1 = null;
  19583. else {
  19584. t1 = t1._base;
  19585. t1 = t1.get$isEmpty(t1);
  19586. }
  19587. if (t1 === true) {
  19588. t1 = rule.hiddenVariables;
  19589. if (t1 == null)
  19590. t1 = null;
  19591. else {
  19592. t1 = t1._base;
  19593. t1 = t1.get$isEmpty(t1);
  19594. }
  19595. t1 = t1 === true;
  19596. } else
  19597. t1 = false;
  19598. } else
  19599. t1 = false;
  19600. else
  19601. t1 = false;
  19602. else
  19603. t1 = false;
  19604. if (t1)
  19605. return inner;
  19606. else
  19607. return A.ForwardedModuleView$0(inner, rule, $T);
  19608. },
  19609. ForwardedModuleView$0(_inner, _rule, $T) {
  19610. var t1 = _rule.prefix,
  19611. t2 = _rule.shownVariables,
  19612. t3 = _rule.hiddenVariables,
  19613. t4 = _rule.shownMixinsAndFunctions,
  19614. t5 = _rule.hiddenMixinsAndFunctions;
  19615. 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>"));
  19616. },
  19617. ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
  19618. var t2,
  19619. t1 = prefix == null;
  19620. if (t1)
  19621. if (safelist == null)
  19622. if (blocklist != null) {
  19623. t2 = blocklist._base;
  19624. t2 = t2.get$isEmpty(t2);
  19625. } else
  19626. t2 = true;
  19627. else
  19628. t2 = false;
  19629. else
  19630. t2 = false;
  19631. if (t2)
  19632. return map;
  19633. if (!t1)
  19634. map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
  19635. if (safelist != null)
  19636. 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>"));
  19637. else {
  19638. if (blocklist != null) {
  19639. t1 = blocklist._base;
  19640. t1 = t1.get$isNotEmpty(t1);
  19641. } else
  19642. t1 = false;
  19643. if (t1)
  19644. map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  19645. }
  19646. return map;
  19647. },
  19648. ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
  19649. var _ = this;
  19650. _._forwarded_view0$_inner = t0;
  19651. _._forwarded_view0$_rule = t1;
  19652. _.variables = t2;
  19653. _.variableNodes = t3;
  19654. _.functions = t4;
  19655. _.mixins = t5;
  19656. _.$ti = t6;
  19657. },
  19658. FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3) {
  19659. var _ = this;
  19660. _.namespace = t0;
  19661. _.originalName = t1;
  19662. _.$arguments = t2;
  19663. _.span = t3;
  19664. },
  19665. JSFunction0: function JSFunction0() {
  19666. },
  19667. SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
  19668. this.name = t0;
  19669. this.$arguments = t1;
  19670. this.span = t2;
  19671. },
  19672. functionClass_closure: function functionClass_closure() {
  19673. },
  19674. functionClass__closure: function functionClass__closure() {
  19675. },
  19676. functionClass__closure0: function functionClass__closure0() {
  19677. },
  19678. SassFunction0: function SassFunction0(t0) {
  19679. this.callable = t0;
  19680. },
  19681. FunctionRule$0($name, $arguments, children, span, comment) {
  19682. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  19683. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  19684. return new A.FunctionRule0($name, $arguments, span, t1, t2);
  19685. },
  19686. FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4) {
  19687. var _ = this;
  19688. _.name = t0;
  19689. _.$arguments = t1;
  19690. _.span = t2;
  19691. _.children = t3;
  19692. _.hasDeclarations = t4;
  19693. },
  19694. unifyComplex0(complexes, span) {
  19695. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, newLeadingCombinator, base, newTrailingCombinator, _i, t5, t6, t7, t8, _null = null,
  19696. t1 = J.getInterceptor$asx(complexes);
  19697. if (t1.get$length(complexes) === 1)
  19698. return complexes;
  19699. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  19700. t3 = t2.get$current(t2);
  19701. if (t3.accept$1(B.C__IsUselessVisitor0))
  19702. return _null;
  19703. t4 = t3.components;
  19704. if (t4.length === 1 && t3.leadingCombinators.length !== 0) {
  19705. newLeadingCombinator = B.JSArray_methods.get$single(t3.leadingCombinators);
  19706. if (leadingCombinator != null)
  19707. t3 = !(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value));
  19708. else
  19709. t3 = false;
  19710. if (t3)
  19711. return _null;
  19712. leadingCombinator = newLeadingCombinator;
  19713. }
  19714. base = B.JSArray_methods.get$last(t4);
  19715. t3 = base.combinators;
  19716. if (t3.length !== 0) {
  19717. newTrailingCombinator = B.JSArray_methods.get$single(t3);
  19718. if (trailingCombinator != null)
  19719. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  19720. else
  19721. t3 = false;
  19722. if (t3)
  19723. return _null;
  19724. trailingCombinator = newTrailingCombinator;
  19725. }
  19726. if (unifiedBase == null)
  19727. unifiedBase = base.selector.components;
  19728. else
  19729. for (t3 = base.selector.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  19730. unifiedBase = t3[_i].unify$1(unifiedBase);
  19731. if (unifiedBase == null)
  19732. return _null;
  19733. }
  19734. }
  19735. t2 = type$.JSArray_ComplexSelector_2;
  19736. t3 = A._setArrayType([], t2);
  19737. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  19738. t5 = t4.get$current(t4);
  19739. t6 = t5.components;
  19740. t7 = t6.length;
  19741. if (t7 > 1) {
  19742. t8 = t5.leadingCombinators;
  19743. t3.push(A.ComplexSelector$0(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  19744. }
  19745. }
  19746. t4 = leadingCombinator == null ? B.List_empty14 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator_2);
  19747. unifiedBase.toString;
  19748. t5 = A.CompoundSelector$0(unifiedBase, span);
  19749. t6 = trailingCombinator == null ? B.List_empty14 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator_2);
  19750. 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()));
  19751. if (t3.length === 0)
  19752. t1 = A._setArrayType([base], t2);
  19753. else {
  19754. t1 = A.List_List$of(A.IterableExtension_get_exceptLast0(t3), true, type$.ComplexSelector_2);
  19755. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  19756. }
  19757. return A.weave0(t1, span, false);
  19758. },
  19759. unifyCompound0(compound1, compound2) {
  19760. var t1, t2, _i, unified,
  19761. result = compound2.components;
  19762. for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i, result = unified) {
  19763. unified = t1[_i].unify$1(result);
  19764. if (unified == null)
  19765. return null;
  19766. }
  19767. return A.CompoundSelector$0(result, compound1.span);
  19768. },
  19769. unifyUniversalAndElement0(selector1, selector2) {
  19770. var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
  19771. _s45_ = string$.must_b;
  19772. if (selector1 instanceof A.UniversalSelector0) {
  19773. namespace1 = selector1.namespace;
  19774. name1 = _null;
  19775. } else if (selector1 instanceof A.TypeSelector0) {
  19776. t1 = selector1.name;
  19777. namespace1 = t1.namespace;
  19778. name1 = t1.name;
  19779. } else
  19780. throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
  19781. if (selector2 instanceof A.UniversalSelector0) {
  19782. namespace2 = selector2.namespace;
  19783. name2 = _null;
  19784. } else if (selector2 instanceof A.TypeSelector0) {
  19785. t1 = selector2.name;
  19786. namespace2 = t1.namespace;
  19787. name2 = t1.name;
  19788. } else
  19789. throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
  19790. if (namespace1 == namespace2 || namespace2 === "*")
  19791. namespace = namespace1;
  19792. else {
  19793. if (namespace1 !== "*")
  19794. return _null;
  19795. namespace = namespace2;
  19796. }
  19797. if (name1 == name2 || name2 == null)
  19798. $name = name1;
  19799. else {
  19800. if (!(name1 == null || name1 === "*"))
  19801. return _null;
  19802. $name = name2;
  19803. }
  19804. t1 = selector1.span;
  19805. return $name == null ? new A.UniversalSelector0(namespace, t1) : new A.TypeSelector0(new A.QualifiedName0($name, namespace), t1);
  19806. },
  19807. weave0(complexes, span, forceLineBreak) {
  19808. var complex, t2, prefixes, t3, t4, t5, i, t6, t7, _i, t8, t9, _i0, parentPrefix, t10, t11,
  19809. t1 = J.getInterceptor$asx(complexes);
  19810. if (t1.get$length(complexes) === 1) {
  19811. complex = t1.get$first(complexes);
  19812. if (!forceLineBreak || complex.lineBreak)
  19813. return complexes;
  19814. return A._setArrayType([A.ComplexSelector$0(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector_2);
  19815. }
  19816. t2 = type$.JSArray_ComplexSelector_2;
  19817. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  19818. for (t1 = t1.skip$1(complexes, 1), t1 = t1.get$iterator(t1), t3 = type$.ComplexSelectorComponent_2; t1.moveNext$0();) {
  19819. t4 = t1.get$current(t1);
  19820. t5 = t4.components;
  19821. if (t5.length === 1) {
  19822. for (i = 0; i < prefixes.length; ++i)
  19823. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t4, span, forceLineBreak);
  19824. continue;
  19825. }
  19826. t6 = A._setArrayType([], t2);
  19827. for (t7 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t7 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  19828. t8 = A._weaveParents0(prefixes[_i], t4, span);
  19829. if (t8 == null)
  19830. t8 = B.List_empty15;
  19831. t9 = t8.length;
  19832. _i0 = 0;
  19833. for (; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
  19834. parentPrefix = t8[_i0];
  19835. t10 = B.JSArray_methods.get$last(t5);
  19836. t11 = A.List_List$of(parentPrefix.components, true, t3);
  19837. t11.push(t10);
  19838. t10 = parentPrefix.lineBreak || forceLineBreak;
  19839. t6.push(A.ComplexSelector$0(parentPrefix.leadingCombinators, t11, span, t10));
  19840. }
  19841. }
  19842. prefixes = t6;
  19843. }
  19844. return prefixes;
  19845. },
  19846. _weaveParents0(prefix, base, span) {
  19847. 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,
  19848. leadingCombinators = A._mergeLeadingCombinators0(prefix.leadingCombinators, base.leadingCombinators);
  19849. if (leadingCombinators == null)
  19850. return _null;
  19851. t1 = type$.ComplexSelectorComponent_2;
  19852. queue1 = A.ListQueue_ListQueue$of(prefix.components, t1);
  19853. queue2 = A.ListQueue_ListQueue$of(A.IterableExtension_get_exceptLast0(base.components), t1);
  19854. trailingCombinators = A._mergeTrailingCombinators0(queue1, queue2, span, _null);
  19855. if (trailingCombinators == null)
  19856. return _null;
  19857. rootish1 = A._firstIfRootish0(queue1);
  19858. rootish2 = A._firstIfRootish0(queue2);
  19859. t1 = rootish1 == null;
  19860. if (!t1 && rootish2 != null) {
  19861. rootish = A.unifyCompound0(rootish1.selector, rootish2.selector);
  19862. if (rootish == null)
  19863. return _null;
  19864. t1 = rootish1.combinators;
  19865. t2 = rootish1.span;
  19866. t3 = type$.CssValue_Combinator_2;
  19867. queue1.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(t1, t3), t2));
  19868. queue2.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  19869. } else if (!t1 || rootish2 != null) {
  19870. t1 = t1 ? rootish2 : rootish1;
  19871. t1.toString;
  19872. queue1.addFirst$1(t1);
  19873. queue2.addFirst$1(t1);
  19874. }
  19875. groups1 = A._groupSelectors0(queue1);
  19876. groups2 = A._groupSelectors0(queue2);
  19877. t1 = type$.List_ComplexSelectorComponent_2;
  19878. lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure3(span), t1);
  19879. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
  19880. 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) {
  19881. group = lcs[_i];
  19882. t5 = A._setArrayType([], t3);
  19883. 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) {
  19884. chunk = t6[_i0];
  19885. t8 = A._setArrayType([], t4);
  19886. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  19887. B.JSArray_methods.addAll$1(t8, t9.get$current(t9));
  19888. t5.push(t8);
  19889. }
  19890. choices.push(t5);
  19891. choices.push(A._setArrayType([group], t3));
  19892. groups1.removeFirst$0();
  19893. groups2.removeFirst$0();
  19894. }
  19895. t2 = A._setArrayType([], t3);
  19896. 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) {
  19897. chunk = t1[_i];
  19898. t5 = A._setArrayType([], t4);
  19899. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  19900. B.JSArray_methods.addAll$1(t5, t6.get$current(t6));
  19901. t2.push(t5);
  19902. }
  19903. choices.push(t2);
  19904. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  19905. t1 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  19906. 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();) {
  19907. t6 = t2.get$current(t2);
  19908. t7 = A._setArrayType([], t4);
  19909. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  19910. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  19911. t1.push(A.ComplexSelector$0(leadingCombinators, t7, span, !t3 || t5));
  19912. }
  19913. return t1;
  19914. },
  19915. _firstIfRootish0(queue) {
  19916. var first, t1, t2, _i, simple;
  19917. if (queue._collection$_head === queue._collection$_tail)
  19918. return null;
  19919. first = queue.get$first(queue);
  19920. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  19921. simple = t1[_i];
  19922. if (simple instanceof A.PseudoSelector0 && simple.isClass && $._rootishPseudoClasses0.contains$1(0, simple.normalizedName)) {
  19923. queue.removeFirst$0();
  19924. return first;
  19925. }
  19926. }
  19927. return null;
  19928. },
  19929. _mergeLeadingCombinators0(combinators1, combinators2) {
  19930. var t2, _null = null,
  19931. t1 = combinators1.length;
  19932. if (t1 > 1)
  19933. return _null;
  19934. t2 = combinators2.length;
  19935. if (t2 > 1)
  19936. return _null;
  19937. if (t1 === 0)
  19938. return combinators2;
  19939. if (t2 === 0)
  19940. return combinators1;
  19941. return B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  19942. },
  19943. _mergeTrailingCombinators0(components1, components2, span, result) {
  19944. var combinators1, combinators2, t1, t2, combinator1, combinator2, component1, component2, t3, t4, choices, unified, followingSiblingComponent, nextSiblingComponent, _null = null;
  19945. if (result == null)
  19946. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
  19947. combinators1 = components1._collection$_head === components1._collection$_tail ? B.List_empty14 : components1.get$last(components1).combinators;
  19948. combinators2 = components2._collection$_head === components2._collection$_tail ? B.List_empty14 : components2.get$last(components2).combinators;
  19949. t1 = combinators1.length;
  19950. t2 = t1 === 0;
  19951. if (t2 && combinators2.length === 0)
  19952. return result;
  19953. if (t1 > 1 || combinators2.length > 1)
  19954. return _null;
  19955. combinator1 = t2 ? _null : B.JSArray_methods.get$first(combinators1);
  19956. combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
  19957. t1 = combinator1 != null;
  19958. if (t1 && combinator2 != null) {
  19959. component1 = components1.removeLast$0(0);
  19960. component2 = components2.removeLast$0(0);
  19961. t1 = combinator1.value;
  19962. t2 = t1 === B.Combinator_Htt0;
  19963. if (t2 && combinator2.value === B.Combinator_Htt0) {
  19964. t1 = component1.selector;
  19965. t2 = component2.selector;
  19966. if (A.compoundIsSuperselector0(t1, t2, _null))
  19967. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19968. else {
  19969. t3 = type$.JSArray_ComplexSelectorComponent_2;
  19970. t4 = type$.JSArray_List_ComplexSelectorComponent_2;
  19971. if (A.compoundIsSuperselector0(t2, t1, _null))
  19972. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t3)], t4));
  19973. else {
  19974. choices = A._setArrayType([A._setArrayType([component1, component2], t3), A._setArrayType([component2, component1], t3)], t4);
  19975. unified = A.unifyCompound0(t1, t2);
  19976. if (unified != null)
  19977. 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));
  19978. result.addFirst$1(choices);
  19979. }
  19980. }
  19981. } else {
  19982. if (!(t2 && combinator2.value === B.Combinator_4QF0))
  19983. t3 = t1 === B.Combinator_4QF0 && combinator2.value === B.Combinator_Htt0;
  19984. else
  19985. t3 = true;
  19986. if (t3) {
  19987. followingSiblingComponent = t2 ? component1 : component2;
  19988. nextSiblingComponent = t2 ? component2 : component1;
  19989. t1 = type$.JSArray_ComplexSelectorComponent_2;
  19990. t2 = type$.JSArray_List_ComplexSelectorComponent_2;
  19991. if (A.compoundIsSuperselector0(followingSiblingComponent.selector, nextSiblingComponent.selector, _null))
  19992. result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingComponent], t1)], t2));
  19993. else {
  19994. unified = A.unifyCompound0(component1.selector, component2.selector);
  19995. t2 = A._setArrayType([A._setArrayType([followingSiblingComponent, nextSiblingComponent], t1)], t2);
  19996. if (unified != null)
  19997. t2.push(A._setArrayType([new A.ComplexSelectorComponent0(unified, A.List_List$unmodifiable(nextSiblingComponent.combinators, type$.CssValue_Combinator_2), span)], t1));
  19998. result.addFirst$1(t2);
  19999. }
  20000. } else {
  20001. if (t1 === B.Combinator_Cht0) {
  20002. t3 = combinator2.value;
  20003. t3 = t3 === B.Combinator_4QF0 || t3 === B.Combinator_Htt0;
  20004. } else
  20005. t3 = false;
  20006. if (t3) {
  20007. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  20008. components1._collection$_add$1(component1);
  20009. } else {
  20010. if (combinator2.value === B.Combinator_Cht0)
  20011. t1 = t1 === B.Combinator_4QF0 || t2;
  20012. else
  20013. t1 = false;
  20014. if (t1) {
  20015. result.addFirst$1(A._setArrayType([A._setArrayType([component1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  20016. components2._collection$_add$1(component2);
  20017. } else if (combinator1.$eq(0, combinator2)) {
  20018. unified = A.unifyCompound0(component1.selector, component2.selector);
  20019. if (unified == null)
  20020. return _null;
  20021. 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));
  20022. } else
  20023. return _null;
  20024. }
  20025. }
  20026. }
  20027. return A._mergeTrailingCombinators0(components1, components2, span, result);
  20028. } else if (t1) {
  20029. if (combinator1.value === B.Combinator_Cht0 && !components2.get$isEmpty(components2) && A.compoundIsSuperselector0(components2.get$last(components2).selector, components1.get$last(components1).selector, _null))
  20030. components2.removeLast$0(0);
  20031. result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  20032. return A._mergeTrailingCombinators0(components1, components2, span, result);
  20033. } else {
  20034. 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))
  20035. components1.removeLast$0(0);
  20036. result.addFirst$1(A._setArrayType([A._setArrayType([components2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  20037. return A._mergeTrailingCombinators0(components1, components2, span, result);
  20038. }
  20039. },
  20040. _mustUnify0(complex1, complex2) {
  20041. var t2, t3, t4,
  20042. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
  20043. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  20044. 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();)
  20045. t1.add$1(0, t3.get$current(t3));
  20046. if (t1._collection$_length === 0)
  20047. return false;
  20048. return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
  20049. },
  20050. _isUnique0(simple) {
  20051. var t1;
  20052. if (!(simple instanceof A.IDSelector0))
  20053. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  20054. else
  20055. t1 = true;
  20056. return t1;
  20057. },
  20058. _chunks0(queue1, queue2, done, $T) {
  20059. var chunk2, t2,
  20060. t1 = $T._eval$1("JSArray<0>"),
  20061. chunk1 = A._setArrayType([], t1);
  20062. for (; !done.call$1(queue1);)
  20063. chunk1.push(queue1.removeFirst$0());
  20064. chunk2 = A._setArrayType([], t1);
  20065. for (; !done.call$1(queue2);)
  20066. chunk2.push(queue2.removeFirst$0());
  20067. t1 = chunk1.length === 0;
  20068. if (t1 && chunk2.length === 0)
  20069. return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  20070. if (t1)
  20071. return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
  20072. if (chunk2.length === 0)
  20073. return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
  20074. t1 = A.List_List$of(chunk1, true, $T);
  20075. B.JSArray_methods.addAll$1(t1, chunk2);
  20076. t2 = A.List_List$of(chunk2, true, $T);
  20077. B.JSArray_methods.addAll$1(t2, chunk1);
  20078. return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  20079. },
  20080. paths0(choices, $T) {
  20081. 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));
  20082. },
  20083. _groupSelectors0(complex) {
  20084. var t2, t3, t4,
  20085. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
  20086. t1 = type$.JSArray_ComplexSelectorComponent_2,
  20087. group = A._setArrayType([], t1);
  20088. for (t2 = A._ListQueueIterator$(complex), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  20089. t4 = t2._collection$_current;
  20090. if (t4 == null)
  20091. t4 = t3._as(t4);
  20092. group.push(t4);
  20093. if (t4.combinators.length === 0) {
  20094. groups._add$1(group);
  20095. group = A._setArrayType([], t1);
  20096. }
  20097. }
  20098. if (group.length !== 0)
  20099. groups._add$1(group);
  20100. return groups;
  20101. },
  20102. listIsSuperselector0(list1, list2) {
  20103. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
  20104. },
  20105. _complexIsParentSuperselector0(complex1, complex2) {
  20106. var t1, base, t2;
  20107. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  20108. return false;
  20109. t1 = $.$get$bogusSpan0();
  20110. 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);
  20111. t1 = type$.ComplexSelectorComponent_2;
  20112. t2 = A.List_List$of(complex1, true, t1);
  20113. t2.push(base);
  20114. t1 = A.List_List$of(complex2, true, t1);
  20115. t1.push(base);
  20116. return A.complexIsSuperselector0(t2, t1);
  20117. },
  20118. complexIsSuperselector0(complex1, complex2) {
  20119. var t1, t2, t3, i1, i2, previousCombinator, remaining1, t4, remaining2, component1, t5, parents, endOfSubselector, component2, combinator1;
  20120. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  20121. return false;
  20122. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  20123. return false;
  20124. 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) {
  20125. remaining1 = complex1.length - i1;
  20126. t4 = complex2.length;
  20127. remaining2 = t4 - i2;
  20128. if (remaining1 === 0 || remaining2 === 0)
  20129. return false;
  20130. if (remaining1 > remaining2)
  20131. return false;
  20132. component1 = complex1[i1];
  20133. t5 = component1.combinators;
  20134. if (t5.length > 1)
  20135. return false;
  20136. if (remaining1 === 1) {
  20137. parents = B.JSArray_methods.sublist$2(complex2, i2, t4 - 1);
  20138. if (B.JSArray_methods.any$1(parents, new A.complexIsSuperselector_closure1()))
  20139. return false;
  20140. return A.compoundIsSuperselector0(component1.selector, B.JSArray_methods.get$last(complex2).selector, parents);
  20141. }
  20142. for (t4 = component1.selector, endOfSubselector = i2, parents = null; true;) {
  20143. component2 = complex2[endOfSubselector];
  20144. if (component2.combinators.length > 1)
  20145. return false;
  20146. if (A.compoundIsSuperselector0(t4, component2.selector, parents))
  20147. break;
  20148. ++endOfSubselector;
  20149. if (endOfSubselector === complex2.length - 1)
  20150. return false;
  20151. if (parents == null)
  20152. parents = A._setArrayType([], t1);
  20153. parents.push(component2);
  20154. }
  20155. if (!A._compatibleWithPreviousCombinator0(previousCombinator, parents == null ? B.List_empty13 : parents))
  20156. return false;
  20157. component2 = complex2[endOfSubselector];
  20158. combinator1 = A.IterableExtension_get_firstOrNull(t5);
  20159. if (!A._isSupercombinator0(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  20160. return false;
  20161. ++i1;
  20162. i2 = endOfSubselector + 1;
  20163. if (complex1.length - i1 === 1) {
  20164. t4 = combinator1 == null;
  20165. if (J.$eq$(t4 ? null : combinator1.value, B.Combinator_Htt0)) {
  20166. t4 = complex2.length - 1;
  20167. t5 = new A.SubListIterable(complex2, 0, t4, t2);
  20168. t5.SubListIterable$3(complex2, 0, t4, t3);
  20169. if (!t5.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure2(combinator1)))
  20170. return false;
  20171. } else if (!t4)
  20172. if (complex2.length - i2 > 1)
  20173. return false;
  20174. }
  20175. }
  20176. },
  20177. _compatibleWithPreviousCombinator0(previous, parents) {
  20178. if (parents.length === 0)
  20179. return true;
  20180. if (previous == null)
  20181. return true;
  20182. if (previous.value !== B.Combinator_Htt0)
  20183. return false;
  20184. return B.JSArray_methods.every$1(parents, new A._compatibleWithPreviousCombinator_closure0());
  20185. },
  20186. _isSupercombinator0(combinator1, combinator2) {
  20187. var t1, t2;
  20188. if (!J.$eq$(combinator1, combinator2)) {
  20189. t1 = combinator1 == null;
  20190. if (t1)
  20191. t2 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_Cht0);
  20192. else
  20193. t2 = false;
  20194. if (!t2)
  20195. if (J.$eq$(t1 ? null : combinator1.value, B.Combinator_Htt0))
  20196. t1 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_4QF0);
  20197. else
  20198. t1 = false;
  20199. else
  20200. t1 = true;
  20201. } else
  20202. t1 = true;
  20203. return t1;
  20204. },
  20205. compoundIsSuperselector0(compound1, compound2, parents) {
  20206. var t2, t3, t4, t5, t6, t7, t8, _i, simple1,
  20207. tuple1 = A._findPseudoElementIndexed0(compound1),
  20208. tuple2 = A._findPseudoElementIndexed0(compound2),
  20209. t1 = tuple1 == null;
  20210. if (!t1 && tuple2 != null) {
  20211. if (tuple1.item1.isSuperselector$1(tuple2.item1)) {
  20212. t1 = compound1.components;
  20213. t2 = tuple1.item2;
  20214. t3 = type$.int;
  20215. t4 = A._arrayInstanceType(t1)._precomputed1;
  20216. t5 = A.SubListIterable$(t1, 0, A.checkNotNullable(t2, "count", t3), t4);
  20217. t6 = compound2.components;
  20218. t7 = tuple2.item2;
  20219. t8 = A._arrayInstanceType(t6)._precomputed1;
  20220. 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);
  20221. } else
  20222. t1 = false;
  20223. return t1;
  20224. } else if (!t1 || tuple2 != null)
  20225. return false;
  20226. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  20227. simple1 = t1[_i];
  20228. if (simple1 instanceof A.PseudoSelector0 && simple1.selector != null) {
  20229. if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
  20230. return false;
  20231. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  20232. return false;
  20233. }
  20234. return true;
  20235. },
  20236. _findPseudoElementIndexed0(compound) {
  20237. var t1, t2, i, simple;
  20238. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  20239. simple = t1[i];
  20240. if (simple instanceof A.PseudoSelector0 && !simple.isClass)
  20241. return new A.Tuple2(simple, i, type$.Tuple2_PseudoSelector_int_2);
  20242. }
  20243. return null;
  20244. },
  20245. _compoundComponentsIsSuperselector0(compound1, compound2, parents) {
  20246. var t1;
  20247. if (compound1.get$length(compound1) === 0)
  20248. return true;
  20249. if (compound2.get$length(compound2) === 0)
  20250. compound2 = A._setArrayType([new A.UniversalSelector0("*", $.$get$bogusSpan0())], type$.JSArray_SimpleSelector_2);
  20251. t1 = $.$get$bogusSpan0();
  20252. return A.compoundIsSuperselector0(A.CompoundSelector$0(compound1, t1), A.CompoundSelector$0(compound2, t1), parents);
  20253. },
  20254. _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
  20255. var selector1_ = pseudo1.selector;
  20256. if (selector1_ == null)
  20257. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  20258. switch (pseudo1.normalizedName) {
  20259. case "is":
  20260. case "matches":
  20261. case "any":
  20262. case "where":
  20263. 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));
  20264. case "has":
  20265. case "host":
  20266. case "host-context":
  20267. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1_));
  20268. case "slotted":
  20269. return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1_));
  20270. case "not":
  20271. return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
  20272. case "current":
  20273. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1_));
  20274. case "nth-child":
  20275. case "nth-last-child":
  20276. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1_));
  20277. default:
  20278. throw A.wrapException("unreachable");
  20279. }
  20280. },
  20281. _selectorPseudoArgs0(compound, $name, isClass) {
  20282. var t1 = type$.WhereTypeIterable_PseudoSelector_2;
  20283. 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);
  20284. },
  20285. unifyComplex_closure0: function unifyComplex_closure0() {
  20286. },
  20287. _weaveParents_closure3: function _weaveParents_closure3(t0) {
  20288. this.span = t0;
  20289. },
  20290. _weaveParents_closure4: function _weaveParents_closure4(t0) {
  20291. this.group = t0;
  20292. },
  20293. _weaveParents_closure5: function _weaveParents_closure5() {
  20294. },
  20295. _weaveParents_closure6: function _weaveParents_closure6() {
  20296. },
  20297. _mustUnify_closure0: function _mustUnify_closure0(t0) {
  20298. this.uniqueSelectors = t0;
  20299. },
  20300. _mustUnify__closure0: function _mustUnify__closure0(t0) {
  20301. this.uniqueSelectors = t0;
  20302. },
  20303. paths_closure0: function paths_closure0(t0) {
  20304. this.T = t0;
  20305. },
  20306. paths__closure0: function paths__closure0(t0, t1) {
  20307. this.paths = t0;
  20308. this.T = t1;
  20309. },
  20310. paths___closure0: function paths___closure0(t0, t1) {
  20311. this.option = t0;
  20312. this.T = t1;
  20313. },
  20314. listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
  20315. this.list1 = t0;
  20316. },
  20317. listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
  20318. this.complex1 = t0;
  20319. },
  20320. complexIsSuperselector_closure1: function complexIsSuperselector_closure1() {
  20321. },
  20322. complexIsSuperselector_closure2: function complexIsSuperselector_closure2(t0) {
  20323. this.combinator1 = t0;
  20324. },
  20325. _compatibleWithPreviousCombinator_closure0: function _compatibleWithPreviousCombinator_closure0() {
  20326. },
  20327. _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
  20328. this.selector1 = t0;
  20329. },
  20330. _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
  20331. this.parents = t0;
  20332. this.compound2 = t1;
  20333. },
  20334. _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
  20335. this.selector1 = t0;
  20336. },
  20337. _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
  20338. this.selector1 = t0;
  20339. },
  20340. _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
  20341. this.compound2 = t0;
  20342. this.pseudo1 = t1;
  20343. },
  20344. _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
  20345. this.complex = t0;
  20346. this.pseudo1 = t1;
  20347. },
  20348. _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
  20349. this.simple2 = t0;
  20350. },
  20351. _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
  20352. this.simple2 = t0;
  20353. },
  20354. _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
  20355. this.selector1 = t0;
  20356. },
  20357. _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
  20358. this.pseudo1 = t0;
  20359. this.selector1 = t1;
  20360. },
  20361. _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
  20362. this.isClass = t0;
  20363. this.name = t1;
  20364. },
  20365. _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
  20366. },
  20367. globalFunctions_closure0: function globalFunctions_closure0() {
  20368. },
  20369. IDSelector0: function IDSelector0(t0, t1) {
  20370. this.name = t0;
  20371. this.span = t1;
  20372. },
  20373. IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
  20374. this.$this = t0;
  20375. },
  20376. IfExpression0: function IfExpression0(t0, t1) {
  20377. this.$arguments = t0;
  20378. this.span = t1;
  20379. },
  20380. IfClause$0(expression, children) {
  20381. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  20382. return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  20383. },
  20384. ElseClause$0(children) {
  20385. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  20386. return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  20387. },
  20388. IfRule0: function IfRule0(t0, t1, t2) {
  20389. this.clauses = t0;
  20390. this.lastClause = t1;
  20391. this.span = t2;
  20392. },
  20393. IfRule_toString_closure0: function IfRule_toString_closure0() {
  20394. },
  20395. IfRuleClause0: function IfRuleClause0() {
  20396. },
  20397. IfRuleClause$__closure0: function IfRuleClause$__closure0() {
  20398. },
  20399. IfRuleClause$___closure0: function IfRuleClause$___closure0() {
  20400. },
  20401. IfClause0: function IfClause0(t0, t1, t2) {
  20402. this.expression = t0;
  20403. this.children = t1;
  20404. this.hasDeclarations = t2;
  20405. },
  20406. ElseClause0: function ElseClause0(t0, t1) {
  20407. this.children = t0;
  20408. this.hasDeclarations = t1;
  20409. },
  20410. jsToDartList(list) {
  20411. return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
  20412. },
  20413. dartMapToImmutableMap(dartMap) {
  20414. var t1, t2,
  20415. immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
  20416. for (t1 = dartMap.get$entries(dartMap), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  20417. t2 = t1.get$current(t1);
  20418. immutableMap = J.$set$2$x(immutableMap, t2.key, t2.value);
  20419. }
  20420. return J.asImmutable$0$x(immutableMap);
  20421. },
  20422. immutableMapToDartMap(immutableMap) {
  20423. var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
  20424. J.forEach$1$x(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
  20425. return dartMap;
  20426. },
  20427. ImmutableList: function ImmutableList() {
  20428. },
  20429. ImmutableMap: function ImmutableMap() {
  20430. },
  20431. immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
  20432. this.dartMap = t0;
  20433. },
  20434. NodeImporter__addSassPath($async$includePaths) {
  20435. return A._makeSyncStarIterable(function() {
  20436. var includePaths = $async$includePaths;
  20437. var $async$goto = 0, $async$handler = 2, $async$currentError, sassPath, t1;
  20438. return function $async$NodeImporter__addSassPath($async$errorCode, $async$result) {
  20439. if ($async$errorCode === 1) {
  20440. $async$currentError = $async$result;
  20441. $async$goto = $async$handler;
  20442. }
  20443. while (true)
  20444. switch ($async$goto) {
  20445. case 0:
  20446. // Function start
  20447. $async$goto = 3;
  20448. return A._IterationMarker_yieldStar(includePaths);
  20449. case 3:
  20450. // after yield
  20451. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  20452. if (sassPath == null) {
  20453. // goto return
  20454. $async$goto = 1;
  20455. break;
  20456. }
  20457. t1 = self.process;
  20458. $async$goto = 4;
  20459. return A._IterationMarker_yieldStar(A._setArrayType(sassPath.split(J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32") ? ";" : ":"), type$.JSArray_String));
  20460. case 4:
  20461. // after yield
  20462. case 1:
  20463. // return
  20464. return A._IterationMarker_endOfIteration();
  20465. case 2:
  20466. // rethrow
  20467. return A._IterationMarker_uncaughtError($async$currentError);
  20468. }
  20469. };
  20470. }, type$.String);
  20471. },
  20472. NodeImporter: function NodeImporter(t0, t1, t2) {
  20473. this._implementation$_options = t0;
  20474. this._includePaths = t1;
  20475. this._implementation$_importers = t2;
  20476. },
  20477. NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
  20478. this.path = t0;
  20479. },
  20480. NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
  20481. },
  20482. ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2) {
  20483. var _ = this;
  20484. _.url = t0;
  20485. _.modifiers = t1;
  20486. _.span = t2;
  20487. _._node$_indexInParent = _._node$_parent = null;
  20488. _.isGroupEnd = false;
  20489. },
  20490. ImportCache$0(importers, loadPaths, logger, packageConfig) {
  20491. var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
  20492. t2 = type$.Uri,
  20493. t3 = A.ImportCache__toImporters0(importers, loadPaths, packageConfig);
  20494. 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));
  20495. },
  20496. ImportCache$none(logger) {
  20497. var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
  20498. t2 = type$.Uri;
  20499. 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));
  20500. },
  20501. ImportCache__toImporters0(importers, loadPaths, packageConfig) {
  20502. var t2, t3, t4, _i, path, _null = null,
  20503. sassPath = A.getEnvironmentVariable0("SASS_PATH"),
  20504. t1 = self.process;
  20505. if (t1 == null) {
  20506. t1 = A._setArrayType([], type$.JSArray_Importer);
  20507. if (importers != null)
  20508. B.JSArray_methods.addAll$1(t1, importers);
  20509. return t1;
  20510. }
  20511. t1 = A._setArrayType([], type$.JSArray_Importer);
  20512. if (importers != null)
  20513. B.JSArray_methods.addAll$1(t1, importers);
  20514. if (loadPaths != null)
  20515. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  20516. t3 = t2.get$current(t2);
  20517. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  20518. }
  20519. if (sassPath != null) {
  20520. t2 = self.process;
  20521. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  20522. t4 = t3.length;
  20523. _i = 0;
  20524. for (; _i < t4; ++_i) {
  20525. path = t3[_i];
  20526. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  20527. }
  20528. }
  20529. return t1;
  20530. },
  20531. ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5) {
  20532. var _ = this;
  20533. _._import_cache$_importers = t0;
  20534. _._import_cache$_logger = t1;
  20535. _._import_cache$_canonicalizeCache = t2;
  20536. _._import_cache$_relativeCanonicalizeCache = t3;
  20537. _._import_cache$_importCache = t4;
  20538. _._import_cache$_resultsCache = t5;
  20539. },
  20540. ImportCache_canonicalize_closure1: function ImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
  20541. var _ = this;
  20542. _.$this = t0;
  20543. _.baseUrl = t1;
  20544. _.url = t2;
  20545. _.baseImporter = t3;
  20546. _.forImport = t4;
  20547. },
  20548. ImportCache_canonicalize_closure2: function ImportCache_canonicalize_closure2(t0, t1, t2) {
  20549. this.$this = t0;
  20550. this.url = t1;
  20551. this.forImport = t2;
  20552. },
  20553. ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
  20554. this.importer = t0;
  20555. this.url = t1;
  20556. },
  20557. ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
  20558. var _ = this;
  20559. _.$this = t0;
  20560. _.importer = t1;
  20561. _.canonicalUrl = t2;
  20562. _.originalUrl = t3;
  20563. _.quiet = t4;
  20564. },
  20565. ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
  20566. this.canonicalUrl = t0;
  20567. },
  20568. ImportCache_humanize_closure3: function ImportCache_humanize_closure3() {
  20569. },
  20570. ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
  20571. },
  20572. ImportRule0: function ImportRule0(t0, t1) {
  20573. this.imports = t0;
  20574. this.span = t1;
  20575. },
  20576. NodeImporter0: function NodeImporter0() {
  20577. },
  20578. CanonicalizeOptions: function CanonicalizeOptions() {
  20579. },
  20580. NodeImporterResult0: function NodeImporterResult0() {
  20581. },
  20582. Importer0: function Importer0() {
  20583. },
  20584. NodeImporterResult1: function NodeImporterResult1() {
  20585. },
  20586. IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4) {
  20587. var _ = this;
  20588. _.namespace = t0;
  20589. _.name = t1;
  20590. _.$arguments = t2;
  20591. _.content = t3;
  20592. _.span = t4;
  20593. },
  20594. InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
  20595. this.name = t0;
  20596. this.$arguments = t1;
  20597. this.span = t2;
  20598. },
  20599. Interpolation$0(contents, span) {
  20600. var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), span);
  20601. t1.Interpolation$20(contents, span);
  20602. return t1;
  20603. },
  20604. Interpolation0: function Interpolation0(t0, t1) {
  20605. this.contents = t0;
  20606. this.span = t1;
  20607. },
  20608. Interpolation_toString_closure0: function Interpolation_toString_closure0() {
  20609. },
  20610. SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
  20611. this.expression = t0;
  20612. this.span = t1;
  20613. },
  20614. InterpolationBuffer0: function InterpolationBuffer0(t0, t1) {
  20615. this._interpolation_buffer0$_text = t0;
  20616. this._interpolation_buffer0$_contents = t1;
  20617. },
  20618. InterpolationMap$0(_interpolation, targetLocations) {
  20619. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  20620. t2 = _interpolation.contents.length,
  20621. expectedLocations = Math.max(0, t2 - 1);
  20622. if (t1.length !== expectedLocations)
  20623. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  20624. return new A.InterpolationMap0(_interpolation, t1);
  20625. },
  20626. InterpolationMap0: function InterpolationMap0(t0, t1) {
  20627. this._interpolation_map$_interpolation = t0;
  20628. this._interpolation_map$_targetLocations = t1;
  20629. },
  20630. InterpolationMap_mapException_closure0: function InterpolationMap_mapException_closure0() {
  20631. },
  20632. _realCasePath0(path) {
  20633. var prefix,
  20634. t1 = self.process;
  20635. if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  20636. t1 = self.process;
  20637. t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
  20638. } else
  20639. t1 = true;
  20640. if (!t1)
  20641. return path;
  20642. t1 = self.process;
  20643. if (J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  20644. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  20645. t1 = prefix.length;
  20646. if (t1 !== 0 && A.isAlphabetic1(B.JSString_methods._codeUnitAt$1(prefix, 0)))
  20647. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  20648. }
  20649. return new A._realCasePath_helper0().call$1(path);
  20650. },
  20651. _realCasePath_helper0: function _realCasePath_helper0() {
  20652. },
  20653. _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2) {
  20654. this.helper = t0;
  20655. this.dirname = t1;
  20656. this.path = t2;
  20657. },
  20658. _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
  20659. this.basename = t0;
  20660. },
  20661. ModifiableCssKeyframeBlock$0(selector, span) {
  20662. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  20663. return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  20664. },
  20665. ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
  20666. var _ = this;
  20667. _.selector = t0;
  20668. _.span = t1;
  20669. _.children = t2;
  20670. _._node$_children = t3;
  20671. _._node$_indexInParent = _._node$_parent = null;
  20672. _.isGroupEnd = false;
  20673. },
  20674. KeyframeSelectorParser$0(contents, interpolationMap, logger) {
  20675. var t1 = A.SpanScanner$(contents, null);
  20676. return new A.KeyframeSelectorParser0(t1, logger, interpolationMap);
  20677. },
  20678. KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1, t2) {
  20679. this.scanner = t0;
  20680. this.logger = t1;
  20681. this._parser0$_interpolationMap = t2;
  20682. },
  20683. KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
  20684. this.$this = t0;
  20685. },
  20686. LazyFileSpan0: function LazyFileSpan0(t0) {
  20687. this._lazy_file_span0$_builder = t0;
  20688. this._lazy_file_span0$_span = null;
  20689. },
  20690. render(options, callback) {
  20691. var fiber;
  20692. if (self.process == null)
  20693. A.jsThrow(new self.Error("The render() method is only available in Node.js."));
  20694. fiber = J.get$fiber$x(options);
  20695. if (fiber != null)
  20696. J.run$0$x(fiber.call$1(A.allowInterop(new A.render_closure(callback, options))));
  20697. else
  20698. A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
  20699. },
  20700. _renderAsync(options) {
  20701. var $async$goto = 0,
  20702. $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
  20703. $async$returnValue, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, result, start, t1, data, file;
  20704. var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20705. if ($async$errorCode === 1)
  20706. return A._asyncRethrow($async$result, $async$completer);
  20707. while (true)
  20708. switch ($async$goto) {
  20709. case 0:
  20710. // Function start
  20711. start = new A.DateTime(Date.now(), false);
  20712. t1 = J.getInterceptor$x(options);
  20713. data = t1.get$data(options);
  20714. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  20715. $async$goto = data != null ? 3 : 5;
  20716. break;
  20717. case 3:
  20718. // then
  20719. t2 = A._parseImporter(options, start);
  20720. t3 = A._parseFunctions(options, start, true);
  20721. t4 = t1.get$indentedSyntax(options);
  20722. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : null;
  20723. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  20724. t6 = J.$eq$(t1.get$indentType(options), "tab");
  20725. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  20726. t8 = A._parseLineFeed(t1.get$linefeed(options));
  20727. t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  20728. t10 = t1.get$quietDeps(options);
  20729. if (t10 == null)
  20730. t10 = false;
  20731. t11 = t1.get$verbose(options);
  20732. if (t11 == null)
  20733. t11 = false;
  20734. t12 = t1.get$charset(options);
  20735. if (t12 == null)
  20736. t12 = true;
  20737. t13 = A._enableSourceMaps(options);
  20738. t1 = t1.get$logger(options);
  20739. t14 = A.hasTerminal0();
  20740. t15 = $._glyphs;
  20741. $async$goto = 6;
  20742. 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);
  20743. case 6:
  20744. // returning from await.
  20745. result = $async$result;
  20746. // goto join
  20747. $async$goto = 4;
  20748. break;
  20749. case 5:
  20750. // else
  20751. $async$goto = file != null ? 7 : 9;
  20752. break;
  20753. case 7:
  20754. // then
  20755. t2 = A._parseImporter(options, start);
  20756. t3 = A._parseFunctions(options, start, true);
  20757. t4 = t1.get$indentedSyntax(options);
  20758. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : null;
  20759. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  20760. t6 = J.$eq$(t1.get$indentType(options), "tab");
  20761. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  20762. t8 = A._parseLineFeed(t1.get$linefeed(options));
  20763. t9 = t1.get$quietDeps(options);
  20764. if (t9 == null)
  20765. t9 = false;
  20766. t10 = t1.get$verbose(options);
  20767. if (t10 == null)
  20768. t10 = false;
  20769. t11 = t1.get$charset(options);
  20770. if (t11 == null)
  20771. t11 = true;
  20772. t12 = A._enableSourceMaps(options);
  20773. t1 = t1.get$logger(options);
  20774. t13 = A.hasTerminal0();
  20775. t14 = $._glyphs;
  20776. $async$goto = 10;
  20777. 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);
  20778. case 10:
  20779. // returning from await.
  20780. result = $async$result;
  20781. // goto join
  20782. $async$goto = 8;
  20783. break;
  20784. case 9:
  20785. // else
  20786. throw A.wrapException(A.ArgumentError$(string$.Either, null));
  20787. case 8:
  20788. // join
  20789. case 4:
  20790. // join
  20791. $async$returnValue = A._newRenderResult(options, result, start);
  20792. // goto return
  20793. $async$goto = 1;
  20794. break;
  20795. case 1:
  20796. // return
  20797. return A._asyncReturn($async$returnValue, $async$completer);
  20798. }
  20799. });
  20800. return A._asyncStartSync($async$_renderAsync, $async$completer);
  20801. },
  20802. renderSync(options) {
  20803. 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;
  20804. if (self.process == null)
  20805. A.jsThrow(new self.Error("The renderSync() method is only available in Node.js."));
  20806. try {
  20807. start = new A.DateTime(Date.now(), false);
  20808. result = null;
  20809. t1 = J.getInterceptor$x(options);
  20810. data = t1.get$data(options);
  20811. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  20812. if (data != null) {
  20813. t2 = A._parseImporter(options, start);
  20814. t3 = A._parseFunctions(options, start, false);
  20815. t4 = t1.get$indentedSyntax(options);
  20816. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : _null;
  20817. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  20818. t6 = J.$eq$(t1.get$indentType(options), "tab");
  20819. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  20820. t8 = A._parseLineFeed(t1.get$linefeed(options));
  20821. t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  20822. t10 = t1.get$quietDeps(options);
  20823. if (t10 == null)
  20824. t10 = false;
  20825. t11 = t1.get$verbose(options);
  20826. if (t11 == null)
  20827. t11 = false;
  20828. t12 = t1.get$charset(options);
  20829. if (t12 == null)
  20830. t12 = true;
  20831. t13 = A._enableSourceMaps(options);
  20832. t1 = t1.get$logger(options);
  20833. t14 = A.hasTerminal0();
  20834. t15 = $._glyphs;
  20835. 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);
  20836. } else if (file != null) {
  20837. t2 = A._parseImporter(options, start);
  20838. t3 = A._parseFunctions(options, start, false);
  20839. t4 = t1.get$indentedSyntax(options);
  20840. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : _null;
  20841. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  20842. t6 = J.$eq$(t1.get$indentType(options), "tab");
  20843. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  20844. t8 = A._parseLineFeed(t1.get$linefeed(options));
  20845. t9 = t1.get$quietDeps(options);
  20846. if (t9 == null)
  20847. t9 = false;
  20848. t10 = t1.get$verbose(options);
  20849. if (t10 == null)
  20850. t10 = false;
  20851. t11 = t1.get$charset(options);
  20852. if (t11 == null)
  20853. t11 = true;
  20854. t12 = A._enableSourceMaps(options);
  20855. t1 = t1.get$logger(options);
  20856. t13 = A.hasTerminal0();
  20857. t14 = $._glyphs;
  20858. 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);
  20859. } else {
  20860. t1 = A.ArgumentError$(string$.Either, _null);
  20861. throw A.wrapException(t1);
  20862. }
  20863. t1 = A._newRenderResult(options, result, start);
  20864. return t1;
  20865. } catch (exception) {
  20866. t1 = A.unwrapException(exception);
  20867. if (t1 instanceof A.SassException0) {
  20868. error = t1;
  20869. stackTrace = A.getTraceFromException(exception);
  20870. A.jsThrow(A._wrapException(error, stackTrace));
  20871. } else {
  20872. error0 = t1;
  20873. stackTrace0 = A.getTraceFromException(exception);
  20874. t1 = J.toString$0$(error0);
  20875. t2 = A.getTrace0(error0);
  20876. A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
  20877. }
  20878. }
  20879. },
  20880. _wrapException(exception, stackTrace) {
  20881. var file, t2, t3, t4,
  20882. t1 = A.SourceSpanException.prototype.get$span.call(exception, exception),
  20883. url = t1.get$sourceUrl(t1);
  20884. if (url == null)
  20885. file = "stdin";
  20886. else
  20887. file = url.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(url)) : url.toString$0(0);
  20888. t1 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
  20889. t2 = A.getTrace0(exception);
  20890. if (t2 == null)
  20891. t2 = stackTrace;
  20892. t3 = A.SourceSpanException.prototype.get$span.call(exception, exception);
  20893. t3 = t3.get$start(t3);
  20894. t3 = t3.file.getLine$1(t3.offset);
  20895. t4 = A.SourceSpanException.prototype.get$span.call(exception, exception);
  20896. t4 = t4.get$start(t4);
  20897. return A._newRenderError(t1, t2, t4.file.getColumn$1(t4.offset) + 1, file, t3 + 1, 1);
  20898. },
  20899. _parseFunctions(options, start, asynch) {
  20900. var result,
  20901. functions = J.get$functions$x(options);
  20902. if (functions == null)
  20903. return B.List_empty24;
  20904. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  20905. A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
  20906. return result;
  20907. },
  20908. _parseImporter(options, start) {
  20909. var importers, t2, t3, contextOptions, fiber,
  20910. t1 = J.getInterceptor$x(options);
  20911. if (t1.get$importer(options) == null)
  20912. importers = A._setArrayType([], type$.JSArray_JSFunction);
  20913. else {
  20914. t2 = type$.List_nullable_Object;
  20915. t3 = type$.JSFunction;
  20916. 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);
  20917. }
  20918. t2 = J.getInterceptor$asx(importers);
  20919. contextOptions = t2.get$isNotEmpty(importers) ? A._contextOptions(options, start) : new A.Object();
  20920. fiber = t1.get$fiber(options);
  20921. if (fiber != null) {
  20922. t2 = t2.map$1$1(importers, new A._parseImporter_closure(fiber), type$.JSFunction);
  20923. importers = A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E"));
  20924. }
  20925. t1 = t1.get$includePaths(options);
  20926. if (t1 == null)
  20927. t1 = [];
  20928. t2 = type$.String;
  20929. 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));
  20930. },
  20931. _contextOptions(options, start) {
  20932. var includePaths, t3, t4, t5, t6, t7,
  20933. t1 = J.getInterceptor$x(options),
  20934. t2 = t1.get$includePaths(options);
  20935. if (t2 == null)
  20936. t2 = [];
  20937. includePaths = A.List_List$from(t2, true, type$.String);
  20938. t2 = t1.get$file(options);
  20939. t3 = t1.get$data(options);
  20940. t4 = A._setArrayType([A.current()], type$.JSArray_String);
  20941. B.JSArray_methods.addAll$1(t4, includePaths);
  20942. t5 = self.process;
  20943. t4 = B.JSArray_methods.join$1(t4, J.$eq$(t5 == null ? null : J.get$platform$x(t5), "win32") ? ";" : ":");
  20944. t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
  20945. t6 = A._parseIndentWidth(t1.get$indentWidth(options));
  20946. if (t6 == null)
  20947. t6 = 2;
  20948. t7 = A._parseLineFeed(t1.get$linefeed(options));
  20949. t1 = t1.get$file(options);
  20950. if (t1 == null)
  20951. t1 = "data";
  20952. 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}}};
  20953. },
  20954. _parseOutputStyle(style) {
  20955. if (style == null || style === "expanded")
  20956. return B.OutputStyle_00;
  20957. if (style === "compressed")
  20958. return B.OutputStyle_10;
  20959. throw A.wrapException(A.ArgumentError$('Unsupported output style "' + A.S(style) + '".', null));
  20960. },
  20961. _parseIndentWidth(width) {
  20962. if (width == null)
  20963. return null;
  20964. return A._isInt(width) ? width : A.int_parse(J.toString$0$(width), null);
  20965. },
  20966. _parseLineFeed(str) {
  20967. switch (str) {
  20968. case "cr":
  20969. return B.LineFeed_oyU;
  20970. case "crlf":
  20971. return B.LineFeed_gg4;
  20972. case "lfcr":
  20973. return B.LineFeed_t2a;
  20974. default:
  20975. return B.LineFeed_SsD;
  20976. }
  20977. },
  20978. _newRenderResult(options, result, start) {
  20979. var t3, sourceMapOption, sourceMapPath, t4, sourceMapDir, outFile, t5, file, sourceMapDirUrl, i, source, t6, t7, buffer, indices, url, t8, t9, _null = null,
  20980. t1 = Date.now(),
  20981. t2 = result._compile_result$_serialize,
  20982. css = t2.css,
  20983. sourceMapBytes = type$.Null._as(self.undefined);
  20984. if (A._enableSourceMaps(options)) {
  20985. t3 = J.getInterceptor$x(options);
  20986. sourceMapOption = t3.get$sourceMap(options);
  20987. if (typeof sourceMapOption == "string")
  20988. sourceMapPath = sourceMapOption;
  20989. else {
  20990. t4 = t3.get$outFile(options);
  20991. t4.toString;
  20992. sourceMapPath = J.$add$ansx(t4, ".map");
  20993. }
  20994. t4 = $.$get$context();
  20995. sourceMapDir = t4.dirname$1(sourceMapPath);
  20996. t2 = t2.sourceMap;
  20997. t2.toString;
  20998. t2.sourceRoot = t3.get$sourceMapRoot(options);
  20999. outFile = t3.get$outFile(options);
  21000. t5 = outFile == null;
  21001. if (t5) {
  21002. file = t3.get$file(options);
  21003. if (file == null)
  21004. t2.targetUrl = "stdin.css";
  21005. else
  21006. t2.targetUrl = t4.toUri$1(t4.withoutExtension$1(file) + ".css").toString$0(0);
  21007. } else
  21008. t2.targetUrl = t4.toUri$1(t4.relative$2$from(outFile, sourceMapDir)).toString$0(0);
  21009. sourceMapDirUrl = t4.toUri$1(sourceMapDir).toString$0(0);
  21010. for (t4 = t2.urls, i = 0; i < t4.length; ++i) {
  21011. source = t4[i];
  21012. if (source === "stdin")
  21013. continue;
  21014. t6 = $.$get$url();
  21015. t7 = t6.style;
  21016. if (t7.rootLength$1(source) <= 0 || t7.isRootRelative$1(source))
  21017. continue;
  21018. t4[i] = t6.relative$2$from(source, sourceMapDirUrl);
  21019. }
  21020. t4 = t3.get$sourceMapContents(options);
  21021. sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t2.toJson$1$includeSourceContents(!J.$eq$(t4, false) && t4 != null), _null), "utf8");
  21022. t2 = t3.get$omitSourceMapUrl(options);
  21023. if (!(!J.$eq$(t2, false) && t2 != null)) {
  21024. t2 = t3.get$sourceMapEmbed(options);
  21025. if (!J.$eq$(t2, false) && t2 != null) {
  21026. buffer = new A.StringBuffer("");
  21027. indices = A._setArrayType([-1], type$.JSArray_int);
  21028. A.UriData__writeUri("application/json", _null, _null, buffer, indices);
  21029. indices.push(buffer._contents.length);
  21030. t2 = buffer._contents += ";base64,";
  21031. indices.push(t2.length - 1);
  21032. t2 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
  21033. t3 = sourceMapBytes.length;
  21034. A.RangeError_checkValidRange(0, t3, t3);
  21035. t2._convert$_add$4(sourceMapBytes, 0, t3, true);
  21036. t2 = buffer._contents;
  21037. url = new A.UriData(t2.charCodeAt(0) == 0 ? t2 : t2, indices, _null).get$uri();
  21038. } else {
  21039. if (t5)
  21040. t2 = sourceMapPath;
  21041. else {
  21042. t2 = $.$get$context();
  21043. t2 = t2.relative$2$from(sourceMapPath, t2.dirname$1(outFile));
  21044. }
  21045. url = $.$get$context().toUri$1(t2);
  21046. }
  21047. t2 = url.toString$0(0);
  21048. css += "\n\n/*# sourceMappingURL=" + A.stringReplaceAllUnchecked(t2, "*/", "%2A/") + " */";
  21049. }
  21050. }
  21051. t2 = self.Buffer.from(css, "utf8");
  21052. t3 = J.get$file$x(options);
  21053. if (t3 == null)
  21054. t3 = "data";
  21055. t4 = start._value;
  21056. t1 = new A.DateTime(t1, false)._value;
  21057. t5 = B.JSInt_methods._tdivFast$1(A.Duration$(t1 - t4)._duration, 1000);
  21058. t6 = A._setArrayType([], type$.JSArray_String);
  21059. for (t7 = result._evaluate.loadedUrls, t7 = A._LinkedHashSetIterator$(t7, t7._collection$_modifications), t8 = A._instanceType(t7)._precomputed1; t7.moveNext$0();) {
  21060. t9 = t7._collection$_current;
  21061. if (t9 == null)
  21062. t9 = t8._as(t9);
  21063. if (t9.get$scheme() === "file")
  21064. t6.push($.$get$context().style.pathFromUri$1(A._parseUri(t9)));
  21065. else
  21066. t6.push(t9.toString$0(0));
  21067. }
  21068. return {css: t2, map: sourceMapBytes, stats: {entry: t3, start: t4, end: t1, duration: t5, includedFiles: t6}};
  21069. },
  21070. _enableSourceMaps(options) {
  21071. var t2,
  21072. t1 = J.getInterceptor$x(options);
  21073. if (typeof t1.get$sourceMap(options) != "string") {
  21074. t2 = t1.get$sourceMap(options);
  21075. t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
  21076. } else
  21077. t1 = true;
  21078. return t1;
  21079. },
  21080. _newRenderError(message, stackTrace, column, file, line, $status) {
  21081. var error = new self.Error(message);
  21082. error.formatted = "Error: " + message;
  21083. if (line != null)
  21084. error.line = line;
  21085. if (column != null)
  21086. error.column = column;
  21087. if (file != null)
  21088. error.file = file;
  21089. error.status = $status;
  21090. A.attachJsStack(error, stackTrace);
  21091. return error;
  21092. },
  21093. render_closure: function render_closure(t0, t1) {
  21094. this.callback = t0;
  21095. this.options = t1;
  21096. },
  21097. render_closure0: function render_closure0(t0) {
  21098. this.callback = t0;
  21099. },
  21100. render_closure1: function render_closure1(t0) {
  21101. this.callback = t0;
  21102. },
  21103. _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
  21104. var _ = this;
  21105. _.options = t0;
  21106. _.start = t1;
  21107. _.result = t2;
  21108. _.asynch = t3;
  21109. },
  21110. _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
  21111. this.fiber = t0;
  21112. this.callback = t1;
  21113. this.context = t2;
  21114. },
  21115. _parseFunctions___closure0: function _parseFunctions___closure0(t0) {
  21116. this.currentFiber = t0;
  21117. },
  21118. _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
  21119. this.currentFiber = t0;
  21120. this.result = t1;
  21121. },
  21122. _parseFunctions___closure1: function _parseFunctions___closure1(t0) {
  21123. this.fiber = t0;
  21124. },
  21125. _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
  21126. this.callback = t0;
  21127. this.context = t1;
  21128. },
  21129. _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
  21130. this.callback = t0;
  21131. this.context = t1;
  21132. },
  21133. _parseFunctions___closure: function _parseFunctions___closure(t0) {
  21134. this.completer = t0;
  21135. },
  21136. _parseImporter_closure: function _parseImporter_closure(t0) {
  21137. this.fiber = t0;
  21138. },
  21139. _parseImporter__closure: function _parseImporter__closure(t0, t1) {
  21140. this.fiber = t0;
  21141. this.importer = t1;
  21142. },
  21143. _parseImporter___closure: function _parseImporter___closure(t0) {
  21144. this.currentFiber = t0;
  21145. },
  21146. _parseImporter____closure: function _parseImporter____closure(t0, t1) {
  21147. this.currentFiber = t0;
  21148. this.result = t1;
  21149. },
  21150. _parseImporter___closure0: function _parseImporter___closure0(t0) {
  21151. this.fiber = t0;
  21152. },
  21153. LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
  21154. var t2, key,
  21155. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  21156. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  21157. key = t2.get$current(t2);
  21158. if (!blocklist.contains$1(0, key))
  21159. t1.add$1(0, key);
  21160. }
  21161. return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
  21162. },
  21163. LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
  21164. this._limited_map_view0$_map = t0;
  21165. this._limited_map_view0$_keys = t1;
  21166. this.$ti = t2;
  21167. },
  21168. ListExpression0: function ListExpression0(t0, t1, t2, t3) {
  21169. var _ = this;
  21170. _.contents = t0;
  21171. _.separator = t1;
  21172. _.hasBrackets = t2;
  21173. _.span = t3;
  21174. },
  21175. ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
  21176. this.$this = t0;
  21177. },
  21178. _function10($name, $arguments, callback) {
  21179. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
  21180. },
  21181. _length_closure2: function _length_closure2() {
  21182. },
  21183. _nth_closure0: function _nth_closure0() {
  21184. },
  21185. _setNth_closure0: function _setNth_closure0() {
  21186. },
  21187. _join_closure0: function _join_closure0() {
  21188. },
  21189. _append_closure2: function _append_closure2() {
  21190. },
  21191. _zip_closure0: function _zip_closure0() {
  21192. },
  21193. _zip__closure2: function _zip__closure2() {
  21194. },
  21195. _zip__closure3: function _zip__closure3(t0) {
  21196. this._box_0 = t0;
  21197. },
  21198. _zip__closure4: function _zip__closure4(t0) {
  21199. this._box_0 = t0;
  21200. },
  21201. _index_closure2: function _index_closure2() {
  21202. },
  21203. _separator_closure0: function _separator_closure0() {
  21204. },
  21205. _isBracketed_closure0: function _isBracketed_closure0() {
  21206. },
  21207. _slash_closure0: function _slash_closure0() {
  21208. },
  21209. SelectorList$0(components, span) {
  21210. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
  21211. if (t1.length === 0)
  21212. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  21213. return new A.SelectorList0(t1, span);
  21214. },
  21215. SelectorList_SelectorList$parse0(contents, allowParent, allowPlaceholder, interpolationMap, logger) {
  21216. return A.SelectorParser$0(contents, allowParent, allowPlaceholder, interpolationMap, logger, null).parse$0();
  21217. },
  21218. SelectorList0: function SelectorList0(t0, t1) {
  21219. this.components = t0;
  21220. this.span = t1;
  21221. },
  21222. SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
  21223. },
  21224. SelectorList_resolveParentSelectors_closure0: function SelectorList_resolveParentSelectors_closure0(t0, t1, t2) {
  21225. this.$this = t0;
  21226. this.implicitParent = t1;
  21227. this.parent = t2;
  21228. },
  21229. SelectorList_resolveParentSelectors__closure1: function SelectorList_resolveParentSelectors__closure1(t0) {
  21230. this.complex = t0;
  21231. },
  21232. SelectorList_resolveParentSelectors__closure2: function SelectorList_resolveParentSelectors__closure2(t0) {
  21233. this.complex = t0;
  21234. },
  21235. SelectorList__resolveParentSelectorsCompound_closure2: function SelectorList__resolveParentSelectorsCompound_closure2() {
  21236. },
  21237. SelectorList__resolveParentSelectorsCompound_closure3: function SelectorList__resolveParentSelectorsCompound_closure3(t0) {
  21238. this.parent = t0;
  21239. },
  21240. SelectorList__resolveParentSelectorsCompound_closure4: function SelectorList__resolveParentSelectorsCompound_closure4(t0, t1, t2) {
  21241. this.parentSelector = t0;
  21242. this.resolvedSimples = t1;
  21243. this.component = t2;
  21244. },
  21245. SelectorList_withAdditionalCombinators_closure0: function SelectorList_withAdditionalCombinators_closure0(t0) {
  21246. this.combinators = t0;
  21247. },
  21248. _ParentSelectorVisitor0: function _ParentSelectorVisitor0() {
  21249. },
  21250. __ParentSelectorVisitor_Object_SelectorSearchVisitor0: function __ParentSelectorVisitor_Object_SelectorSearchVisitor0() {
  21251. },
  21252. _NodeSassList: function _NodeSassList() {
  21253. },
  21254. legacyListClass_closure: function legacyListClass_closure() {
  21255. },
  21256. legacyListClass__closure: function legacyListClass__closure() {
  21257. },
  21258. legacyListClass_closure0: function legacyListClass_closure0() {
  21259. },
  21260. legacyListClass_closure1: function legacyListClass_closure1() {
  21261. },
  21262. legacyListClass_closure2: function legacyListClass_closure2() {
  21263. },
  21264. legacyListClass_closure3: function legacyListClass_closure3() {
  21265. },
  21266. legacyListClass_closure4: function legacyListClass_closure4() {
  21267. },
  21268. listClass_closure: function listClass_closure() {
  21269. },
  21270. listClass__closure: function listClass__closure() {
  21271. },
  21272. listClass__closure0: function listClass__closure0() {
  21273. },
  21274. _ConstructorOptions: function _ConstructorOptions() {
  21275. },
  21276. SassList$0(contents, _separator, brackets) {
  21277. var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
  21278. t1.SassList$3$brackets0(contents, _separator, brackets);
  21279. return t1;
  21280. },
  21281. SassList0: function SassList0(t0, t1, t2) {
  21282. this._list1$_contents = t0;
  21283. this._list1$_separator = t1;
  21284. this._list1$_hasBrackets = t2;
  21285. },
  21286. SassList_isBlank_closure0: function SassList_isBlank_closure0() {
  21287. },
  21288. ListSeparator0: function ListSeparator0(t0, t1, t2) {
  21289. this._list1$_name = t0;
  21290. this.separator = t1;
  21291. this._name = t2;
  21292. },
  21293. NodeLogger: function NodeLogger() {
  21294. },
  21295. WarnOptions: function WarnOptions() {
  21296. },
  21297. DebugOptions: function DebugOptions() {
  21298. },
  21299. WarnForDeprecation_warnForDeprecation0(_this, deprecation, message, span, trace) {
  21300. if (_this instanceof A.DeprecationHandlingLogger0)
  21301. _this.warnForDeprecation$4$span$trace(deprecation, message, span, trace);
  21302. else if (!deprecation.isFuture)
  21303. _this.warn$4$deprecation$span$trace(0, message, true, span, trace);
  21304. },
  21305. _QuietLogger0: function _QuietLogger0() {
  21306. },
  21307. LoudComment0: function LoudComment0(t0) {
  21308. this.text = t0;
  21309. },
  21310. MapExpression0: function MapExpression0(t0, t1) {
  21311. this.pairs = t0;
  21312. this.span = t1;
  21313. },
  21314. MapExpression_toString_closure0: function MapExpression_toString_closure0() {
  21315. },
  21316. _modify0(map, keys, modify, addNesting) {
  21317. var keyIterator = J.get$iterator$ax(keys);
  21318. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  21319. },
  21320. _deepMergeImpl0(map1, map2) {
  21321. var t2, t3, result,
  21322. t1 = map1._map0$_contents;
  21323. if (t1.get$isEmpty(t1))
  21324. return map2;
  21325. t2 = map2._map0$_contents;
  21326. if (t2.get$isEmpty(t2))
  21327. return map1;
  21328. t3 = type$.Value_2;
  21329. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  21330. t2.forEach$1(0, new A._deepMergeImpl_closure0(result));
  21331. return new A.SassMap0(A.ConstantMap_ConstantMap$from(result, t3, t3));
  21332. },
  21333. _function9($name, $arguments, callback) {
  21334. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
  21335. },
  21336. _get_closure0: function _get_closure0() {
  21337. },
  21338. _set_closure1: function _set_closure1() {
  21339. },
  21340. _set__closure2: function _set__closure2(t0) {
  21341. this.$arguments = t0;
  21342. },
  21343. _set_closure2: function _set_closure2() {
  21344. },
  21345. _set__closure1: function _set__closure1(t0) {
  21346. this.args = t0;
  21347. },
  21348. _merge_closure1: function _merge_closure1() {
  21349. },
  21350. _merge_closure2: function _merge_closure2() {
  21351. },
  21352. _merge__closure0: function _merge__closure0(t0) {
  21353. this.map2 = t0;
  21354. },
  21355. _deepMerge_closure0: function _deepMerge_closure0() {
  21356. },
  21357. _deepRemove_closure0: function _deepRemove_closure0() {
  21358. },
  21359. _deepRemove__closure0: function _deepRemove__closure0(t0) {
  21360. this.keys = t0;
  21361. },
  21362. _remove_closure1: function _remove_closure1() {
  21363. },
  21364. _remove_closure2: function _remove_closure2() {
  21365. },
  21366. _keys_closure0: function _keys_closure0() {
  21367. },
  21368. _values_closure0: function _values_closure0() {
  21369. },
  21370. _hasKey_closure0: function _hasKey_closure0() {
  21371. },
  21372. _modify_modifyNestedMap0: function _modify_modifyNestedMap0(t0, t1, t2) {
  21373. this.keyIterator = t0;
  21374. this.modify = t1;
  21375. this.addNesting = t2;
  21376. },
  21377. _deepMergeImpl_closure0: function _deepMergeImpl_closure0(t0) {
  21378. this.result = t0;
  21379. },
  21380. _NodeSassMap: function _NodeSassMap() {
  21381. },
  21382. legacyMapClass_closure: function legacyMapClass_closure() {
  21383. },
  21384. legacyMapClass__closure: function legacyMapClass__closure() {
  21385. },
  21386. legacyMapClass__closure0: function legacyMapClass__closure0() {
  21387. },
  21388. legacyMapClass_closure0: function legacyMapClass_closure0() {
  21389. },
  21390. legacyMapClass_closure1: function legacyMapClass_closure1() {
  21391. },
  21392. legacyMapClass_closure2: function legacyMapClass_closure2() {
  21393. },
  21394. legacyMapClass_closure3: function legacyMapClass_closure3() {
  21395. },
  21396. legacyMapClass_closure4: function legacyMapClass_closure4() {
  21397. },
  21398. mapClass_closure: function mapClass_closure() {
  21399. },
  21400. mapClass__closure: function mapClass__closure() {
  21401. },
  21402. mapClass__closure0: function mapClass__closure0() {
  21403. },
  21404. mapClass__closure1: function mapClass__closure1() {
  21405. },
  21406. SassMap0: function SassMap0(t0) {
  21407. this._map0$_contents = t0;
  21408. },
  21409. SassMap_asList_closure0: function SassMap_asList_closure0(t0) {
  21410. this.result = t0;
  21411. },
  21412. _numberFunction0($name, transform) {
  21413. return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
  21414. },
  21415. _function8($name, $arguments, callback) {
  21416. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
  21417. },
  21418. _ceil_closure0: function _ceil_closure0() {
  21419. },
  21420. _clamp_closure0: function _clamp_closure0() {
  21421. },
  21422. _floor_closure0: function _floor_closure0() {
  21423. },
  21424. _max_closure0: function _max_closure0() {
  21425. },
  21426. _min_closure0: function _min_closure0() {
  21427. },
  21428. _round_closure0: function _round_closure0() {
  21429. },
  21430. _abs_closure0: function _abs_closure0() {
  21431. },
  21432. _hypot_closure0: function _hypot_closure0() {
  21433. },
  21434. _hypot__closure0: function _hypot__closure0() {
  21435. },
  21436. _log_closure0: function _log_closure0() {
  21437. },
  21438. _pow_closure0: function _pow_closure0() {
  21439. },
  21440. _sqrt_closure0: function _sqrt_closure0() {
  21441. },
  21442. _acos_closure0: function _acos_closure0() {
  21443. },
  21444. _asin_closure0: function _asin_closure0() {
  21445. },
  21446. _atan_closure0: function _atan_closure0() {
  21447. },
  21448. _atan2_closure0: function _atan2_closure0() {
  21449. },
  21450. _cos_closure0: function _cos_closure0() {
  21451. },
  21452. _sin_closure0: function _sin_closure0() {
  21453. },
  21454. _tan_closure0: function _tan_closure0() {
  21455. },
  21456. _compatible_closure0: function _compatible_closure0() {
  21457. },
  21458. _isUnitless_closure0: function _isUnitless_closure0() {
  21459. },
  21460. _unit_closure0: function _unit_closure0() {
  21461. },
  21462. _percentage_closure0: function _percentage_closure0() {
  21463. },
  21464. _randomFunction_closure0: function _randomFunction_closure0() {
  21465. },
  21466. _div_closure0: function _div_closure0() {
  21467. },
  21468. _numberFunction_closure0: function _numberFunction_closure0(t0) {
  21469. this.transform = t0;
  21470. },
  21471. CssMediaQuery_parseList0(contents, interpolationMap, logger) {
  21472. var t1 = A.SpanScanner$(contents, null);
  21473. return new A.MediaQueryParser0(t1, logger, interpolationMap).parse$0();
  21474. },
  21475. CssMediaQuery$type0(type, conditions, modifier) {
  21476. return new A.CssMediaQuery0(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  21477. },
  21478. CssMediaQuery$condition0(conditions, conjunction) {
  21479. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  21480. if (t1.length > 1 && conjunction == null)
  21481. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  21482. return new A.CssMediaQuery0(null, null, conjunction !== false, t1);
  21483. },
  21484. CssMediaQuery0: function CssMediaQuery0(t0, t1, t2, t3) {
  21485. var _ = this;
  21486. _.modifier = t0;
  21487. _.type = t1;
  21488. _.conjunction = t2;
  21489. _.conditions = t3;
  21490. },
  21491. _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0) {
  21492. this._media_query0$_name = t0;
  21493. },
  21494. MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
  21495. this.query = t0;
  21496. },
  21497. MediaQueryParser0: function MediaQueryParser0(t0, t1, t2) {
  21498. this.scanner = t0;
  21499. this.logger = t1;
  21500. this._parser0$_interpolationMap = t2;
  21501. },
  21502. MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
  21503. this.$this = t0;
  21504. },
  21505. ModifiableCssMediaRule$0(queries, span) {
  21506. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
  21507. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  21508. if (J.get$isEmpty$asx(queries))
  21509. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  21510. return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
  21511. },
  21512. ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
  21513. var _ = this;
  21514. _.queries = t0;
  21515. _.span = t1;
  21516. _.children = t2;
  21517. _._node$_children = t3;
  21518. _._node$_indexInParent = _._node$_parent = null;
  21519. _.isGroupEnd = false;
  21520. },
  21521. MediaRule$0(query, children, span) {
  21522. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  21523. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  21524. return new A.MediaRule0(query, span, t1, t2);
  21525. },
  21526. MediaRule0: function MediaRule0(t0, t1, t2, t3) {
  21527. var _ = this;
  21528. _.query = t0;
  21529. _.span = t1;
  21530. _.children = t2;
  21531. _.hasDeclarations = t3;
  21532. },
  21533. MergedExtension_merge0(left, right) {
  21534. var t2, t3, t4, t5,
  21535. t1 = left.extender.selector;
  21536. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  21537. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  21538. t2 = left.mediaContext;
  21539. t3 = t2 == null;
  21540. if (!t3) {
  21541. t4 = right.mediaContext;
  21542. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  21543. } else
  21544. t4 = false;
  21545. if (t4)
  21546. throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  21547. if (right.isOptional && right.mediaContext == null)
  21548. return left;
  21549. if (left.isOptional && t3)
  21550. return right;
  21551. t4 = left.target;
  21552. t5 = left.span;
  21553. if (t3)
  21554. t2 = right.mediaContext;
  21555. t1.get$specificity();
  21556. t1 = new A.Extender0(t1, false);
  21557. return t1._extension$_extension = new A.MergedExtension0(left, right, t1, t4, t2, true, t5);
  21558. },
  21559. MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
  21560. var _ = this;
  21561. _.left = t0;
  21562. _.right = t1;
  21563. _.extender = t2;
  21564. _.target = t3;
  21565. _.mediaContext = t4;
  21566. _.isOptional = t5;
  21567. _.span = t6;
  21568. },
  21569. MergedMapView$0(maps, $K, $V) {
  21570. var t1 = $K._eval$1("@<0>")._bind$1($V);
  21571. t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
  21572. t1.MergedMapView$10(maps, $K, $V);
  21573. return t1;
  21574. },
  21575. MergedMapView0: function MergedMapView0(t0, t1) {
  21576. this._merged_map_view$_mapsByKey = t0;
  21577. this.$ti = t1;
  21578. },
  21579. _function12($name, $arguments, callback) {
  21580. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
  21581. },
  21582. global_closure57: function global_closure57() {
  21583. },
  21584. global_closure58: function global_closure58() {
  21585. },
  21586. global_closure59: function global_closure59() {
  21587. },
  21588. global_closure60: function global_closure60() {
  21589. },
  21590. local_closure1: function local_closure1() {
  21591. },
  21592. local_closure2: function local_closure2() {
  21593. },
  21594. local__closure0: function local__closure0() {
  21595. },
  21596. MixinRule$0($name, $arguments, children, span, comment) {
  21597. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  21598. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  21599. return new A.MixinRule0($name, $arguments, span, t1, t2);
  21600. },
  21601. MixinRule0: function MixinRule0(t0, t1, t2, t3, t4) {
  21602. var _ = this;
  21603. _._mixin_rule$__MixinRule_hasContent_FI = $;
  21604. _.name = t0;
  21605. _.$arguments = t1;
  21606. _.span = t2;
  21607. _.children = t3;
  21608. _.hasDeclarations = t4;
  21609. },
  21610. _HasContentVisitor0: function _HasContentVisitor0() {
  21611. },
  21612. __HasContentVisitor_Object_StatementSearchVisitor0: function __HasContentVisitor_Object_StatementSearchVisitor0() {
  21613. },
  21614. ExtendMode0: function ExtendMode0(t0, t1) {
  21615. this.name = t0;
  21616. this._name = t1;
  21617. },
  21618. MultiSpan0: function MultiSpan0(t0, t1, t2) {
  21619. this._multi_span0$_primary = t0;
  21620. this.primaryLabel = t1;
  21621. this.secondarySpans = t2;
  21622. },
  21623. SupportsNegation0: function SupportsNegation0(t0, t1) {
  21624. this.condition = t0;
  21625. this.span = t1;
  21626. },
  21627. NoOpImporter0: function NoOpImporter0() {
  21628. },
  21629. NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
  21630. this._no_source_map_buffer0$_buffer = t0;
  21631. },
  21632. AstNode0: function AstNode0() {
  21633. },
  21634. _FakeAstNode0: function _FakeAstNode0(t0) {
  21635. this._node0$_callback = t0;
  21636. },
  21637. CssNode0: function CssNode0() {
  21638. },
  21639. CssParentNode0: function CssParentNode0() {
  21640. },
  21641. _IsInvisibleVisitor1: function _IsInvisibleVisitor1(t0, t1) {
  21642. this.includeBogus = t0;
  21643. this.includeComments = t1;
  21644. },
  21645. __IsInvisibleVisitor_Object_EveryCssVisitor0: function __IsInvisibleVisitor_Object_EveryCssVisitor0() {
  21646. },
  21647. printError0(message) {
  21648. var t1,
  21649. process_ = self.process;
  21650. if (process_ != null) {
  21651. t1 = J.get$stderr$x(process_);
  21652. J.write$1$x(t1, A.S(message) + "\n");
  21653. } else {
  21654. t1 = self.console;
  21655. J.error$1$x(t1, message);
  21656. }
  21657. },
  21658. readFile0(path) {
  21659. var contents, sourceFile, t1, i;
  21660. if (self.process == null)
  21661. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  21662. contents = A._asString(A._readFile0(path, "utf8"));
  21663. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  21664. return contents;
  21665. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  21666. for (t1 = contents.length, i = 0; i < t1; ++i) {
  21667. if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
  21668. continue;
  21669. throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  21670. }
  21671. return contents;
  21672. },
  21673. _readFile0(path, encoding) {
  21674. return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
  21675. },
  21676. fileExists0(path) {
  21677. if (self.process == null)
  21678. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  21679. return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
  21680. },
  21681. dirExists0(path) {
  21682. if (self.process == null)
  21683. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  21684. return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
  21685. },
  21686. listDir0(path) {
  21687. if (self.process == null)
  21688. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  21689. return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
  21690. },
  21691. getEnvironmentVariable0($name) {
  21692. var t1 = self.process,
  21693. env = t1 == null ? null : J.get$env$x(t1);
  21694. if (env == null)
  21695. t1 = null;
  21696. else
  21697. t1 = A._asStringQ(env[$name]);
  21698. return t1;
  21699. },
  21700. _systemErrorToFileSystemException0(callback) {
  21701. var error, t1, exception, t2;
  21702. try {
  21703. t1 = callback.call$0();
  21704. return t1;
  21705. } catch (exception) {
  21706. error = A.unwrapException(exception);
  21707. if (!type$.JsSystemError._is(error))
  21708. throw exception;
  21709. t1 = error;
  21710. t2 = J.getInterceptor$x(t1);
  21711. 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)));
  21712. }
  21713. },
  21714. hasTerminal0() {
  21715. var t1 = self.process;
  21716. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  21717. },
  21718. FileSystemException0: function FileSystemException0(t0, t1) {
  21719. this.message = t0;
  21720. this.path = t1;
  21721. },
  21722. _readFile_closure0: function _readFile_closure0(t0, t1) {
  21723. this.path = t0;
  21724. this.encoding = t1;
  21725. },
  21726. fileExists_closure0: function fileExists_closure0(t0) {
  21727. this.path = t0;
  21728. },
  21729. dirExists_closure0: function dirExists_closure0(t0) {
  21730. this.path = t0;
  21731. },
  21732. listDir_closure0: function listDir_closure0(t0, t1) {
  21733. this.recursive = t0;
  21734. this.path = t1;
  21735. },
  21736. listDir__closure1: function listDir__closure1(t0) {
  21737. this.path = t0;
  21738. },
  21739. listDir__closure2: function listDir__closure2() {
  21740. },
  21741. listDir_closure_list0: function listDir_closure_list0() {
  21742. },
  21743. listDir__list_closure0: function listDir__list_closure0(t0, t1) {
  21744. this.parent = t0;
  21745. this.list = t1;
  21746. },
  21747. ModifiableCssNode0: function ModifiableCssNode0() {
  21748. },
  21749. ModifiableCssNode_hasFollowingSibling_closure0: function ModifiableCssNode_hasFollowingSibling_closure0() {
  21750. },
  21751. ModifiableCssParentNode0: function ModifiableCssParentNode0() {
  21752. },
  21753. main() {
  21754. J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
  21755. J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
  21756. J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
  21757. J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
  21758. J.set$Value$x(self.exports, $.$get$valueClass());
  21759. J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
  21760. J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
  21761. J.set$SassColor$x(self.exports, $.$get$colorClass());
  21762. J.set$SassFunction$x(self.exports, $.$get$functionClass());
  21763. J.set$SassList$x(self.exports, $.$get$listClass());
  21764. J.set$SassMap$x(self.exports, $.$get$mapClass());
  21765. J.set$SassNumber$x(self.exports, $.$get$numberClass());
  21766. J.set$SassString$x(self.exports, $.$get$stringClass());
  21767. J.set$sassNull$x(self.exports, B.C__SassNull0);
  21768. J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
  21769. J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
  21770. J.set$Exception$x(self.exports, $.$get$exceptionClass());
  21771. 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())}});
  21772. J.set$info$x(self.exports, "dart-sass\t1.63.6\t(Sass Compiler)\t[Dart]\ndart2js\t3.0.5\t(Dart Compiler)\t[Dart]");
  21773. A.updateSourceSpanPrototype();
  21774. J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
  21775. J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
  21776. 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});
  21777. J.set$NULL$x(self.exports, B.C__SassNull0);
  21778. J.set$TRUE$x(self.exports, B.SassBoolean_true0);
  21779. J.set$FALSE$x(self.exports, B.SassBoolean_false0);
  21780. },
  21781. main_closure0: function main_closure0() {
  21782. },
  21783. main_closure1: function main_closure1() {
  21784. },
  21785. NodeToDartLogger: function NodeToDartLogger(t0, t1, t2) {
  21786. this._node = t0;
  21787. this._fallback = t1;
  21788. this._ascii = t2;
  21789. },
  21790. NodeToDartLogger_warn_closure: function NodeToDartLogger_warn_closure(t0, t1, t2, t3, t4) {
  21791. var _ = this;
  21792. _.$this = t0;
  21793. _.message = t1;
  21794. _.span = t2;
  21795. _.trace = t3;
  21796. _.deprecation = t4;
  21797. },
  21798. NodeToDartLogger_debug_closure: function NodeToDartLogger_debug_closure(t0, t1, t2) {
  21799. this.$this = t0;
  21800. this.message = t1;
  21801. this.span = t2;
  21802. },
  21803. NullExpression0: function NullExpression0(t0) {
  21804. this.span = t0;
  21805. },
  21806. legacyNullClass_closure: function legacyNullClass_closure() {
  21807. },
  21808. legacyNullClass__closure: function legacyNullClass__closure() {
  21809. },
  21810. _SassNull0: function _SassNull0() {
  21811. },
  21812. NumberExpression0: function NumberExpression0(t0, t1, t2) {
  21813. this.value = t0;
  21814. this.unit = t1;
  21815. this.span = t2;
  21816. },
  21817. _parseNumber(value, unit) {
  21818. var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
  21819. if (unit == null || unit.length === 0)
  21820. return A.SassNumber_SassNumber0(value, null);
  21821. if (!J.contains$1$asx(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
  21822. return A.SassNumber_SassNumber0(value, unit);
  21823. invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
  21824. operands = unit.split("/");
  21825. t1 = operands.length;
  21826. if (t1 > 2)
  21827. throw A.wrapException(invalidUnit);
  21828. numerator = operands[0];
  21829. denominator = t1 === 1 ? null : operands[1];
  21830. t1 = type$.JSArray_String;
  21831. numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
  21832. if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
  21833. throw A.wrapException(invalidUnit);
  21834. denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
  21835. if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
  21836. throw A.wrapException(invalidUnit);
  21837. return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
  21838. },
  21839. _NodeSassNumber: function _NodeSassNumber() {
  21840. },
  21841. legacyNumberClass_closure: function legacyNumberClass_closure() {
  21842. },
  21843. legacyNumberClass_closure0: function legacyNumberClass_closure0() {
  21844. },
  21845. legacyNumberClass_closure1: function legacyNumberClass_closure1() {
  21846. },
  21847. legacyNumberClass_closure2: function legacyNumberClass_closure2() {
  21848. },
  21849. legacyNumberClass_closure3: function legacyNumberClass_closure3() {
  21850. },
  21851. _parseNumber_closure: function _parseNumber_closure() {
  21852. },
  21853. _parseNumber_closure0: function _parseNumber_closure0() {
  21854. },
  21855. numberClass_closure: function numberClass_closure() {
  21856. },
  21857. numberClass__closure: function numberClass__closure() {
  21858. },
  21859. numberClass__closure0: function numberClass__closure0() {
  21860. },
  21861. numberClass__closure1: function numberClass__closure1() {
  21862. },
  21863. numberClass__closure2: function numberClass__closure2() {
  21864. },
  21865. numberClass__closure3: function numberClass__closure3() {
  21866. },
  21867. numberClass__closure4: function numberClass__closure4() {
  21868. },
  21869. numberClass__closure5: function numberClass__closure5() {
  21870. },
  21871. numberClass__closure6: function numberClass__closure6() {
  21872. },
  21873. numberClass__closure7: function numberClass__closure7() {
  21874. },
  21875. numberClass__closure8: function numberClass__closure8() {
  21876. },
  21877. numberClass__closure9: function numberClass__closure9() {
  21878. },
  21879. numberClass__closure10: function numberClass__closure10() {
  21880. },
  21881. numberClass__closure11: function numberClass__closure11() {
  21882. },
  21883. numberClass__closure12: function numberClass__closure12() {
  21884. },
  21885. numberClass__closure13: function numberClass__closure13() {
  21886. },
  21887. numberClass__closure14: function numberClass__closure14() {
  21888. },
  21889. numberClass__closure15: function numberClass__closure15() {
  21890. },
  21891. numberClass__closure16: function numberClass__closure16() {
  21892. },
  21893. numberClass__closure17: function numberClass__closure17() {
  21894. },
  21895. numberClass__closure18: function numberClass__closure18() {
  21896. },
  21897. numberClass__closure19: function numberClass__closure19() {
  21898. },
  21899. _ConstructorOptions0: function _ConstructorOptions0() {
  21900. },
  21901. conversionFactor0(unit1, unit2) {
  21902. var innerMap;
  21903. if (unit1 === unit2)
  21904. return 1;
  21905. innerMap = B.Map_nfuzN.$index(0, unit1);
  21906. if (innerMap == null)
  21907. return null;
  21908. return innerMap.$index(0, unit2);
  21909. },
  21910. SassNumber_SassNumber0(value, unit) {
  21911. return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
  21912. },
  21913. SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
  21914. var t1, numerators, t2, unsimplifiedDenominators, denominators, t3, valueDouble, _i, denominator, simplifiedAway, i, factor, _null = null;
  21915. if (denominatorUnits == null || J.get$isEmpty$asx(denominatorUnits))
  21916. if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
  21917. return new A.UnitlessSassNumber0(value, _null);
  21918. else {
  21919. t1 = J.getInterceptor$asx(numeratorUnits);
  21920. if (t1.get$length(numeratorUnits) === 1)
  21921. return new A.SingleUnitSassNumber0(t1.$index(numeratorUnits, 0), value, _null);
  21922. else
  21923. return new A.ComplexSassNumber0(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
  21924. }
  21925. else if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
  21926. return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
  21927. else {
  21928. t1 = J.getInterceptor$ax(numeratorUnits);
  21929. numerators = t1.toList$0(numeratorUnits);
  21930. t2 = J.getInterceptor$ax(denominatorUnits);
  21931. unsimplifiedDenominators = t2.toList$0(denominatorUnits);
  21932. denominators = A._setArrayType([], type$.JSArray_String);
  21933. for (t3 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t3 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  21934. denominator = unsimplifiedDenominators[_i];
  21935. i = 0;
  21936. while (true) {
  21937. if (!(i < numerators.length)) {
  21938. simplifiedAway = false;
  21939. break;
  21940. }
  21941. c$0: {
  21942. factor = A.conversionFactor0(denominator, numerators[i]);
  21943. if (factor == null)
  21944. break c$0;
  21945. valueDouble *= factor;
  21946. B.JSArray_methods.removeAt$1(numerators, i);
  21947. simplifiedAway = true;
  21948. break;
  21949. }
  21950. ++i;
  21951. }
  21952. if (!simplifiedAway)
  21953. denominators.push(denominator);
  21954. }
  21955. if (t2.get$isEmpty(denominatorUnits))
  21956. if (t1.get$isEmpty(numeratorUnits))
  21957. return new A.UnitlessSassNumber0(valueDouble, _null);
  21958. else if (t1.get$length(numeratorUnits) === 1)
  21959. return new A.SingleUnitSassNumber0(t1.get$single(numeratorUnits), valueDouble, _null);
  21960. t1 = type$.String;
  21961. return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  21962. }
  21963. },
  21964. SassNumber0: function SassNumber0() {
  21965. },
  21966. SassNumber__coerceOrConvertValue_compatibilityException0: function SassNumber__coerceOrConvertValue_compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
  21967. var _ = this;
  21968. _.$this = t0;
  21969. _.other = t1;
  21970. _.otherName = t2;
  21971. _.otherHasUnits = t3;
  21972. _.name = t4;
  21973. _.newNumerators = t5;
  21974. _.newDenominators = t6;
  21975. },
  21976. SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
  21977. this._box_0 = t0;
  21978. this.newNumerator = t1;
  21979. },
  21980. SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
  21981. this.compatibilityException = t0;
  21982. },
  21983. SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
  21984. this._box_0 = t0;
  21985. this.newDenominator = t1;
  21986. },
  21987. SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
  21988. this.compatibilityException = t0;
  21989. },
  21990. SassNumber_plus_closure0: function SassNumber_plus_closure0() {
  21991. },
  21992. SassNumber_minus_closure0: function SassNumber_minus_closure0() {
  21993. },
  21994. SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0, t1) {
  21995. this._box_0 = t0;
  21996. this.numerator = t1;
  21997. },
  21998. SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0, t1) {
  21999. this.newNumerators = t0;
  22000. this.numerator = t1;
  22001. },
  22002. SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0, t1) {
  22003. this._box_0 = t0;
  22004. this.numerator = t1;
  22005. },
  22006. SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0, t1) {
  22007. this.newNumerators = t0;
  22008. this.numerator = t1;
  22009. },
  22010. SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
  22011. this.units2 = t0;
  22012. },
  22013. SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
  22014. },
  22015. SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
  22016. this.$this = t0;
  22017. },
  22018. SassNumber_unitSuggestion_closure1: function SassNumber_unitSuggestion_closure1() {
  22019. },
  22020. SassNumber_unitSuggestion_closure2: function SassNumber_unitSuggestion_closure2() {
  22021. },
  22022. SupportsOperation$0(left, right, operator, span) {
  22023. var lowerOperator = operator.toLowerCase();
  22024. if (lowerOperator !== "and" && lowerOperator !== "or")
  22025. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  22026. return new A.SupportsOperation0(left, right, operator, span);
  22027. },
  22028. SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
  22029. var _ = this;
  22030. _.left = t0;
  22031. _.right = t1;
  22032. _.operator = t2;
  22033. _.span = t3;
  22034. },
  22035. ParentSelector0: function ParentSelector0(t0, t1) {
  22036. this.suffix = t0;
  22037. this.span = t1;
  22038. },
  22039. ParentStatement0: function ParentStatement0() {
  22040. },
  22041. ParentStatement_closure0: function ParentStatement_closure0() {
  22042. },
  22043. ParentStatement__closure0: function ParentStatement__closure0() {
  22044. },
  22045. ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
  22046. this.expression = t0;
  22047. this.span = t1;
  22048. },
  22049. Parser_isIdentifier0(text) {
  22050. var t1, t2, exception, logger = null;
  22051. try {
  22052. t1 = logger;
  22053. t2 = A.SpanScanner$(text, null);
  22054. new A.Parser1(t2, t1 == null ? B.StderrLogger_false0 : t1, null)._parser0$_parseIdentifier$0();
  22055. return true;
  22056. } catch (exception) {
  22057. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  22058. return false;
  22059. else
  22060. throw exception;
  22061. }
  22062. },
  22063. Parser1: function Parser1(t0, t1, t2) {
  22064. this.scanner = t0;
  22065. this.logger = t1;
  22066. this._parser0$_interpolationMap = t2;
  22067. },
  22068. Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
  22069. this.$this = t0;
  22070. },
  22071. Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
  22072. this.caseSensitive = t0;
  22073. this.char = t1;
  22074. },
  22075. Parser_spanFrom_closure0: function Parser_spanFrom_closure0(t0, t1) {
  22076. this.$this = t0;
  22077. this.span = t1;
  22078. },
  22079. PlaceholderSelector0: function PlaceholderSelector0(t0, t1) {
  22080. this.name = t0;
  22081. this.span = t1;
  22082. },
  22083. PlainCssCallable0: function PlainCssCallable0(t0) {
  22084. this.name = t0;
  22085. },
  22086. PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
  22087. this._prefixed_map_view0$_map = t0;
  22088. this._prefixed_map_view0$_prefix = t1;
  22089. this.$ti = t2;
  22090. },
  22091. _PrefixedKeys0: function _PrefixedKeys0(t0) {
  22092. this._prefixed_map_view0$_view = t0;
  22093. },
  22094. _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
  22095. this.$this = t0;
  22096. },
  22097. PseudoSelector$0($name, span, argument, element, selector) {
  22098. var t1 = !element,
  22099. t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
  22100. return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector, span);
  22101. },
  22102. PseudoSelector__isFakePseudoElement0($name) {
  22103. switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
  22104. case 97:
  22105. case 65:
  22106. return A.equalsIgnoreCase0($name, "after");
  22107. case 98:
  22108. case 66:
  22109. return A.equalsIgnoreCase0($name, "before");
  22110. case 102:
  22111. case 70:
  22112. return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
  22113. default:
  22114. return false;
  22115. }
  22116. },
  22117. PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5, t6) {
  22118. var _ = this;
  22119. _.name = t0;
  22120. _.normalizedName = t1;
  22121. _.isClass = t2;
  22122. _.isSyntacticClass = t3;
  22123. _.argument = t4;
  22124. _.selector = t5;
  22125. _._pseudo$__PseudoSelector_specificity_FI = $;
  22126. _.span = t6;
  22127. },
  22128. PseudoSelector_specificity_closure0: function PseudoSelector_specificity_closure0(t0) {
  22129. this.$this = t0;
  22130. },
  22131. PseudoSelector_specificity__closure1: function PseudoSelector_specificity__closure1() {
  22132. },
  22133. PseudoSelector_specificity__closure2: function PseudoSelector_specificity__closure2() {
  22134. },
  22135. PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
  22136. },
  22137. PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
  22138. this._public_member_map_view0$_inner = t0;
  22139. this.$ti = t1;
  22140. },
  22141. QualifiedName0: function QualifiedName0(t0, t1) {
  22142. this.name = t0;
  22143. this.namespace = t1;
  22144. },
  22145. createJSClass($name, $constructor) {
  22146. return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
  22147. },
  22148. JSClassExtension_injectSuperclass(_this, superclass) {
  22149. var t1 = J.getInterceptor$x(superclass),
  22150. t2 = J.getInterceptor$x(_this);
  22151. self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
  22152. self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
  22153. },
  22154. JSClassExtension_setCustomInspect(_this, inspect) {
  22155. if (self.util == null)
  22156. return;
  22157. J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
  22158. },
  22159. JSClassExtension_get_defineMethod(_this) {
  22160. return new A.JSClassExtension_get_defineMethod_closure(_this);
  22161. },
  22162. JSClassExtension_defineMethods(_this, methods) {
  22163. methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
  22164. },
  22165. JSClassExtension_get_defineGetter(_this) {
  22166. return new A.JSClassExtension_get_defineGetter_closure(_this);
  22167. },
  22168. JSClass0: function JSClass0() {
  22169. },
  22170. JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
  22171. this.inspect = t0;
  22172. },
  22173. JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
  22174. this._this = t0;
  22175. },
  22176. JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
  22177. this._this = t0;
  22178. },
  22179. RenderContext0: function RenderContext0() {
  22180. },
  22181. RenderContextOptions0: function RenderContextOptions0() {
  22182. },
  22183. RenderContextResult0: function RenderContextResult0() {
  22184. },
  22185. RenderContextResultStats0: function RenderContextResultStats0() {
  22186. },
  22187. RenderOptions: function RenderOptions() {
  22188. },
  22189. RenderResult: function RenderResult() {
  22190. },
  22191. RenderResultStats: function RenderResultStats() {
  22192. },
  22193. ReplaceExpressionVisitor0: function ReplaceExpressionVisitor0() {
  22194. },
  22195. ReplaceExpressionVisitor_visitListExpression_closure0: function ReplaceExpressionVisitor_visitListExpression_closure0(t0) {
  22196. this.$this = t0;
  22197. },
  22198. ReplaceExpressionVisitor_visitMapExpression_closure0: function ReplaceExpressionVisitor_visitMapExpression_closure0(t0) {
  22199. this.$this = t0;
  22200. },
  22201. ReplaceExpressionVisitor_visitArgumentInvocation_closure0: function ReplaceExpressionVisitor_visitArgumentInvocation_closure0(t0) {
  22202. this.$this = t0;
  22203. },
  22204. ReplaceExpressionVisitor_visitInterpolation_closure0: function ReplaceExpressionVisitor_visitInterpolation_closure0(t0) {
  22205. this.$this = t0;
  22206. },
  22207. ImporterResult$(contents, sourceMapUrl, syntax) {
  22208. var t2,
  22209. t1 = syntax == null;
  22210. if (t1)
  22211. t2 = B.Syntax_SCSS_scss0;
  22212. else
  22213. t2 = syntax;
  22214. if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
  22215. A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
  22216. else if (t1 && true)
  22217. A.throwExpression(A.ArgumentError$("The syntax parameter must be passed.", null));
  22218. return new A.ImporterResult0(contents, sourceMapUrl, t2);
  22219. },
  22220. ImporterResult0: function ImporterResult0(t0, t1, t2) {
  22221. this.contents = t0;
  22222. this._result$_sourceMapUrl = t1;
  22223. this.syntax = t2;
  22224. },
  22225. ReturnRule0: function ReturnRule0(t0, t1) {
  22226. this.expression = t0;
  22227. this.span = t1;
  22228. },
  22229. main1(args) {
  22230. return A.main$body(args);
  22231. },
  22232. main$body(args) {
  22233. var $async$goto = 0,
  22234. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  22235. $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;
  22236. var $async$main1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  22237. if ($async$errorCode === 1) {
  22238. $async$currentError = $async$result;
  22239. $async$goto = $async$handler;
  22240. }
  22241. while (true)
  22242. switch ($async$goto) {
  22243. case 0:
  22244. // Function start
  22245. _box_0 = {};
  22246. _box_0.printedError = false;
  22247. printError = new A.main_printError(_box_0);
  22248. if (J.$eq$(A.IterableExtension_get_firstOrNull(args), "--embedded")) {
  22249. A.main0(B.JSArray_methods.sublist$1(args, 1));
  22250. // goto return
  22251. $async$goto = 1;
  22252. break;
  22253. }
  22254. _box_0.options = null;
  22255. $async$handler = 4;
  22256. options = A.ExecutableOptions_ExecutableOptions$parse(args);
  22257. _box_0.options = options;
  22258. t1 = options._options;
  22259. $._glyphs = !(t1.wasParsed$1("unicode") ? A._asBool(t1.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  22260. $async$goto = A._asBool(_box_0.options._options.$index(0, "version")) ? 7 : 8;
  22261. break;
  22262. case 7:
  22263. // then
  22264. $async$temp1 = A;
  22265. $async$goto = 9;
  22266. return A._asyncAwait(A._loadVersion(), $async$main1);
  22267. case 9:
  22268. // returning from await.
  22269. $async$temp1.print($async$result);
  22270. t1 = self.process;
  22271. if (t1 != null)
  22272. J.set$exitCode$x(t1, 0);
  22273. // goto return
  22274. $async$goto = 1;
  22275. break;
  22276. case 8:
  22277. // join
  22278. $async$goto = _box_0.options.get$interactive() ? 10 : 11;
  22279. break;
  22280. case 10:
  22281. // then
  22282. $async$goto = 12;
  22283. return A._asyncAwait(A.repl(_box_0.options), $async$main1);
  22284. case 12:
  22285. // returning from await.
  22286. // goto return
  22287. $async$goto = 1;
  22288. break;
  22289. case 11:
  22290. // join
  22291. t1 = type$.List_String._as(_box_0.options._options.$index(0, "load-path"));
  22292. t2 = _box_0.options;
  22293. t2 = A._asBool(t2._options.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(t2.get$color());
  22294. t3 = type$.Uri;
  22295. 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));
  22296. $async$goto = A._asBool(_box_0.options._options.$index(0, "watch")) ? 13 : 14;
  22297. break;
  22298. case 13:
  22299. // then
  22300. $async$goto = 15;
  22301. return A._asyncAwait(A.watch(_box_0.options, graph), $async$main1);
  22302. case 15:
  22303. // returning from await.
  22304. // goto return
  22305. $async$goto = 1;
  22306. break;
  22307. case 14:
  22308. // join
  22309. t1 = _box_0.options, t1._ensureSources$0(), t1 = t1._sourcesToDestinations, t1 = J.get$iterator$ax(t1.get$keys(t1));
  22310. case 16:
  22311. // for condition
  22312. if (!t1.moveNext$0()) {
  22313. // goto after for
  22314. $async$goto = 17;
  22315. break;
  22316. }
  22317. source = t1.get$current(t1);
  22318. t2 = _box_0.options;
  22319. t2._ensureSources$0();
  22320. destination = t2._sourcesToDestinations.$index(0, source);
  22321. $async$handler = 19;
  22322. t2 = _box_0.options;
  22323. $async$goto = 22;
  22324. return A._asyncAwait(A.compileStylesheet(t2, graph, source, destination, A._asBool(t2._options.$index(0, "update"))), $async$main1);
  22325. case 22:
  22326. // returning from await.
  22327. $async$handler = 4;
  22328. // goto after finally
  22329. $async$goto = 21;
  22330. break;
  22331. case 19:
  22332. // catch
  22333. $async$handler = 18;
  22334. $async$exception = $async$currentError;
  22335. t2 = A.unwrapException($async$exception);
  22336. if (t2 instanceof A.SassException) {
  22337. error = t2;
  22338. stackTrace = A.getTraceFromException($async$exception);
  22339. new A.main_closure(_box_0, destination).call$0();
  22340. t2 = _box_0.options._options;
  22341. if (!t2._parser.options._map.containsKey$1("color"))
  22342. A.throwExpression(A.ArgumentError$('Could not find an option named "color".', null));
  22343. if (t2._parsed.containsKey$1("color"))
  22344. t2 = A._asBool(t2.$index(0, "color"));
  22345. else {
  22346. t2 = self.process;
  22347. t2 = J.$eq$(t2 == null ? null : J.get$isTTY$x(J.get$stdout$x(t2)), true);
  22348. }
  22349. t2 = J.toString$1$color$(error, t2);
  22350. if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
  22351. t3 = error;
  22352. t4 = typeof t3 != "string";
  22353. if (!t4 || typeof t3 == "number" || A._isBool(t3))
  22354. t3 = null;
  22355. else {
  22356. t5 = $.$get$_traces();
  22357. if (A._isBool(t3) || typeof t3 == "number" || !t4 || false)
  22358. A.Expando__badExpandoKey(t3);
  22359. t3 = t5._jsWeakMap.get(t3);
  22360. }
  22361. if (t3 == null)
  22362. t3 = stackTrace;
  22363. } else
  22364. t3 = null;
  22365. printError.call$2(t2, t3);
  22366. t2 = self.process;
  22367. t2 = t2 == null ? null : J.get$exitCode$x(t2);
  22368. if ((t2 == null ? 0 : t2) !== 66) {
  22369. t2 = self.process;
  22370. if (t2 != null)
  22371. J.set$exitCode$x(t2, 65);
  22372. }
  22373. if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
  22374. // goto return
  22375. $async$goto = 1;
  22376. break;
  22377. }
  22378. } else if (t2 instanceof A.FileSystemException) {
  22379. error0 = t2;
  22380. stackTrace0 = A.getTraceFromException($async$exception);
  22381. path = error0.path;
  22382. t2 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
  22383. if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
  22384. t3 = error0;
  22385. t4 = typeof t3 != "string";
  22386. if (!t4 || typeof t3 == "number" || A._isBool(t3))
  22387. t3 = null;
  22388. else {
  22389. t5 = $.$get$_traces();
  22390. if (A._isBool(t3) || typeof t3 == "number" || !t4 || false)
  22391. A.Expando__badExpandoKey(t3);
  22392. t3 = t5._jsWeakMap.get(t3);
  22393. }
  22394. if (t3 == null)
  22395. t3 = stackTrace0;
  22396. } else
  22397. t3 = null;
  22398. printError.call$2(t2, t3);
  22399. t3 = self.process;
  22400. if (t3 != null)
  22401. J.set$exitCode$x(t3, 66);
  22402. if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
  22403. // goto return
  22404. $async$goto = 1;
  22405. break;
  22406. }
  22407. } else
  22408. throw $async$exception;
  22409. // goto after finally
  22410. $async$goto = 21;
  22411. break;
  22412. case 18:
  22413. // uncaught
  22414. // goto catch
  22415. $async$goto = 4;
  22416. break;
  22417. case 21:
  22418. // after finally
  22419. // goto for condition
  22420. $async$goto = 16;
  22421. break;
  22422. case 17:
  22423. // after for
  22424. $async$handler = 2;
  22425. // goto after finally
  22426. $async$goto = 6;
  22427. break;
  22428. case 4:
  22429. // catch
  22430. $async$handler = 3;
  22431. $async$exception1 = $async$currentError;
  22432. t1 = A.unwrapException($async$exception1);
  22433. if (t1 instanceof A.UsageException) {
  22434. error1 = t1;
  22435. A.print(error1.message + "\n");
  22436. A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
  22437. t1 = $.$get$ExecutableOptions__parser();
  22438. A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
  22439. t1 = self.process;
  22440. if (t1 != null)
  22441. J.set$exitCode$x(t1, 64);
  22442. } else {
  22443. error2 = t1;
  22444. stackTrace1 = A.getTraceFromException($async$exception1);
  22445. buffer = new A.StringBuffer("");
  22446. t1 = _box_0.options;
  22447. if (t1 != null && t1.get$color())
  22448. buffer._contents += "\x1b[31m\x1b[1m";
  22449. buffer._contents += "Unexpected exception:";
  22450. t1 = _box_0.options;
  22451. if (t1 != null && t1.get$color())
  22452. buffer._contents += "\x1b[0m";
  22453. buffer._contents += "\n";
  22454. buffer._contents += A.S(error2) + "\n";
  22455. t1 = buffer._contents;
  22456. t2 = A.getTrace(error2);
  22457. if (t2 == null)
  22458. t2 = stackTrace1;
  22459. printError.call$2(t1.charCodeAt(0) == 0 ? t1 : t1, t2);
  22460. t2 = self.process;
  22461. if (t2 != null)
  22462. J.set$exitCode$x(t2, 255);
  22463. }
  22464. // goto after finally
  22465. $async$goto = 6;
  22466. break;
  22467. case 3:
  22468. // uncaught
  22469. // goto rethrow
  22470. $async$goto = 2;
  22471. break;
  22472. case 6:
  22473. // after finally
  22474. case 1:
  22475. // return
  22476. return A._asyncReturn($async$returnValue, $async$completer);
  22477. case 2:
  22478. // rethrow
  22479. return A._asyncRethrow($async$currentError, $async$completer);
  22480. }
  22481. });
  22482. return A._asyncStartSync($async$main1, $async$completer);
  22483. },
  22484. _loadVersion() {
  22485. var $async$goto = 0,
  22486. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  22487. $async$returnValue;
  22488. var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  22489. if ($async$errorCode === 1)
  22490. return A._asyncRethrow($async$result, $async$completer);
  22491. while (true)
  22492. switch ($async$goto) {
  22493. case 0:
  22494. // Function start
  22495. $async$returnValue = "1.63.6 compiled with dart2js 3.0.5";
  22496. // goto return
  22497. $async$goto = 1;
  22498. break;
  22499. case 1:
  22500. // return
  22501. return A._asyncReturn($async$returnValue, $async$completer);
  22502. }
  22503. });
  22504. return A._asyncStartSync($async$_loadVersion, $async$completer);
  22505. },
  22506. main_printError: function main_printError(t0) {
  22507. this._box_0 = t0;
  22508. },
  22509. main_closure: function main_closure(t0, t1) {
  22510. this._box_0 = t0;
  22511. this.destination = t1;
  22512. },
  22513. SassParser0: function SassParser0(t0, t1, t2, t3) {
  22514. var _ = this;
  22515. _._sass0$_currentIndentation = 0;
  22516. _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
  22517. _._stylesheet0$_isUseAllowed = true;
  22518. _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  22519. _._stylesheet0$_globalVariables = t0;
  22520. _.lastSilentComment = null;
  22521. _.scanner = t1;
  22522. _.logger = t2;
  22523. _._parser0$_interpolationMap = t3;
  22524. },
  22525. SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
  22526. this.$this = t0;
  22527. this.child = t1;
  22528. this.children = t2;
  22529. },
  22530. _translateReturnValue(val) {
  22531. if (type$.Future_dynamic._is(val))
  22532. return A.futureToPromise(val, type$.dynamic);
  22533. else
  22534. return val;
  22535. },
  22536. main2() {
  22537. new Uint8Array(0);
  22538. A.main();
  22539. J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
  22540. },
  22541. _wrapMain(main) {
  22542. if (type$.dynamic_Function._is(main))
  22543. return A.allowInterop(new A._wrapMain_closure(main));
  22544. else
  22545. return A.allowInterop(new A._wrapMain_closure0(main));
  22546. },
  22547. _Exports: function _Exports() {
  22548. },
  22549. _wrapMain_closure: function _wrapMain_closure(t0) {
  22550. this.main = t0;
  22551. },
  22552. _wrapMain_closure0: function _wrapMain_closure0(t0) {
  22553. this.main = t0;
  22554. },
  22555. ScssParser$0(contents, logger, url) {
  22556. var t1 = A.SpanScanner$(contents, url),
  22557. t2 = logger == null ? B.StderrLogger_false0 : logger;
  22558. return new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2, null);
  22559. },
  22560. ScssParser0: function ScssParser0(t0, t1, t2, t3) {
  22561. var _ = this;
  22562. _._stylesheet0$_isUseAllowed = true;
  22563. _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  22564. _._stylesheet0$_globalVariables = t0;
  22565. _.lastSilentComment = null;
  22566. _.scanner = t1;
  22567. _.logger = t2;
  22568. _._parser0$_interpolationMap = t3;
  22569. },
  22570. Selector0: function Selector0() {
  22571. },
  22572. _IsInvisibleVisitor2: function _IsInvisibleVisitor2(t0) {
  22573. this.includeBogus = t0;
  22574. },
  22575. _IsBogusVisitor0: function _IsBogusVisitor0(t0) {
  22576. this.includeLeadingCombinator = t0;
  22577. },
  22578. _IsBogusVisitor_visitComplexSelector_closure0: function _IsBogusVisitor_visitComplexSelector_closure0(t0) {
  22579. this.$this = t0;
  22580. },
  22581. _IsUselessVisitor0: function _IsUselessVisitor0() {
  22582. },
  22583. _IsUselessVisitor_visitComplexSelector_closure0: function _IsUselessVisitor_visitComplexSelector_closure0(t0) {
  22584. this.$this = t0;
  22585. },
  22586. __IsBogusVisitor_Object_AnySelectorVisitor0: function __IsBogusVisitor_Object_AnySelectorVisitor0() {
  22587. },
  22588. __IsInvisibleVisitor_Object_AnySelectorVisitor0: function __IsInvisibleVisitor_Object_AnySelectorVisitor0() {
  22589. },
  22590. __IsUselessVisitor_Object_AnySelectorVisitor0: function __IsUselessVisitor_Object_AnySelectorVisitor0() {
  22591. },
  22592. SelectorExpression0: function SelectorExpression0(t0) {
  22593. this.span = t0;
  22594. },
  22595. _prependParent0(compound) {
  22596. var span, t2, _null = null,
  22597. t1 = compound.components,
  22598. first = B.JSArray_methods.get$first(t1);
  22599. if (first instanceof A.UniversalSelector0)
  22600. return _null;
  22601. span = A.EvaluationContext_current0().get$currentCallableSpan();
  22602. if (first instanceof A.TypeSelector0) {
  22603. t2 = first.name;
  22604. if (t2.namespace != null)
  22605. return _null;
  22606. t2 = A._setArrayType([new A.ParentSelector0(t2.name, span)], type$.JSArray_SimpleSelector_2);
  22607. B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
  22608. return A.CompoundSelector$0(t2, span);
  22609. } else {
  22610. t2 = A._setArrayType([new A.ParentSelector0(_null, span)], type$.JSArray_SimpleSelector_2);
  22611. B.JSArray_methods.addAll$1(t2, t1);
  22612. return A.CompoundSelector$0(t2, span);
  22613. }
  22614. },
  22615. _function7($name, $arguments, callback) {
  22616. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
  22617. },
  22618. _nest_closure0: function _nest_closure0() {
  22619. },
  22620. _nest__closure1: function _nest__closure1(t0) {
  22621. this._box_0 = t0;
  22622. },
  22623. _nest__closure2: function _nest__closure2() {
  22624. },
  22625. _append_closure1: function _append_closure1() {
  22626. },
  22627. _append__closure1: function _append__closure1() {
  22628. },
  22629. _append__closure2: function _append__closure2(t0) {
  22630. this.span = t0;
  22631. },
  22632. _append___closure0: function _append___closure0(t0, t1) {
  22633. this.parent = t0;
  22634. this.span = t1;
  22635. },
  22636. _extend_closure0: function _extend_closure0() {
  22637. },
  22638. _replace_closure0: function _replace_closure0() {
  22639. },
  22640. _unify_closure0: function _unify_closure0() {
  22641. },
  22642. _isSuperselector_closure0: function _isSuperselector_closure0() {
  22643. },
  22644. _simpleSelectors_closure0: function _simpleSelectors_closure0() {
  22645. },
  22646. _simpleSelectors__closure0: function _simpleSelectors__closure0() {
  22647. },
  22648. _parse_closure0: function _parse_closure0() {
  22649. },
  22650. SelectorParser$0(contents, allowParent, allowPlaceholder, interpolationMap, logger, url) {
  22651. var t1 = A.SpanScanner$(contents, url);
  22652. return new A.SelectorParser0(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false0 : logger, interpolationMap);
  22653. },
  22654. SelectorParser0: function SelectorParser0(t0, t1, t2, t3, t4) {
  22655. var _ = this;
  22656. _._selector$_allowParent = t0;
  22657. _._selector$_allowPlaceholder = t1;
  22658. _.scanner = t2;
  22659. _.logger = t3;
  22660. _._parser0$_interpolationMap = t4;
  22661. },
  22662. SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
  22663. this.$this = t0;
  22664. },
  22665. SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
  22666. this.$this = t0;
  22667. },
  22668. SelectorSearchVisitor0: function SelectorSearchVisitor0() {
  22669. },
  22670. SelectorSearchVisitor_visitComplexSelector_closure0: function SelectorSearchVisitor_visitComplexSelector_closure0(t0) {
  22671. this.$this = t0;
  22672. },
  22673. SelectorSearchVisitor_visitCompoundSelector_closure0: function SelectorSearchVisitor_visitCompoundSelector_closure0(t0) {
  22674. this.$this = t0;
  22675. },
  22676. serialize0(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
  22677. var t1, css, t2, prefix,
  22678. visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, true, sourceMap, style, useSpaces);
  22679. node.accept$1(visitor);
  22680. t1 = visitor._serialize0$_buffer;
  22681. css = t1.toString$0(0);
  22682. if (charset) {
  22683. t2 = new A.CodeUnits(css);
  22684. t2 = t2.any$1(t2, new A.serialize_closure0());
  22685. } else
  22686. t2 = false;
  22687. if (t2)
  22688. prefix = style === B.OutputStyle_10 ? "\ufeff" : '@charset "UTF-8";\n';
  22689. else
  22690. prefix = "";
  22691. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  22692. return new A.SerializeResult0(prefix + css, t1);
  22693. },
  22694. serializeValue0(value, inspect, quote) {
  22695. var visitor = A._SerializeVisitor$0(null, inspect, null, quote, false, null, true);
  22696. value.accept$1(visitor);
  22697. return visitor._serialize0$_buffer.toString$0(0);
  22698. },
  22699. serializeSelector0(selector, inspect) {
  22700. var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  22701. selector.accept$1(visitor);
  22702. return visitor._serialize0$_buffer.toString$0(0);
  22703. },
  22704. _SerializeVisitor$0(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
  22705. var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
  22706. t2 = style == null ? B.OutputStyle_00 : style,
  22707. t3 = useSpaces ? 32 : 9,
  22708. t4 = indentWidth == null ? 2 : indentWidth,
  22709. t5 = lineFeed == null ? B.LineFeed_SsD : lineFeed;
  22710. A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
  22711. return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5);
  22712. },
  22713. serialize_closure0: function serialize_closure0() {
  22714. },
  22715. _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6) {
  22716. var _ = this;
  22717. _._serialize0$_buffer = t0;
  22718. _._serialize0$_indentation = 0;
  22719. _._serialize0$_style = t1;
  22720. _._serialize0$_inspect = t2;
  22721. _._serialize0$_quote = t3;
  22722. _._serialize0$_indentCharacter = t4;
  22723. _._serialize0$_indentWidth = t5;
  22724. _._lineFeed = t6;
  22725. },
  22726. _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
  22727. this.$this = t0;
  22728. this.node = t1;
  22729. },
  22730. _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
  22731. this.$this = t0;
  22732. this.node = t1;
  22733. },
  22734. _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
  22735. this.$this = t0;
  22736. this.node = t1;
  22737. },
  22738. _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
  22739. this.$this = t0;
  22740. this.node = t1;
  22741. },
  22742. _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
  22743. this.$this = t0;
  22744. this.node = t1;
  22745. },
  22746. _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
  22747. this.$this = t0;
  22748. this.node = t1;
  22749. },
  22750. _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
  22751. this.$this = t0;
  22752. this.node = t1;
  22753. },
  22754. _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
  22755. this.$this = t0;
  22756. this.node = t1;
  22757. },
  22758. _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
  22759. this.$this = t0;
  22760. this.node = t1;
  22761. },
  22762. _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
  22763. this.$this = t0;
  22764. this.node = t1;
  22765. },
  22766. _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
  22767. },
  22768. _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
  22769. this.$this = t0;
  22770. this.value = t1;
  22771. },
  22772. _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
  22773. this.$this = t0;
  22774. },
  22775. _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
  22776. this.$this = t0;
  22777. },
  22778. _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
  22779. },
  22780. _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
  22781. this.$this = t0;
  22782. this.value = t1;
  22783. },
  22784. _SerializeVisitor__visitChildren_closure1: function _SerializeVisitor__visitChildren_closure1(t0, t1) {
  22785. this.$this = t0;
  22786. this.child = t1;
  22787. },
  22788. _SerializeVisitor__visitChildren_closure2: function _SerializeVisitor__visitChildren_closure2(t0, t1) {
  22789. this.$this = t0;
  22790. this.child = t1;
  22791. },
  22792. OutputStyle0: function OutputStyle0(t0) {
  22793. this._name = t0;
  22794. },
  22795. LineFeed0: function LineFeed0(t0, t1, t2) {
  22796. this.name = t0;
  22797. this.text = t1;
  22798. this._name = t2;
  22799. },
  22800. SerializeResult0: function SerializeResult0(t0, t1) {
  22801. this.css = t0;
  22802. this.sourceMap = t1;
  22803. },
  22804. ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
  22805. 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;
  22806. },
  22807. ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
  22808. var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
  22809. return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  22810. },
  22811. ShadowedModuleView__needsBlocklist0(map, blocklist) {
  22812. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  22813. },
  22814. ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
  22815. var _ = this;
  22816. _._shadowed_view0$_inner = t0;
  22817. _.variables = t1;
  22818. _.variableNodes = t2;
  22819. _.functions = t3;
  22820. _.mixins = t4;
  22821. _.$ti = t5;
  22822. },
  22823. SilentComment0: function SilentComment0(t0, t1) {
  22824. this.text = t0;
  22825. this.span = t1;
  22826. },
  22827. SimpleSelector0: function SimpleSelector0() {
  22828. },
  22829. SimpleSelector_isSuperselector_closure0: function SimpleSelector_isSuperselector_closure0(t0) {
  22830. this.$this = t0;
  22831. },
  22832. SimpleSelector_isSuperselector__closure0: function SimpleSelector_isSuperselector__closure0(t0) {
  22833. this.$this = t0;
  22834. },
  22835. SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
  22836. var _ = this;
  22837. _._single_unit$_unit = t0;
  22838. _._number1$_value = t1;
  22839. _.hashCache = null;
  22840. _.asSlash = t2;
  22841. },
  22842. SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
  22843. this.$this = t0;
  22844. this.unit = t1;
  22845. },
  22846. SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
  22847. this.$this = t0;
  22848. },
  22849. SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
  22850. this._box_0 = t0;
  22851. this.$this = t1;
  22852. },
  22853. SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
  22854. this._box_0 = t0;
  22855. this.$this = t1;
  22856. },
  22857. SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
  22858. var _ = this;
  22859. _._source_map_buffer0$_buffer = t0;
  22860. _._source_map_buffer0$_entries = t1;
  22861. _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
  22862. _._source_map_buffer0$_inSpan = false;
  22863. },
  22864. SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
  22865. this._box_0 = t0;
  22866. this.prefixLength = t1;
  22867. },
  22868. updateSourceSpanPrototype() {
  22869. var t3, t4, _i, t5,
  22870. span = A.SourceFile$fromString("", null).span$1(0, 0),
  22871. t1 = type$.SourceSpan,
  22872. t2 = type$.String;
  22873. 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) {
  22874. t5 = t3._as(t1[_i].constructor);
  22875. 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));
  22876. }
  22877. t1 = t3._as(A.FileLocation$_(span.file, span._file$_start).constructor);
  22878. A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure4(), "column", new A.updateSourceSpanPrototype_closure5()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
  22879. },
  22880. updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure() {
  22881. },
  22882. updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
  22883. },
  22884. updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
  22885. },
  22886. updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
  22887. },
  22888. updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
  22889. },
  22890. updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
  22891. },
  22892. updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
  22893. },
  22894. StatementSearchVisitor0: function StatementSearchVisitor0() {
  22895. },
  22896. StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
  22897. this.$this = t0;
  22898. },
  22899. StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
  22900. this.$this = t0;
  22901. },
  22902. StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
  22903. this.$this = t0;
  22904. },
  22905. StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
  22906. this.$this = t0;
  22907. },
  22908. StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
  22909. this.$this = t0;
  22910. },
  22911. StaticImport0: function StaticImport0(t0, t1, t2) {
  22912. this.url = t0;
  22913. this.modifiers = t1;
  22914. this.span = t2;
  22915. },
  22916. StderrLogger0: function StderrLogger0(t0) {
  22917. this.color = t0;
  22918. },
  22919. StringExpression_quoteText0(text) {
  22920. var t1,
  22921. quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
  22922. buffer = new A.StringBuffer("");
  22923. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  22924. A.StringExpression__quoteInnerText0(text, quote, buffer, true);
  22925. t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
  22926. return t1.charCodeAt(0) == 0 ? t1 : t1;
  22927. },
  22928. StringExpression__quoteInnerText0(text, quote, buffer, $static) {
  22929. var t1, t2, i, codeUnit, next, t3;
  22930. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  22931. codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
  22932. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
  22933. buffer.writeCharCode$1(92);
  22934. buffer.writeCharCode$1(97);
  22935. if (i !== t2) {
  22936. next = B.JSString_methods._codeUnitAt$1(text, i + 1);
  22937. if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex0(next))
  22938. buffer.writeCharCode$1(32);
  22939. }
  22940. } else {
  22941. if (codeUnit !== quote)
  22942. if (codeUnit !== 92)
  22943. t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
  22944. else
  22945. t3 = true;
  22946. else
  22947. t3 = true;
  22948. if (t3)
  22949. buffer.writeCharCode$1(92);
  22950. buffer.writeCharCode$1(codeUnit);
  22951. }
  22952. }
  22953. },
  22954. StringExpression__bestQuote0(strings) {
  22955. var t1, containsDoubleQuote, t2, t3, i, codeUnit;
  22956. for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
  22957. t2 = t1.get$current(t1);
  22958. for (t3 = t2.length, i = 0; i < t3; ++i) {
  22959. codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
  22960. if (codeUnit === 39)
  22961. return 34;
  22962. if (codeUnit === 34)
  22963. containsDoubleQuote = true;
  22964. }
  22965. }
  22966. return containsDoubleQuote ? 39 : 34;
  22967. },
  22968. StringExpression0: function StringExpression0(t0, t1) {
  22969. this.text = t0;
  22970. this.hasQuotes = t1;
  22971. },
  22972. _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
  22973. var result;
  22974. if (index === 0)
  22975. return 0;
  22976. if (index > 0)
  22977. return Math.min(index - 1, lengthInCodepoints);
  22978. result = lengthInCodepoints + index;
  22979. if (result < 0 && !allowNegative)
  22980. return 0;
  22981. return result;
  22982. },
  22983. _function6($name, $arguments, callback) {
  22984. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
  22985. },
  22986. module_closure9: function module_closure9() {
  22987. },
  22988. module__closure2: function module__closure2(t0) {
  22989. this.string = t0;
  22990. },
  22991. module__closure3: function module__closure3(t0) {
  22992. this.string = t0;
  22993. },
  22994. _unquote_closure0: function _unquote_closure0() {
  22995. },
  22996. _quote_closure0: function _quote_closure0() {
  22997. },
  22998. _length_closure1: function _length_closure1() {
  22999. },
  23000. _insert_closure0: function _insert_closure0() {
  23001. },
  23002. _index_closure1: function _index_closure1() {
  23003. },
  23004. _slice_closure0: function _slice_closure0() {
  23005. },
  23006. _toUpperCase_closure0: function _toUpperCase_closure0() {
  23007. },
  23008. _toLowerCase_closure0: function _toLowerCase_closure0() {
  23009. },
  23010. _uniqueId_closure0: function _uniqueId_closure0() {
  23011. },
  23012. _NodeSassString: function _NodeSassString() {
  23013. },
  23014. legacyStringClass_closure: function legacyStringClass_closure() {
  23015. },
  23016. legacyStringClass_closure0: function legacyStringClass_closure0() {
  23017. },
  23018. legacyStringClass_closure1: function legacyStringClass_closure1() {
  23019. },
  23020. stringClass_closure: function stringClass_closure() {
  23021. },
  23022. stringClass__closure: function stringClass__closure() {
  23023. },
  23024. stringClass__closure0: function stringClass__closure0() {
  23025. },
  23026. stringClass__closure1: function stringClass__closure1() {
  23027. },
  23028. stringClass__closure2: function stringClass__closure2() {
  23029. },
  23030. stringClass__closure3: function stringClass__closure3() {
  23031. },
  23032. _ConstructorOptions1: function _ConstructorOptions1() {
  23033. },
  23034. SassString$0(_text, quotes) {
  23035. return new A.SassString0(_text, quotes);
  23036. },
  23037. SassString0: function SassString0(t0, t1) {
  23038. var _ = this;
  23039. _._string0$_text = t0;
  23040. _._string0$_hasQuotes = t1;
  23041. _._string0$__SassString__sassLength_FI = $;
  23042. _._string0$_hashCache = null;
  23043. },
  23044. ModifiableCssStyleRule$0(_selector, span, originalSelector) {
  23045. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  23046. return new A.ModifiableCssStyleRule0(_selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  23047. },
  23048. ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4) {
  23049. var _ = this;
  23050. _._style_rule0$_selector = t0;
  23051. _.originalSelector = t1;
  23052. _.span = t2;
  23053. _.children = t3;
  23054. _._node$_children = t4;
  23055. _._node$_indexInParent = _._node$_parent = null;
  23056. _.isGroupEnd = false;
  23057. },
  23058. StyleRule$0(selector, children, span) {
  23059. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  23060. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  23061. return new A.StyleRule0(selector, span, t1, t2);
  23062. },
  23063. StyleRule0: function StyleRule0(t0, t1, t2, t3) {
  23064. var _ = this;
  23065. _.selector = t0;
  23066. _.span = t1;
  23067. _.children = t2;
  23068. _.hasDeclarations = t3;
  23069. },
  23070. CssStylesheet0: function CssStylesheet0(t0, t1) {
  23071. this.children = t0;
  23072. this.span = t1;
  23073. },
  23074. ModifiableCssStylesheet$0(span) {
  23075. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  23076. return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  23077. },
  23078. ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
  23079. var _ = this;
  23080. _.span = t0;
  23081. _.children = t1;
  23082. _._node$_children = t2;
  23083. _._node$_indexInParent = _._node$_parent = null;
  23084. _.isGroupEnd = false;
  23085. },
  23086. StylesheetParser0: function StylesheetParser0() {
  23087. },
  23088. StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
  23089. this.$this = t0;
  23090. },
  23091. StylesheetParser_parse__closure1: function StylesheetParser_parse__closure1(t0) {
  23092. this.$this = t0;
  23093. },
  23094. StylesheetParser_parse__closure2: function StylesheetParser_parse__closure2() {
  23095. },
  23096. StylesheetParser_parseArgumentDeclaration_closure0: function StylesheetParser_parseArgumentDeclaration_closure0(t0) {
  23097. this.$this = t0;
  23098. },
  23099. StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
  23100. this.$this = t0;
  23101. this.production = t1;
  23102. this.T = t2;
  23103. },
  23104. StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
  23105. this.$this = t0;
  23106. this.requireParens = t1;
  23107. },
  23108. StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
  23109. this.$this = t0;
  23110. },
  23111. StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
  23112. this.$this = t0;
  23113. this.start = t1;
  23114. },
  23115. StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
  23116. this.declaration = t0;
  23117. },
  23118. StylesheetParser__declarationOrBuffer_closure1: function StylesheetParser__declarationOrBuffer_closure1(t0) {
  23119. this.name = t0;
  23120. },
  23121. StylesheetParser__declarationOrBuffer_closure2: function StylesheetParser__declarationOrBuffer_closure2(t0, t1) {
  23122. this._box_0 = t0;
  23123. this.name = t1;
  23124. },
  23125. StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
  23126. var _ = this;
  23127. _._box_0 = t0;
  23128. _.$this = t1;
  23129. _.wasInStyleRule = t2;
  23130. _.start = t3;
  23131. },
  23132. StylesheetParser__propertyOrVariableDeclaration_closure1: function StylesheetParser__propertyOrVariableDeclaration_closure1(t0) {
  23133. this._box_0 = t0;
  23134. },
  23135. StylesheetParser__propertyOrVariableDeclaration_closure2: function StylesheetParser__propertyOrVariableDeclaration_closure2(t0, t1) {
  23136. this._box_0 = t0;
  23137. this.value = t1;
  23138. },
  23139. StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
  23140. this.query = t0;
  23141. },
  23142. StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
  23143. },
  23144. StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
  23145. var _ = this;
  23146. _.$this = t0;
  23147. _.wasInControlDirective = t1;
  23148. _.variables = t2;
  23149. _.list = t3;
  23150. },
  23151. StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
  23152. this.name = t0;
  23153. this.$arguments = t1;
  23154. this.precedingComment = t2;
  23155. },
  23156. StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
  23157. this._box_0 = t0;
  23158. this.$this = t1;
  23159. },
  23160. StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
  23161. var _ = this;
  23162. _._box_0 = t0;
  23163. _.$this = t1;
  23164. _.wasInControlDirective = t2;
  23165. _.variable = t3;
  23166. _.from = t4;
  23167. _.to = t5;
  23168. },
  23169. StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
  23170. this.$this = t0;
  23171. this.variables = t1;
  23172. this.identifiers = t2;
  23173. },
  23174. StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
  23175. this.contentArguments_ = t0;
  23176. },
  23177. StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
  23178. this.query = t0;
  23179. },
  23180. StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
  23181. var _ = this;
  23182. _.$this = t0;
  23183. _.name = t1;
  23184. _.$arguments = t2;
  23185. _.precedingComment = t3;
  23186. },
  23187. StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
  23188. var _ = this;
  23189. _._box_0 = t0;
  23190. _.$this = t1;
  23191. _.name = t2;
  23192. _.value = t3;
  23193. },
  23194. StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
  23195. this.condition = t0;
  23196. },
  23197. StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
  23198. this.$this = t0;
  23199. this.wasInControlDirective = t1;
  23200. this.condition = t2;
  23201. },
  23202. StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
  23203. this._box_0 = t0;
  23204. this.name = t1;
  23205. },
  23206. StylesheetParser__expression_resetState0: function StylesheetParser__expression_resetState0(t0, t1, t2) {
  23207. this._box_0 = t0;
  23208. this.$this = t1;
  23209. this.start = t2;
  23210. },
  23211. StylesheetParser__expression_resolveOneOperation0: function StylesheetParser__expression_resolveOneOperation0(t0, t1) {
  23212. this._box_0 = t0;
  23213. this.$this = t1;
  23214. },
  23215. StylesheetParser__expression_resolveOperations0: function StylesheetParser__expression_resolveOperations0(t0, t1) {
  23216. this._box_0 = t0;
  23217. this.resolveOneOperation = t1;
  23218. },
  23219. StylesheetParser__expression_addSingleExpression0: function StylesheetParser__expression_addSingleExpression0(t0, t1, t2, t3) {
  23220. var _ = this;
  23221. _._box_0 = t0;
  23222. _.$this = t1;
  23223. _.resetState = t2;
  23224. _.resolveOperations = t3;
  23225. },
  23226. StylesheetParser__expression_addOperator0: function StylesheetParser__expression_addOperator0(t0, t1, t2) {
  23227. this._box_0 = t0;
  23228. this.$this = t1;
  23229. this.resolveOneOperation = t2;
  23230. },
  23231. StylesheetParser__expression_resolveSpaceExpressions0: function StylesheetParser__expression_resolveSpaceExpressions0(t0, t1, t2) {
  23232. this._box_0 = t0;
  23233. this.$this = t1;
  23234. this.resolveOperations = t2;
  23235. },
  23236. StylesheetParser_expressionUntilComma_closure0: function StylesheetParser_expressionUntilComma_closure0(t0) {
  23237. this.$this = t0;
  23238. },
  23239. StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
  23240. },
  23241. StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
  23242. },
  23243. StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
  23244. this.$this = t0;
  23245. this.start = t1;
  23246. },
  23247. StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
  23248. },
  23249. StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
  23250. this.$this = t0;
  23251. },
  23252. StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
  23253. this.$this = t0;
  23254. this.start = t1;
  23255. },
  23256. Stylesheet$internal0(children, span, plainCss) {
  23257. var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
  23258. t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
  23259. t3 = A.List_List$unmodifiable(children, type$.Statement_2),
  23260. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure0());
  23261. t1 = new A.Stylesheet0(span, plainCss, t1, t2, t3, t4);
  23262. t1.Stylesheet$internal$3$plainCss0(children, span, plainCss);
  23263. return t1;
  23264. },
  23265. Stylesheet_Stylesheet$parse0(contents, syntax, logger, url) {
  23266. var error, url0, t1, t2, exception;
  23267. try {
  23268. switch (syntax) {
  23269. case B.Syntax_Sass_sass0:
  23270. t1 = A.SpanScanner$(contents, url);
  23271. t2 = logger == null ? B.StderrLogger_false0 : logger;
  23272. t2 = new A.SassParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2, null).parse$0();
  23273. return t2;
  23274. case B.Syntax_SCSS_scss0:
  23275. t1 = A.ScssParser$0(contents, logger, url).parse$0();
  23276. return t1;
  23277. case B.Syntax_CSS_css0:
  23278. t1 = A.SpanScanner$(contents, url);
  23279. t2 = logger == null ? B.StderrLogger_false0 : logger;
  23280. t2 = new A.CssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2, null).parse$0();
  23281. return t2;
  23282. default:
  23283. t1 = A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null);
  23284. throw A.wrapException(t1);
  23285. }
  23286. } catch (exception) {
  23287. t1 = A.unwrapException(exception);
  23288. if (t1 instanceof A.SassException0) {
  23289. error = t1;
  23290. t1 = error;
  23291. t2 = J.getInterceptor$z(t1);
  23292. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  23293. url0 = t1.get$sourceUrl(t1);
  23294. if (url0 == null || J.toString$0$(url0) === "stdin")
  23295. throw exception;
  23296. t1 = type$.Uri;
  23297. throw A.wrapException(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)));
  23298. } else
  23299. throw exception;
  23300. }
  23301. },
  23302. Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5) {
  23303. var _ = this;
  23304. _.span = t0;
  23305. _.plainCss = t1;
  23306. _._stylesheet1$_uses = t2;
  23307. _._stylesheet1$_forwards = t3;
  23308. _.children = t4;
  23309. _.hasDeclarations = t5;
  23310. },
  23311. SupportsExpression0: function SupportsExpression0(t0) {
  23312. this.condition = t0;
  23313. },
  23314. ModifiableCssSupportsRule$0(condition, span) {
  23315. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  23316. return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  23317. },
  23318. ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
  23319. var _ = this;
  23320. _.condition = t0;
  23321. _.span = t1;
  23322. _.children = t2;
  23323. _._node$_children = t3;
  23324. _._node$_indexInParent = _._node$_parent = null;
  23325. _.isGroupEnd = false;
  23326. },
  23327. SupportsRule$0(condition, children, span) {
  23328. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  23329. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  23330. return new A.SupportsRule0(condition, span, t1, t2);
  23331. },
  23332. SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
  23333. var _ = this;
  23334. _.condition = t0;
  23335. _.span = t1;
  23336. _.children = t2;
  23337. _.hasDeclarations = t3;
  23338. },
  23339. NodeToDartImporter: function NodeToDartImporter(t0, t1) {
  23340. this._sync$_canonicalize = t0;
  23341. this._sync$_load = t1;
  23342. },
  23343. Syntax_forPath0(path) {
  23344. switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
  23345. case ".sass":
  23346. return B.Syntax_Sass_sass0;
  23347. case ".css":
  23348. return B.Syntax_CSS_css0;
  23349. default:
  23350. return B.Syntax_SCSS_scss0;
  23351. }
  23352. },
  23353. Syntax0: function Syntax0(t0, t1) {
  23354. this._syntax0$_name = t0;
  23355. this._name = t1;
  23356. },
  23357. TypeSelector0: function TypeSelector0(t0, t1) {
  23358. this.name = t0;
  23359. this.span = t1;
  23360. },
  23361. Types: function Types() {
  23362. },
  23363. UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
  23364. this.operator = t0;
  23365. this.operand = t1;
  23366. this.span = t2;
  23367. },
  23368. UnaryOperator0: function UnaryOperator0(t0, t1, t2) {
  23369. this.name = t0;
  23370. this.operator = t1;
  23371. this._name = t2;
  23372. },
  23373. UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
  23374. this._number1$_value = t0;
  23375. this.hashCache = null;
  23376. this.asSlash = t1;
  23377. },
  23378. UniversalSelector0: function UniversalSelector0(t0, t1) {
  23379. this.namespace = t0;
  23380. this.span = t1;
  23381. },
  23382. UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
  23383. this._unprefixed_map_view0$_map = t0;
  23384. this._unprefixed_map_view0$_prefix = t1;
  23385. this.$ti = t2;
  23386. },
  23387. _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
  23388. this._unprefixed_map_view0$_view = t0;
  23389. },
  23390. _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
  23391. this.$this = t0;
  23392. },
  23393. _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
  23394. this.$this = t0;
  23395. },
  23396. JSUrl0: function JSUrl0() {
  23397. },
  23398. UseRule0: function UseRule0(t0, t1, t2, t3) {
  23399. var _ = this;
  23400. _.url = t0;
  23401. _.namespace = t1;
  23402. _.configuration = t2;
  23403. _.span = t3;
  23404. },
  23405. UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2, t3) {
  23406. var _ = this;
  23407. _.declaration = t0;
  23408. _.environment = t1;
  23409. _.inDependency = t2;
  23410. _.$ti = t3;
  23411. },
  23412. fromImport0() {
  23413. var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
  23414. return t1 === true;
  23415. },
  23416. resolveImportPath0(path) {
  23417. var t1,
  23418. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  23419. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  23420. t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
  23421. return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
  23422. }
  23423. t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
  23424. if (t1 == null)
  23425. t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
  23426. return t1 == null ? A._tryPathAsDirectory0(path) : t1;
  23427. },
  23428. _tryPathWithExtensions0(path) {
  23429. var result = A._tryPath0(path + ".sass");
  23430. B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
  23431. return result.length !== 0 ? result : A._tryPath0(path + ".css");
  23432. },
  23433. _tryPath0(path) {
  23434. var t1 = $.$get$context(),
  23435. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  23436. t1 = A._setArrayType([], type$.JSArray_String);
  23437. if (A.fileExists0(partial))
  23438. t1.push(partial);
  23439. if (A.fileExists0(path))
  23440. t1.push(path);
  23441. return t1;
  23442. },
  23443. _tryPathAsDirectory0(path) {
  23444. var t1;
  23445. if (!A.dirExists0(path))
  23446. return null;
  23447. t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
  23448. return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
  23449. },
  23450. _exactlyOne0(paths) {
  23451. var t1 = paths.length;
  23452. if (t1 === 0)
  23453. return null;
  23454. if (t1 === 1)
  23455. return B.JSArray_methods.get$first(paths);
  23456. throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
  23457. },
  23458. resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
  23459. this.path = t0;
  23460. this.extension = t1;
  23461. },
  23462. resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
  23463. this.path = t0;
  23464. },
  23465. _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
  23466. this.path = t0;
  23467. },
  23468. _exactlyOne_closure0: function _exactlyOne_closure0() {
  23469. },
  23470. jsThrow(error) {
  23471. return type$.Never._as($.$get$_jsThrow().call$1(error));
  23472. },
  23473. attachJsStack(error, trace) {
  23474. var traceString = trace.toString$0(0),
  23475. firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
  23476. if (firstRealLine !== -1)
  23477. traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
  23478. error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
  23479. },
  23480. jsForEach(object, callback) {
  23481. var t1, t2;
  23482. for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
  23483. t2 = t1.get$current(t1);
  23484. callback.call$2(t2, object[t2]);
  23485. }
  23486. },
  23487. jsType(value) {
  23488. var typeOf = A._asString(new self.Function("value", "return typeof value").call$1(value));
  23489. 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));
  23490. },
  23491. defineGetter(object, $name, get, value) {
  23492. self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
  23493. },
  23494. allowInteropNamed($name, $function) {
  23495. $function = A.allowInterop($function);
  23496. A.defineGetter($function, "name", null, $name);
  23497. A._hideDartProperties($function);
  23498. return $function;
  23499. },
  23500. allowInteropCaptureThisNamed($name, $function) {
  23501. $function = A.allowInteropCaptureThis($function);
  23502. A.defineGetter($function, "name", null, $name);
  23503. A._hideDartProperties($function);
  23504. return $function;
  23505. },
  23506. _hideDartProperties(object) {
  23507. var t1, t2, t3, t4;
  23508. 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();) {
  23509. t3 = t1.__internal$_current;
  23510. if (t3 == null)
  23511. t3 = t2._as(t3);
  23512. if (B.JSString_methods.startsWith$1(t3, "_")) {
  23513. t4 = {value: object[t3], enumerable: false};
  23514. self.Object.defineProperty(object, t3, t4);
  23515. }
  23516. }
  23517. },
  23518. futureToPromise0(future) {
  23519. return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
  23520. },
  23521. jsToDartUrl(url) {
  23522. return A.Uri_parse(J.toString$0$(url));
  23523. },
  23524. dartToJSUrl(url) {
  23525. return new self.URL(url.toString$0(0));
  23526. },
  23527. toJSArray(iterable) {
  23528. var t1, t2,
  23529. array = new self.Array();
  23530. for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
  23531. t2.push$1(array, t1.get$current(t1));
  23532. return array;
  23533. },
  23534. objectToMap(object) {
  23535. var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
  23536. A.jsForEach(object, new A.objectToMap_closure(map));
  23537. return map;
  23538. },
  23539. jsToDartSeparator(separator) {
  23540. switch (separator) {
  23541. case " ":
  23542. return B.ListSeparator_EVt0;
  23543. case ",":
  23544. return B.ListSeparator_rXA0;
  23545. case "/":
  23546. return B.ListSeparator_zg90;
  23547. case null:
  23548. return B.ListSeparator_undecided_null_undecided0;
  23549. default:
  23550. A.jsThrow(new self.Error('Unknown separator "' + A.S(separator) + '".'));
  23551. }
  23552. },
  23553. parseSyntax(syntax) {
  23554. if (syntax == null || syntax === "scss")
  23555. return B.Syntax_SCSS_scss0;
  23556. if (syntax === "indented")
  23557. return B.Syntax_Sass_sass0;
  23558. if (syntax === "css")
  23559. return B.Syntax_CSS_css0;
  23560. A.jsThrow(new self.Error('Unknown syntax "' + A.S(syntax) + '".'));
  23561. },
  23562. _PropertyDescriptor0: function _PropertyDescriptor0() {
  23563. },
  23564. futureToPromise_closure0: function futureToPromise_closure0(t0) {
  23565. this.future = t0;
  23566. },
  23567. futureToPromise__closure0: function futureToPromise__closure0(t0) {
  23568. this.resolve = t0;
  23569. },
  23570. futureToPromise__closure1: function futureToPromise__closure1(t0) {
  23571. this.reject = t0;
  23572. },
  23573. objectToMap_closure: function objectToMap_closure(t0) {
  23574. this.map = t0;
  23575. },
  23576. toSentence0(iter, conjunction) {
  23577. var t1 = iter.__internal$_iterable,
  23578. t2 = J.getInterceptor$asx(t1);
  23579. if (t2.get$length(t1) === 1)
  23580. return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
  23581. return A.IterableExtension_get_exceptLast0(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter._f.call$1(t2.get$last(t1))));
  23582. },
  23583. indent0(string, indentation) {
  23584. 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");
  23585. },
  23586. pluralize0($name, number, plural) {
  23587. if (number === 1)
  23588. return $name;
  23589. if (plural != null)
  23590. return plural;
  23591. return $name + "s";
  23592. },
  23593. trimAscii0(string, excludeEscape) {
  23594. var t1,
  23595. start = A._firstNonWhitespace0(string);
  23596. if (start == null)
  23597. t1 = "";
  23598. else {
  23599. t1 = A._lastNonWhitespace0(string, true);
  23600. t1.toString;
  23601. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  23602. }
  23603. return t1;
  23604. },
  23605. trimAsciiRight0(string, excludeEscape) {
  23606. var end = A._lastNonWhitespace0(string, excludeEscape);
  23607. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  23608. },
  23609. _firstNonWhitespace0(string) {
  23610. var t1, i, t2;
  23611. for (t1 = string.length, i = 0; i < t1; ++i) {
  23612. t2 = B.JSString_methods._codeUnitAt$1(string, i);
  23613. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  23614. return i;
  23615. }
  23616. return null;
  23617. },
  23618. _lastNonWhitespace0(string, excludeEscape) {
  23619. var i, i0, codeUnit;
  23620. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  23621. codeUnit = B.JSString_methods.codeUnitAt$1(string, i0);
  23622. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  23623. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  23624. return i0 + 1;
  23625. else
  23626. return i0;
  23627. }
  23628. return null;
  23629. },
  23630. isPublic0(member) {
  23631. var start = B.JSString_methods._codeUnitAt$1(member, 0);
  23632. return start !== 45 && start !== 95;
  23633. },
  23634. flattenVertically0(iterable, $T) {
  23635. var result,
  23636. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  23637. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), true, t1._eval$1("ListIterable.E"));
  23638. if (queues.length === 1)
  23639. return B.JSArray_methods.get$first(queues);
  23640. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  23641. for (; queues.length !== 0;) {
  23642. if (!!queues.fixed$length)
  23643. A.throwExpression(A.UnsupportedError$("removeWhere"));
  23644. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
  23645. }
  23646. return result;
  23647. },
  23648. firstOrNull0(iterable) {
  23649. var iterator = J.get$iterator$ax(iterable);
  23650. return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
  23651. },
  23652. codepointIndexToCodeUnitIndex0(string, codepointIndex) {
  23653. var codeUnitIndex, i, codeUnitIndex0;
  23654. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  23655. codeUnitIndex0 = codeUnitIndex + 1;
  23656. codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  23657. }
  23658. return codeUnitIndex;
  23659. },
  23660. codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
  23661. var codepointIndex, i;
  23662. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
  23663. ++codepointIndex;
  23664. return codepointIndex;
  23665. },
  23666. frameForSpan0(span, member, url) {
  23667. var t2, t3,
  23668. t1 = url == null ? span.get$sourceUrl(span) : url;
  23669. if (t1 == null)
  23670. t1 = $.$get$_noSourceUrl0();
  23671. t2 = span.get$start(span);
  23672. t2 = t2.file.getLine$1(t2.offset);
  23673. t3 = span.get$start(span);
  23674. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  23675. },
  23676. declarationName0(span) {
  23677. var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
  23678. return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  23679. },
  23680. unvendor0($name) {
  23681. var i,
  23682. t1 = $name.length;
  23683. if (t1 < 2)
  23684. return $name;
  23685. if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
  23686. return $name;
  23687. if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
  23688. return $name;
  23689. for (i = 2; i < t1; ++i)
  23690. if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
  23691. return B.JSString_methods.substring$1($name, i + 1);
  23692. return $name;
  23693. },
  23694. equalsIgnoreCase0(string1, string2) {
  23695. var t1, i;
  23696. if (string1 === string2)
  23697. return true;
  23698. if (string1 == null || false)
  23699. return false;
  23700. t1 = string1.length;
  23701. if (t1 !== string2.length)
  23702. return false;
  23703. for (i = 0; i < t1; ++i)
  23704. if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
  23705. return false;
  23706. return true;
  23707. },
  23708. startsWithIgnoreCase0(string, prefix) {
  23709. var i,
  23710. t1 = prefix.length;
  23711. if (string.length < t1)
  23712. return false;
  23713. for (i = 0; i < t1; ++i)
  23714. if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
  23715. return false;
  23716. return true;
  23717. },
  23718. mapInPlace0(list, $function) {
  23719. var i;
  23720. for (i = 0; i < list.length; ++i)
  23721. list[i] = $function.call$1(list[i]);
  23722. },
  23723. longestCommonSubsequence0(list1, list2, select, $T) {
  23724. var t1, _i, selections, i, i0, j, selection, j0,
  23725. _length = list1.get$length(list1) + 1,
  23726. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  23727. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  23728. lengths[_i] = A.List_List$filled(((list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0) + 1, 0, false, t1);
  23729. _length = list1.get$length(list1);
  23730. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  23731. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  23732. selections[_i] = A.List_List$filled((list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0, null, false, t1);
  23733. for (i = 0; i < (list1._tail - list1._head & J.get$length$asx(list1._table) - 1) >>> 0; i = i0)
  23734. for (i0 = i + 1, j = 0; j < (list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0; j = j0) {
  23735. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  23736. selections[i][j] = selection;
  23737. t1 = lengths[i0];
  23738. j0 = j + 1;
  23739. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  23740. }
  23741. return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(list1.get$length(list1) - 1, list2.get$length(list2) - 1);
  23742. },
  23743. removeFirstWhere0(list, test, orElse) {
  23744. var i;
  23745. for (i = 0; i < list.length; ++i) {
  23746. if (!test.call$1(list[i]))
  23747. continue;
  23748. B.JSArray_methods.removeAt$1(list, i);
  23749. return;
  23750. }
  23751. orElse.call$0();
  23752. },
  23753. mapAddAll20(destination, source, K1, K2, $V) {
  23754. source.forEach$1(0, new A.mapAddAll2_closure0(destination, K1, K2, $V));
  23755. },
  23756. setAll0(map, keys, value) {
  23757. var t1;
  23758. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  23759. map.$indexSet(0, t1.get$current(t1), value);
  23760. },
  23761. rotateSlice0(list, start, end) {
  23762. var i, next,
  23763. element = list.$index(0, end - 1);
  23764. for (i = start; i < end; ++i, element = next) {
  23765. next = list.$index(0, i);
  23766. list.$indexSet(0, i, element);
  23767. }
  23768. },
  23769. mapAsync0(iterable, callback, $E, $F) {
  23770. return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  23771. },
  23772. mapAsync$body0(iterable, callback, $E, $F, $async$type) {
  23773. var $async$goto = 0,
  23774. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  23775. $async$returnValue, t2, _i, t1, $async$temp1;
  23776. var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  23777. if ($async$errorCode === 1)
  23778. return A._asyncRethrow($async$result, $async$completer);
  23779. while (true)
  23780. switch ($async$goto) {
  23781. case 0:
  23782. // Function start
  23783. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  23784. t2 = iterable.length, _i = 0;
  23785. case 3:
  23786. // for condition
  23787. if (!(_i < t2)) {
  23788. // goto after for
  23789. $async$goto = 5;
  23790. break;
  23791. }
  23792. $async$temp1 = t1;
  23793. $async$goto = 6;
  23794. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
  23795. case 6:
  23796. // returning from await.
  23797. $async$temp1.push($async$result);
  23798. case 4:
  23799. // for update
  23800. ++_i;
  23801. // goto for condition
  23802. $async$goto = 3;
  23803. break;
  23804. case 5:
  23805. // after for
  23806. $async$returnValue = t1;
  23807. // goto return
  23808. $async$goto = 1;
  23809. break;
  23810. case 1:
  23811. // return
  23812. return A._asyncReturn($async$returnValue, $async$completer);
  23813. }
  23814. });
  23815. return A._asyncStartSync($async$mapAsync0, $async$completer);
  23816. },
  23817. putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
  23818. return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
  23819. },
  23820. putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
  23821. var $async$goto = 0,
  23822. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  23823. $async$returnValue, t1, value;
  23824. var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  23825. if ($async$errorCode === 1)
  23826. return A._asyncRethrow($async$result, $async$completer);
  23827. while (true)
  23828. switch ($async$goto) {
  23829. case 0:
  23830. // Function start
  23831. if (map.containsKey$1(key)) {
  23832. t1 = map.$index(0, key);
  23833. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  23834. // goto return
  23835. $async$goto = 1;
  23836. break;
  23837. }
  23838. $async$goto = 3;
  23839. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
  23840. case 3:
  23841. // returning from await.
  23842. value = $async$result;
  23843. map.$indexSet(0, key, value);
  23844. $async$returnValue = value;
  23845. // goto return
  23846. $async$goto = 1;
  23847. break;
  23848. case 1:
  23849. // return
  23850. return A._asyncReturn($async$returnValue, $async$completer);
  23851. }
  23852. });
  23853. return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
  23854. },
  23855. copyMapOfMap0(map, K1, K2, $V) {
  23856. var t2, t3, t4, t5,
  23857. t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
  23858. for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  23859. t3 = t2.get$current(t2);
  23860. t4 = t3.key;
  23861. t3 = t3.value;
  23862. t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  23863. t5.addAll$1(0, t3);
  23864. t1.$indexSet(0, t4, t5);
  23865. }
  23866. return t1;
  23867. },
  23868. copyMapOfList0(map, $K, $E) {
  23869. var t2, t3,
  23870. t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
  23871. for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  23872. t3 = t2.get$current(t2);
  23873. t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
  23874. }
  23875. return t1;
  23876. },
  23877. consumeEscapedCharacter0(scanner) {
  23878. var first, value, i, next, t1;
  23879. scanner.expectChar$1(92);
  23880. first = scanner.peekChar$0();
  23881. if (first == null)
  23882. return 65533;
  23883. else if (first === 10 || first === 13 || first === 12)
  23884. scanner.error$1(0, "Expected escape sequence.");
  23885. else if (A.isHex0(first)) {
  23886. for (value = 0, i = 0; i < 6; ++i) {
  23887. next = scanner.peekChar$0();
  23888. if (next == null || !A.isHex0(next))
  23889. break;
  23890. value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
  23891. }
  23892. t1 = scanner.peekChar$0();
  23893. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  23894. scanner.readChar$0();
  23895. if (value !== 0)
  23896. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  23897. else
  23898. t1 = true;
  23899. if (t1)
  23900. return 65533;
  23901. else
  23902. return value;
  23903. } else
  23904. return scanner.readChar$0();
  23905. },
  23906. throwWithTrace0(error, trace) {
  23907. A.attachTrace0(error, trace);
  23908. throw A.wrapException(error);
  23909. },
  23910. attachTrace0(error, trace) {
  23911. var t1;
  23912. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  23913. return;
  23914. if (trace.toString$0(0).length === 0)
  23915. return;
  23916. t1 = $.$get$_traces0();
  23917. A.Expando__checkType(error);
  23918. if (t1._jsWeakMap.get(error) == null)
  23919. t1.$indexSet(0, error, trace);
  23920. },
  23921. getTrace0(error) {
  23922. var t1;
  23923. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  23924. t1 = null;
  23925. else {
  23926. t1 = $.$get$_traces0();
  23927. A.Expando__checkType(error);
  23928. t1 = t1._jsWeakMap.get(error);
  23929. }
  23930. return t1;
  23931. },
  23932. IterableExtension_search0(_this, callback) {
  23933. var t1, value;
  23934. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  23935. value = callback.call$1(t1.get$current(t1));
  23936. if (value != null)
  23937. return value;
  23938. }
  23939. return null;
  23940. },
  23941. IterableExtension_get_exceptLast0(_this) {
  23942. var t1 = J.getInterceptor$asx(_this),
  23943. size = t1.get$length(_this) - 1;
  23944. if (size < 0)
  23945. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  23946. return t1.take$1(_this, size);
  23947. },
  23948. parseSignature(signature, requireParens) {
  23949. var error, stackTrace, t1, exception, t2;
  23950. try {
  23951. t1 = A.ScssParser$0(signature, null, null).parseSignature$1$requireParens(requireParens);
  23952. return t1;
  23953. } catch (exception) {
  23954. t1 = A.unwrapException(exception);
  23955. if (type$.SassFormatException_2._is(t1)) {
  23956. error = t1;
  23957. stackTrace = A.getTraceFromException(exception);
  23958. t1 = error._span_exception$_message;
  23959. t2 = J.get$span$z(error);
  23960. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, 'Invalid signature "' + signature + '": ' + t1, t2), stackTrace);
  23961. } else
  23962. throw exception;
  23963. }
  23964. },
  23965. indent_closure0: function indent_closure0(t0) {
  23966. this.indentation = t0;
  23967. },
  23968. flattenVertically_closure1: function flattenVertically_closure1(t0) {
  23969. this.T = t0;
  23970. },
  23971. flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
  23972. this.result = t0;
  23973. this.T = t1;
  23974. },
  23975. longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
  23976. this.selections = t0;
  23977. this.lengths = t1;
  23978. this.T = t2;
  23979. },
  23980. mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
  23981. var _ = this;
  23982. _.destination = t0;
  23983. _.K1 = t1;
  23984. _.K2 = t2;
  23985. _.V = t3;
  23986. },
  23987. CssValue0: function CssValue0(t0, t1, t2) {
  23988. this.value = t0;
  23989. this.span = t1;
  23990. this.$ti = t2;
  23991. },
  23992. ValueExpression0: function ValueExpression0(t0, t1) {
  23993. this.value = t0;
  23994. this.span = t1;
  23995. },
  23996. valueClass_closure: function valueClass_closure() {
  23997. },
  23998. valueClass__closure: function valueClass__closure() {
  23999. },
  24000. valueClass__closure0: function valueClass__closure0() {
  24001. },
  24002. valueClass__closure1: function valueClass__closure1() {
  24003. },
  24004. valueClass__closure2: function valueClass__closure2() {
  24005. },
  24006. valueClass__closure3: function valueClass__closure3() {
  24007. },
  24008. valueClass__closure4: function valueClass__closure4() {
  24009. },
  24010. valueClass__closure5: function valueClass__closure5() {
  24011. },
  24012. valueClass__closure6: function valueClass__closure6() {
  24013. },
  24014. valueClass__closure7: function valueClass__closure7() {
  24015. },
  24016. valueClass__closure8: function valueClass__closure8() {
  24017. },
  24018. valueClass__closure9: function valueClass__closure9() {
  24019. },
  24020. valueClass__closure10: function valueClass__closure10() {
  24021. },
  24022. valueClass__closure11: function valueClass__closure11() {
  24023. },
  24024. valueClass__closure12: function valueClass__closure12() {
  24025. },
  24026. valueClass__closure13: function valueClass__closure13() {
  24027. },
  24028. valueClass__closure14: function valueClass__closure14() {
  24029. },
  24030. valueClass__closure15: function valueClass__closure15() {
  24031. },
  24032. valueClass__closure16: function valueClass__closure16() {
  24033. },
  24034. SassApiValue_assertSelector0(_this, allowParent, $name) {
  24035. var error, stackTrace, t1, exception,
  24036. string = _this._value$_selectorString$1($name);
  24037. try {
  24038. t1 = A.SelectorList_SelectorList$parse0(string, allowParent, true, null, null);
  24039. return t1;
  24040. } catch (exception) {
  24041. t1 = A.unwrapException(exception);
  24042. if (type$.SassFormatException_2._is(t1)) {
  24043. error = t1;
  24044. stackTrace = A.getTraceFromException(exception);
  24045. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  24046. A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
  24047. } else
  24048. throw exception;
  24049. }
  24050. },
  24051. SassApiValue_assertCompoundSelector0(_this, $name) {
  24052. var error, stackTrace, t1, exception,
  24053. allowParent = false,
  24054. string = _this._value$_selectorString$1($name);
  24055. try {
  24056. t1 = A.SelectorParser$0(string, allowParent, true, null, null, null).parseCompoundSelector$0();
  24057. return t1;
  24058. } catch (exception) {
  24059. t1 = A.unwrapException(exception);
  24060. if (type$.SassFormatException_2._is(t1)) {
  24061. error = t1;
  24062. stackTrace = A.getTraceFromException(exception);
  24063. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  24064. A.throwWithTrace0(new A.SassScriptException0("$" + $name + ": " + t1), stackTrace);
  24065. } else
  24066. throw exception;
  24067. }
  24068. },
  24069. Value0: function Value0() {
  24070. },
  24071. VariableExpression0: function VariableExpression0(t0, t1, t2) {
  24072. this.namespace = t0;
  24073. this.name = t1;
  24074. this.span = t2;
  24075. },
  24076. VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
  24077. if (namespace != null && global)
  24078. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  24079. return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
  24080. },
  24081. VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
  24082. var _ = this;
  24083. _.namespace = t0;
  24084. _.name = t1;
  24085. _.expression = t2;
  24086. _.isGuarded = t3;
  24087. _.isGlobal = t4;
  24088. _.span = t5;
  24089. },
  24090. WarnRule0: function WarnRule0(t0, t1) {
  24091. this.expression = t0;
  24092. this.span = t1;
  24093. },
  24094. WhileRule$0(condition, children, span) {
  24095. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  24096. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  24097. return new A.WhileRule0(condition, span, t1, t2);
  24098. },
  24099. WhileRule0: function WhileRule0(t0, t1, t2, t3) {
  24100. var _ = this;
  24101. _.condition = t0;
  24102. _.span = t1;
  24103. _.children = t2;
  24104. _.hasDeclarations = t3;
  24105. },
  24106. AsyncCallable_AsyncCallable$fromSignature(signature, callback, requireParens) {
  24107. var tuple = A.parseSignature(signature, requireParens);
  24108. return new A.AsyncBuiltInCallable0(tuple.item1, tuple.item2, callback);
  24109. },
  24110. Callable_Callable$fromSignature(signature, callback, requireParens) {
  24111. var tuple = A.parseSignature(signature, requireParens);
  24112. 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));
  24113. },
  24114. printString(string) {
  24115. if (typeof dartPrint == "function") {
  24116. dartPrint(string);
  24117. return;
  24118. }
  24119. if (typeof console == "object" && typeof console.log != "undefined") {
  24120. console.log(string);
  24121. return;
  24122. }
  24123. if (typeof print == "function") {
  24124. print(string);
  24125. return;
  24126. }
  24127. throw "Unable to print message: " + String(string);
  24128. },
  24129. mergeMaps(map1, map2, $K, $V) {
  24130. var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
  24131. result.addAll$1(0, map2);
  24132. return result;
  24133. },
  24134. groupBy(values, key, $S, $T) {
  24135. var t1, t2, _i, element, t3, t4,
  24136. map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
  24137. for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
  24138. element = values[_i];
  24139. t3 = key.call$1(element);
  24140. t4 = map.$index(0, t3);
  24141. if (t4 == null) {
  24142. t4 = A._setArrayType([], t2);
  24143. map.$indexSet(0, t3, t4);
  24144. t3 = t4;
  24145. } else
  24146. t3 = t4;
  24147. J.add$1$ax(t3, element);
  24148. }
  24149. return map;
  24150. },
  24151. minBy(values, orderBy) {
  24152. var t1, t2, minValue, minOrderBy, element, elementOrderBy;
  24153. 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();) {
  24154. element = t1.__internal$_current;
  24155. if (element == null)
  24156. element = t2._as(element);
  24157. elementOrderBy = orderBy.call$1(element);
  24158. if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
  24159. minOrderBy = elementOrderBy;
  24160. minValue = element;
  24161. }
  24162. }
  24163. return minValue;
  24164. },
  24165. IterableExtension_firstWhereOrNull(_this, test) {
  24166. var _i, element;
  24167. for (_i = 0; _i < 13; ++_i) {
  24168. element = _this[_i];
  24169. if (test.call$1(element))
  24170. return element;
  24171. }
  24172. return null;
  24173. },
  24174. IterableExtension_get_firstOrNull(_this) {
  24175. var t1,
  24176. iterator = new J.ArrayIterator(_this, _this.length);
  24177. if (iterator.moveNext$0()) {
  24178. t1 = iterator._current;
  24179. return t1 == null ? A._instanceType(iterator)._precomputed1._as(t1) : t1;
  24180. }
  24181. return null;
  24182. },
  24183. IterableNullableExtension_whereNotNull(_this, $T) {
  24184. return A.IterableNullableExtension_whereNotNull$body(_this, $T, $T);
  24185. },
  24186. IterableNullableExtension_whereNotNull$body($async$_this, $async$$T, $async$type) {
  24187. return A._makeSyncStarIterable(function() {
  24188. var _this = $async$_this,
  24189. $T = $async$$T;
  24190. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, element;
  24191. return function $async$IterableNullableExtension_whereNotNull($async$errorCode, $async$result) {
  24192. if ($async$errorCode === 1) {
  24193. $async$currentError = $async$result;
  24194. $async$goto = $async$handler;
  24195. }
  24196. while (true)
  24197. switch ($async$goto) {
  24198. case 0:
  24199. // Function start
  24200. t1 = _this.get$iterator(_this);
  24201. case 2:
  24202. // for condition
  24203. if (!t1.moveNext$0()) {
  24204. // goto after for
  24205. $async$goto = 3;
  24206. break;
  24207. }
  24208. element = t1.get$current(t1);
  24209. $async$goto = element != null ? 4 : 5;
  24210. break;
  24211. case 4:
  24212. // then
  24213. $async$goto = 6;
  24214. return element;
  24215. case 6:
  24216. // after yield
  24217. case 5:
  24218. // join
  24219. // goto for condition
  24220. $async$goto = 2;
  24221. break;
  24222. case 3:
  24223. // after for
  24224. // implicit return
  24225. return A._IterationMarker_endOfIteration();
  24226. case 1:
  24227. // rethrow
  24228. return A._IterationMarker_uncaughtError($async$currentError);
  24229. }
  24230. };
  24231. }, $async$type);
  24232. },
  24233. IterableIntegerExtension_get_maxOrNull(_this) {
  24234. var value, t1, newValue,
  24235. iterator = new A.ListIterator(_this, _this.get$length(_this));
  24236. if (iterator.moveNext$0()) {
  24237. value = iterator.__internal$_current;
  24238. if (value == null)
  24239. value = A._instanceType(iterator)._precomputed1._as(value);
  24240. for (t1 = A._instanceType(iterator)._precomputed1; iterator.moveNext$0();) {
  24241. newValue = iterator.__internal$_current;
  24242. if (newValue == null)
  24243. newValue = t1._as(newValue);
  24244. if (newValue > value)
  24245. value = newValue;
  24246. }
  24247. return value;
  24248. }
  24249. return null;
  24250. },
  24251. IterableIntegerExtension_get_max(_this) {
  24252. var t1 = A.IterableIntegerExtension_get_maxOrNull(_this);
  24253. return t1 == null ? A.throwExpression(A.StateError$("No element")) : t1;
  24254. },
  24255. IterableIntegerExtension_get_sum(_this) {
  24256. var t1, t2, result, t3;
  24257. 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();) {
  24258. t3 = t1.__internal$_current;
  24259. result += t3 == null ? t2._as(t3) : t3;
  24260. }
  24261. return result;
  24262. },
  24263. ListExtensions_mapIndexed(_this, convert, $E, $R) {
  24264. return A.ListExtensions_mapIndexed$body(_this, convert, $E, $R, $R);
  24265. },
  24266. ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R, $async$type) {
  24267. return A._makeSyncStarIterable(function() {
  24268. var _this = $async$_this,
  24269. convert = $async$convert,
  24270. $E = $async$$E,
  24271. $R = $async$$R;
  24272. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, index;
  24273. return function $async$ListExtensions_mapIndexed($async$errorCode, $async$result) {
  24274. if ($async$errorCode === 1) {
  24275. $async$currentError = $async$result;
  24276. $async$goto = $async$handler;
  24277. }
  24278. while (true)
  24279. switch ($async$goto) {
  24280. case 0:
  24281. // Function start
  24282. t1 = _this.length, index = 0;
  24283. case 2:
  24284. // for condition
  24285. if (!(index < t1)) {
  24286. // goto after for
  24287. $async$goto = 4;
  24288. break;
  24289. }
  24290. $async$goto = 5;
  24291. return convert.call$2(index, _this[index]);
  24292. case 5:
  24293. // after yield
  24294. case 3:
  24295. // for update
  24296. ++index;
  24297. // goto for condition
  24298. $async$goto = 2;
  24299. break;
  24300. case 4:
  24301. // after for
  24302. // implicit return
  24303. return A._IterationMarker_endOfIteration();
  24304. case 1:
  24305. // rethrow
  24306. return A._IterationMarker_uncaughtError($async$currentError);
  24307. }
  24308. };
  24309. }, $async$type);
  24310. },
  24311. defaultCompare(value1, value2) {
  24312. return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
  24313. },
  24314. current() {
  24315. var exception, t1, path, lastIndex, uri = null;
  24316. try {
  24317. uri = A.Uri_base();
  24318. } catch (exception) {
  24319. if (type$.Exception._is(A.unwrapException(exception))) {
  24320. t1 = $._current;
  24321. if (t1 != null)
  24322. return t1;
  24323. throw exception;
  24324. } else
  24325. throw exception;
  24326. }
  24327. if (J.$eq$(uri, $._currentUriBase)) {
  24328. t1 = $._current;
  24329. t1.toString;
  24330. return t1;
  24331. }
  24332. $._currentUriBase = uri;
  24333. if ($.$get$Style_platform() == $.$get$Style_url())
  24334. t1 = $._current = uri.resolve$1(".").toString$0(0);
  24335. else {
  24336. path = uri.toFilePath$0();
  24337. lastIndex = path.length - 1;
  24338. t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
  24339. }
  24340. return t1;
  24341. },
  24342. absolute(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  24343. return $.$get$context().absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15);
  24344. },
  24345. join(part1, part2, part3) {
  24346. var _null = null;
  24347. return $.$get$context().join$16(0, part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  24348. },
  24349. prettyUri(uri) {
  24350. return $.$get$context().prettyUri$1(uri);
  24351. },
  24352. isAlphabetic(char) {
  24353. var t1;
  24354. if (!(char >= 65 && char <= 90))
  24355. t1 = char >= 97 && char <= 122;
  24356. else
  24357. t1 = true;
  24358. return t1;
  24359. },
  24360. isDriveLetter(path, index) {
  24361. var t1 = path.length,
  24362. t2 = index + 2;
  24363. if (t1 < t2)
  24364. return false;
  24365. if (!A.isAlphabetic(B.JSString_methods.codeUnitAt$1(path, index)))
  24366. return false;
  24367. if (B.JSString_methods.codeUnitAt$1(path, index + 1) !== 58)
  24368. return false;
  24369. if (t1 === t2)
  24370. return true;
  24371. return B.JSString_methods.codeUnitAt$1(path, t2) === 47;
  24372. },
  24373. main0(args) {
  24374. var $async$goto = 0,
  24375. $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic),
  24376. t1;
  24377. var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  24378. if ($async$errorCode === 1)
  24379. return A._asyncRethrow($async$result, $async$completer);
  24380. while (true)
  24381. switch ($async$goto) {
  24382. case 0:
  24383. // Function start
  24384. A.printError("sass --embedded is unavailable in pure JS mode.");
  24385. t1 = self.process;
  24386. if (t1 != null)
  24387. J.set$exitCode$x(t1, 1);
  24388. // implicit return
  24389. return A._asyncReturn(null, $async$completer);
  24390. }
  24391. });
  24392. return A._asyncStartSync($async$main0, $async$completer);
  24393. },
  24394. EvaluationContext_current() {
  24395. var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  24396. if (type$.EvaluationContext._is(context))
  24397. return context;
  24398. throw A.wrapException(A.StateError$(string$.No_Sass));
  24399. },
  24400. repl(options) {
  24401. return A.repl$body(options);
  24402. },
  24403. repl$body(options) {
  24404. var $async$goto = 0,
  24405. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  24406. $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;
  24407. var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  24408. if ($async$errorCode === 1) {
  24409. $async$currentError = $async$result;
  24410. $async$goto = $async$handler;
  24411. }
  24412. while (true)
  24413. switch ($async$goto) {
  24414. case 0:
  24415. // Function start
  24416. t1 = A._setArrayType([], type$.JSArray_String);
  24417. t2 = B.JSString_methods.$mul(" ", 3);
  24418. t3 = $.$get$alwaysValid();
  24419. repl0 = new A.Repl(">> ", t2, t3, t1);
  24420. repl0.__Repl__adapter_A = new A.ReplAdapter(repl0);
  24421. repl = repl0;
  24422. t1 = options._options;
  24423. logger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
  24424. t2 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  24425. 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));
  24426. t2 = repl.__Repl__adapter_A;
  24427. t2 === $ && A.throwUnnamedLateFieldNI();
  24428. t2 = new A._StreamIterator(A.checkNotNullable(t2.runAsync$0(), "stream", type$.Object));
  24429. $async$handler = 2;
  24430. t1 = type$.Expression, t3 = type$.String, t4 = type$.VariableDeclaration;
  24431. case 5:
  24432. // for condition
  24433. $async$goto = 7;
  24434. return A._asyncAwait(t2.moveNext$0(), $async$repl);
  24435. case 7:
  24436. // returning from await.
  24437. if (!$async$result) {
  24438. // goto after for
  24439. $async$goto = 6;
  24440. break;
  24441. }
  24442. line = t2.get$current(t2);
  24443. if (J.trim$0$s(line).length === 0) {
  24444. // goto for condition
  24445. $async$goto = 5;
  24446. break;
  24447. }
  24448. try {
  24449. if (J.startsWith$1$s(line, "@")) {
  24450. t5 = evaluator;
  24451. t6 = logger;
  24452. t7 = A.SpanScanner$(line, null);
  24453. if (t6 == null)
  24454. t6 = B.StderrLogger_false;
  24455. t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6, null).parseUseRule$0();
  24456. t5._visitor.runStatement$2(t5._importer, t6);
  24457. // goto for condition
  24458. $async$goto = 5;
  24459. break;
  24460. }
  24461. t5 = A.SpanScanner$(line, null);
  24462. if (new A.Parser(t5, B.StderrLogger_false, null)._isVariableDeclarationLike$0()) {
  24463. t5 = logger;
  24464. t6 = A.SpanScanner$(line, null);
  24465. if (t5 == null)
  24466. t5 = B.StderrLogger_false;
  24467. declaration = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t6, t5, null).parseVariableDeclaration$0();
  24468. t5 = evaluator;
  24469. t5._visitor.runStatement$2(t5._importer, declaration);
  24470. t5 = evaluator;
  24471. t6 = declaration.name;
  24472. t7 = declaration.span;
  24473. t8 = declaration.namespace;
  24474. line0 = t5._visitor.runExpression$2(t5._importer, new A.VariableExpression(t8, t6, t7)).toString$0(0);
  24475. toZone = $.printToZone;
  24476. if (toZone == null)
  24477. A.printString(line0);
  24478. else
  24479. toZone.call$1(line0);
  24480. } else {
  24481. t5 = evaluator;
  24482. t6 = logger;
  24483. t7 = A.SpanScanner$(line, null);
  24484. if (t6 == null)
  24485. t6 = B.StderrLogger_false;
  24486. t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6, null);
  24487. t6 = t6._parseSingleProduction$1$1(t6.get$_expression(), t1);
  24488. line0 = t5._visitor.runExpression$2(t5._importer, t6).toString$0(0);
  24489. toZone = $.printToZone;
  24490. if (toZone == null)
  24491. A.printString(line0);
  24492. else
  24493. toZone.call$1(line0);
  24494. }
  24495. } catch (exception) {
  24496. t5 = A.unwrapException(exception);
  24497. if (t5 instanceof A.SassException) {
  24498. error = t5;
  24499. stackTrace = A.getTraceFromException(exception);
  24500. t5 = error;
  24501. t6 = typeof t5 != "string";
  24502. if (!t6 || typeof t5 == "number" || A._isBool(t5))
  24503. t5 = null;
  24504. else {
  24505. t7 = $.$get$_traces();
  24506. if (A._isBool(t5) || typeof t5 == "number" || !t6 || false)
  24507. A.Expando__badExpandoKey(t5);
  24508. t5 = t7._jsWeakMap.get(t5);
  24509. }
  24510. if (t5 == null)
  24511. t5 = stackTrace;
  24512. A._logError(error, t5, line, repl, options, logger);
  24513. } else
  24514. throw exception;
  24515. }
  24516. // goto for condition
  24517. $async$goto = 5;
  24518. break;
  24519. case 6:
  24520. // after for
  24521. $async$next.push(4);
  24522. // goto finally
  24523. $async$goto = 3;
  24524. break;
  24525. case 2:
  24526. // uncaught
  24527. $async$next = [1];
  24528. case 3:
  24529. // finally
  24530. $async$handler = 1;
  24531. $async$goto = 8;
  24532. return A._asyncAwait(t2.cancel$0(), $async$repl);
  24533. case 8:
  24534. // returning from await.
  24535. // goto the next finally handler
  24536. $async$goto = $async$next.pop();
  24537. break;
  24538. case 4:
  24539. // after finally
  24540. // implicit return
  24541. return A._asyncReturn(null, $async$completer);
  24542. case 1:
  24543. // rethrow
  24544. return A._asyncRethrow($async$currentError, $async$completer);
  24545. }
  24546. });
  24547. return A._asyncStartSync($async$repl, $async$completer);
  24548. },
  24549. _logError(error, stackTrace, line, repl, options, logger) {
  24550. var t2, spacesBeforeError, t3,
  24551. t1 = A.SourceSpanException.prototype.get$span.call(error, error);
  24552. if (t1.get$sourceUrl(t1) == null)
  24553. if (!A._asBool(options._options.$index(0, "quiet")))
  24554. t1 = logger._emittedDebug || logger._emittedWarning;
  24555. else
  24556. t1 = false;
  24557. else
  24558. t1 = true;
  24559. if (t1) {
  24560. A.print(error.toString$1$color(0, options.get$color()));
  24561. return;
  24562. }
  24563. t1 = options.get$color() ? "" + "\x1b[31m" : "";
  24564. t2 = A.SourceSpanException.prototype.get$span.call(error, error);
  24565. t2 = t2.get$start(t2);
  24566. spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
  24567. if (options.get$color()) {
  24568. t2 = A.SourceSpanException.prototype.get$span.call(error, error);
  24569. t2 = t2.get$start(t2);
  24570. t2 = t2.file.getColumn$1(t2.offset) < line.length;
  24571. } else
  24572. t2 = false;
  24573. if (t2)
  24574. t1 = t1 + ("\x1b[1F\x1b[" + spacesBeforeError + "C") + (A.SourceSpanException.prototype.get$span.call(error, error).get$text() + "\n");
  24575. t2 = B.JSString_methods.$mul(" ", spacesBeforeError);
  24576. t3 = A.SourceSpanException.prototype.get$span.call(error, error);
  24577. t3 = t1 + t2 + (B.JSString_methods.$mul("^", Math.max(1, t3.get$length(t3))) + "\n");
  24578. t1 = options.get$color() ? t3 + "\x1b[0m" : t3;
  24579. t1 += "Error: " + error._span_exception$_message + "\n";
  24580. if (A._asBool(options._options.$index(0, "trace")))
  24581. t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
  24582. A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
  24583. },
  24584. isWhitespace(character) {
  24585. return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
  24586. },
  24587. isNewline(character) {
  24588. return character === 10 || character === 13 || character === 12;
  24589. },
  24590. isAlphabetic0(character) {
  24591. var t1;
  24592. if (!(character >= 97 && character <= 122))
  24593. t1 = character >= 65 && character <= 90;
  24594. else
  24595. t1 = true;
  24596. return t1;
  24597. },
  24598. isDigit(character) {
  24599. return character != null && character >= 48 && character <= 57;
  24600. },
  24601. isHex(character) {
  24602. if (character == null)
  24603. return false;
  24604. if (A.isDigit(character))
  24605. return true;
  24606. if (character >= 97 && character <= 102)
  24607. return true;
  24608. if (character >= 65 && character <= 70)
  24609. return true;
  24610. return false;
  24611. },
  24612. asHex(character) {
  24613. if (character <= 57)
  24614. return character - 48;
  24615. if (character <= 70)
  24616. return 10 + character - 65;
  24617. return 10 + character - 97;
  24618. },
  24619. hexCharFor(number) {
  24620. return number < 10 ? 48 + number : 87 + number;
  24621. },
  24622. opposite(character) {
  24623. switch (character) {
  24624. case 40:
  24625. return 41;
  24626. case 123:
  24627. return 125;
  24628. case 91:
  24629. return 93;
  24630. default:
  24631. throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  24632. }
  24633. },
  24634. characterEqualsIgnoreCase(character1, character2) {
  24635. var upperCase1;
  24636. if (character1 === character2)
  24637. return true;
  24638. if ((character1 ^ character2) >>> 0 !== 32)
  24639. return false;
  24640. upperCase1 = (character1 & 4294967263) >>> 0;
  24641. return upperCase1 >= 65 && upperCase1 <= 90;
  24642. },
  24643. NullableExtension_andThen(_this, fn) {
  24644. return _this == null ? null : fn.call$1(_this);
  24645. },
  24646. SetExtension_removeNull(_this, $T) {
  24647. _this.remove$1(0, null);
  24648. return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
  24649. },
  24650. fuzzyEquals(number1, number2) {
  24651. var t1;
  24652. if (number1 === number2)
  24653. return true;
  24654. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  24655. t1 = $.$get$_inverseEpsilon();
  24656. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  24657. } else
  24658. t1 = false;
  24659. return t1;
  24660. },
  24661. fuzzyHashCode(number) {
  24662. if (!isFinite(number))
  24663. return B.JSNumber_methods.get$hashCode(number);
  24664. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon()));
  24665. },
  24666. fuzzyLessThan(number1, number2) {
  24667. return number1 < number2 && !A.fuzzyEquals(number1, number2);
  24668. },
  24669. fuzzyLessThanOrEquals(number1, number2) {
  24670. return number1 < number2 || A.fuzzyEquals(number1, number2);
  24671. },
  24672. fuzzyGreaterThan(number1, number2) {
  24673. return number1 > number2 && !A.fuzzyEquals(number1, number2);
  24674. },
  24675. fuzzyGreaterThanOrEquals(number1, number2) {
  24676. return number1 > number2 || A.fuzzyEquals(number1, number2);
  24677. },
  24678. fuzzyAsInt(number) {
  24679. var rounded;
  24680. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  24681. return null;
  24682. rounded = B.JSNumber_methods.round$0(number);
  24683. return A.fuzzyEquals(number, rounded) ? rounded : null;
  24684. },
  24685. fuzzyRound(number) {
  24686. var t1;
  24687. if (number > 0) {
  24688. t1 = B.JSNumber_methods.$mod(number, 1);
  24689. return t1 < 0.5 && !A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  24690. } else {
  24691. t1 = B.JSNumber_methods.$mod(number, 1);
  24692. return t1 < 0.5 || A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  24693. }
  24694. },
  24695. fuzzyCheckRange(number, min, max) {
  24696. if (A.fuzzyEquals(number, min))
  24697. return min;
  24698. if (A.fuzzyEquals(number, max))
  24699. return max;
  24700. if (number > min && number < max)
  24701. return number;
  24702. return null;
  24703. },
  24704. fuzzyAssertRange(number, min, max, $name) {
  24705. var result = A.fuzzyCheckRange(number, min, max);
  24706. if (result != null)
  24707. return result;
  24708. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  24709. },
  24710. moduloLikeSass(num1, num2) {
  24711. var result;
  24712. if (num2 > 0)
  24713. return B.JSNumber_methods.$mod(num1, num2);
  24714. if (num2 === 0)
  24715. return 0 / 0;
  24716. result = B.JSNumber_methods.$mod(num1, num2);
  24717. return result === 0 ? 0 : result + num2;
  24718. },
  24719. SpanExtensions_trimLeft(_this) {
  24720. var t5,
  24721. t1 = _this._file$_start,
  24722. t2 = _this._end,
  24723. t3 = _this.file._decodedChars,
  24724. t4 = t3.length,
  24725. start = 0;
  24726. while (true) {
  24727. t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
  24728. if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
  24729. break;
  24730. ++start;
  24731. }
  24732. return A.FileSpanExtension_subspan(_this, start, null);
  24733. },
  24734. SpanExtensions_trimRight(_this) {
  24735. var t1,
  24736. end = _this.get$text().length - 1;
  24737. while (true) {
  24738. t1 = B.JSString_methods.codeUnitAt$1(_this.get$text(), end);
  24739. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  24740. break;
  24741. --end;
  24742. }
  24743. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  24744. },
  24745. encodeVlq(value) {
  24746. var res, signBit, digit, t1;
  24747. if (value < $.$get$minInt32() || value > $.$get$maxInt32())
  24748. throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
  24749. res = A._setArrayType([], type$.JSArray_String);
  24750. if (value < 0) {
  24751. value = -value;
  24752. signBit = 1;
  24753. } else
  24754. signBit = 0;
  24755. value = value << 1 | signBit;
  24756. do {
  24757. digit = value & 31;
  24758. value = value >>> 5;
  24759. t1 = value > 0;
  24760. res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
  24761. } while (t1);
  24762. return res;
  24763. },
  24764. isAllTheSame(iter) {
  24765. var firstValue, t1, t2, value;
  24766. if (iter.get$length(iter) === 0)
  24767. return true;
  24768. firstValue = iter.get$first(iter);
  24769. 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();) {
  24770. value = t1.__internal$_current;
  24771. if (!J.$eq$(value == null ? t2._as(value) : value, firstValue))
  24772. return false;
  24773. }
  24774. return true;
  24775. },
  24776. replaceFirstNull(list, element) {
  24777. var index = B.JSArray_methods.indexOf$1(list, null);
  24778. if (index < 0)
  24779. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
  24780. list[index] = element;
  24781. },
  24782. replaceWithNull(list, element) {
  24783. var index = B.JSArray_methods.indexOf$1(list, element);
  24784. if (index < 0)
  24785. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
  24786. list[index] = null;
  24787. },
  24788. countCodeUnits(string, codeUnit) {
  24789. var t1, t2, count, t3;
  24790. 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();) {
  24791. t3 = t1.__internal$_current;
  24792. if ((t3 == null ? t2._as(t3) : t3) === codeUnit)
  24793. ++count;
  24794. }
  24795. return count;
  24796. },
  24797. findLineStart(context, text, column) {
  24798. var beginningOfLine, index, lineStart;
  24799. if (text.length === 0)
  24800. for (beginningOfLine = 0; true;) {
  24801. index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
  24802. if (index === -1)
  24803. return context.length - beginningOfLine >= column ? beginningOfLine : null;
  24804. if (index - beginningOfLine >= column)
  24805. return beginningOfLine;
  24806. beginningOfLine = index + 1;
  24807. }
  24808. index = B.JSString_methods.indexOf$1(context, text);
  24809. for (; index !== -1;) {
  24810. lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
  24811. if (column === index - lineStart)
  24812. return lineStart;
  24813. index = B.JSString_methods.indexOf$2(context, text, index + 1);
  24814. }
  24815. return null;
  24816. },
  24817. validateErrorArgs(string, match, position, $length) {
  24818. var t2,
  24819. t1 = position != null;
  24820. if (t1)
  24821. if (position < 0)
  24822. throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
  24823. else if (position > string.length)
  24824. throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
  24825. t2 = $length != null;
  24826. if (t2 && $length < 0)
  24827. throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
  24828. if (t1 && t2 && position + $length > string.length)
  24829. throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
  24830. },
  24831. isWhitespace0(character) {
  24832. return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
  24833. },
  24834. isNewline0(character) {
  24835. return character === 10 || character === 13 || character === 12;
  24836. },
  24837. isAlphabetic1(character) {
  24838. var t1;
  24839. if (!(character >= 97 && character <= 122))
  24840. t1 = character >= 65 && character <= 90;
  24841. else
  24842. t1 = true;
  24843. return t1;
  24844. },
  24845. isDigit0(character) {
  24846. return character != null && character >= 48 && character <= 57;
  24847. },
  24848. isHex0(character) {
  24849. if (character == null)
  24850. return false;
  24851. if (A.isDigit0(character))
  24852. return true;
  24853. if (character >= 97 && character <= 102)
  24854. return true;
  24855. if (character >= 65 && character <= 70)
  24856. return true;
  24857. return false;
  24858. },
  24859. asHex0(character) {
  24860. if (character <= 57)
  24861. return character - 48;
  24862. if (character <= 70)
  24863. return 10 + character - 65;
  24864. return 10 + character - 97;
  24865. },
  24866. hexCharFor0(number) {
  24867. return number < 10 ? 48 + number : 87 + number;
  24868. },
  24869. opposite0(character) {
  24870. switch (character) {
  24871. case 40:
  24872. return 41;
  24873. case 123:
  24874. return 125;
  24875. case 91:
  24876. return 93;
  24877. default:
  24878. throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  24879. }
  24880. },
  24881. characterEqualsIgnoreCase0(character1, character2) {
  24882. var upperCase1;
  24883. if (character1 === character2)
  24884. return true;
  24885. if ((character1 ^ character2) >>> 0 !== 32)
  24886. return false;
  24887. upperCase1 = (character1 & 4294967263) >>> 0;
  24888. return upperCase1 >= 65 && upperCase1 <= 90;
  24889. },
  24890. EvaluationContext_current0() {
  24891. var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  24892. if (type$.EvaluationContext_2._is(context))
  24893. return context;
  24894. throw A.wrapException(A.StateError$(string$.No_Sass));
  24895. },
  24896. NullableExtension_andThen0(_this, fn) {
  24897. return _this == null ? null : fn.call$1(_this);
  24898. },
  24899. fuzzyEquals0(number1, number2) {
  24900. var t1;
  24901. if (number1 === number2)
  24902. return true;
  24903. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  24904. t1 = $.$get$_inverseEpsilon0();
  24905. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  24906. } else
  24907. t1 = false;
  24908. return t1;
  24909. },
  24910. fuzzyHashCode0(number) {
  24911. if (!isFinite(number))
  24912. return B.JSNumber_methods.get$hashCode(number);
  24913. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon0()));
  24914. },
  24915. fuzzyLessThan0(number1, number2) {
  24916. return number1 < number2 && !A.fuzzyEquals0(number1, number2);
  24917. },
  24918. fuzzyLessThanOrEquals0(number1, number2) {
  24919. return number1 < number2 || A.fuzzyEquals0(number1, number2);
  24920. },
  24921. fuzzyGreaterThan0(number1, number2) {
  24922. return number1 > number2 && !A.fuzzyEquals0(number1, number2);
  24923. },
  24924. fuzzyGreaterThanOrEquals0(number1, number2) {
  24925. return number1 > number2 || A.fuzzyEquals0(number1, number2);
  24926. },
  24927. fuzzyIsInt(number) {
  24928. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  24929. return false;
  24930. return A.fuzzyEquals0(number, B.JSNumber_methods.round$0(number));
  24931. },
  24932. fuzzyAsInt0(number) {
  24933. var rounded;
  24934. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  24935. return null;
  24936. rounded = B.JSNumber_methods.round$0(number);
  24937. return A.fuzzyEquals0(number, rounded) ? rounded : null;
  24938. },
  24939. fuzzyRound0(number) {
  24940. var t1;
  24941. if (number > 0) {
  24942. t1 = B.JSNumber_methods.$mod(number, 1);
  24943. return t1 < 0.5 && !A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  24944. } else {
  24945. t1 = B.JSNumber_methods.$mod(number, 1);
  24946. return t1 < 0.5 || A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  24947. }
  24948. },
  24949. fuzzyCheckRange0(number, min, max) {
  24950. if (A.fuzzyEquals0(number, min))
  24951. return min;
  24952. if (A.fuzzyEquals0(number, max))
  24953. return max;
  24954. if (number > min && number < max)
  24955. return number;
  24956. return null;
  24957. },
  24958. fuzzyAssertRange0(number, min, max, $name) {
  24959. var result = A.fuzzyCheckRange0(number, min, max);
  24960. if (result != null)
  24961. return result;
  24962. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  24963. },
  24964. moduloLikeSass0(num1, num2) {
  24965. var result;
  24966. if (num2 > 0)
  24967. return B.JSNumber_methods.$mod(num1, num2);
  24968. if (num2 === 0)
  24969. return 0 / 0;
  24970. result = B.JSNumber_methods.$mod(num1, num2);
  24971. return result === 0 ? 0 : result + num2;
  24972. },
  24973. SpanExtensions_trimLeft0(_this) {
  24974. var t5,
  24975. t1 = _this._file$_start,
  24976. t2 = _this._end,
  24977. t3 = _this.file._decodedChars,
  24978. t4 = t3.length,
  24979. start = 0;
  24980. while (true) {
  24981. t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
  24982. if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
  24983. break;
  24984. ++start;
  24985. }
  24986. return A.FileSpanExtension_subspan(_this, start, null);
  24987. },
  24988. SpanExtensions_trimRight0(_this) {
  24989. var t1,
  24990. end = _this.get$text().length - 1;
  24991. while (true) {
  24992. t1 = B.JSString_methods.codeUnitAt$1(_this.get$text(), end);
  24993. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  24994. break;
  24995. --end;
  24996. }
  24997. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  24998. },
  24999. unwrapValue(object) {
  25000. var value;
  25001. if (object != null) {
  25002. if (object instanceof A.Value0)
  25003. return object;
  25004. value = object.dartValue;
  25005. if (value != null && value instanceof A.Value0)
  25006. return value;
  25007. if (object instanceof self.Error)
  25008. throw A.wrapException(object);
  25009. }
  25010. throw A.wrapException(A.S(object) + " must be a Sass value type.");
  25011. },
  25012. wrapValue(value) {
  25013. var t1;
  25014. if (value instanceof A.SassColor0) {
  25015. t1 = A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
  25016. return t1;
  25017. }
  25018. if (value instanceof A.SassList0) {
  25019. t1 = A.callConstructor($.$get$legacyListClass(), [null, null, value]);
  25020. return t1;
  25021. }
  25022. if (value instanceof A.SassMap0) {
  25023. t1 = A.callConstructor($.$get$legacyMapClass(), [null, value]);
  25024. return t1;
  25025. }
  25026. if (value instanceof A.SassNumber0) {
  25027. t1 = A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
  25028. return t1;
  25029. }
  25030. if (value instanceof A.SassString0) {
  25031. t1 = A.callConstructor($.$get$legacyStringClass(), [null, value]);
  25032. return t1;
  25033. }
  25034. return value;
  25035. }
  25036. },
  25037. J = {
  25038. makeDispatchRecord(interceptor, proto, extension, indexability) {
  25039. return {i: interceptor, p: proto, e: extension, x: indexability};
  25040. },
  25041. getNativeInterceptor(object) {
  25042. var proto, objectProto, $constructor, interceptor, t1,
  25043. record = object[init.dispatchPropertyName];
  25044. if (record == null)
  25045. if ($.initNativeDispatchFlag == null) {
  25046. A.initNativeDispatch();
  25047. record = object[init.dispatchPropertyName];
  25048. }
  25049. if (record != null) {
  25050. proto = record.p;
  25051. if (false === proto)
  25052. return record.i;
  25053. if (true === proto)
  25054. return object;
  25055. objectProto = Object.getPrototypeOf(object);
  25056. if (proto === objectProto)
  25057. return record.i;
  25058. if (record.e === objectProto)
  25059. throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
  25060. }
  25061. $constructor = object.constructor;
  25062. if ($constructor == null)
  25063. interceptor = null;
  25064. else {
  25065. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  25066. if (t1 == null)
  25067. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  25068. interceptor = $constructor[t1];
  25069. }
  25070. if (interceptor != null)
  25071. return interceptor;
  25072. interceptor = A.lookupAndCacheInterceptor(object);
  25073. if (interceptor != null)
  25074. return interceptor;
  25075. if (typeof object == "function")
  25076. return B.JavaScriptFunction_methods;
  25077. proto = Object.getPrototypeOf(object);
  25078. if (proto == null)
  25079. return B.PlainJavaScriptObject_methods;
  25080. if (proto === Object.prototype)
  25081. return B.PlainJavaScriptObject_methods;
  25082. if (typeof $constructor == "function") {
  25083. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  25084. if (t1 == null)
  25085. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  25086. Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
  25087. return B.UnknownJavaScriptObject_methods;
  25088. }
  25089. return B.UnknownJavaScriptObject_methods;
  25090. },
  25091. JSArray_JSArray$fixed($length, $E) {
  25092. if ($length < 0 || $length > 4294967295)
  25093. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  25094. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  25095. },
  25096. JSArray_JSArray$allocateFixed($length, $E) {
  25097. if ($length > 4294967295)
  25098. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  25099. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  25100. },
  25101. JSArray_JSArray$growable($length, $E) {
  25102. if ($length < 0)
  25103. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  25104. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  25105. },
  25106. JSArray_JSArray$allocateGrowable($length, $E) {
  25107. if ($length < 0)
  25108. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  25109. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  25110. },
  25111. JSArray_JSArray$markFixed(allocation, $E) {
  25112. return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>")));
  25113. },
  25114. JSArray_markFixedList(list) {
  25115. list.fixed$length = Array;
  25116. return list;
  25117. },
  25118. JSArray_markUnmodifiableList(list) {
  25119. list.fixed$length = Array;
  25120. list.immutable$list = Array;
  25121. return list;
  25122. },
  25123. JSArray__compareAny(a, b) {
  25124. return J.compareTo$1$ns(a, b);
  25125. },
  25126. JSString__isWhitespace(codeUnit) {
  25127. if (codeUnit < 256)
  25128. switch (codeUnit) {
  25129. case 9:
  25130. case 10:
  25131. case 11:
  25132. case 12:
  25133. case 13:
  25134. case 32:
  25135. case 133:
  25136. case 160:
  25137. return true;
  25138. default:
  25139. return false;
  25140. }
  25141. switch (codeUnit) {
  25142. case 5760:
  25143. case 8192:
  25144. case 8193:
  25145. case 8194:
  25146. case 8195:
  25147. case 8196:
  25148. case 8197:
  25149. case 8198:
  25150. case 8199:
  25151. case 8200:
  25152. case 8201:
  25153. case 8202:
  25154. case 8232:
  25155. case 8233:
  25156. case 8239:
  25157. case 8287:
  25158. case 12288:
  25159. case 65279:
  25160. return true;
  25161. default:
  25162. return false;
  25163. }
  25164. },
  25165. JSString__skipLeadingWhitespace(string, index) {
  25166. var t1, codeUnit;
  25167. for (t1 = string.length; index < t1;) {
  25168. codeUnit = B.JSString_methods._codeUnitAt$1(string, index);
  25169. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  25170. break;
  25171. ++index;
  25172. }
  25173. return index;
  25174. },
  25175. JSString__skipTrailingWhitespace(string, index) {
  25176. var index0, codeUnit;
  25177. for (; index > 0; index = index0) {
  25178. index0 = index - 1;
  25179. codeUnit = B.JSString_methods.codeUnitAt$1(string, index0);
  25180. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  25181. break;
  25182. }
  25183. return index;
  25184. },
  25185. getInterceptor$(receiver) {
  25186. if (typeof receiver == "number") {
  25187. if (Math.floor(receiver) == receiver)
  25188. return J.JSInt.prototype;
  25189. return J.JSNumNotInt.prototype;
  25190. }
  25191. if (typeof receiver == "string")
  25192. return J.JSString.prototype;
  25193. if (receiver == null)
  25194. return J.JSNull.prototype;
  25195. if (typeof receiver == "boolean")
  25196. return J.JSBool.prototype;
  25197. if (receiver.constructor == Array)
  25198. return J.JSArray.prototype;
  25199. if (typeof receiver != "object") {
  25200. if (typeof receiver == "function")
  25201. return J.JavaScriptFunction.prototype;
  25202. return receiver;
  25203. }
  25204. if (receiver instanceof A.Object)
  25205. return receiver;
  25206. return J.getNativeInterceptor(receiver);
  25207. },
  25208. getInterceptor$ansx(receiver) {
  25209. if (typeof receiver == "number")
  25210. return J.JSNumber.prototype;
  25211. if (typeof receiver == "string")
  25212. return J.JSString.prototype;
  25213. if (receiver == null)
  25214. return receiver;
  25215. if (receiver.constructor == Array)
  25216. return J.JSArray.prototype;
  25217. if (typeof receiver != "object") {
  25218. if (typeof receiver == "function")
  25219. return J.JavaScriptFunction.prototype;
  25220. return receiver;
  25221. }
  25222. if (receiver instanceof A.Object)
  25223. return receiver;
  25224. return J.getNativeInterceptor(receiver);
  25225. },
  25226. getInterceptor$asx(receiver) {
  25227. if (typeof receiver == "string")
  25228. return J.JSString.prototype;
  25229. if (receiver == null)
  25230. return receiver;
  25231. if (receiver.constructor == Array)
  25232. return J.JSArray.prototype;
  25233. if (typeof receiver != "object") {
  25234. if (typeof receiver == "function")
  25235. return J.JavaScriptFunction.prototype;
  25236. return receiver;
  25237. }
  25238. if (receiver instanceof A.Object)
  25239. return receiver;
  25240. return J.getNativeInterceptor(receiver);
  25241. },
  25242. getInterceptor$ax(receiver) {
  25243. if (receiver == null)
  25244. return receiver;
  25245. if (receiver.constructor == Array)
  25246. return J.JSArray.prototype;
  25247. if (typeof receiver != "object") {
  25248. if (typeof receiver == "function")
  25249. return J.JavaScriptFunction.prototype;
  25250. return receiver;
  25251. }
  25252. if (receiver instanceof A.Object)
  25253. return receiver;
  25254. return J.getNativeInterceptor(receiver);
  25255. },
  25256. getInterceptor$n(receiver) {
  25257. if (typeof receiver == "number")
  25258. return J.JSNumber.prototype;
  25259. if (receiver == null)
  25260. return receiver;
  25261. if (!(receiver instanceof A.Object))
  25262. return J.UnknownJavaScriptObject.prototype;
  25263. return receiver;
  25264. },
  25265. getInterceptor$ns(receiver) {
  25266. if (typeof receiver == "number")
  25267. return J.JSNumber.prototype;
  25268. if (typeof receiver == "string")
  25269. return J.JSString.prototype;
  25270. if (receiver == null)
  25271. return receiver;
  25272. if (!(receiver instanceof A.Object))
  25273. return J.UnknownJavaScriptObject.prototype;
  25274. return receiver;
  25275. },
  25276. getInterceptor$s(receiver) {
  25277. if (typeof receiver == "string")
  25278. return J.JSString.prototype;
  25279. if (receiver == null)
  25280. return receiver;
  25281. if (!(receiver instanceof A.Object))
  25282. return J.UnknownJavaScriptObject.prototype;
  25283. return receiver;
  25284. },
  25285. getInterceptor$x(receiver) {
  25286. if (receiver == null)
  25287. return receiver;
  25288. if (typeof receiver != "object") {
  25289. if (typeof receiver == "function")
  25290. return J.JavaScriptFunction.prototype;
  25291. return receiver;
  25292. }
  25293. if (receiver instanceof A.Object)
  25294. return receiver;
  25295. return J.getNativeInterceptor(receiver);
  25296. },
  25297. getInterceptor$z(receiver) {
  25298. if (receiver == null)
  25299. return receiver;
  25300. if (!(receiver instanceof A.Object))
  25301. return J.UnknownJavaScriptObject.prototype;
  25302. return receiver;
  25303. },
  25304. set$Exception$x(receiver, value) {
  25305. return J.getInterceptor$x(receiver).set$Exception(receiver, value);
  25306. },
  25307. set$FALSE$x(receiver, value) {
  25308. return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
  25309. },
  25310. set$Logger$x(receiver, value) {
  25311. return J.getInterceptor$x(receiver).set$Logger(receiver, value);
  25312. },
  25313. set$NULL$x(receiver, value) {
  25314. return J.getInterceptor$x(receiver).set$NULL(receiver, value);
  25315. },
  25316. set$SassArgumentList$x(receiver, value) {
  25317. return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
  25318. },
  25319. set$SassBoolean$x(receiver, value) {
  25320. return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
  25321. },
  25322. set$SassColor$x(receiver, value) {
  25323. return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
  25324. },
  25325. set$SassFunction$x(receiver, value) {
  25326. return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
  25327. },
  25328. set$SassList$x(receiver, value) {
  25329. return J.getInterceptor$x(receiver).set$SassList(receiver, value);
  25330. },
  25331. set$SassMap$x(receiver, value) {
  25332. return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
  25333. },
  25334. set$SassNumber$x(receiver, value) {
  25335. return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
  25336. },
  25337. set$SassString$x(receiver, value) {
  25338. return J.getInterceptor$x(receiver).set$SassString(receiver, value);
  25339. },
  25340. set$TRUE$x(receiver, value) {
  25341. return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
  25342. },
  25343. set$Value$x(receiver, value) {
  25344. return J.getInterceptor$x(receiver).set$Value(receiver, value);
  25345. },
  25346. set$cli_pkg_main_0_$x(receiver, value) {
  25347. return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
  25348. },
  25349. set$compile$x(receiver, value) {
  25350. return J.getInterceptor$x(receiver).set$compile(receiver, value);
  25351. },
  25352. set$compileAsync$x(receiver, value) {
  25353. return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
  25354. },
  25355. set$compileString$x(receiver, value) {
  25356. return J.getInterceptor$x(receiver).set$compileString(receiver, value);
  25357. },
  25358. set$compileStringAsync$x(receiver, value) {
  25359. return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
  25360. },
  25361. set$context$x(receiver, value) {
  25362. return J.getInterceptor$x(receiver).set$context(receiver, value);
  25363. },
  25364. set$dartValue$x(receiver, value) {
  25365. return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
  25366. },
  25367. set$exitCode$x(receiver, value) {
  25368. return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
  25369. },
  25370. set$info$x(receiver, value) {
  25371. return J.getInterceptor$x(receiver).set$info(receiver, value);
  25372. },
  25373. set$length$asx(receiver, value) {
  25374. return J.getInterceptor$asx(receiver).set$length(receiver, value);
  25375. },
  25376. set$render$x(receiver, value) {
  25377. return J.getInterceptor$x(receiver).set$render(receiver, value);
  25378. },
  25379. set$renderSync$x(receiver, value) {
  25380. return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
  25381. },
  25382. set$sassFalse$x(receiver, value) {
  25383. return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
  25384. },
  25385. set$sassNull$x(receiver, value) {
  25386. return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
  25387. },
  25388. set$sassTrue$x(receiver, value) {
  25389. return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
  25390. },
  25391. set$types$x(receiver, value) {
  25392. return J.getInterceptor$x(receiver).set$types(receiver, value);
  25393. },
  25394. get$$prototype$x(receiver) {
  25395. return J.getInterceptor$x(receiver).get$$prototype(receiver);
  25396. },
  25397. get$_dartException$x(receiver) {
  25398. return J.getInterceptor$x(receiver).get$_dartException(receiver);
  25399. },
  25400. get$alertAscii$x(receiver) {
  25401. return J.getInterceptor$x(receiver).get$alertAscii(receiver);
  25402. },
  25403. get$alertColor$x(receiver) {
  25404. return J.getInterceptor$x(receiver).get$alertColor(receiver);
  25405. },
  25406. get$blue$x(receiver) {
  25407. return J.getInterceptor$x(receiver).get$blue(receiver);
  25408. },
  25409. get$brackets$x(receiver) {
  25410. return J.getInterceptor$x(receiver).get$brackets(receiver);
  25411. },
  25412. get$charset$x(receiver) {
  25413. return J.getInterceptor$x(receiver).get$charset(receiver);
  25414. },
  25415. get$code$x(receiver) {
  25416. return J.getInterceptor$x(receiver).get$code(receiver);
  25417. },
  25418. get$current$x(receiver) {
  25419. return J.getInterceptor$x(receiver).get$current(receiver);
  25420. },
  25421. get$dartValue$x(receiver) {
  25422. return J.getInterceptor$x(receiver).get$dartValue(receiver);
  25423. },
  25424. get$debug$x(receiver) {
  25425. return J.getInterceptor$x(receiver).get$debug(receiver);
  25426. },
  25427. get$denominatorUnits$x(receiver) {
  25428. return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
  25429. },
  25430. get$end$z(receiver) {
  25431. return J.getInterceptor$z(receiver).get$end(receiver);
  25432. },
  25433. get$entries$z(receiver) {
  25434. return J.getInterceptor$z(receiver).get$entries(receiver);
  25435. },
  25436. get$env$x(receiver) {
  25437. return J.getInterceptor$x(receiver).get$env(receiver);
  25438. },
  25439. get$exitCode$x(receiver) {
  25440. return J.getInterceptor$x(receiver).get$exitCode(receiver);
  25441. },
  25442. get$fiber$x(receiver) {
  25443. return J.getInterceptor$x(receiver).get$fiber(receiver);
  25444. },
  25445. get$file$x(receiver) {
  25446. return J.getInterceptor$x(receiver).get$file(receiver);
  25447. },
  25448. get$first$ax(receiver) {
  25449. return J.getInterceptor$ax(receiver).get$first(receiver);
  25450. },
  25451. get$functions$x(receiver) {
  25452. return J.getInterceptor$x(receiver).get$functions(receiver);
  25453. },
  25454. get$green$x(receiver) {
  25455. return J.getInterceptor$x(receiver).get$green(receiver);
  25456. },
  25457. get$hashCode$(receiver) {
  25458. return J.getInterceptor$(receiver).get$hashCode(receiver);
  25459. },
  25460. get$importer$x(receiver) {
  25461. return J.getInterceptor$x(receiver).get$importer(receiver);
  25462. },
  25463. get$importers$x(receiver) {
  25464. return J.getInterceptor$x(receiver).get$importers(receiver);
  25465. },
  25466. get$isEmpty$asx(receiver) {
  25467. return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
  25468. },
  25469. get$isNotEmpty$asx(receiver) {
  25470. return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
  25471. },
  25472. get$isTTY$x(receiver) {
  25473. return J.getInterceptor$x(receiver).get$isTTY(receiver);
  25474. },
  25475. get$iterator$ax(receiver) {
  25476. return J.getInterceptor$ax(receiver).get$iterator(receiver);
  25477. },
  25478. get$keys$z(receiver) {
  25479. return J.getInterceptor$z(receiver).get$keys(receiver);
  25480. },
  25481. get$last$ax(receiver) {
  25482. return J.getInterceptor$ax(receiver).get$last(receiver);
  25483. },
  25484. get$length$asx(receiver) {
  25485. return J.getInterceptor$asx(receiver).get$length(receiver);
  25486. },
  25487. get$loadPaths$x(receiver) {
  25488. return J.getInterceptor$x(receiver).get$loadPaths(receiver);
  25489. },
  25490. get$logger$x(receiver) {
  25491. return J.getInterceptor$x(receiver).get$logger(receiver);
  25492. },
  25493. get$message$x(receiver) {
  25494. return J.getInterceptor$x(receiver).get$message(receiver);
  25495. },
  25496. get$mtime$x(receiver) {
  25497. return J.getInterceptor$x(receiver).get$mtime(receiver);
  25498. },
  25499. get$name$x(receiver) {
  25500. return J.getInterceptor$x(receiver).get$name(receiver);
  25501. },
  25502. get$numeratorUnits$x(receiver) {
  25503. return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
  25504. },
  25505. get$options$x(receiver) {
  25506. return J.getInterceptor$x(receiver).get$options(receiver);
  25507. },
  25508. get$parent$z(receiver) {
  25509. return J.getInterceptor$z(receiver).get$parent(receiver);
  25510. },
  25511. get$path$x(receiver) {
  25512. return J.getInterceptor$x(receiver).get$path(receiver);
  25513. },
  25514. get$platform$x(receiver) {
  25515. return J.getInterceptor$x(receiver).get$platform(receiver);
  25516. },
  25517. get$quietDeps$x(receiver) {
  25518. return J.getInterceptor$x(receiver).get$quietDeps(receiver);
  25519. },
  25520. get$quotes$x(receiver) {
  25521. return J.getInterceptor$x(receiver).get$quotes(receiver);
  25522. },
  25523. get$red$x(receiver) {
  25524. return J.getInterceptor$x(receiver).get$red(receiver);
  25525. },
  25526. get$reversed$ax(receiver) {
  25527. return J.getInterceptor$ax(receiver).get$reversed(receiver);
  25528. },
  25529. get$runtimeType$(receiver) {
  25530. return J.getInterceptor$(receiver).get$runtimeType(receiver);
  25531. },
  25532. get$separator$x(receiver) {
  25533. return J.getInterceptor$x(receiver).get$separator(receiver);
  25534. },
  25535. get$single$ax(receiver) {
  25536. return J.getInterceptor$ax(receiver).get$single(receiver);
  25537. },
  25538. get$sourceMap$x(receiver) {
  25539. return J.getInterceptor$x(receiver).get$sourceMap(receiver);
  25540. },
  25541. get$sourceMapIncludeSources$x(receiver) {
  25542. return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
  25543. },
  25544. get$span$z(receiver) {
  25545. return J.getInterceptor$z(receiver).get$span(receiver);
  25546. },
  25547. get$stderr$x(receiver) {
  25548. return J.getInterceptor$x(receiver).get$stderr(receiver);
  25549. },
  25550. get$stdout$x(receiver) {
  25551. return J.getInterceptor$x(receiver).get$stdout(receiver);
  25552. },
  25553. get$style$x(receiver) {
  25554. return J.getInterceptor$x(receiver).get$style(receiver);
  25555. },
  25556. get$syntax$x(receiver) {
  25557. return J.getInterceptor$x(receiver).get$syntax(receiver);
  25558. },
  25559. get$trace$z(receiver) {
  25560. return J.getInterceptor$z(receiver).get$trace(receiver);
  25561. },
  25562. get$url$x(receiver) {
  25563. return J.getInterceptor$x(receiver).get$url(receiver);
  25564. },
  25565. get$values$z(receiver) {
  25566. return J.getInterceptor$z(receiver).get$values(receiver);
  25567. },
  25568. get$verbose$x(receiver) {
  25569. return J.getInterceptor$x(receiver).get$verbose(receiver);
  25570. },
  25571. get$warn$x(receiver) {
  25572. return J.getInterceptor$x(receiver).get$warn(receiver);
  25573. },
  25574. $add$ansx(receiver, a0) {
  25575. if (typeof receiver == "number" && typeof a0 == "number")
  25576. return receiver + a0;
  25577. return J.getInterceptor$ansx(receiver).$add(receiver, a0);
  25578. },
  25579. $eq$(receiver, a0) {
  25580. if (receiver == null)
  25581. return a0 == null;
  25582. if (typeof receiver != "object")
  25583. return a0 != null && receiver === a0;
  25584. return J.getInterceptor$(receiver).$eq(receiver, a0);
  25585. },
  25586. $index$asx(receiver, a0) {
  25587. if (typeof a0 === "number")
  25588. if (receiver.constructor == Array || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
  25589. if (a0 >>> 0 === a0 && a0 < receiver.length)
  25590. return receiver[a0];
  25591. return J.getInterceptor$asx(receiver).$index(receiver, a0);
  25592. },
  25593. $indexSet$ax(receiver, a0, a1) {
  25594. if (typeof a0 === "number")
  25595. if ((receiver.constructor == Array || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < receiver.length)
  25596. return receiver[a0] = a1;
  25597. return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
  25598. },
  25599. $set$2$x(receiver, a0, a1) {
  25600. return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
  25601. },
  25602. add$1$ax(receiver, a0) {
  25603. return J.getInterceptor$ax(receiver).add$1(receiver, a0);
  25604. },
  25605. addAll$1$ax(receiver, a0) {
  25606. return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
  25607. },
  25608. allMatches$1$s(receiver, a0) {
  25609. return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
  25610. },
  25611. allMatches$2$s(receiver, a0, a1) {
  25612. return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
  25613. },
  25614. any$1$ax(receiver, a0) {
  25615. return J.getInterceptor$ax(receiver).any$1(receiver, a0);
  25616. },
  25617. apply$2$x(receiver, a0, a1) {
  25618. return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
  25619. },
  25620. asImmutable$0$x(receiver) {
  25621. return J.getInterceptor$x(receiver).asImmutable$0(receiver);
  25622. },
  25623. asMutable$0$x(receiver) {
  25624. return J.getInterceptor$x(receiver).asMutable$0(receiver);
  25625. },
  25626. canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
  25627. return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
  25628. },
  25629. cast$1$0$ax(receiver, $T1) {
  25630. return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
  25631. },
  25632. close$0$x(receiver) {
  25633. return J.getInterceptor$x(receiver).close$0(receiver);
  25634. },
  25635. codeUnitAt$1$s(receiver, a0) {
  25636. return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
  25637. },
  25638. compareTo$1$ns(receiver, a0) {
  25639. return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
  25640. },
  25641. contains$1$asx(receiver, a0) {
  25642. return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
  25643. },
  25644. createInterface$1$x(receiver, a0) {
  25645. return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
  25646. },
  25647. elementAt$1$ax(receiver, a0) {
  25648. return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
  25649. },
  25650. endsWith$1$s(receiver, a0) {
  25651. return J.getInterceptor$s(receiver).endsWith$1(receiver, a0);
  25652. },
  25653. error$1$x(receiver, a0) {
  25654. return J.getInterceptor$x(receiver).error$1(receiver, a0);
  25655. },
  25656. every$1$ax(receiver, a0) {
  25657. return J.getInterceptor$ax(receiver).every$1(receiver, a0);
  25658. },
  25659. existsSync$1$x(receiver, a0) {
  25660. return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
  25661. },
  25662. expand$1$1$ax(receiver, a0, $T1) {
  25663. return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
  25664. },
  25665. fillRange$3$ax(receiver, a0, a1, a2) {
  25666. return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
  25667. },
  25668. fold$2$ax(receiver, a0, a1) {
  25669. return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
  25670. },
  25671. forEach$1$x(receiver, a0) {
  25672. return J.getInterceptor$x(receiver).forEach$1(receiver, a0);
  25673. },
  25674. getTime$0$x(receiver) {
  25675. return J.getInterceptor$x(receiver).getTime$0(receiver);
  25676. },
  25677. isDirectory$0$x(receiver) {
  25678. return J.getInterceptor$x(receiver).isDirectory$0(receiver);
  25679. },
  25680. isFile$0$x(receiver) {
  25681. return J.getInterceptor$x(receiver).isFile$0(receiver);
  25682. },
  25683. join$0$ax(receiver) {
  25684. return J.getInterceptor$ax(receiver).join$0(receiver);
  25685. },
  25686. join$1$ax(receiver, a0) {
  25687. return J.getInterceptor$ax(receiver).join$1(receiver, a0);
  25688. },
  25689. listen$1$z(receiver, a0) {
  25690. return J.getInterceptor$z(receiver).listen$1(receiver, a0);
  25691. },
  25692. map$1$1$ax(receiver, a0, $T1) {
  25693. return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
  25694. },
  25695. matchAsPrefix$2$s(receiver, a0, a1) {
  25696. return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
  25697. },
  25698. mkdirSync$1$x(receiver, a0) {
  25699. return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
  25700. },
  25701. noSuchMethod$1$(receiver, a0) {
  25702. return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
  25703. },
  25704. on$2$x(receiver, a0, a1) {
  25705. return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
  25706. },
  25707. readFileSync$2$x(receiver, a0, a1) {
  25708. return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
  25709. },
  25710. readdirSync$1$x(receiver, a0) {
  25711. return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
  25712. },
  25713. remove$1$z(receiver, a0) {
  25714. return J.getInterceptor$z(receiver).remove$1(receiver, a0);
  25715. },
  25716. run$0$x(receiver) {
  25717. return J.getInterceptor$x(receiver).run$0(receiver);
  25718. },
  25719. run$1$x(receiver, a0) {
  25720. return J.getInterceptor$x(receiver).run$1(receiver, a0);
  25721. },
  25722. setRange$4$ax(receiver, a0, a1, a2, a3) {
  25723. return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
  25724. },
  25725. skip$1$ax(receiver, a0) {
  25726. return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
  25727. },
  25728. sort$1$ax(receiver, a0) {
  25729. return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
  25730. },
  25731. startsWith$1$s(receiver, a0) {
  25732. return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
  25733. },
  25734. statSync$1$x(receiver, a0) {
  25735. return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
  25736. },
  25737. substring$1$s(receiver, a0) {
  25738. return J.getInterceptor$s(receiver).substring$1(receiver, a0);
  25739. },
  25740. substring$2$s(receiver, a0, a1) {
  25741. return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
  25742. },
  25743. take$1$ax(receiver, a0) {
  25744. return J.getInterceptor$ax(receiver).take$1(receiver, a0);
  25745. },
  25746. then$1$1$x(receiver, a0, $T1) {
  25747. return J.getInterceptor$x(receiver).then$1$1(receiver, a0, $T1);
  25748. },
  25749. then$1$2$onError$x(receiver, a0, a1, $T1) {
  25750. return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
  25751. },
  25752. then$2$x(receiver, a0, a1) {
  25753. return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
  25754. },
  25755. toArray$0$x(receiver) {
  25756. return J.getInterceptor$x(receiver).toArray$0(receiver);
  25757. },
  25758. toList$0$ax(receiver) {
  25759. return J.getInterceptor$ax(receiver).toList$0(receiver);
  25760. },
  25761. toList$1$growable$ax(receiver, a0) {
  25762. return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0);
  25763. },
  25764. toRadixString$1$n(receiver, a0) {
  25765. return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0);
  25766. },
  25767. toSet$0$ax(receiver) {
  25768. return J.getInterceptor$ax(receiver).toSet$0(receiver);
  25769. },
  25770. toString$0$(receiver) {
  25771. return J.getInterceptor$(receiver).toString$0(receiver);
  25772. },
  25773. toString$1$color$(receiver, a0) {
  25774. return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
  25775. },
  25776. trim$0$s(receiver) {
  25777. return J.getInterceptor$s(receiver).trim$0(receiver);
  25778. },
  25779. unlinkSync$1$x(receiver, a0) {
  25780. return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
  25781. },
  25782. watch$2$x(receiver, a0, a1) {
  25783. return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
  25784. },
  25785. where$1$ax(receiver, a0) {
  25786. return J.getInterceptor$ax(receiver).where$1(receiver, a0);
  25787. },
  25788. write$1$x(receiver, a0) {
  25789. return J.getInterceptor$x(receiver).write$1(receiver, a0);
  25790. },
  25791. writeFileSync$2$x(receiver, a0, a1) {
  25792. return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
  25793. },
  25794. yield$0$x(receiver) {
  25795. return J.getInterceptor$x(receiver).yield$0(receiver);
  25796. },
  25797. Interceptor: function Interceptor() {
  25798. },
  25799. JSBool: function JSBool() {
  25800. },
  25801. JSNull: function JSNull() {
  25802. },
  25803. JavaScriptObject: function JavaScriptObject() {
  25804. },
  25805. LegacyJavaScriptObject: function LegacyJavaScriptObject() {
  25806. },
  25807. PlainJavaScriptObject: function PlainJavaScriptObject() {
  25808. },
  25809. UnknownJavaScriptObject: function UnknownJavaScriptObject() {
  25810. },
  25811. JavaScriptFunction: function JavaScriptFunction() {
  25812. },
  25813. JSArray: function JSArray(t0) {
  25814. this.$ti = t0;
  25815. },
  25816. JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
  25817. this.$ti = t0;
  25818. },
  25819. ArrayIterator: function ArrayIterator(t0, t1) {
  25820. var _ = this;
  25821. _._iterable = t0;
  25822. _._length = t1;
  25823. _._index = 0;
  25824. _._current = null;
  25825. },
  25826. JSNumber: function JSNumber() {
  25827. },
  25828. JSInt: function JSInt() {
  25829. },
  25830. JSNumNotInt: function JSNumNotInt() {
  25831. },
  25832. JSString: function JSString() {
  25833. }
  25834. },
  25835. B = {};
  25836. var holders = [A, J, B];
  25837. var $ = {};
  25838. A.JS_CONST.prototype = {};
  25839. J.Interceptor.prototype = {
  25840. $eq(receiver, other) {
  25841. return receiver === other;
  25842. },
  25843. get$hashCode(receiver) {
  25844. return A.Primitives_objectHashCode(receiver);
  25845. },
  25846. toString$0(receiver) {
  25847. return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
  25848. },
  25849. noSuchMethod$1(receiver, invocation) {
  25850. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation));
  25851. },
  25852. get$runtimeType(receiver) {
  25853. return A.createRuntimeType(A._instanceTypeFromConstructor(this));
  25854. }
  25855. };
  25856. J.JSBool.prototype = {
  25857. toString$0(receiver) {
  25858. return String(receiver);
  25859. },
  25860. get$hashCode(receiver) {
  25861. return receiver ? 519018 : 218159;
  25862. },
  25863. get$runtimeType(receiver) {
  25864. return A.createRuntimeType(type$.bool);
  25865. },
  25866. $isTrustedGetRuntimeType: 1,
  25867. $isbool: 1
  25868. };
  25869. J.JSNull.prototype = {
  25870. $eq(receiver, other) {
  25871. return null == other;
  25872. },
  25873. toString$0(receiver) {
  25874. return "null";
  25875. },
  25876. get$hashCode(receiver) {
  25877. return 0;
  25878. },
  25879. get$runtimeType(receiver) {
  25880. return A.createRuntimeType(type$.Null);
  25881. },
  25882. $isTrustedGetRuntimeType: 1,
  25883. $isNull: 1
  25884. };
  25885. J.JavaScriptObject.prototype = {};
  25886. J.LegacyJavaScriptObject.prototype = {
  25887. get$hashCode(receiver) {
  25888. return 0;
  25889. },
  25890. toString$0(receiver) {
  25891. return String(receiver);
  25892. },
  25893. $isPromise: 1,
  25894. $isJsSystemError: 1,
  25895. $is_NodeSassColor: 1,
  25896. $is_Channels: 1,
  25897. $isCompileOptions: 1,
  25898. $isCompileStringOptions: 1,
  25899. $isNodeCompileResult: 1,
  25900. $is_NodeException: 1,
  25901. $isFiber: 1,
  25902. $isJSFunction0: 1,
  25903. $isImmutableList: 1,
  25904. $isImmutableMap: 1,
  25905. $isNodeImporter0: 1,
  25906. $isNodeImporterResult0: 1,
  25907. $isNodeImporterResult1: 1,
  25908. $is_NodeSassList: 1,
  25909. $is_ConstructorOptions: 1,
  25910. $isWarnOptions: 1,
  25911. $isDebugOptions: 1,
  25912. $is_NodeSassMap: 1,
  25913. $is_NodeSassNumber: 1,
  25914. $is_ConstructorOptions0: 1,
  25915. $isJSClass0: 1,
  25916. $isRenderContextOptions0: 1,
  25917. $isRenderOptions: 1,
  25918. $isRenderResult: 1,
  25919. $is_NodeSassString: 1,
  25920. $is_ConstructorOptions1: 1,
  25921. $isJSUrl0: 1,
  25922. get$isTTY(obj) {
  25923. return obj.isTTY;
  25924. },
  25925. get$write(obj) {
  25926. return obj.write;
  25927. },
  25928. write$1(receiver, p0) {
  25929. return receiver.write(p0);
  25930. },
  25931. createInterface$1(receiver, p0) {
  25932. return receiver.createInterface(p0);
  25933. },
  25934. on$2(receiver, p0, p1) {
  25935. return receiver.on(p0, p1);
  25936. },
  25937. get$close(obj) {
  25938. return obj.close;
  25939. },
  25940. close$0(receiver) {
  25941. return receiver.close();
  25942. },
  25943. setPrompt$1(receiver, p0) {
  25944. return receiver.setPrompt(p0);
  25945. },
  25946. get$length(obj) {
  25947. return obj.length;
  25948. },
  25949. toString$0(receiver) {
  25950. return receiver.toString();
  25951. },
  25952. get$debug(obj) {
  25953. return obj.debug;
  25954. },
  25955. debug$2(receiver, p0, p1) {
  25956. return receiver.debug(p0, p1);
  25957. },
  25958. error$1(receiver, p0) {
  25959. return receiver.error(p0);
  25960. },
  25961. error$2(receiver, p0, p1) {
  25962. return receiver.error(p0, p1);
  25963. },
  25964. get$warn(obj) {
  25965. return obj.warn;
  25966. },
  25967. warn$1(receiver, p0) {
  25968. return receiver.warn(p0);
  25969. },
  25970. warn$2(receiver, p0, p1) {
  25971. return receiver.warn(p0, p1);
  25972. },
  25973. existsSync$1(receiver, p0) {
  25974. return receiver.existsSync(p0);
  25975. },
  25976. mkdirSync$1(receiver, p0) {
  25977. return receiver.mkdirSync(p0);
  25978. },
  25979. readdirSync$1(receiver, p0) {
  25980. return receiver.readdirSync(p0);
  25981. },
  25982. readFileSync$2(receiver, p0, p1) {
  25983. return receiver.readFileSync(p0, p1);
  25984. },
  25985. statSync$1(receiver, p0) {
  25986. return receiver.statSync(p0);
  25987. },
  25988. unlinkSync$1(receiver, p0) {
  25989. return receiver.unlinkSync(p0);
  25990. },
  25991. watch$2(receiver, p0, p1) {
  25992. return receiver.watch(p0, p1);
  25993. },
  25994. writeFileSync$2(receiver, p0, p1) {
  25995. return receiver.writeFileSync(p0, p1);
  25996. },
  25997. get$path(obj) {
  25998. return obj.path;
  25999. },
  26000. isDirectory$0(receiver) {
  26001. return receiver.isDirectory();
  26002. },
  26003. isFile$0(receiver) {
  26004. return receiver.isFile();
  26005. },
  26006. get$mtime(obj) {
  26007. return obj.mtime;
  26008. },
  26009. then$1$1(receiver, p0) {
  26010. return receiver.then(p0);
  26011. },
  26012. then$2(receiver, p0, p1) {
  26013. return receiver.then(p0, p1);
  26014. },
  26015. getTime$0(receiver) {
  26016. return receiver.getTime();
  26017. },
  26018. get$message(obj) {
  26019. return obj.message;
  26020. },
  26021. message$1(receiver, p0) {
  26022. return receiver.message(p0);
  26023. },
  26024. get$code(obj) {
  26025. return obj.code;
  26026. },
  26027. get$syscall(obj) {
  26028. return obj.syscall;
  26029. },
  26030. get$env(obj) {
  26031. return obj.env;
  26032. },
  26033. get$exitCode(obj) {
  26034. return obj.exitCode;
  26035. },
  26036. set$exitCode(obj, v) {
  26037. return obj.exitCode = v;
  26038. },
  26039. get$platform(obj) {
  26040. return obj.platform;
  26041. },
  26042. get$stderr(obj) {
  26043. return obj.stderr;
  26044. },
  26045. get$stdin(obj) {
  26046. return obj.stdin;
  26047. },
  26048. get$stdout(obj) {
  26049. return obj.stdout;
  26050. },
  26051. get$name(obj) {
  26052. return obj.name;
  26053. },
  26054. push$1(receiver, p0) {
  26055. return receiver.push(p0);
  26056. },
  26057. call$0(receiver) {
  26058. return receiver.call();
  26059. },
  26060. call$1(receiver, p0) {
  26061. return receiver.call(p0);
  26062. },
  26063. call$2(receiver, p0, p1) {
  26064. return receiver.call(p0, p1);
  26065. },
  26066. call$3$1(receiver, p0) {
  26067. return receiver.call(p0);
  26068. },
  26069. call$2$1(receiver, p0) {
  26070. return receiver.call(p0);
  26071. },
  26072. call$1$1(receiver, p0) {
  26073. return receiver.call(p0);
  26074. },
  26075. call$3(receiver, p0, p1, p2) {
  26076. return receiver.call(p0, p1, p2);
  26077. },
  26078. call$3$3(receiver, p0, p1, p2) {
  26079. return receiver.call(p0, p1, p2);
  26080. },
  26081. call$2$2(receiver, p0, p1) {
  26082. return receiver.call(p0, p1);
  26083. },
  26084. call$2$0(receiver) {
  26085. return receiver.call();
  26086. },
  26087. call$1$2(receiver, p0, p1) {
  26088. return receiver.call(p0, p1);
  26089. },
  26090. call$1$0(receiver) {
  26091. return receiver.call();
  26092. },
  26093. call$2$3(receiver, p0, p1, p2) {
  26094. return receiver.call(p0, p1, p2);
  26095. },
  26096. apply$2(receiver, p0, p1) {
  26097. return receiver.apply(p0, p1);
  26098. },
  26099. get$file(obj) {
  26100. return obj.file;
  26101. },
  26102. get$contents(obj) {
  26103. return obj.contents;
  26104. },
  26105. get$options(obj) {
  26106. return obj.options;
  26107. },
  26108. get$data(obj) {
  26109. return obj.data;
  26110. },
  26111. get$includePaths(obj) {
  26112. return obj.includePaths;
  26113. },
  26114. get$style(obj) {
  26115. return obj.style;
  26116. },
  26117. get$indentType(obj) {
  26118. return obj.indentType;
  26119. },
  26120. get$indentWidth(obj) {
  26121. return obj.indentWidth;
  26122. },
  26123. get$linefeed(obj) {
  26124. return obj.linefeed;
  26125. },
  26126. set$context(obj, v) {
  26127. return obj.context = v;
  26128. },
  26129. get$$prototype(obj) {
  26130. return obj.prototype;
  26131. },
  26132. get$dartValue(obj) {
  26133. return obj.dartValue;
  26134. },
  26135. set$dartValue(obj, v) {
  26136. return obj.dartValue = v;
  26137. },
  26138. get$red(obj) {
  26139. return obj.red;
  26140. },
  26141. get$green(obj) {
  26142. return obj.green;
  26143. },
  26144. get$blue(obj) {
  26145. return obj.blue;
  26146. },
  26147. get$hue(obj) {
  26148. return obj.hue;
  26149. },
  26150. get$saturation(obj) {
  26151. return obj.saturation;
  26152. },
  26153. get$lightness(obj) {
  26154. return obj.lightness;
  26155. },
  26156. get$whiteness(obj) {
  26157. return obj.whiteness;
  26158. },
  26159. get$blackness(obj) {
  26160. return obj.blackness;
  26161. },
  26162. get$alpha(obj) {
  26163. return obj.alpha;
  26164. },
  26165. get$alertAscii(obj) {
  26166. return obj.alertAscii;
  26167. },
  26168. get$alertColor(obj) {
  26169. return obj.alertColor;
  26170. },
  26171. get$loadPaths(obj) {
  26172. return obj.loadPaths;
  26173. },
  26174. get$quietDeps(obj) {
  26175. return obj.quietDeps;
  26176. },
  26177. get$verbose(obj) {
  26178. return obj.verbose;
  26179. },
  26180. get$charset(obj) {
  26181. return obj.charset;
  26182. },
  26183. get$sourceMap(obj) {
  26184. return obj.sourceMap;
  26185. },
  26186. get$sourceMapIncludeSources(obj) {
  26187. return obj.sourceMapIncludeSources;
  26188. },
  26189. get$logger(obj) {
  26190. return obj.logger;
  26191. },
  26192. get$importers(obj) {
  26193. return obj.importers;
  26194. },
  26195. get$functions(obj) {
  26196. return obj.functions;
  26197. },
  26198. get$syntax(obj) {
  26199. return obj.syntax;
  26200. },
  26201. get$url(obj) {
  26202. return obj.url;
  26203. },
  26204. get$importer(obj) {
  26205. return obj.importer;
  26206. },
  26207. get$_dartException(obj) {
  26208. return obj._dartException;
  26209. },
  26210. set$renderSync(obj, v) {
  26211. return obj.renderSync = v;
  26212. },
  26213. set$compileString(obj, v) {
  26214. return obj.compileString = v;
  26215. },
  26216. set$compileStringAsync(obj, v) {
  26217. return obj.compileStringAsync = v;
  26218. },
  26219. set$compile(obj, v) {
  26220. return obj.compile = v;
  26221. },
  26222. set$compileAsync(obj, v) {
  26223. return obj.compileAsync = v;
  26224. },
  26225. set$info(obj, v) {
  26226. return obj.info = v;
  26227. },
  26228. set$Exception(obj, v) {
  26229. return obj.Exception = v;
  26230. },
  26231. set$Logger(obj, v) {
  26232. return obj.Logger = v;
  26233. },
  26234. set$Value(obj, v) {
  26235. return obj.Value = v;
  26236. },
  26237. set$SassArgumentList(obj, v) {
  26238. return obj.SassArgumentList = v;
  26239. },
  26240. set$SassBoolean(obj, v) {
  26241. return obj.SassBoolean = v;
  26242. },
  26243. set$SassColor(obj, v) {
  26244. return obj.SassColor = v;
  26245. },
  26246. set$SassFunction(obj, v) {
  26247. return obj.SassFunction = v;
  26248. },
  26249. set$SassList(obj, v) {
  26250. return obj.SassList = v;
  26251. },
  26252. set$SassMap(obj, v) {
  26253. return obj.SassMap = v;
  26254. },
  26255. set$SassNumber(obj, v) {
  26256. return obj.SassNumber = v;
  26257. },
  26258. set$SassString(obj, v) {
  26259. return obj.SassString = v;
  26260. },
  26261. set$sassNull(obj, v) {
  26262. return obj.sassNull = v;
  26263. },
  26264. set$sassTrue(obj, v) {
  26265. return obj.sassTrue = v;
  26266. },
  26267. set$sassFalse(obj, v) {
  26268. return obj.sassFalse = v;
  26269. },
  26270. set$render(obj, v) {
  26271. return obj.render = v;
  26272. },
  26273. set$types(obj, v) {
  26274. return obj.types = v;
  26275. },
  26276. set$NULL(obj, v) {
  26277. return obj.NULL = v;
  26278. },
  26279. set$TRUE(obj, v) {
  26280. return obj.TRUE = v;
  26281. },
  26282. set$FALSE(obj, v) {
  26283. return obj.FALSE = v;
  26284. },
  26285. get$current(obj) {
  26286. return obj.current;
  26287. },
  26288. yield$0(receiver) {
  26289. return receiver.yield();
  26290. },
  26291. run$1$1(receiver, p0) {
  26292. return receiver.run(p0);
  26293. },
  26294. run$1(receiver, p0) {
  26295. return receiver.run(p0);
  26296. },
  26297. run$0(receiver) {
  26298. return receiver.run();
  26299. },
  26300. toArray$0(receiver) {
  26301. return receiver.toArray();
  26302. },
  26303. asMutable$0(receiver) {
  26304. return receiver.asMutable();
  26305. },
  26306. asImmutable$0(receiver) {
  26307. return receiver.asImmutable();
  26308. },
  26309. $set$2(receiver, p0, p1) {
  26310. return receiver.set(p0, p1);
  26311. },
  26312. forEach$1(receiver, p0) {
  26313. return receiver.forEach(p0);
  26314. },
  26315. get$canonicalize(obj) {
  26316. return obj.canonicalize;
  26317. },
  26318. canonicalize$1(receiver, p0) {
  26319. return receiver.canonicalize(p0);
  26320. },
  26321. get$load(obj) {
  26322. return obj.load;
  26323. },
  26324. load$1(receiver, p0) {
  26325. return receiver.load(p0);
  26326. },
  26327. get$findFileUrl(obj) {
  26328. return obj.findFileUrl;
  26329. },
  26330. get$sourceMapUrl(obj) {
  26331. return obj.sourceMapUrl;
  26332. },
  26333. get$separator(obj) {
  26334. return obj.separator;
  26335. },
  26336. get$brackets(obj) {
  26337. return obj.brackets;
  26338. },
  26339. get$numeratorUnits(obj) {
  26340. return obj.numeratorUnits;
  26341. },
  26342. get$denominatorUnits(obj) {
  26343. return obj.denominatorUnits;
  26344. },
  26345. get$indentedSyntax(obj) {
  26346. return obj.indentedSyntax;
  26347. },
  26348. get$omitSourceMapUrl(obj) {
  26349. return obj.omitSourceMapUrl;
  26350. },
  26351. get$outFile(obj) {
  26352. return obj.outFile;
  26353. },
  26354. get$outputStyle(obj) {
  26355. return obj.outputStyle;
  26356. },
  26357. get$fiber(obj) {
  26358. return obj.fiber;
  26359. },
  26360. get$sourceMapContents(obj) {
  26361. return obj.sourceMapContents;
  26362. },
  26363. get$sourceMapEmbed(obj) {
  26364. return obj.sourceMapEmbed;
  26365. },
  26366. get$sourceMapRoot(obj) {
  26367. return obj.sourceMapRoot;
  26368. },
  26369. set$cli_pkg_main_0_(obj, v) {
  26370. return obj.cli_pkg_main_0_ = v;
  26371. },
  26372. get$quotes(obj) {
  26373. return obj.quotes;
  26374. }
  26375. };
  26376. J.PlainJavaScriptObject.prototype = {};
  26377. J.UnknownJavaScriptObject.prototype = {};
  26378. J.JavaScriptFunction.prototype = {
  26379. toString$0(receiver) {
  26380. var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
  26381. if (dartClosure == null)
  26382. return this.super$LegacyJavaScriptObject$toString(receiver);
  26383. return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
  26384. },
  26385. $isFunction: 1
  26386. };
  26387. J.JSArray.prototype = {
  26388. cast$1$0(receiver, $R) {
  26389. return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  26390. },
  26391. add$1(receiver, value) {
  26392. if (!!receiver.fixed$length)
  26393. A.throwExpression(A.UnsupportedError$("add"));
  26394. receiver.push(value);
  26395. },
  26396. removeAt$1(receiver, index) {
  26397. var t1;
  26398. if (!!receiver.fixed$length)
  26399. A.throwExpression(A.UnsupportedError$("removeAt"));
  26400. t1 = receiver.length;
  26401. if (index >= t1)
  26402. throw A.wrapException(A.RangeError$value(index, null, null));
  26403. return receiver.splice(index, 1)[0];
  26404. },
  26405. insert$2(receiver, index, value) {
  26406. var t1;
  26407. if (!!receiver.fixed$length)
  26408. A.throwExpression(A.UnsupportedError$("insert"));
  26409. t1 = receiver.length;
  26410. if (index > t1)
  26411. throw A.wrapException(A.RangeError$value(index, null, null));
  26412. receiver.splice(index, 0, value);
  26413. },
  26414. insertAll$2(receiver, index, iterable) {
  26415. var insertionLength, end;
  26416. if (!!receiver.fixed$length)
  26417. A.throwExpression(A.UnsupportedError$("insertAll"));
  26418. A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
  26419. if (!type$.EfficientLengthIterable_dynamic._is(iterable))
  26420. iterable = J.toList$0$ax(iterable);
  26421. insertionLength = J.get$length$asx(iterable);
  26422. receiver.length = receiver.length + insertionLength;
  26423. end = index + insertionLength;
  26424. this.setRange$4(receiver, end, receiver.length, receiver, index);
  26425. this.setRange$3(receiver, index, end, iterable);
  26426. },
  26427. removeLast$0(receiver) {
  26428. if (!!receiver.fixed$length)
  26429. A.throwExpression(A.UnsupportedError$("removeLast"));
  26430. if (receiver.length === 0)
  26431. throw A.wrapException(A.diagnoseIndexError(receiver, -1));
  26432. return receiver.pop();
  26433. },
  26434. _removeWhere$2(receiver, test, removeMatching) {
  26435. var i, element, t1, retained = [],
  26436. end = receiver.length;
  26437. for (i = 0; i < end; ++i) {
  26438. element = receiver[i];
  26439. if (!test.call$1(element))
  26440. retained.push(element);
  26441. if (receiver.length !== end)
  26442. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  26443. }
  26444. t1 = retained.length;
  26445. if (t1 === end)
  26446. return;
  26447. this.set$length(receiver, t1);
  26448. for (i = 0; i < retained.length; ++i)
  26449. receiver[i] = retained[i];
  26450. },
  26451. where$1(receiver, f) {
  26452. return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
  26453. },
  26454. expand$1$1(receiver, f, $T) {
  26455. return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  26456. },
  26457. addAll$1(receiver, collection) {
  26458. var t1;
  26459. if (!!receiver.fixed$length)
  26460. A.throwExpression(A.UnsupportedError$("addAll"));
  26461. if (Array.isArray(collection)) {
  26462. this._addAllFromArray$1(receiver, collection);
  26463. return;
  26464. }
  26465. for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
  26466. receiver.push(t1.get$current(t1));
  26467. },
  26468. _addAllFromArray$1(receiver, array) {
  26469. var i,
  26470. len = array.length;
  26471. if (len === 0)
  26472. return;
  26473. if (receiver === array)
  26474. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  26475. for (i = 0; i < len; ++i)
  26476. receiver.push(array[i]);
  26477. },
  26478. clear$0(receiver) {
  26479. if (!!receiver.fixed$length)
  26480. A.throwExpression(A.UnsupportedError$("clear"));
  26481. receiver.length = 0;
  26482. },
  26483. map$1$1(receiver, f, $T) {
  26484. return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  26485. },
  26486. join$1(receiver, separator) {
  26487. var i,
  26488. list = A.List_List$filled(receiver.length, "", false, type$.String);
  26489. for (i = 0; i < receiver.length; ++i)
  26490. list[i] = A.S(receiver[i]);
  26491. return list.join(separator);
  26492. },
  26493. join$0($receiver) {
  26494. return this.join$1($receiver, "");
  26495. },
  26496. take$1(receiver, n) {
  26497. return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
  26498. },
  26499. skip$1(receiver, n) {
  26500. return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
  26501. },
  26502. fold$1$2(receiver, initialValue, combine) {
  26503. var value, i,
  26504. $length = receiver.length;
  26505. for (value = initialValue, i = 0; i < $length; ++i) {
  26506. value = combine.call$2(value, receiver[i]);
  26507. if (receiver.length !== $length)
  26508. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  26509. }
  26510. return value;
  26511. },
  26512. fold$2($receiver, initialValue, combine) {
  26513. return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
  26514. },
  26515. elementAt$1(receiver, index) {
  26516. return receiver[index];
  26517. },
  26518. sublist$2(receiver, start, end) {
  26519. var end0 = receiver.length;
  26520. if (start > end0)
  26521. throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
  26522. if (end == null)
  26523. end = end0;
  26524. else if (end < start || end > end0)
  26525. throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
  26526. if (start === end)
  26527. return A._setArrayType([], A._arrayInstanceType(receiver));
  26528. return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
  26529. },
  26530. sublist$1($receiver, start) {
  26531. return this.sublist$2($receiver, start, null);
  26532. },
  26533. getRange$2(receiver, start, end) {
  26534. A.RangeError_checkValidRange(start, end, receiver.length);
  26535. return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
  26536. },
  26537. get$first(receiver) {
  26538. if (receiver.length > 0)
  26539. return receiver[0];
  26540. throw A.wrapException(A.IterableElementError_noElement());
  26541. },
  26542. get$last(receiver) {
  26543. var t1 = receiver.length;
  26544. if (t1 > 0)
  26545. return receiver[t1 - 1];
  26546. throw A.wrapException(A.IterableElementError_noElement());
  26547. },
  26548. get$single(receiver) {
  26549. var t1 = receiver.length;
  26550. if (t1 === 1)
  26551. return receiver[0];
  26552. if (t1 === 0)
  26553. throw A.wrapException(A.IterableElementError_noElement());
  26554. throw A.wrapException(A.IterableElementError_tooMany());
  26555. },
  26556. removeRange$2(receiver, start, end) {
  26557. if (!!receiver.fixed$length)
  26558. A.throwExpression(A.UnsupportedError$("removeRange"));
  26559. A.RangeError_checkValidRange(start, end, receiver.length);
  26560. receiver.splice(start, end - start);
  26561. },
  26562. setRange$4(receiver, start, end, iterable, skipCount) {
  26563. var $length, otherList, otherStart, t1, i;
  26564. if (!!receiver.immutable$list)
  26565. A.throwExpression(A.UnsupportedError$("setRange"));
  26566. A.RangeError_checkValidRange(start, end, receiver.length);
  26567. $length = end - start;
  26568. if ($length === 0)
  26569. return;
  26570. A.RangeError_checkNotNegative(skipCount, "skipCount");
  26571. if (type$.List_dynamic._is(iterable)) {
  26572. otherList = iterable;
  26573. otherStart = skipCount;
  26574. } else {
  26575. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  26576. otherStart = 0;
  26577. }
  26578. t1 = J.getInterceptor$asx(otherList);
  26579. if (otherStart + $length > t1.get$length(otherList))
  26580. throw A.wrapException(A.IterableElementError_tooFew());
  26581. if (otherStart < start)
  26582. for (i = $length - 1; i >= 0; --i)
  26583. receiver[start + i] = t1.$index(otherList, otherStart + i);
  26584. else
  26585. for (i = 0; i < $length; ++i)
  26586. receiver[start + i] = t1.$index(otherList, otherStart + i);
  26587. },
  26588. setRange$3($receiver, start, end, iterable) {
  26589. return this.setRange$4($receiver, start, end, iterable, 0);
  26590. },
  26591. fillRange$3(receiver, start, end, fillValue) {
  26592. var i;
  26593. if (!!receiver.immutable$list)
  26594. A.throwExpression(A.UnsupportedError$("fill range"));
  26595. A.RangeError_checkValidRange(start, end, receiver.length);
  26596. A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
  26597. for (i = start; i < end; ++i)
  26598. receiver[i] = fillValue;
  26599. },
  26600. any$1(receiver, test) {
  26601. var i,
  26602. end = receiver.length;
  26603. for (i = 0; i < end; ++i) {
  26604. if (test.call$1(receiver[i]))
  26605. return true;
  26606. if (receiver.length !== end)
  26607. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  26608. }
  26609. return false;
  26610. },
  26611. every$1(receiver, test) {
  26612. var i,
  26613. end = receiver.length;
  26614. for (i = 0; i < end; ++i) {
  26615. if (!test.call$1(receiver[i]))
  26616. return false;
  26617. if (receiver.length !== end)
  26618. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  26619. }
  26620. return true;
  26621. },
  26622. get$reversed(receiver) {
  26623. return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
  26624. },
  26625. sort$1(receiver, compare) {
  26626. if (!!receiver.immutable$list)
  26627. A.throwExpression(A.UnsupportedError$("sort"));
  26628. A.Sort_sort(receiver, compare == null ? J._interceptors_JSArray__compareAny$closure() : compare);
  26629. },
  26630. sort$0($receiver) {
  26631. return this.sort$1($receiver, null);
  26632. },
  26633. indexOf$1(receiver, element) {
  26634. var i,
  26635. $length = receiver.length;
  26636. if (0 >= $length)
  26637. return -1;
  26638. for (i = 0; i < $length; ++i)
  26639. if (J.$eq$(receiver[i], element))
  26640. return i;
  26641. return -1;
  26642. },
  26643. contains$1(receiver, other) {
  26644. var i;
  26645. for (i = 0; i < receiver.length; ++i)
  26646. if (J.$eq$(receiver[i], other))
  26647. return true;
  26648. return false;
  26649. },
  26650. get$isEmpty(receiver) {
  26651. return receiver.length === 0;
  26652. },
  26653. get$isNotEmpty(receiver) {
  26654. return receiver.length !== 0;
  26655. },
  26656. toString$0(receiver) {
  26657. return A.Iterable_iterableToFullString(receiver, "[", "]");
  26658. },
  26659. toList$1$growable(receiver, growable) {
  26660. var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
  26661. return t1;
  26662. },
  26663. toList$0($receiver) {
  26664. return this.toList$1$growable($receiver, true);
  26665. },
  26666. toSet$0(receiver) {
  26667. return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
  26668. },
  26669. get$iterator(receiver) {
  26670. return new J.ArrayIterator(receiver, receiver.length);
  26671. },
  26672. get$hashCode(receiver) {
  26673. return A.Primitives_objectHashCode(receiver);
  26674. },
  26675. get$length(receiver) {
  26676. return receiver.length;
  26677. },
  26678. set$length(receiver, newLength) {
  26679. if (!!receiver.fixed$length)
  26680. A.throwExpression(A.UnsupportedError$("set length"));
  26681. if (newLength < 0)
  26682. throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
  26683. if (newLength > receiver.length)
  26684. A._arrayInstanceType(receiver)._precomputed1._as(null);
  26685. receiver.length = newLength;
  26686. },
  26687. $index(receiver, index) {
  26688. if (!(index >= 0 && index < receiver.length))
  26689. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  26690. return receiver[index];
  26691. },
  26692. $indexSet(receiver, index, value) {
  26693. if (!!receiver.immutable$list)
  26694. A.throwExpression(A.UnsupportedError$("indexed set"));
  26695. if (!(index >= 0 && index < receiver.length))
  26696. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  26697. receiver[index] = value;
  26698. },
  26699. $add(receiver, other) {
  26700. var t1 = A.List_List$of(receiver, true, A._arrayInstanceType(receiver)._precomputed1);
  26701. this.addAll$1(t1, other);
  26702. return t1;
  26703. },
  26704. indexWhere$1(receiver, test) {
  26705. var i;
  26706. if (0 >= receiver.length)
  26707. return -1;
  26708. for (i = 0; i < receiver.length; ++i)
  26709. if (test.call$1(receiver[i]))
  26710. return i;
  26711. return -1;
  26712. },
  26713. $isEfficientLengthIterable: 1,
  26714. $isIterable: 1,
  26715. $isList: 1
  26716. };
  26717. J.JSUnmodifiableArray.prototype = {};
  26718. J.ArrayIterator.prototype = {
  26719. get$current(_) {
  26720. var t1 = this._current;
  26721. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  26722. },
  26723. moveNext$0() {
  26724. var t2, _this = this,
  26725. t1 = _this._iterable,
  26726. $length = t1.length;
  26727. if (_this._length !== $length)
  26728. throw A.wrapException(A.throwConcurrentModificationError(t1));
  26729. t2 = _this._index;
  26730. if (t2 >= $length) {
  26731. _this._current = null;
  26732. return false;
  26733. }
  26734. _this._current = t1[t2];
  26735. _this._index = t2 + 1;
  26736. return true;
  26737. }
  26738. };
  26739. J.JSNumber.prototype = {
  26740. compareTo$1(receiver, b) {
  26741. var bIsNegative;
  26742. if (receiver < b)
  26743. return -1;
  26744. else if (receiver > b)
  26745. return 1;
  26746. else if (receiver === b) {
  26747. if (receiver === 0) {
  26748. bIsNegative = this.get$isNegative(b);
  26749. if (this.get$isNegative(receiver) === bIsNegative)
  26750. return 0;
  26751. if (this.get$isNegative(receiver))
  26752. return -1;
  26753. return 1;
  26754. }
  26755. return 0;
  26756. } else if (isNaN(receiver)) {
  26757. if (isNaN(b))
  26758. return 0;
  26759. return 1;
  26760. } else
  26761. return -1;
  26762. },
  26763. get$isNegative(receiver) {
  26764. return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
  26765. },
  26766. ceil$0(receiver) {
  26767. var truncated, d;
  26768. if (receiver >= 0) {
  26769. if (receiver <= 2147483647) {
  26770. truncated = receiver | 0;
  26771. return receiver === truncated ? truncated : truncated + 1;
  26772. }
  26773. } else if (receiver >= -2147483648)
  26774. return receiver | 0;
  26775. d = Math.ceil(receiver);
  26776. if (isFinite(d))
  26777. return d;
  26778. throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
  26779. },
  26780. floor$0(receiver) {
  26781. var truncated, d;
  26782. if (receiver >= 0) {
  26783. if (receiver <= 2147483647)
  26784. return receiver | 0;
  26785. } else if (receiver >= -2147483648) {
  26786. truncated = receiver | 0;
  26787. return receiver === truncated ? truncated : truncated - 1;
  26788. }
  26789. d = Math.floor(receiver);
  26790. if (isFinite(d))
  26791. return d;
  26792. throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
  26793. },
  26794. round$0(receiver) {
  26795. if (receiver > 0) {
  26796. if (receiver !== 1 / 0)
  26797. return Math.round(receiver);
  26798. } else if (receiver > -1 / 0)
  26799. return 0 - Math.round(0 - receiver);
  26800. throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
  26801. },
  26802. clamp$2(receiver, lowerLimit, upperLimit) {
  26803. if (B.JSInt_methods.compareTo$1(lowerLimit, upperLimit) > 0)
  26804. throw A.wrapException(A.argumentErrorValue(lowerLimit));
  26805. if (this.compareTo$1(receiver, lowerLimit) < 0)
  26806. return lowerLimit;
  26807. if (this.compareTo$1(receiver, upperLimit) > 0)
  26808. return upperLimit;
  26809. return receiver;
  26810. },
  26811. toRadixString$1(receiver, radix) {
  26812. var result, match, exponent, t1;
  26813. if (radix < 2 || radix > 36)
  26814. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
  26815. result = receiver.toString(radix);
  26816. if (B.JSString_methods.codeUnitAt$1(result, result.length - 1) !== 41)
  26817. return result;
  26818. match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
  26819. if (match == null)
  26820. A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
  26821. result = match[1];
  26822. exponent = +match[3];
  26823. t1 = match[2];
  26824. if (t1 != null) {
  26825. result += t1;
  26826. exponent -= t1.length;
  26827. }
  26828. return result + B.JSString_methods.$mul("0", exponent);
  26829. },
  26830. toString$0(receiver) {
  26831. if (receiver === 0 && 1 / receiver < 0)
  26832. return "-0.0";
  26833. else
  26834. return "" + receiver;
  26835. },
  26836. get$hashCode(receiver) {
  26837. var absolute, floorLog2, factor, scaled,
  26838. intValue = receiver | 0;
  26839. if (receiver === intValue)
  26840. return intValue & 536870911;
  26841. absolute = Math.abs(receiver);
  26842. floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
  26843. factor = Math.pow(2, floorLog2);
  26844. scaled = absolute < 1 ? absolute / factor : factor / absolute;
  26845. return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
  26846. },
  26847. $mod(receiver, other) {
  26848. var result = receiver % other;
  26849. if (result === 0)
  26850. return 0;
  26851. if (result > 0)
  26852. return result;
  26853. if (other < 0)
  26854. return result - other;
  26855. else
  26856. return result + other;
  26857. },
  26858. $tdiv(receiver, other) {
  26859. if ((receiver | 0) === receiver)
  26860. if (other >= 1 || other < -1)
  26861. return receiver / other | 0;
  26862. return this._tdivSlow$1(receiver, other);
  26863. },
  26864. _tdivFast$1(receiver, other) {
  26865. return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
  26866. },
  26867. _tdivSlow$1(receiver, other) {
  26868. var quotient = receiver / other;
  26869. if (quotient >= -2147483648 && quotient <= 2147483647)
  26870. return quotient | 0;
  26871. if (quotient > 0) {
  26872. if (quotient !== 1 / 0)
  26873. return Math.floor(quotient);
  26874. } else if (quotient > -1 / 0)
  26875. return Math.ceil(quotient);
  26876. throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
  26877. },
  26878. _shrOtherPositive$1(receiver, other) {
  26879. var t1;
  26880. if (receiver > 0)
  26881. t1 = this._shrBothPositive$1(receiver, other);
  26882. else {
  26883. t1 = other > 31 ? 31 : other;
  26884. t1 = receiver >> t1 >>> 0;
  26885. }
  26886. return t1;
  26887. },
  26888. _shrReceiverPositive$1(receiver, other) {
  26889. if (0 > other)
  26890. throw A.wrapException(A.argumentErrorValue(other));
  26891. return this._shrBothPositive$1(receiver, other);
  26892. },
  26893. _shrBothPositive$1(receiver, other) {
  26894. return other > 31 ? 0 : receiver >>> other;
  26895. },
  26896. get$runtimeType(receiver) {
  26897. return A.createRuntimeType(type$.num);
  26898. },
  26899. $isComparable: 1,
  26900. $isdouble: 1,
  26901. $isnum: 1
  26902. };
  26903. J.JSInt.prototype = {
  26904. get$runtimeType(receiver) {
  26905. return A.createRuntimeType(type$.int);
  26906. },
  26907. $isTrustedGetRuntimeType: 1,
  26908. $isint: 1
  26909. };
  26910. J.JSNumNotInt.prototype = {
  26911. get$runtimeType(receiver) {
  26912. return A.createRuntimeType(type$.double);
  26913. },
  26914. $isTrustedGetRuntimeType: 1
  26915. };
  26916. J.JSString.prototype = {
  26917. codeUnitAt$1(receiver, index) {
  26918. if (index < 0)
  26919. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  26920. if (index >= receiver.length)
  26921. A.throwExpression(A.diagnoseIndexError(receiver, index));
  26922. return receiver.charCodeAt(index);
  26923. },
  26924. _codeUnitAt$1(receiver, index) {
  26925. if (index >= receiver.length)
  26926. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  26927. return receiver.charCodeAt(index);
  26928. },
  26929. allMatches$2(receiver, string, start) {
  26930. var t1 = string.length;
  26931. if (start > t1)
  26932. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  26933. return new A._StringAllMatchesIterable(string, receiver, start);
  26934. },
  26935. allMatches$1($receiver, string) {
  26936. return this.allMatches$2($receiver, string, 0);
  26937. },
  26938. matchAsPrefix$2(receiver, string, start) {
  26939. var t1, i, _null = null;
  26940. if (start < 0 || start > string.length)
  26941. throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
  26942. t1 = receiver.length;
  26943. if (start + t1 > string.length)
  26944. return _null;
  26945. for (i = 0; i < t1; ++i)
  26946. if (this.codeUnitAt$1(string, start + i) !== this._codeUnitAt$1(receiver, i))
  26947. return _null;
  26948. return new A.StringMatch(start, receiver);
  26949. },
  26950. $add(receiver, other) {
  26951. return receiver + other;
  26952. },
  26953. endsWith$1(receiver, other) {
  26954. var otherLength = other.length,
  26955. t1 = receiver.length;
  26956. if (otherLength > t1)
  26957. return false;
  26958. return other === this.substring$1(receiver, t1 - otherLength);
  26959. },
  26960. replaceFirst$2(receiver, from, to) {
  26961. A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
  26962. return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
  26963. },
  26964. split$1(receiver, pattern) {
  26965. if (typeof pattern == "string")
  26966. return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
  26967. else if (pattern instanceof A.JSSyntaxRegExp && pattern.get$_nativeAnchoredVersion().exec("").length - 2 === 0)
  26968. return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
  26969. else
  26970. return this._defaultSplit$1(receiver, pattern);
  26971. },
  26972. replaceRange$3(receiver, start, end, replacement) {
  26973. var e = A.RangeError_checkValidRange(start, end, receiver.length);
  26974. return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
  26975. },
  26976. _defaultSplit$1(receiver, pattern) {
  26977. var t1, start, $length, match, matchStart, matchEnd,
  26978. result = A._setArrayType([], type$.JSArray_String);
  26979. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
  26980. match = t1.get$current(t1);
  26981. matchStart = match.get$start(match);
  26982. matchEnd = match.get$end(match);
  26983. $length = matchEnd - matchStart;
  26984. if ($length === 0 && start === matchStart)
  26985. continue;
  26986. result.push(this.substring$2(receiver, start, matchStart));
  26987. start = matchEnd;
  26988. }
  26989. if (start < receiver.length || $length > 0)
  26990. result.push(this.substring$1(receiver, start));
  26991. return result;
  26992. },
  26993. startsWith$2(receiver, pattern, index) {
  26994. var endIndex;
  26995. if (index < 0 || index > receiver.length)
  26996. throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
  26997. if (typeof pattern == "string") {
  26998. endIndex = index + pattern.length;
  26999. if (endIndex > receiver.length)
  27000. return false;
  27001. return pattern === receiver.substring(index, endIndex);
  27002. }
  27003. return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
  27004. },
  27005. startsWith$1($receiver, pattern) {
  27006. return this.startsWith$2($receiver, pattern, 0);
  27007. },
  27008. substring$2(receiver, start, end) {
  27009. return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
  27010. },
  27011. substring$1($receiver, start) {
  27012. return this.substring$2($receiver, start, null);
  27013. },
  27014. trim$0(receiver) {
  27015. var startIndex, t1, endIndex0,
  27016. result = receiver.trim(),
  27017. endIndex = result.length;
  27018. if (endIndex === 0)
  27019. return result;
  27020. if (this._codeUnitAt$1(result, 0) === 133) {
  27021. startIndex = J.JSString__skipLeadingWhitespace(result, 1);
  27022. if (startIndex === endIndex)
  27023. return "";
  27024. } else
  27025. startIndex = 0;
  27026. t1 = endIndex - 1;
  27027. endIndex0 = this.codeUnitAt$1(result, t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
  27028. if (startIndex === 0 && endIndex0 === endIndex)
  27029. return result;
  27030. return result.substring(startIndex, endIndex0);
  27031. },
  27032. trimLeft$0(receiver) {
  27033. var result, startIndex;
  27034. if (typeof receiver.trimLeft != "undefined") {
  27035. result = receiver.trimLeft();
  27036. if (result.length === 0)
  27037. return result;
  27038. startIndex = this._codeUnitAt$1(result, 0) === 133 ? J.JSString__skipLeadingWhitespace(result, 1) : 0;
  27039. } else {
  27040. startIndex = J.JSString__skipLeadingWhitespace(receiver, 0);
  27041. result = receiver;
  27042. }
  27043. if (startIndex === 0)
  27044. return result;
  27045. if (startIndex === result.length)
  27046. return "";
  27047. return result.substring(startIndex);
  27048. },
  27049. trimRight$0(receiver) {
  27050. var result, endIndex, t1;
  27051. if (typeof receiver.trimRight != "undefined") {
  27052. result = receiver.trimRight();
  27053. endIndex = result.length;
  27054. if (endIndex === 0)
  27055. return result;
  27056. t1 = endIndex - 1;
  27057. if (this.codeUnitAt$1(result, t1) === 133)
  27058. endIndex = J.JSString__skipTrailingWhitespace(result, t1);
  27059. } else {
  27060. endIndex = J.JSString__skipTrailingWhitespace(receiver, receiver.length);
  27061. result = receiver;
  27062. }
  27063. if (endIndex === result.length)
  27064. return result;
  27065. if (endIndex === 0)
  27066. return "";
  27067. return result.substring(0, endIndex);
  27068. },
  27069. $mul(receiver, times) {
  27070. var s, result;
  27071. if (0 >= times)
  27072. return "";
  27073. if (times === 1 || receiver.length === 0)
  27074. return receiver;
  27075. if (times !== times >>> 0)
  27076. throw A.wrapException(B.C_OutOfMemoryError);
  27077. for (s = receiver, result = ""; true;) {
  27078. if ((times & 1) === 1)
  27079. result = s + result;
  27080. times = times >>> 1;
  27081. if (times === 0)
  27082. break;
  27083. s += s;
  27084. }
  27085. return result;
  27086. },
  27087. padLeft$2(receiver, width, padding) {
  27088. var delta = width - receiver.length;
  27089. if (delta <= 0)
  27090. return receiver;
  27091. return this.$mul(padding, delta) + receiver;
  27092. },
  27093. padRight$1(receiver, width) {
  27094. var delta = width - receiver.length;
  27095. if (delta <= 0)
  27096. return receiver;
  27097. return receiver + this.$mul(" ", delta);
  27098. },
  27099. indexOf$2(receiver, pattern, start) {
  27100. var t1;
  27101. if (start < 0 || start > receiver.length)
  27102. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  27103. t1 = receiver.indexOf(pattern, start);
  27104. return t1;
  27105. },
  27106. indexOf$1($receiver, pattern) {
  27107. return this.indexOf$2($receiver, pattern, 0);
  27108. },
  27109. lastIndexOf$2(receiver, pattern, start) {
  27110. var t1, t2, i;
  27111. if (start == null)
  27112. start = receiver.length;
  27113. else if (start < 0 || start > receiver.length)
  27114. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  27115. if (typeof pattern == "string") {
  27116. t1 = pattern.length;
  27117. t2 = receiver.length;
  27118. if (start + t1 > t2)
  27119. start = t2 - t1;
  27120. return receiver.lastIndexOf(pattern, start);
  27121. }
  27122. for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
  27123. if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
  27124. return i;
  27125. return -1;
  27126. },
  27127. lastIndexOf$1($receiver, pattern) {
  27128. return this.lastIndexOf$2($receiver, pattern, null);
  27129. },
  27130. contains$2(receiver, other, startIndex) {
  27131. var t1 = receiver.length;
  27132. if (startIndex > t1)
  27133. throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
  27134. return A.stringContainsUnchecked(receiver, other, startIndex);
  27135. },
  27136. contains$1($receiver, other) {
  27137. return this.contains$2($receiver, other, 0);
  27138. },
  27139. compareTo$1(receiver, other) {
  27140. var t1;
  27141. if (receiver === other)
  27142. t1 = 0;
  27143. else
  27144. t1 = receiver < other ? -1 : 1;
  27145. return t1;
  27146. },
  27147. toString$0(receiver) {
  27148. return receiver;
  27149. },
  27150. get$hashCode(receiver) {
  27151. var t1, hash, i;
  27152. for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
  27153. hash = hash + receiver.charCodeAt(i) & 536870911;
  27154. hash = hash + ((hash & 524287) << 10) & 536870911;
  27155. hash ^= hash >> 6;
  27156. }
  27157. hash = hash + ((hash & 67108863) << 3) & 536870911;
  27158. hash ^= hash >> 11;
  27159. return hash + ((hash & 16383) << 15) & 536870911;
  27160. },
  27161. get$runtimeType(receiver) {
  27162. return A.createRuntimeType(type$.String);
  27163. },
  27164. get$length(receiver) {
  27165. return receiver.length;
  27166. },
  27167. $isTrustedGetRuntimeType: 1,
  27168. $isComparable: 1,
  27169. $isString: 1
  27170. };
  27171. A._CastIterableBase.prototype = {
  27172. get$iterator(_) {
  27173. var t1 = A._instanceType(this);
  27174. 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>"));
  27175. },
  27176. get$length(_) {
  27177. return J.get$length$asx(this.get$_source());
  27178. },
  27179. get$isEmpty(_) {
  27180. return J.get$isEmpty$asx(this.get$_source());
  27181. },
  27182. get$isNotEmpty(_) {
  27183. return J.get$isNotEmpty$asx(this.get$_source());
  27184. },
  27185. skip$1(_, count) {
  27186. var t1 = A._instanceType(this);
  27187. return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  27188. },
  27189. take$1(_, count) {
  27190. var t1 = A._instanceType(this);
  27191. return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  27192. },
  27193. elementAt$1(_, index) {
  27194. return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
  27195. },
  27196. get$first(_) {
  27197. return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
  27198. },
  27199. get$last(_) {
  27200. return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
  27201. },
  27202. get$single(_) {
  27203. return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
  27204. },
  27205. contains$1(_, other) {
  27206. return J.contains$1$asx(this.get$_source(), other);
  27207. },
  27208. toString$0(_) {
  27209. return J.toString$0$(this.get$_source());
  27210. }
  27211. };
  27212. A.CastIterator.prototype = {
  27213. moveNext$0() {
  27214. return this._source.moveNext$0();
  27215. },
  27216. get$current(_) {
  27217. var t1 = this._source;
  27218. return this.$ti._rest[1]._as(t1.get$current(t1));
  27219. }
  27220. };
  27221. A.CastIterable.prototype = {
  27222. get$_source() {
  27223. return this._source;
  27224. }
  27225. };
  27226. A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
  27227. A._CastListBase.prototype = {
  27228. $index(_, index) {
  27229. return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
  27230. },
  27231. $indexSet(_, index, value) {
  27232. J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
  27233. },
  27234. set$length(_, $length) {
  27235. J.set$length$asx(this._source, $length);
  27236. },
  27237. add$1(_, value) {
  27238. J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
  27239. },
  27240. sort$1(_, compare) {
  27241. var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
  27242. J.sort$1$ax(this._source, t1);
  27243. },
  27244. setRange$4(_, start, end, iterable, skipCount) {
  27245. var t1 = this.$ti;
  27246. J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
  27247. },
  27248. fillRange$3(_, start, end, fillValue) {
  27249. J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
  27250. },
  27251. $isEfficientLengthIterable: 1,
  27252. $isList: 1
  27253. };
  27254. A._CastListBase_sort_closure.prototype = {
  27255. call$2(v1, v2) {
  27256. var t1 = this.$this.$ti._rest[1];
  27257. return this.compare.call$2(t1._as(v1), t1._as(v2));
  27258. },
  27259. $signature() {
  27260. return this.$this.$ti._eval$1("int(1,1)");
  27261. }
  27262. };
  27263. A.CastList.prototype = {
  27264. cast$1$0(_, $R) {
  27265. return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  27266. },
  27267. get$_source() {
  27268. return this._source;
  27269. }
  27270. };
  27271. A.CastSet.prototype = {
  27272. add$1(_, value) {
  27273. return this._source.add$1(0, this.$ti._precomputed1._as(value));
  27274. },
  27275. addAll$1(_, elements) {
  27276. var t1 = this.$ti;
  27277. this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
  27278. },
  27279. difference$1(other) {
  27280. var t1, _this = this;
  27281. if (_this._emptySet != null)
  27282. return _this._conditionalAdd$2(other, false);
  27283. t1 = _this.$ti;
  27284. return new A.CastSet(_this._source.difference$1(other), null, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastSet<1,2>"));
  27285. },
  27286. _conditionalAdd$2(other, otherContains) {
  27287. var t3, castElement,
  27288. emptySet = this._emptySet,
  27289. t1 = this.$ti,
  27290. t2 = t1._rest[1],
  27291. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
  27292. for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
  27293. castElement = t1._as(t2.get$current(t2));
  27294. if (otherContains === t3.contains$1(0, castElement))
  27295. result.add$1(0, castElement);
  27296. }
  27297. return result;
  27298. },
  27299. toSet$0(_) {
  27300. var emptySet = this._emptySet,
  27301. t1 = this.$ti._rest[1],
  27302. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
  27303. result.addAll$1(0, this);
  27304. return result;
  27305. },
  27306. $isEfficientLengthIterable: 1,
  27307. $isSet: 1,
  27308. get$_source() {
  27309. return this._source;
  27310. }
  27311. };
  27312. A.CastMap.prototype = {
  27313. cast$2$0(_, RK, RV) {
  27314. var t1 = this.$ti;
  27315. 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>"));
  27316. },
  27317. containsKey$1(key) {
  27318. return this._source.containsKey$1(key);
  27319. },
  27320. $index(_, key) {
  27321. return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
  27322. },
  27323. $indexSet(_, key, value) {
  27324. var t1 = this.$ti;
  27325. this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
  27326. },
  27327. addAll$1(_, other) {
  27328. var t1 = this.$ti;
  27329. 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>")));
  27330. },
  27331. remove$1(_, key) {
  27332. return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
  27333. },
  27334. forEach$1(_, f) {
  27335. this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
  27336. },
  27337. get$keys(_) {
  27338. var t1 = this._source,
  27339. t2 = this.$ti;
  27340. return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
  27341. },
  27342. get$values(_) {
  27343. var t1 = this._source,
  27344. t2 = this.$ti;
  27345. return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
  27346. },
  27347. get$length(_) {
  27348. var t1 = this._source;
  27349. return t1.get$length(t1);
  27350. },
  27351. get$isEmpty(_) {
  27352. var t1 = this._source;
  27353. return t1.get$isEmpty(t1);
  27354. },
  27355. get$isNotEmpty(_) {
  27356. var t1 = this._source;
  27357. return t1.get$isNotEmpty(t1);
  27358. },
  27359. get$entries(_) {
  27360. var t1 = this._source;
  27361. return t1.get$entries(t1).map$1$1(0, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
  27362. }
  27363. };
  27364. A.CastMap_forEach_closure.prototype = {
  27365. call$2(key, value) {
  27366. var t1 = this.$this.$ti;
  27367. this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
  27368. },
  27369. $signature() {
  27370. return this.$this.$ti._eval$1("~(1,2)");
  27371. }
  27372. };
  27373. A.CastMap_entries_closure.prototype = {
  27374. call$1(e) {
  27375. var t1 = this.$this.$ti,
  27376. t2 = t1._rest[3];
  27377. 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>"));
  27378. },
  27379. $signature() {
  27380. return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
  27381. }
  27382. };
  27383. A.LateError.prototype = {
  27384. toString$0(_) {
  27385. return "LateInitializationError: " + this._message;
  27386. }
  27387. };
  27388. A.CodeUnits.prototype = {
  27389. get$length(_) {
  27390. return this.__internal$_string.length;
  27391. },
  27392. $index(_, i) {
  27393. return B.JSString_methods.codeUnitAt$1(this.__internal$_string, i);
  27394. }
  27395. };
  27396. A.nullFuture_closure.prototype = {
  27397. call$0() {
  27398. return A.Future_Future$value(null, type$.Null);
  27399. },
  27400. $signature: 2
  27401. };
  27402. A.SentinelValue.prototype = {};
  27403. A.EfficientLengthIterable.prototype = {};
  27404. A.ListIterable.prototype = {
  27405. get$iterator(_) {
  27406. return new A.ListIterator(this, this.get$length(this));
  27407. },
  27408. get$isEmpty(_) {
  27409. return this.get$length(this) === 0;
  27410. },
  27411. get$first(_) {
  27412. if (this.get$length(this) === 0)
  27413. throw A.wrapException(A.IterableElementError_noElement());
  27414. return this.elementAt$1(0, 0);
  27415. },
  27416. get$last(_) {
  27417. var _this = this;
  27418. if (_this.get$length(_this) === 0)
  27419. throw A.wrapException(A.IterableElementError_noElement());
  27420. return _this.elementAt$1(0, _this.get$length(_this) - 1);
  27421. },
  27422. get$single(_) {
  27423. var _this = this;
  27424. if (_this.get$length(_this) === 0)
  27425. throw A.wrapException(A.IterableElementError_noElement());
  27426. if (_this.get$length(_this) > 1)
  27427. throw A.wrapException(A.IterableElementError_tooMany());
  27428. return _this.elementAt$1(0, 0);
  27429. },
  27430. contains$1(_, element) {
  27431. var i, _this = this,
  27432. $length = _this.get$length(_this);
  27433. for (i = 0; i < $length; ++i) {
  27434. if (J.$eq$(_this.elementAt$1(0, i), element))
  27435. return true;
  27436. if ($length !== _this.get$length(_this))
  27437. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27438. }
  27439. return false;
  27440. },
  27441. every$1(_, test) {
  27442. var i, _this = this,
  27443. $length = _this.get$length(_this);
  27444. for (i = 0; i < $length; ++i) {
  27445. if (!test.call$1(_this.elementAt$1(0, i)))
  27446. return false;
  27447. if ($length !== _this.get$length(_this))
  27448. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27449. }
  27450. return true;
  27451. },
  27452. any$1(_, test) {
  27453. var i, _this = this,
  27454. $length = _this.get$length(_this);
  27455. for (i = 0; i < $length; ++i) {
  27456. if (test.call$1(_this.elementAt$1(0, i)))
  27457. return true;
  27458. if ($length !== _this.get$length(_this))
  27459. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27460. }
  27461. return false;
  27462. },
  27463. join$1(_, separator) {
  27464. var first, t1, i, _this = this,
  27465. $length = _this.get$length(_this);
  27466. if (separator.length !== 0) {
  27467. if ($length === 0)
  27468. return "";
  27469. first = A.S(_this.elementAt$1(0, 0));
  27470. if ($length !== _this.get$length(_this))
  27471. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27472. for (t1 = first, i = 1; i < $length; ++i) {
  27473. t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
  27474. if ($length !== _this.get$length(_this))
  27475. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27476. }
  27477. return t1.charCodeAt(0) == 0 ? t1 : t1;
  27478. } else {
  27479. for (i = 0, t1 = ""; i < $length; ++i) {
  27480. t1 += A.S(_this.elementAt$1(0, i));
  27481. if ($length !== _this.get$length(_this))
  27482. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27483. }
  27484. return t1.charCodeAt(0) == 0 ? t1 : t1;
  27485. }
  27486. },
  27487. join$0($receiver) {
  27488. return this.join$1($receiver, "");
  27489. },
  27490. where$1(_, test) {
  27491. return this.super$Iterable$where(0, test);
  27492. },
  27493. map$1$1(_, toElement, $T) {
  27494. return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  27495. },
  27496. reduce$1(_, combine) {
  27497. var value, i, _this = this,
  27498. $length = _this.get$length(_this);
  27499. if ($length === 0)
  27500. throw A.wrapException(A.IterableElementError_noElement());
  27501. value = _this.elementAt$1(0, 0);
  27502. for (i = 1; i < $length; ++i) {
  27503. value = combine.call$2(value, _this.elementAt$1(0, i));
  27504. if ($length !== _this.get$length(_this))
  27505. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27506. }
  27507. return value;
  27508. },
  27509. fold$1$2(_, initialValue, combine) {
  27510. var value, i, _this = this,
  27511. $length = _this.get$length(_this);
  27512. for (value = initialValue, i = 0; i < $length; ++i) {
  27513. value = combine.call$2(value, _this.elementAt$1(0, i));
  27514. if ($length !== _this.get$length(_this))
  27515. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27516. }
  27517. return value;
  27518. },
  27519. fold$2($receiver, initialValue, combine) {
  27520. return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
  27521. },
  27522. skip$1(_, count) {
  27523. return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
  27524. },
  27525. take$1(_, count) {
  27526. return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
  27527. },
  27528. toList$1$growable(_, growable) {
  27529. return A.List_List$of(this, true, A._instanceType(this)._eval$1("ListIterable.E"));
  27530. },
  27531. toList$0($receiver) {
  27532. return this.toList$1$growable($receiver, true);
  27533. },
  27534. toSet$0(_) {
  27535. var i, _this = this,
  27536. result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
  27537. for (i = 0; i < _this.get$length(_this); ++i)
  27538. result.add$1(0, _this.elementAt$1(0, i));
  27539. return result;
  27540. }
  27541. };
  27542. A.SubListIterable.prototype = {
  27543. SubListIterable$3(_iterable, _start, _endOrLength, $E) {
  27544. var endOrLength,
  27545. t1 = this.__internal$_start;
  27546. A.RangeError_checkNotNegative(t1, "start");
  27547. endOrLength = this._endOrLength;
  27548. if (endOrLength != null) {
  27549. A.RangeError_checkNotNegative(endOrLength, "end");
  27550. if (t1 > endOrLength)
  27551. throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
  27552. }
  27553. },
  27554. get$_endIndex() {
  27555. var $length = J.get$length$asx(this.__internal$_iterable),
  27556. endOrLength = this._endOrLength;
  27557. if (endOrLength == null || endOrLength > $length)
  27558. return $length;
  27559. return endOrLength;
  27560. },
  27561. get$_startIndex() {
  27562. var $length = J.get$length$asx(this.__internal$_iterable),
  27563. t1 = this.__internal$_start;
  27564. if (t1 > $length)
  27565. return $length;
  27566. return t1;
  27567. },
  27568. get$length(_) {
  27569. var endOrLength,
  27570. $length = J.get$length$asx(this.__internal$_iterable),
  27571. t1 = this.__internal$_start;
  27572. if (t1 >= $length)
  27573. return 0;
  27574. endOrLength = this._endOrLength;
  27575. if (endOrLength == null || endOrLength >= $length)
  27576. return $length - t1;
  27577. return endOrLength - t1;
  27578. },
  27579. elementAt$1(_, index) {
  27580. var _this = this,
  27581. realIndex = _this.get$_startIndex() + index;
  27582. if (index < 0 || realIndex >= _this.get$_endIndex())
  27583. throw A.wrapException(A.IndexError$withLength(index, _this.get$length(_this), _this, null, "index"));
  27584. return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
  27585. },
  27586. skip$1(_, count) {
  27587. var newStart, endOrLength, _this = this;
  27588. A.RangeError_checkNotNegative(count, "count");
  27589. newStart = _this.__internal$_start + count;
  27590. endOrLength = _this._endOrLength;
  27591. if (endOrLength != null && newStart >= endOrLength)
  27592. return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
  27593. return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
  27594. },
  27595. take$1(_, count) {
  27596. var endOrLength, t1, newEnd, _this = this;
  27597. A.RangeError_checkNotNegative(count, "count");
  27598. endOrLength = _this._endOrLength;
  27599. t1 = _this.__internal$_start;
  27600. newEnd = t1 + count;
  27601. if (endOrLength == null)
  27602. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  27603. else {
  27604. if (endOrLength < newEnd)
  27605. return _this;
  27606. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  27607. }
  27608. },
  27609. toList$1$growable(_, growable) {
  27610. var $length, result, i, _this = this,
  27611. start = _this.__internal$_start,
  27612. t1 = _this.__internal$_iterable,
  27613. t2 = J.getInterceptor$asx(t1),
  27614. end = t2.get$length(t1),
  27615. endOrLength = _this._endOrLength;
  27616. if (endOrLength != null && endOrLength < end)
  27617. end = endOrLength;
  27618. $length = end - start;
  27619. if ($length <= 0) {
  27620. t1 = _this.$ti._precomputed1;
  27621. return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
  27622. }
  27623. result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
  27624. for (i = 1; i < $length; ++i) {
  27625. result[i] = t2.elementAt$1(t1, start + i);
  27626. if (t2.get$length(t1) < end)
  27627. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27628. }
  27629. return result;
  27630. },
  27631. toList$0($receiver) {
  27632. return this.toList$1$growable($receiver, true);
  27633. }
  27634. };
  27635. A.ListIterator.prototype = {
  27636. get$current(_) {
  27637. var t1 = this.__internal$_current;
  27638. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  27639. },
  27640. moveNext$0() {
  27641. var t3, _this = this,
  27642. t1 = _this.__internal$_iterable,
  27643. t2 = J.getInterceptor$asx(t1),
  27644. $length = t2.get$length(t1);
  27645. if (_this.__internal$_length !== $length)
  27646. throw A.wrapException(A.ConcurrentModificationError$(t1));
  27647. t3 = _this.__internal$_index;
  27648. if (t3 >= $length) {
  27649. _this.__internal$_current = null;
  27650. return false;
  27651. }
  27652. _this.__internal$_current = t2.elementAt$1(t1, t3);
  27653. ++_this.__internal$_index;
  27654. return true;
  27655. }
  27656. };
  27657. A.MappedIterable.prototype = {
  27658. get$iterator(_) {
  27659. return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  27660. },
  27661. get$length(_) {
  27662. return J.get$length$asx(this.__internal$_iterable);
  27663. },
  27664. get$isEmpty(_) {
  27665. return J.get$isEmpty$asx(this.__internal$_iterable);
  27666. },
  27667. get$first(_) {
  27668. return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
  27669. },
  27670. get$last(_) {
  27671. return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
  27672. },
  27673. get$single(_) {
  27674. return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
  27675. },
  27676. elementAt$1(_, index) {
  27677. return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
  27678. }
  27679. };
  27680. A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
  27681. A.MappedIterator.prototype = {
  27682. moveNext$0() {
  27683. var _this = this,
  27684. t1 = _this._iterator;
  27685. if (t1.moveNext$0()) {
  27686. _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
  27687. return true;
  27688. }
  27689. _this.__internal$_current = null;
  27690. return false;
  27691. },
  27692. get$current(_) {
  27693. var t1 = this.__internal$_current;
  27694. return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
  27695. }
  27696. };
  27697. A.MappedListIterable.prototype = {
  27698. get$length(_) {
  27699. return J.get$length$asx(this._source);
  27700. },
  27701. elementAt$1(_, index) {
  27702. return this._f.call$1(J.elementAt$1$ax(this._source, index));
  27703. }
  27704. };
  27705. A.WhereIterable.prototype = {
  27706. get$iterator(_) {
  27707. return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  27708. },
  27709. map$1$1(_, toElement, $T) {
  27710. return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  27711. }
  27712. };
  27713. A.WhereIterator.prototype = {
  27714. moveNext$0() {
  27715. var t1, t2;
  27716. for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
  27717. if (t2.call$1(t1.get$current(t1)))
  27718. return true;
  27719. return false;
  27720. },
  27721. get$current(_) {
  27722. var t1 = this._iterator;
  27723. return t1.get$current(t1);
  27724. }
  27725. };
  27726. A.ExpandIterable.prototype = {
  27727. get$iterator(_) {
  27728. return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator);
  27729. }
  27730. };
  27731. A.ExpandIterator.prototype = {
  27732. get$current(_) {
  27733. var t1 = this.__internal$_current;
  27734. return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
  27735. },
  27736. moveNext$0() {
  27737. var t2, t3, _this = this,
  27738. t1 = _this._currentExpansion;
  27739. if (t1 == null)
  27740. return false;
  27741. for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
  27742. _this.__internal$_current = null;
  27743. if (t2.moveNext$0()) {
  27744. _this._currentExpansion = null;
  27745. t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
  27746. _this._currentExpansion = t1;
  27747. } else
  27748. return false;
  27749. }
  27750. t1 = _this._currentExpansion;
  27751. _this.__internal$_current = t1.get$current(t1);
  27752. return true;
  27753. }
  27754. };
  27755. A.TakeIterable.prototype = {
  27756. get$iterator(_) {
  27757. return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount);
  27758. }
  27759. };
  27760. A.EfficientLengthTakeIterable.prototype = {
  27761. get$length(_) {
  27762. var iterableLength = J.get$length$asx(this.__internal$_iterable),
  27763. t1 = this._takeCount;
  27764. if (iterableLength > t1)
  27765. return t1;
  27766. return iterableLength;
  27767. },
  27768. $isEfficientLengthIterable: 1
  27769. };
  27770. A.TakeIterator.prototype = {
  27771. moveNext$0() {
  27772. if (--this._remaining >= 0)
  27773. return this._iterator.moveNext$0();
  27774. this._remaining = -1;
  27775. return false;
  27776. },
  27777. get$current(_) {
  27778. var t1;
  27779. if (this._remaining < 0) {
  27780. A._instanceType(this)._precomputed1._as(null);
  27781. return null;
  27782. }
  27783. t1 = this._iterator;
  27784. return t1.get$current(t1);
  27785. }
  27786. };
  27787. A.SkipIterable.prototype = {
  27788. skip$1(_, count) {
  27789. A.ArgumentError_checkNotNull(count, "count");
  27790. A.RangeError_checkNotNegative(count, "count");
  27791. return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
  27792. },
  27793. get$iterator(_) {
  27794. return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount);
  27795. }
  27796. };
  27797. A.EfficientLengthSkipIterable.prototype = {
  27798. get$length(_) {
  27799. var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount;
  27800. if ($length >= 0)
  27801. return $length;
  27802. return 0;
  27803. },
  27804. skip$1(_, count) {
  27805. A.ArgumentError_checkNotNull(count, "count");
  27806. A.RangeError_checkNotNegative(count, "count");
  27807. return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
  27808. },
  27809. $isEfficientLengthIterable: 1
  27810. };
  27811. A.SkipIterator.prototype = {
  27812. moveNext$0() {
  27813. var t1, i;
  27814. for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
  27815. t1.moveNext$0();
  27816. this._skipCount = 0;
  27817. return t1.moveNext$0();
  27818. },
  27819. get$current(_) {
  27820. var t1 = this._iterator;
  27821. return t1.get$current(t1);
  27822. }
  27823. };
  27824. A.SkipWhileIterable.prototype = {
  27825. get$iterator(_) {
  27826. return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  27827. }
  27828. };
  27829. A.SkipWhileIterator.prototype = {
  27830. moveNext$0() {
  27831. var t1, t2, _this = this;
  27832. if (!_this._hasSkipped) {
  27833. _this._hasSkipped = true;
  27834. for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
  27835. if (!t2.call$1(t1.get$current(t1)))
  27836. return true;
  27837. }
  27838. return _this._iterator.moveNext$0();
  27839. },
  27840. get$current(_) {
  27841. var t1 = this._iterator;
  27842. return t1.get$current(t1);
  27843. }
  27844. };
  27845. A.EmptyIterable.prototype = {
  27846. get$iterator(_) {
  27847. return B.C_EmptyIterator;
  27848. },
  27849. get$isEmpty(_) {
  27850. return true;
  27851. },
  27852. get$length(_) {
  27853. return 0;
  27854. },
  27855. get$first(_) {
  27856. throw A.wrapException(A.IterableElementError_noElement());
  27857. },
  27858. get$last(_) {
  27859. throw A.wrapException(A.IterableElementError_noElement());
  27860. },
  27861. get$single(_) {
  27862. throw A.wrapException(A.IterableElementError_noElement());
  27863. },
  27864. elementAt$1(_, index) {
  27865. throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
  27866. },
  27867. contains$1(_, element) {
  27868. return false;
  27869. },
  27870. every$1(_, test) {
  27871. return true;
  27872. },
  27873. join$1(_, separator) {
  27874. return "";
  27875. },
  27876. join$0($receiver) {
  27877. return this.join$1($receiver, "");
  27878. },
  27879. where$1(_, test) {
  27880. return this;
  27881. },
  27882. map$1$1(_, toElement, $T) {
  27883. return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
  27884. },
  27885. skip$1(_, count) {
  27886. A.RangeError_checkNotNegative(count, "count");
  27887. return this;
  27888. },
  27889. take$1(_, count) {
  27890. A.RangeError_checkNotNegative(count, "count");
  27891. return this;
  27892. },
  27893. toList$1$growable(_, growable) {
  27894. var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
  27895. return t1;
  27896. },
  27897. toList$0($receiver) {
  27898. return this.toList$1$growable($receiver, true);
  27899. },
  27900. toSet$0(_) {
  27901. return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
  27902. }
  27903. };
  27904. A.EmptyIterator.prototype = {
  27905. moveNext$0() {
  27906. return false;
  27907. },
  27908. get$current(_) {
  27909. throw A.wrapException(A.IterableElementError_noElement());
  27910. }
  27911. };
  27912. A.FollowedByIterable.prototype = {
  27913. get$iterator(_) {
  27914. return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
  27915. },
  27916. get$length(_) {
  27917. var t1 = this._second;
  27918. return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
  27919. },
  27920. get$isEmpty(_) {
  27921. var t1;
  27922. if (J.get$isEmpty$asx(this.__internal$_first)) {
  27923. t1 = this._second;
  27924. t1 = t1.get$isEmpty(t1);
  27925. } else
  27926. t1 = false;
  27927. return t1;
  27928. },
  27929. get$isNotEmpty(_) {
  27930. var t1;
  27931. if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
  27932. t1 = this._second;
  27933. t1 = t1.get$isNotEmpty(t1);
  27934. } else
  27935. t1 = true;
  27936. return t1;
  27937. },
  27938. contains$1(_, value) {
  27939. return J.contains$1$asx(this.__internal$_first, value) || this._second.contains$1(0, value);
  27940. },
  27941. get$first(_) {
  27942. var t1,
  27943. iterator = J.get$iterator$ax(this.__internal$_first);
  27944. if (iterator.moveNext$0())
  27945. return iterator.get$current(iterator);
  27946. t1 = this._second;
  27947. return t1.get$first(t1);
  27948. },
  27949. get$last(_) {
  27950. var last,
  27951. t1 = this._second,
  27952. iterator = t1.get$iterator(t1);
  27953. if (iterator.moveNext$0()) {
  27954. last = iterator.get$current(iterator);
  27955. for (; iterator.moveNext$0();)
  27956. last = iterator.get$current(iterator);
  27957. return last;
  27958. }
  27959. return J.get$last$ax(this.__internal$_first);
  27960. }
  27961. };
  27962. A.EfficientLengthFollowedByIterable.prototype = {
  27963. elementAt$1(_, index) {
  27964. var t1 = this.__internal$_first,
  27965. t2 = J.getInterceptor$asx(t1),
  27966. firstLength = t2.get$length(t1);
  27967. if (index < firstLength)
  27968. return t2.elementAt$1(t1, index);
  27969. return this._second.elementAt$1(0, index - firstLength);
  27970. },
  27971. get$first(_) {
  27972. var t1 = this.__internal$_first,
  27973. t2 = J.getInterceptor$asx(t1);
  27974. if (t2.get$isNotEmpty(t1))
  27975. return t2.get$first(t1);
  27976. t1 = this._second;
  27977. return t1.get$first(t1);
  27978. },
  27979. get$last(_) {
  27980. var t1 = this._second;
  27981. if (t1.get$isNotEmpty(t1))
  27982. return t1.get$last(t1);
  27983. return J.get$last$ax(this.__internal$_first);
  27984. },
  27985. $isEfficientLengthIterable: 1
  27986. };
  27987. A.FollowedByIterator.prototype = {
  27988. moveNext$0() {
  27989. var t1, _this = this;
  27990. if (_this._currentIterator.moveNext$0())
  27991. return true;
  27992. t1 = _this._nextIterable;
  27993. if (t1 != null) {
  27994. t1 = t1.get$iterator(t1);
  27995. _this._currentIterator = t1;
  27996. _this._nextIterable = null;
  27997. return t1.moveNext$0();
  27998. }
  27999. return false;
  28000. },
  28001. get$current(_) {
  28002. var t1 = this._currentIterator;
  28003. return t1.get$current(t1);
  28004. }
  28005. };
  28006. A.WhereTypeIterable.prototype = {
  28007. get$iterator(_) {
  28008. return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
  28009. }
  28010. };
  28011. A.WhereTypeIterator.prototype = {
  28012. moveNext$0() {
  28013. var t1, t2;
  28014. for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
  28015. if (t2._is(t1.get$current(t1)))
  28016. return true;
  28017. return false;
  28018. },
  28019. get$current(_) {
  28020. var t1 = this._source;
  28021. return this.$ti._precomputed1._as(t1.get$current(t1));
  28022. }
  28023. };
  28024. A.FixedLengthListMixin.prototype = {
  28025. set$length(receiver, newLength) {
  28026. throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
  28027. },
  28028. add$1(receiver, value) {
  28029. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  28030. }
  28031. };
  28032. A.UnmodifiableListMixin.prototype = {
  28033. $indexSet(_, index, value) {
  28034. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  28035. },
  28036. set$length(_, newLength) {
  28037. throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
  28038. },
  28039. add$1(_, value) {
  28040. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  28041. },
  28042. sort$1(_, compare) {
  28043. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  28044. },
  28045. setRange$4(_, start, end, iterable, skipCount) {
  28046. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  28047. },
  28048. fillRange$3(_, start, end, fillValue) {
  28049. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  28050. }
  28051. };
  28052. A.UnmodifiableListBase.prototype = {};
  28053. A.ReversedListIterable.prototype = {
  28054. get$length(_) {
  28055. return J.get$length$asx(this._source);
  28056. },
  28057. elementAt$1(_, index) {
  28058. var t1 = this._source,
  28059. t2 = J.getInterceptor$asx(t1);
  28060. return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
  28061. }
  28062. };
  28063. A.Symbol.prototype = {
  28064. get$hashCode(_) {
  28065. var hash = this._hashCode;
  28066. if (hash != null)
  28067. return hash;
  28068. hash = 664597 * J.get$hashCode$(this.__internal$_name) & 536870911;
  28069. this._hashCode = hash;
  28070. return hash;
  28071. },
  28072. toString$0(_) {
  28073. return 'Symbol("' + A.S(this.__internal$_name) + '")';
  28074. },
  28075. $eq(_, other) {
  28076. if (other == null)
  28077. return false;
  28078. return other instanceof A.Symbol && this.__internal$_name == other.__internal$_name;
  28079. },
  28080. $isSymbol0: 1
  28081. };
  28082. A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
  28083. A.ConstantMapView.prototype = {};
  28084. A.ConstantMap.prototype = {
  28085. cast$2$0(_, RK, RV) {
  28086. var t1 = A._instanceType(this);
  28087. return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV);
  28088. },
  28089. get$isEmpty(_) {
  28090. return this.get$length(this) === 0;
  28091. },
  28092. get$isNotEmpty(_) {
  28093. return this.get$length(this) !== 0;
  28094. },
  28095. toString$0(_) {
  28096. return A.MapBase_mapToString(this);
  28097. },
  28098. $indexSet(_, key, val) {
  28099. A.ConstantMap__throwUnmodifiable();
  28100. },
  28101. remove$1(_, key) {
  28102. A.ConstantMap__throwUnmodifiable();
  28103. },
  28104. addAll$1(_, other) {
  28105. A.ConstantMap__throwUnmodifiable();
  28106. },
  28107. get$entries(_) {
  28108. return this.entries$body$ConstantMap(0, A._instanceType(this)._eval$1("MapEntry<1,2>"));
  28109. },
  28110. entries$body$ConstantMap($async$_, $async$type) {
  28111. var $async$self = this;
  28112. return A._makeSyncStarIterable(function() {
  28113. var _ = $async$_;
  28114. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key;
  28115. return function $async$get$entries($async$errorCode, $async$result) {
  28116. if ($async$errorCode === 1) {
  28117. $async$currentError = $async$result;
  28118. $async$goto = $async$handler;
  28119. }
  28120. while (true)
  28121. switch ($async$goto) {
  28122. case 0:
  28123. // Function start
  28124. 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>");
  28125. case 2:
  28126. // for condition
  28127. if (!t1.moveNext$0()) {
  28128. // goto after for
  28129. $async$goto = 3;
  28130. break;
  28131. }
  28132. key = t1.get$current(t1);
  28133. $async$goto = 4;
  28134. return new A.MapEntry(key, $async$self.$index(0, key), t2);
  28135. case 4:
  28136. // after yield
  28137. // goto for condition
  28138. $async$goto = 2;
  28139. break;
  28140. case 3:
  28141. // after for
  28142. // implicit return
  28143. return A._IterationMarker_endOfIteration();
  28144. case 1:
  28145. // rethrow
  28146. return A._IterationMarker_uncaughtError($async$currentError);
  28147. }
  28148. };
  28149. }, $async$type);
  28150. },
  28151. $isMap: 1
  28152. };
  28153. A.ConstantStringMap.prototype = {
  28154. get$length(_) {
  28155. return this.__js_helper$_length;
  28156. },
  28157. containsKey$1(key) {
  28158. if (typeof key != "string")
  28159. return false;
  28160. if ("__proto__" === key)
  28161. return false;
  28162. return this._jsObject.hasOwnProperty(key);
  28163. },
  28164. $index(_, key) {
  28165. if (!this.containsKey$1(key))
  28166. return null;
  28167. return this._jsObject[key];
  28168. },
  28169. forEach$1(_, f) {
  28170. var t1, t2, i, key,
  28171. keys = this._keys;
  28172. for (t1 = keys.length, t2 = this._jsObject, i = 0; i < t1; ++i) {
  28173. key = keys[i];
  28174. f.call$2(key, t2[key]);
  28175. }
  28176. },
  28177. get$keys(_) {
  28178. return new A._ConstantMapKeyIterable(this, this.$ti._eval$1("_ConstantMapKeyIterable<1>"));
  28179. },
  28180. get$values(_) {
  28181. var t1 = this.$ti;
  28182. return A.MappedIterable_MappedIterable(this._keys, new A.ConstantStringMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  28183. }
  28184. };
  28185. A.ConstantStringMap_values_closure.prototype = {
  28186. call$1(key) {
  28187. return this.$this._jsObject[key];
  28188. },
  28189. $signature() {
  28190. return this.$this.$ti._eval$1("2(1)");
  28191. }
  28192. };
  28193. A._ConstantMapKeyIterable.prototype = {
  28194. get$iterator(_) {
  28195. var t1 = this.__js_helper$_map._keys;
  28196. return new J.ArrayIterator(t1, t1.length);
  28197. },
  28198. get$length(_) {
  28199. return this.__js_helper$_map._keys.length;
  28200. }
  28201. };
  28202. A.GeneralConstantMap.prototype = {
  28203. _getMap$0() {
  28204. var t1, t2, t3, _this = this,
  28205. backingMap = _this.$map;
  28206. if (backingMap == null) {
  28207. t1 = _this.$ti;
  28208. t2 = t1._precomputed1;
  28209. t3 = A.GeneralConstantMap__typeTest(t2);
  28210. backingMap = A.LinkedHashMap_LinkedHashMap(null, A._js_helper_GeneralConstantMap__constantMapHashCode$closure(), t3, t2, t1._rest[1]);
  28211. A.fillLiteralMap(_this._jsData, backingMap);
  28212. _this.$map = backingMap;
  28213. }
  28214. return backingMap;
  28215. },
  28216. containsKey$1(key) {
  28217. return this._getMap$0().containsKey$1(key);
  28218. },
  28219. $index(_, key) {
  28220. return this._getMap$0().$index(0, key);
  28221. },
  28222. forEach$1(_, f) {
  28223. this._getMap$0().forEach$1(0, f);
  28224. },
  28225. get$keys(_) {
  28226. var t1 = this._getMap$0();
  28227. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  28228. },
  28229. get$values(_) {
  28230. var t1 = this._getMap$0();
  28231. return t1.get$values(t1);
  28232. },
  28233. get$length(_) {
  28234. return this._getMap$0().__js_helper$_length;
  28235. }
  28236. };
  28237. A.GeneralConstantMap__typeTest_closure.prototype = {
  28238. call$1(o) {
  28239. return this.T._is(o);
  28240. },
  28241. $signature: 9
  28242. };
  28243. A.Instantiation.prototype = {
  28244. Instantiation$1(_genericClosure) {
  28245. if (false)
  28246. A.instantiatedGenericFunctionType(0, 0);
  28247. },
  28248. $eq(_, other) {
  28249. if (other == null)
  28250. return false;
  28251. return other instanceof A.Instantiation && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeTypeOfClosure(this) === A.getRuntimeTypeOfClosure(other);
  28252. },
  28253. get$hashCode(_) {
  28254. return A.Object_hash(this._genericClosure, A.getRuntimeTypeOfClosure(this), B.C_SentinelValue, B.C_SentinelValue);
  28255. },
  28256. toString$0(_) {
  28257. var t1 = B.JSArray_methods.join$1(this.get$_types(), ", ");
  28258. return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">");
  28259. }
  28260. };
  28261. A.Instantiation1.prototype = {
  28262. get$_types() {
  28263. return [A.createRuntimeType(this.$ti._precomputed1)];
  28264. },
  28265. call$0() {
  28266. return this._genericClosure.call$1$0(this.$ti._rest[0]);
  28267. },
  28268. call$2(a0, a1) {
  28269. return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
  28270. },
  28271. call$3(a0, a1, a2) {
  28272. return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
  28273. },
  28274. call$4(a0, a1, a2, a3) {
  28275. return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
  28276. },
  28277. $signature() {
  28278. return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
  28279. }
  28280. };
  28281. A.JSInvocationMirror.prototype = {
  28282. get$memberName() {
  28283. var t1 = this.__js_helper$_memberName;
  28284. if (type$.Symbol._is(t1))
  28285. return t1;
  28286. return this.__js_helper$_memberName = new A.Symbol(t1);
  28287. },
  28288. get$positionalArguments() {
  28289. var t1, t2, argumentCount, list, index, _this = this;
  28290. if (_this.__js_helper$_kind === 1)
  28291. return B.List_empty6;
  28292. t1 = _this._arguments;
  28293. t2 = J.getInterceptor$asx(t1);
  28294. argumentCount = t2.get$length(t1) - J.get$length$asx(_this._namedArgumentNames) - _this._typeArgumentCount;
  28295. if (argumentCount === 0)
  28296. return B.List_empty6;
  28297. list = [];
  28298. for (index = 0; index < argumentCount; ++index)
  28299. list.push(t2.$index(t1, index));
  28300. return J.JSArray_markUnmodifiableList(list);
  28301. },
  28302. get$namedArguments() {
  28303. var t1, t2, namedArgumentCount, t3, t4, namedArgumentsStartIndex, map, i, _this = this;
  28304. if (_this.__js_helper$_kind !== 0)
  28305. return B.Map_empty0;
  28306. t1 = _this._namedArgumentNames;
  28307. t2 = J.getInterceptor$asx(t1);
  28308. namedArgumentCount = t2.get$length(t1);
  28309. t3 = _this._arguments;
  28310. t4 = J.getInterceptor$asx(t3);
  28311. namedArgumentsStartIndex = t4.get$length(t3) - namedArgumentCount - _this._typeArgumentCount;
  28312. if (namedArgumentCount === 0)
  28313. return B.Map_empty0;
  28314. map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
  28315. for (i = 0; i < namedArgumentCount; ++i)
  28316. map.$indexSet(0, new A.Symbol(t2.$index(t1, i)), t4.$index(t3, namedArgumentsStartIndex + i));
  28317. return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
  28318. }
  28319. };
  28320. A.Primitives_functionNoSuchMethod_closure.prototype = {
  28321. call$2($name, argument) {
  28322. var t1 = this._box_0;
  28323. t1.names = t1.names + "$" + $name;
  28324. this.namedArgumentList.push($name);
  28325. this.$arguments.push(argument);
  28326. ++t1.argumentCount;
  28327. },
  28328. $signature: 252
  28329. };
  28330. A.TypeErrorDecoder.prototype = {
  28331. matchTypeError$1(message) {
  28332. var result, t1, _this = this,
  28333. match = new RegExp(_this._pattern).exec(message);
  28334. if (match == null)
  28335. return null;
  28336. result = Object.create(null);
  28337. t1 = _this._arguments;
  28338. if (t1 !== -1)
  28339. result.arguments = match[t1 + 1];
  28340. t1 = _this._argumentsExpr;
  28341. if (t1 !== -1)
  28342. result.argumentsExpr = match[t1 + 1];
  28343. t1 = _this._expr;
  28344. if (t1 !== -1)
  28345. result.expr = match[t1 + 1];
  28346. t1 = _this._method;
  28347. if (t1 !== -1)
  28348. result.method = match[t1 + 1];
  28349. t1 = _this._receiver;
  28350. if (t1 !== -1)
  28351. result.receiver = match[t1 + 1];
  28352. return result;
  28353. }
  28354. };
  28355. A.NullError.prototype = {
  28356. toString$0(_) {
  28357. var t1 = this._method;
  28358. if (t1 == null)
  28359. return "NoSuchMethodError: " + this.__js_helper$_message;
  28360. return "NoSuchMethodError: method not found: '" + t1 + "' on null";
  28361. }
  28362. };
  28363. A.JsNoSuchMethodError.prototype = {
  28364. toString$0(_) {
  28365. var t2, _this = this,
  28366. _s38_ = "NoSuchMethodError: method not found: '",
  28367. t1 = _this._method;
  28368. if (t1 == null)
  28369. return "NoSuchMethodError: " + _this.__js_helper$_message;
  28370. t2 = _this._receiver;
  28371. if (t2 == null)
  28372. return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
  28373. return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
  28374. }
  28375. };
  28376. A.UnknownJsTypeError.prototype = {
  28377. toString$0(_) {
  28378. var t1 = this.__js_helper$_message;
  28379. return t1.length === 0 ? "Error" : "Error: " + t1;
  28380. }
  28381. };
  28382. A.NullThrownFromJavaScriptException.prototype = {
  28383. toString$0(_) {
  28384. return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
  28385. },
  28386. $isException: 1
  28387. };
  28388. A.ExceptionAndStackTrace.prototype = {};
  28389. A._StackTrace.prototype = {
  28390. toString$0(_) {
  28391. var trace,
  28392. t1 = this._trace;
  28393. if (t1 != null)
  28394. return t1;
  28395. t1 = this._exception;
  28396. trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
  28397. return this._trace = trace == null ? "" : trace;
  28398. },
  28399. $isStackTrace: 1
  28400. };
  28401. A.Closure.prototype = {
  28402. toString$0(_) {
  28403. var $constructor = this.constructor,
  28404. $name = $constructor == null ? null : $constructor.name;
  28405. return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
  28406. },
  28407. $isFunction: 1,
  28408. get$$call() {
  28409. return this;
  28410. },
  28411. "call*": "call$1",
  28412. $requiredArgCount: 1,
  28413. $defaultValues: null
  28414. };
  28415. A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
  28416. A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
  28417. A.TearOffClosure.prototype = {};
  28418. A.StaticClosure.prototype = {
  28419. toString$0(_) {
  28420. var $name = this.$static_name;
  28421. if ($name == null)
  28422. return "Closure of unknown static method";
  28423. return "Closure '" + A.unminifyOrTag($name) + "'";
  28424. }
  28425. };
  28426. A.BoundClosure.prototype = {
  28427. $eq(_, other) {
  28428. if (other == null)
  28429. return false;
  28430. if (this === other)
  28431. return true;
  28432. if (!(other instanceof A.BoundClosure))
  28433. return false;
  28434. return this.$_target === other.$_target && this._receiver === other._receiver;
  28435. },
  28436. get$hashCode(_) {
  28437. return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
  28438. },
  28439. toString$0(_) {
  28440. return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
  28441. }
  28442. };
  28443. A._CyclicInitializationError.prototype = {
  28444. toString$0(_) {
  28445. return "Reading static variable '" + this.variableName + "' during its initialization";
  28446. }
  28447. };
  28448. A.RuntimeError.prototype = {
  28449. toString$0(_) {
  28450. return "RuntimeError: " + this.message;
  28451. },
  28452. get$message(receiver) {
  28453. return this.message;
  28454. }
  28455. };
  28456. A._Required.prototype = {};
  28457. A.JsLinkedHashMap.prototype = {
  28458. get$length(_) {
  28459. return this.__js_helper$_length;
  28460. },
  28461. get$isEmpty(_) {
  28462. return this.__js_helper$_length === 0;
  28463. },
  28464. get$isNotEmpty(_) {
  28465. return this.__js_helper$_length !== 0;
  28466. },
  28467. get$keys(_) {
  28468. return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>"));
  28469. },
  28470. get$values(_) {
  28471. var t1 = A._instanceType(this);
  28472. return A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(this, t1._eval$1("LinkedHashMapKeyIterable<1>")), new A.JsLinkedHashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  28473. },
  28474. containsKey$1(key) {
  28475. var strings, nums;
  28476. if (typeof key == "string") {
  28477. strings = this._strings;
  28478. if (strings == null)
  28479. return false;
  28480. return strings[key] != null;
  28481. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  28482. nums = this._nums;
  28483. if (nums == null)
  28484. return false;
  28485. return nums[key] != null;
  28486. } else
  28487. return this.internalContainsKey$1(key);
  28488. },
  28489. internalContainsKey$1(key) {
  28490. var rest = this.__js_helper$_rest;
  28491. if (rest == null)
  28492. return false;
  28493. return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0;
  28494. },
  28495. addAll$1(_, other) {
  28496. other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
  28497. },
  28498. $index(_, key) {
  28499. var strings, cell, t1, nums, _null = null;
  28500. if (typeof key == "string") {
  28501. strings = this._strings;
  28502. if (strings == null)
  28503. return _null;
  28504. cell = strings[key];
  28505. t1 = cell == null ? _null : cell.hashMapCellValue;
  28506. return t1;
  28507. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  28508. nums = this._nums;
  28509. if (nums == null)
  28510. return _null;
  28511. cell = nums[key];
  28512. t1 = cell == null ? _null : cell.hashMapCellValue;
  28513. return t1;
  28514. } else
  28515. return this.internalGet$1(key);
  28516. },
  28517. internalGet$1(key) {
  28518. var bucket, index,
  28519. rest = this.__js_helper$_rest;
  28520. if (rest == null)
  28521. return null;
  28522. bucket = rest[this.internalComputeHashCode$1(key)];
  28523. index = this.internalFindBucketIndex$2(bucket, key);
  28524. if (index < 0)
  28525. return null;
  28526. return bucket[index].hashMapCellValue;
  28527. },
  28528. $indexSet(_, key, value) {
  28529. var strings, nums, _this = this;
  28530. if (typeof key == "string") {
  28531. strings = _this._strings;
  28532. _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value);
  28533. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  28534. nums = _this._nums;
  28535. _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value);
  28536. } else
  28537. _this.internalSet$2(key, value);
  28538. },
  28539. internalSet$2(key, value) {
  28540. var hash, bucket, index, _this = this,
  28541. rest = _this.__js_helper$_rest;
  28542. if (rest == null)
  28543. rest = _this.__js_helper$_rest = _this._newHashTable$0();
  28544. hash = _this.internalComputeHashCode$1(key);
  28545. bucket = rest[hash];
  28546. if (bucket == null)
  28547. rest[hash] = [_this._newLinkedCell$2(key, value)];
  28548. else {
  28549. index = _this.internalFindBucketIndex$2(bucket, key);
  28550. if (index >= 0)
  28551. bucket[index].hashMapCellValue = value;
  28552. else
  28553. bucket.push(_this._newLinkedCell$2(key, value));
  28554. }
  28555. },
  28556. putIfAbsent$2(key, ifAbsent) {
  28557. var t1, value, _this = this;
  28558. if (_this.containsKey$1(key)) {
  28559. t1 = _this.$index(0, key);
  28560. return t1 == null ? A._instanceType(_this)._rest[1]._as(t1) : t1;
  28561. }
  28562. value = ifAbsent.call$0();
  28563. _this.$indexSet(0, key, value);
  28564. return value;
  28565. },
  28566. remove$1(_, key) {
  28567. var _this = this;
  28568. if (typeof key == "string")
  28569. return _this.__js_helper$_removeHashTableEntry$2(_this._strings, key);
  28570. else if (typeof key == "number" && (key & 0x3fffffff) === key)
  28571. return _this.__js_helper$_removeHashTableEntry$2(_this._nums, key);
  28572. else
  28573. return _this.internalRemove$1(key);
  28574. },
  28575. internalRemove$1(key) {
  28576. var hash, bucket, index, cell, _this = this,
  28577. rest = _this.__js_helper$_rest;
  28578. if (rest == null)
  28579. return null;
  28580. hash = _this.internalComputeHashCode$1(key);
  28581. bucket = rest[hash];
  28582. index = _this.internalFindBucketIndex$2(bucket, key);
  28583. if (index < 0)
  28584. return null;
  28585. cell = bucket.splice(index, 1)[0];
  28586. _this.__js_helper$_unlinkCell$1(cell);
  28587. if (bucket.length === 0)
  28588. delete rest[hash];
  28589. return cell.hashMapCellValue;
  28590. },
  28591. clear$0(_) {
  28592. var _this = this;
  28593. if (_this.__js_helper$_length > 0) {
  28594. _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null;
  28595. _this.__js_helper$_length = 0;
  28596. _this._modified$0();
  28597. }
  28598. },
  28599. forEach$1(_, action) {
  28600. var _this = this,
  28601. cell = _this._first,
  28602. modifications = _this._modifications;
  28603. for (; cell != null;) {
  28604. action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
  28605. if (modifications !== _this._modifications)
  28606. throw A.wrapException(A.ConcurrentModificationError$(_this));
  28607. cell = cell._next;
  28608. }
  28609. },
  28610. _addHashTableEntry$3(table, key, value) {
  28611. var cell = table[key];
  28612. if (cell == null)
  28613. table[key] = this._newLinkedCell$2(key, value);
  28614. else
  28615. cell.hashMapCellValue = value;
  28616. },
  28617. __js_helper$_removeHashTableEntry$2(table, key) {
  28618. var cell;
  28619. if (table == null)
  28620. return null;
  28621. cell = table[key];
  28622. if (cell == null)
  28623. return null;
  28624. this.__js_helper$_unlinkCell$1(cell);
  28625. delete table[key];
  28626. return cell.hashMapCellValue;
  28627. },
  28628. _modified$0() {
  28629. this._modifications = this._modifications + 1 & 1073741823;
  28630. },
  28631. _newLinkedCell$2(key, value) {
  28632. var t1, _this = this,
  28633. cell = new A.LinkedHashMapCell(key, value);
  28634. if (_this._first == null)
  28635. _this._first = _this._last = cell;
  28636. else {
  28637. t1 = _this._last;
  28638. t1.toString;
  28639. cell._previous = t1;
  28640. _this._last = t1._next = cell;
  28641. }
  28642. ++_this.__js_helper$_length;
  28643. _this._modified$0();
  28644. return cell;
  28645. },
  28646. __js_helper$_unlinkCell$1(cell) {
  28647. var _this = this,
  28648. previous = cell._previous,
  28649. next = cell._next;
  28650. if (previous == null)
  28651. _this._first = next;
  28652. else
  28653. previous._next = next;
  28654. if (next == null)
  28655. _this._last = previous;
  28656. else
  28657. next._previous = previous;
  28658. --_this.__js_helper$_length;
  28659. _this._modified$0();
  28660. },
  28661. internalComputeHashCode$1(key) {
  28662. return J.get$hashCode$(key) & 0x3fffffff;
  28663. },
  28664. internalFindBucketIndex$2(bucket, key) {
  28665. var $length, i;
  28666. if (bucket == null)
  28667. return -1;
  28668. $length = bucket.length;
  28669. for (i = 0; i < $length; ++i)
  28670. if (J.$eq$(bucket[i].hashMapCellKey, key))
  28671. return i;
  28672. return -1;
  28673. },
  28674. toString$0(_) {
  28675. return A.MapBase_mapToString(this);
  28676. },
  28677. _newHashTable$0() {
  28678. var table = Object.create(null);
  28679. table["<non-identifier-key>"] = table;
  28680. delete table["<non-identifier-key>"];
  28681. return table;
  28682. }
  28683. };
  28684. A.JsLinkedHashMap_values_closure.prototype = {
  28685. call$1(each) {
  28686. var t1 = this.$this,
  28687. t2 = t1.$index(0, each);
  28688. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  28689. },
  28690. $signature() {
  28691. return A._instanceType(this.$this)._eval$1("2(1)");
  28692. }
  28693. };
  28694. A.JsLinkedHashMap_addAll_closure.prototype = {
  28695. call$2(key, value) {
  28696. this.$this.$indexSet(0, key, value);
  28697. },
  28698. $signature() {
  28699. return A._instanceType(this.$this)._eval$1("~(1,2)");
  28700. }
  28701. };
  28702. A.LinkedHashMapCell.prototype = {};
  28703. A.LinkedHashMapKeyIterable.prototype = {
  28704. get$length(_) {
  28705. return this.__js_helper$_map.__js_helper$_length;
  28706. },
  28707. get$isEmpty(_) {
  28708. return this.__js_helper$_map.__js_helper$_length === 0;
  28709. },
  28710. get$iterator(_) {
  28711. var t1 = this.__js_helper$_map,
  28712. t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications);
  28713. t2._cell = t1._first;
  28714. return t2;
  28715. },
  28716. contains$1(_, element) {
  28717. return this.__js_helper$_map.containsKey$1(element);
  28718. }
  28719. };
  28720. A.LinkedHashMapKeyIterator.prototype = {
  28721. get$current(_) {
  28722. return this.__js_helper$_current;
  28723. },
  28724. moveNext$0() {
  28725. var cell, _this = this,
  28726. t1 = _this.__js_helper$_map;
  28727. if (_this._modifications !== t1._modifications)
  28728. throw A.wrapException(A.ConcurrentModificationError$(t1));
  28729. cell = _this._cell;
  28730. if (cell == null) {
  28731. _this.__js_helper$_current = null;
  28732. return false;
  28733. } else {
  28734. _this.__js_helper$_current = cell.hashMapCellKey;
  28735. _this._cell = cell._next;
  28736. return true;
  28737. }
  28738. }
  28739. };
  28740. A.initHooks_closure.prototype = {
  28741. call$1(o) {
  28742. return this.getTag(o);
  28743. },
  28744. $signature: 99
  28745. };
  28746. A.initHooks_closure0.prototype = {
  28747. call$2(o, tag) {
  28748. return this.getUnknownTag(o, tag);
  28749. },
  28750. $signature: 288
  28751. };
  28752. A.initHooks_closure1.prototype = {
  28753. call$1(tag) {
  28754. return this.prototypeForTag(tag);
  28755. },
  28756. $signature: 426
  28757. };
  28758. A.JSSyntaxRegExp.prototype = {
  28759. toString$0(_) {
  28760. return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
  28761. },
  28762. get$_nativeGlobalVersion() {
  28763. var _this = this,
  28764. t1 = _this._nativeGlobalRegExp;
  28765. if (t1 != null)
  28766. return t1;
  28767. t1 = _this._nativeRegExp;
  28768. return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  28769. },
  28770. get$_nativeAnchoredVersion() {
  28771. var _this = this,
  28772. t1 = _this._nativeAnchoredRegExp;
  28773. if (t1 != null)
  28774. return t1;
  28775. t1 = _this._nativeRegExp;
  28776. return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  28777. },
  28778. firstMatch$1(string) {
  28779. var m = this._nativeRegExp.exec(string);
  28780. if (m == null)
  28781. return null;
  28782. return new A._MatchImplementation(m);
  28783. },
  28784. allMatches$2(_, string, start) {
  28785. var t1 = string.length;
  28786. if (start > t1)
  28787. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  28788. return new A._AllMatchesIterable(this, string, start);
  28789. },
  28790. allMatches$1($receiver, string) {
  28791. return this.allMatches$2($receiver, string, 0);
  28792. },
  28793. _execGlobal$2(string, start) {
  28794. var match,
  28795. regexp = this.get$_nativeGlobalVersion();
  28796. regexp.lastIndex = start;
  28797. match = regexp.exec(string);
  28798. if (match == null)
  28799. return null;
  28800. return new A._MatchImplementation(match);
  28801. },
  28802. _execAnchored$2(string, start) {
  28803. var match,
  28804. regexp = this.get$_nativeAnchoredVersion();
  28805. regexp.lastIndex = start;
  28806. match = regexp.exec(string);
  28807. if (match == null)
  28808. return null;
  28809. if (match.pop() != null)
  28810. return null;
  28811. return new A._MatchImplementation(match);
  28812. },
  28813. matchAsPrefix$2(_, string, start) {
  28814. if (start < 0 || start > string.length)
  28815. throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
  28816. return this._execAnchored$2(string, start);
  28817. }
  28818. };
  28819. A._MatchImplementation.prototype = {
  28820. get$start(_) {
  28821. return this._match.index;
  28822. },
  28823. get$end(_) {
  28824. var t1 = this._match;
  28825. return t1.index + t1[0].length;
  28826. },
  28827. $isMatch: 1,
  28828. $isRegExpMatch: 1
  28829. };
  28830. A._AllMatchesIterable.prototype = {
  28831. get$iterator(_) {
  28832. return new A._AllMatchesIterator(this._re, this._string, this._start);
  28833. }
  28834. };
  28835. A._AllMatchesIterator.prototype = {
  28836. get$current(_) {
  28837. var t1 = this.__js_helper$_current;
  28838. return t1 == null ? type$.RegExpMatch._as(t1) : t1;
  28839. },
  28840. moveNext$0() {
  28841. var t1, t2, t3, match, nextIndex, _this = this,
  28842. string = _this._string;
  28843. if (string == null)
  28844. return false;
  28845. t1 = _this._nextIndex;
  28846. t2 = string.length;
  28847. if (t1 <= t2) {
  28848. t3 = _this._regExp;
  28849. match = t3._execGlobal$2(string, t1);
  28850. if (match != null) {
  28851. _this.__js_helper$_current = match;
  28852. nextIndex = match.get$end(match);
  28853. if (match._match.index === nextIndex) {
  28854. if (t3._nativeRegExp.unicode) {
  28855. t1 = _this._nextIndex;
  28856. t3 = t1 + 1;
  28857. if (t3 < t2) {
  28858. t1 = B.JSString_methods.codeUnitAt$1(string, t1);
  28859. if (t1 >= 55296 && t1 <= 56319) {
  28860. t1 = B.JSString_methods.codeUnitAt$1(string, t3);
  28861. t1 = t1 >= 56320 && t1 <= 57343;
  28862. } else
  28863. t1 = false;
  28864. } else
  28865. t1 = false;
  28866. } else
  28867. t1 = false;
  28868. nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
  28869. }
  28870. _this._nextIndex = nextIndex;
  28871. return true;
  28872. }
  28873. }
  28874. _this._string = _this.__js_helper$_current = null;
  28875. return false;
  28876. }
  28877. };
  28878. A.StringMatch.prototype = {
  28879. get$end(_) {
  28880. return this.start + this.pattern.length;
  28881. },
  28882. $isMatch: 1,
  28883. get$start(receiver) {
  28884. return this.start;
  28885. }
  28886. };
  28887. A._StringAllMatchesIterable.prototype = {
  28888. get$iterator(_) {
  28889. return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
  28890. },
  28891. get$first(_) {
  28892. var t1 = this._pattern,
  28893. index = this._input.indexOf(t1, this.__js_helper$_index);
  28894. if (index >= 0)
  28895. return new A.StringMatch(index, t1);
  28896. throw A.wrapException(A.IterableElementError_noElement());
  28897. }
  28898. };
  28899. A._StringAllMatchesIterator.prototype = {
  28900. moveNext$0() {
  28901. var index, end, _this = this,
  28902. t1 = _this.__js_helper$_index,
  28903. t2 = _this._pattern,
  28904. t3 = t2.length,
  28905. t4 = _this._input,
  28906. t5 = t4.length;
  28907. if (t1 + t3 > t5) {
  28908. _this.__js_helper$_current = null;
  28909. return false;
  28910. }
  28911. index = t4.indexOf(t2, t1);
  28912. if (index < 0) {
  28913. _this.__js_helper$_index = t5 + 1;
  28914. _this.__js_helper$_current = null;
  28915. return false;
  28916. }
  28917. end = index + t3;
  28918. _this.__js_helper$_current = new A.StringMatch(index, t2);
  28919. _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
  28920. return true;
  28921. },
  28922. get$current(_) {
  28923. var t1 = this.__js_helper$_current;
  28924. t1.toString;
  28925. return t1;
  28926. }
  28927. };
  28928. A._Cell.prototype = {
  28929. readLocal$1$0() {
  28930. var t1 = this.__late_helper$_value;
  28931. if (t1 === this)
  28932. A.throwExpression(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized."));
  28933. return t1;
  28934. },
  28935. readLocal$0() {
  28936. return this.readLocal$1$0(type$.dynamic);
  28937. },
  28938. _readLocal$0() {
  28939. var t1 = this.__late_helper$_value;
  28940. if (t1 === this)
  28941. throw A.wrapException(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized."));
  28942. return t1;
  28943. }
  28944. };
  28945. A.NativeByteBuffer.prototype = {
  28946. get$runtimeType(receiver) {
  28947. return B.Type_ByteBuffer_RkP;
  28948. },
  28949. $isTrustedGetRuntimeType: 1,
  28950. $isByteBuffer: 1
  28951. };
  28952. A.NativeTypedData.prototype = {
  28953. _invalidPosition$3(receiver, position, $length, $name) {
  28954. var t1 = A.RangeError$range(position, 0, $length, $name, null);
  28955. throw A.wrapException(t1);
  28956. },
  28957. _checkPosition$3(receiver, position, $length, $name) {
  28958. if (position >>> 0 !== position || position > $length)
  28959. this._invalidPosition$3(receiver, position, $length, $name);
  28960. }
  28961. };
  28962. A.NativeByteData.prototype = {
  28963. get$runtimeType(receiver) {
  28964. return B.Type_ByteData_zNC;
  28965. },
  28966. $isTrustedGetRuntimeType: 1,
  28967. $isByteData: 1
  28968. };
  28969. A.NativeTypedArray.prototype = {
  28970. get$length(receiver) {
  28971. return receiver.length;
  28972. },
  28973. _setRangeFast$4(receiver, start, end, source, skipCount) {
  28974. var count, sourceLength,
  28975. targetLength = receiver.length;
  28976. this._checkPosition$3(receiver, start, targetLength, "start");
  28977. this._checkPosition$3(receiver, end, targetLength, "end");
  28978. if (start > end)
  28979. throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
  28980. count = end - start;
  28981. if (skipCount < 0)
  28982. throw A.wrapException(A.ArgumentError$(skipCount, null));
  28983. sourceLength = source.length;
  28984. if (sourceLength - skipCount < count)
  28985. throw A.wrapException(A.StateError$("Not enough elements"));
  28986. if (skipCount !== 0 || sourceLength !== count)
  28987. source = source.subarray(skipCount, skipCount + count);
  28988. receiver.set(source, start);
  28989. },
  28990. $isJavaScriptIndexingBehavior: 1
  28991. };
  28992. A.NativeTypedArrayOfDouble.prototype = {
  28993. $index(receiver, index) {
  28994. A._checkValidIndex(index, receiver, receiver.length);
  28995. return receiver[index];
  28996. },
  28997. $indexSet(receiver, index, value) {
  28998. A._checkValidIndex(index, receiver, receiver.length);
  28999. receiver[index] = value;
  29000. },
  29001. setRange$4(receiver, start, end, iterable, skipCount) {
  29002. if (type$.NativeTypedArrayOfDouble._is(iterable)) {
  29003. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  29004. return;
  29005. }
  29006. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  29007. },
  29008. $isEfficientLengthIterable: 1,
  29009. $isIterable: 1,
  29010. $isList: 1
  29011. };
  29012. A.NativeTypedArrayOfInt.prototype = {
  29013. $indexSet(receiver, index, value) {
  29014. A._checkValidIndex(index, receiver, receiver.length);
  29015. receiver[index] = value;
  29016. },
  29017. setRange$4(receiver, start, end, iterable, skipCount) {
  29018. if (type$.NativeTypedArrayOfInt._is(iterable)) {
  29019. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  29020. return;
  29021. }
  29022. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  29023. },
  29024. $isEfficientLengthIterable: 1,
  29025. $isIterable: 1,
  29026. $isList: 1
  29027. };
  29028. A.NativeFloat32List.prototype = {
  29029. get$runtimeType(receiver) {
  29030. return B.Type_Float32List_LB7;
  29031. },
  29032. $isTrustedGetRuntimeType: 1,
  29033. $isFloat32List: 1
  29034. };
  29035. A.NativeFloat64List.prototype = {
  29036. get$runtimeType(receiver) {
  29037. return B.Type_Float64List_LB7;
  29038. },
  29039. $isTrustedGetRuntimeType: 1,
  29040. $isFloat64List: 1
  29041. };
  29042. A.NativeInt16List.prototype = {
  29043. get$runtimeType(receiver) {
  29044. return B.Type_Int16List_uXf;
  29045. },
  29046. $index(receiver, index) {
  29047. A._checkValidIndex(index, receiver, receiver.length);
  29048. return receiver[index];
  29049. },
  29050. $isTrustedGetRuntimeType: 1,
  29051. $isInt16List: 1
  29052. };
  29053. A.NativeInt32List.prototype = {
  29054. get$runtimeType(receiver) {
  29055. return B.Type_Int32List_O50;
  29056. },
  29057. $index(receiver, index) {
  29058. A._checkValidIndex(index, receiver, receiver.length);
  29059. return receiver[index];
  29060. },
  29061. $isTrustedGetRuntimeType: 1,
  29062. $isInt32List: 1
  29063. };
  29064. A.NativeInt8List.prototype = {
  29065. get$runtimeType(receiver) {
  29066. return B.Type_Int8List_ekJ;
  29067. },
  29068. $index(receiver, index) {
  29069. A._checkValidIndex(index, receiver, receiver.length);
  29070. return receiver[index];
  29071. },
  29072. $isTrustedGetRuntimeType: 1,
  29073. $isInt8List: 1
  29074. };
  29075. A.NativeUint16List.prototype = {
  29076. get$runtimeType(receiver) {
  29077. return B.Type_Uint16List_2bx;
  29078. },
  29079. $index(receiver, index) {
  29080. A._checkValidIndex(index, receiver, receiver.length);
  29081. return receiver[index];
  29082. },
  29083. $isTrustedGetRuntimeType: 1,
  29084. $isUint16List: 1
  29085. };
  29086. A.NativeUint32List.prototype = {
  29087. get$runtimeType(receiver) {
  29088. return B.Type_Uint32List_2bx;
  29089. },
  29090. $index(receiver, index) {
  29091. A._checkValidIndex(index, receiver, receiver.length);
  29092. return receiver[index];
  29093. },
  29094. sublist$2(receiver, start, end) {
  29095. return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  29096. },
  29097. $isTrustedGetRuntimeType: 1,
  29098. $isUint32List: 1
  29099. };
  29100. A.NativeUint8ClampedList.prototype = {
  29101. get$runtimeType(receiver) {
  29102. return B.Type_Uint8ClampedList_Jik;
  29103. },
  29104. get$length(receiver) {
  29105. return receiver.length;
  29106. },
  29107. $index(receiver, index) {
  29108. A._checkValidIndex(index, receiver, receiver.length);
  29109. return receiver[index];
  29110. },
  29111. $isTrustedGetRuntimeType: 1,
  29112. $isUint8ClampedList: 1
  29113. };
  29114. A.NativeUint8List.prototype = {
  29115. get$runtimeType(receiver) {
  29116. return B.Type_Uint8List_WLA;
  29117. },
  29118. get$length(receiver) {
  29119. return receiver.length;
  29120. },
  29121. $index(receiver, index) {
  29122. A._checkValidIndex(index, receiver, receiver.length);
  29123. return receiver[index];
  29124. },
  29125. $isNativeUint8List: 1,
  29126. $isTrustedGetRuntimeType: 1,
  29127. $isUint8List: 1
  29128. };
  29129. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
  29130. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  29131. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
  29132. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  29133. A.Rti.prototype = {
  29134. _eval$1(recipe) {
  29135. return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
  29136. },
  29137. _bind$1(typeOrTuple) {
  29138. return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
  29139. }
  29140. };
  29141. A._FunctionParameters.prototype = {};
  29142. A._Type.prototype = {
  29143. toString$0(_) {
  29144. return A._rtiToString(this._rti, null);
  29145. },
  29146. $isType: 1
  29147. };
  29148. A._Error.prototype = {
  29149. toString$0(_) {
  29150. return this.__rti$_message;
  29151. }
  29152. };
  29153. A._TypeError.prototype = {
  29154. get$message(_) {
  29155. return this.__rti$_message;
  29156. },
  29157. $isTypeError: 1
  29158. };
  29159. A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
  29160. call$1(_) {
  29161. var t1 = this._box_0,
  29162. f = t1.storedCallback;
  29163. t1.storedCallback = null;
  29164. f.call$0();
  29165. },
  29166. $signature: 73
  29167. };
  29168. A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
  29169. call$1(callback) {
  29170. var t1, t2;
  29171. this._box_0.storedCallback = callback;
  29172. t1 = this.div;
  29173. t2 = this.span;
  29174. t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
  29175. },
  29176. $signature: 30
  29177. };
  29178. A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
  29179. call$0() {
  29180. this.callback.call$0();
  29181. },
  29182. $signature: 1
  29183. };
  29184. A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
  29185. call$0() {
  29186. this.callback.call$0();
  29187. },
  29188. $signature: 1
  29189. };
  29190. A._TimerImpl.prototype = {
  29191. _TimerImpl$2(milliseconds, callback) {
  29192. if (self.setTimeout != null)
  29193. this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
  29194. else
  29195. throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
  29196. },
  29197. _TimerImpl$periodic$2(milliseconds, callback) {
  29198. if (self.setTimeout != null)
  29199. this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
  29200. else
  29201. throw A.wrapException(A.UnsupportedError$("Periodic timer."));
  29202. },
  29203. cancel$0() {
  29204. if (self.setTimeout != null) {
  29205. var t1 = this._handle;
  29206. if (t1 == null)
  29207. return;
  29208. if (this._once)
  29209. self.clearTimeout(t1);
  29210. else
  29211. self.clearInterval(t1);
  29212. this._handle = null;
  29213. } else
  29214. throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
  29215. }
  29216. };
  29217. A._TimerImpl_internalCallback.prototype = {
  29218. call$0() {
  29219. var t1 = this.$this;
  29220. t1._handle = null;
  29221. t1._tick = 1;
  29222. this.callback.call$0();
  29223. },
  29224. $signature: 0
  29225. };
  29226. A._TimerImpl$periodic_closure.prototype = {
  29227. call$0() {
  29228. var duration, _this = this,
  29229. t1 = _this.$this,
  29230. tick = t1._tick + 1,
  29231. t2 = _this.milliseconds;
  29232. if (t2 > 0) {
  29233. duration = Date.now() - _this.start;
  29234. if (duration > (tick + 1) * t2)
  29235. tick = B.JSInt_methods.$tdiv(duration, t2);
  29236. }
  29237. t1._tick = tick;
  29238. _this.callback.call$1(t1);
  29239. },
  29240. $signature: 1
  29241. };
  29242. A._AsyncAwaitCompleter.prototype = {
  29243. complete$1(value) {
  29244. var t1, _this = this;
  29245. if (value == null)
  29246. value = _this.$ti._precomputed1._as(value);
  29247. if (!_this.isSync)
  29248. _this._future._asyncComplete$1(value);
  29249. else {
  29250. t1 = _this._future;
  29251. if (_this.$ti._eval$1("Future<1>")._is(value))
  29252. t1._chainFuture$1(value);
  29253. else
  29254. t1._completeWithValue$1(value);
  29255. }
  29256. },
  29257. completeError$2(e, st) {
  29258. var t1 = this._future;
  29259. if (this.isSync)
  29260. t1._completeError$2(e, st);
  29261. else
  29262. t1._asyncCompleteError$2(e, st);
  29263. }
  29264. };
  29265. A._awaitOnObject_closure.prototype = {
  29266. call$1(result) {
  29267. return this.bodyFunction.call$2(0, result);
  29268. },
  29269. $signature: 120
  29270. };
  29271. A._awaitOnObject_closure0.prototype = {
  29272. call$2(error, stackTrace) {
  29273. this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
  29274. },
  29275. $signature: 290
  29276. };
  29277. A._wrapJsFunctionForAsync_closure.prototype = {
  29278. call$2(errorCode, result) {
  29279. this.$protected(errorCode, result);
  29280. },
  29281. $signature: 333
  29282. };
  29283. A._IterationMarker.prototype = {
  29284. toString$0(_) {
  29285. return "IterationMarker(" + this.state + ", " + A.S(this.value) + ")";
  29286. }
  29287. };
  29288. A._SyncStarIterator.prototype = {
  29289. get$current(_) {
  29290. var nested = this._nestedIterator;
  29291. if (nested == null)
  29292. return this._async$_current;
  29293. return nested.get$current(nested);
  29294. },
  29295. moveNext$0() {
  29296. var t1, value, state, suspendedBodies, inner, _this = this;
  29297. for (; true;) {
  29298. t1 = _this._nestedIterator;
  29299. if (t1 != null)
  29300. if (t1.moveNext$0())
  29301. return true;
  29302. else
  29303. _this._nestedIterator = null;
  29304. value = function(body, SUCCESS, ERROR) {
  29305. var errorValue,
  29306. errorCode = SUCCESS;
  29307. while (true)
  29308. try {
  29309. return body(errorCode, errorValue);
  29310. } catch (error) {
  29311. errorValue = error;
  29312. errorCode = ERROR;
  29313. }
  29314. }(_this._body, 0, 1);
  29315. if (value instanceof A._IterationMarker) {
  29316. state = value.state;
  29317. if (state === 2) {
  29318. suspendedBodies = _this._suspendedBodies;
  29319. if (suspendedBodies == null || suspendedBodies.length === 0) {
  29320. _this._async$_current = null;
  29321. return false;
  29322. }
  29323. _this._body = suspendedBodies.pop();
  29324. continue;
  29325. } else {
  29326. t1 = value.value;
  29327. if (state === 3)
  29328. throw t1;
  29329. else {
  29330. inner = J.get$iterator$ax(t1);
  29331. if (inner instanceof A._SyncStarIterator) {
  29332. t1 = _this._suspendedBodies;
  29333. if (t1 == null)
  29334. t1 = _this._suspendedBodies = [];
  29335. t1.push(_this._body);
  29336. _this._body = inner._body;
  29337. continue;
  29338. } else {
  29339. _this._nestedIterator = inner;
  29340. continue;
  29341. }
  29342. }
  29343. }
  29344. } else {
  29345. _this._async$_current = value;
  29346. return true;
  29347. }
  29348. }
  29349. return false;
  29350. }
  29351. };
  29352. A._SyncStarIterable.prototype = {
  29353. get$iterator(_) {
  29354. return new A._SyncStarIterator(this._outerHelper());
  29355. }
  29356. };
  29357. A.AsyncError.prototype = {
  29358. toString$0(_) {
  29359. return A.S(this.error);
  29360. },
  29361. $isError: 1,
  29362. get$stackTrace() {
  29363. return this.stackTrace;
  29364. }
  29365. };
  29366. A.Future_wait_handleError.prototype = {
  29367. call$2(theError, theStackTrace) {
  29368. var _this = this,
  29369. t1 = _this._box_0,
  29370. t2 = --t1.remaining;
  29371. if (t1.values != null) {
  29372. t1.values = null;
  29373. if (t1.remaining === 0 || _this.eagerError)
  29374. _this._future._completeError$2(theError, theStackTrace);
  29375. else {
  29376. _this.error.__late_helper$_value = theError;
  29377. _this.stackTrace.__late_helper$_value = theStackTrace;
  29378. }
  29379. } else if (t2 === 0 && !_this.eagerError)
  29380. _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
  29381. },
  29382. $signature: 71
  29383. };
  29384. A.Future_wait_closure.prototype = {
  29385. call$1(value) {
  29386. var valueList, _this = this,
  29387. t1 = _this._box_0;
  29388. --t1.remaining;
  29389. valueList = t1.values;
  29390. if (valueList != null) {
  29391. J.$indexSet$ax(valueList, _this.pos, value);
  29392. if (t1.remaining === 0)
  29393. _this._future._completeWithValue$1(A.List_List$from(valueList, true, _this.T));
  29394. } else if (t1.remaining === 0 && !_this.eagerError)
  29395. _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
  29396. },
  29397. $signature() {
  29398. return this.T._eval$1("Null(0)");
  29399. }
  29400. };
  29401. A._Completer.prototype = {
  29402. completeError$2(error, stackTrace) {
  29403. var replacement;
  29404. A.checkNotNullable(error, "error", type$.Object);
  29405. if ((this.future._state & 30) !== 0)
  29406. throw A.wrapException(A.StateError$("Future already completed"));
  29407. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  29408. if (replacement != null) {
  29409. error = replacement.error;
  29410. stackTrace = replacement.stackTrace;
  29411. } else if (stackTrace == null)
  29412. stackTrace = A.AsyncError_defaultStackTrace(error);
  29413. this._completeError$2(error, stackTrace);
  29414. },
  29415. completeError$1(error) {
  29416. return this.completeError$2(error, null);
  29417. }
  29418. };
  29419. A._AsyncCompleter.prototype = {
  29420. complete$1(value) {
  29421. var t1 = this.future;
  29422. if ((t1._state & 30) !== 0)
  29423. throw A.wrapException(A.StateError$("Future already completed"));
  29424. t1._asyncComplete$1(value);
  29425. },
  29426. complete$0() {
  29427. return this.complete$1(null);
  29428. },
  29429. _completeError$2(error, stackTrace) {
  29430. this.future._asyncCompleteError$2(error, stackTrace);
  29431. }
  29432. };
  29433. A._SyncCompleter.prototype = {
  29434. complete$1(value) {
  29435. var t1 = this.future;
  29436. if ((t1._state & 30) !== 0)
  29437. throw A.wrapException(A.StateError$("Future already completed"));
  29438. t1._complete$1(value);
  29439. },
  29440. _completeError$2(error, stackTrace) {
  29441. this.future._completeError$2(error, stackTrace);
  29442. }
  29443. };
  29444. A._FutureListener.prototype = {
  29445. matchesErrorTest$1(asyncError) {
  29446. if ((this.state & 15) !== 6)
  29447. return true;
  29448. return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
  29449. },
  29450. handleError$1(asyncError) {
  29451. var exception,
  29452. errorCallback = this.errorCallback,
  29453. result = null,
  29454. t1 = type$.dynamic,
  29455. t2 = type$.Object,
  29456. t3 = asyncError.error,
  29457. t4 = this.result._zone;
  29458. if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
  29459. result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
  29460. else
  29461. result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
  29462. try {
  29463. t1 = result;
  29464. return t1;
  29465. } catch (exception) {
  29466. if (type$.TypeError._is(A.unwrapException(exception))) {
  29467. if ((this.state & 1) !== 0)
  29468. throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
  29469. throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
  29470. } else
  29471. throw exception;
  29472. }
  29473. }
  29474. };
  29475. A._Future.prototype = {
  29476. then$1$2$onError(_, f, onError, $R) {
  29477. var result, t1,
  29478. currentZone = $.Zone__current;
  29479. if (currentZone === B.C__RootZone) {
  29480. if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
  29481. throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
  29482. } else {
  29483. f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
  29484. if (onError != null)
  29485. onError = A._registerErrorHandler(onError, currentZone);
  29486. }
  29487. result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
  29488. t1 = onError == null ? 1 : 3;
  29489. this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
  29490. return result;
  29491. },
  29492. then$1$1($receiver, f, $R) {
  29493. return this.then$1$2$onError($receiver, f, null, $R);
  29494. },
  29495. _thenAwait$1$2(f, onError, $E) {
  29496. var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
  29497. this._addListener$1(new A._FutureListener(result, 3, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
  29498. return result;
  29499. },
  29500. whenComplete$1(action) {
  29501. var t1 = this.$ti,
  29502. t2 = $.Zone__current,
  29503. result = new A._Future(t2, t1);
  29504. if (t2 !== B.C__RootZone)
  29505. action = t2.registerCallback$1$1(action, type$.dynamic);
  29506. this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>")));
  29507. return result;
  29508. },
  29509. _setErrorObject$1(error) {
  29510. this._state = this._state & 1 | 16;
  29511. this._resultOrListeners = error;
  29512. },
  29513. _cloneResult$1(source) {
  29514. this._state = source._state & 30 | this._state & 1;
  29515. this._resultOrListeners = source._resultOrListeners;
  29516. },
  29517. _addListener$1(listener) {
  29518. var _this = this,
  29519. t1 = _this._state;
  29520. if (t1 <= 3) {
  29521. listener._nextListener = _this._resultOrListeners;
  29522. _this._resultOrListeners = listener;
  29523. } else {
  29524. if ((t1 & 4) !== 0) {
  29525. t1 = _this._resultOrListeners;
  29526. if ((t1._state & 24) === 0) {
  29527. t1._addListener$1(listener);
  29528. return;
  29529. }
  29530. _this._cloneResult$1(t1);
  29531. }
  29532. _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
  29533. }
  29534. },
  29535. _prependListeners$1(listeners) {
  29536. var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
  29537. _box_0.listeners = listeners;
  29538. if (listeners == null)
  29539. return;
  29540. t1 = _this._state;
  29541. if (t1 <= 3) {
  29542. existingListeners = _this._resultOrListeners;
  29543. _this._resultOrListeners = listeners;
  29544. if (existingListeners != null) {
  29545. next = listeners._nextListener;
  29546. for (cursor = listeners; next != null; cursor = next, next = next0)
  29547. next0 = next._nextListener;
  29548. cursor._nextListener = existingListeners;
  29549. }
  29550. } else {
  29551. if ((t1 & 4) !== 0) {
  29552. t1 = _this._resultOrListeners;
  29553. if ((t1._state & 24) === 0) {
  29554. t1._prependListeners$1(listeners);
  29555. return;
  29556. }
  29557. _this._cloneResult$1(t1);
  29558. }
  29559. _box_0.listeners = _this._reverseListeners$1(listeners);
  29560. _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
  29561. }
  29562. },
  29563. _removeListeners$0() {
  29564. var current = this._resultOrListeners;
  29565. this._resultOrListeners = null;
  29566. return this._reverseListeners$1(current);
  29567. },
  29568. _reverseListeners$1(listeners) {
  29569. var current, prev, next;
  29570. for (current = listeners, prev = null; current != null; prev = current, current = next) {
  29571. next = current._nextListener;
  29572. current._nextListener = prev;
  29573. }
  29574. return prev;
  29575. },
  29576. _chainForeignFuture$1(source) {
  29577. var e, s, exception, _this = this;
  29578. _this._state ^= 2;
  29579. try {
  29580. source.then$1$2$onError(0, new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null);
  29581. } catch (exception) {
  29582. e = A.unwrapException(exception);
  29583. s = A.getTraceFromException(exception);
  29584. A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s));
  29585. }
  29586. },
  29587. _complete$1(value) {
  29588. var listeners, _this = this,
  29589. t1 = _this.$ti;
  29590. if (t1._eval$1("Future<1>")._is(value))
  29591. if (t1._is(value))
  29592. A._Future__chainCoreFuture(value, _this);
  29593. else
  29594. _this._chainForeignFuture$1(value);
  29595. else {
  29596. listeners = _this._removeListeners$0();
  29597. _this._state = 8;
  29598. _this._resultOrListeners = value;
  29599. A._Future__propagateToListeners(_this, listeners);
  29600. }
  29601. },
  29602. _completeWithValue$1(value) {
  29603. var _this = this,
  29604. listeners = _this._removeListeners$0();
  29605. _this._state = 8;
  29606. _this._resultOrListeners = value;
  29607. A._Future__propagateToListeners(_this, listeners);
  29608. },
  29609. _completeError$2(error, stackTrace) {
  29610. var listeners = this._removeListeners$0();
  29611. this._setErrorObject$1(A.AsyncError$(error, stackTrace));
  29612. A._Future__propagateToListeners(this, listeners);
  29613. },
  29614. _asyncComplete$1(value) {
  29615. if (this.$ti._eval$1("Future<1>")._is(value)) {
  29616. this._chainFuture$1(value);
  29617. return;
  29618. }
  29619. this._asyncCompleteWithValue$1(value);
  29620. },
  29621. _asyncCompleteWithValue$1(value) {
  29622. this._state ^= 2;
  29623. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
  29624. },
  29625. _chainFuture$1(value) {
  29626. var _this = this;
  29627. if (_this.$ti._is(value)) {
  29628. if ((value._state & 16) !== 0) {
  29629. _this._state ^= 2;
  29630. _this._zone.scheduleMicrotask$1(new A._Future__chainFuture_closure(_this, value));
  29631. } else
  29632. A._Future__chainCoreFuture(value, _this);
  29633. return;
  29634. }
  29635. _this._chainForeignFuture$1(value);
  29636. },
  29637. _asyncCompleteError$2(error, stackTrace) {
  29638. this._state ^= 2;
  29639. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteError_closure(this, error, stackTrace));
  29640. },
  29641. $isFuture: 1
  29642. };
  29643. A._Future__addListener_closure.prototype = {
  29644. call$0() {
  29645. A._Future__propagateToListeners(this.$this, this.listener);
  29646. },
  29647. $signature: 0
  29648. };
  29649. A._Future__prependListeners_closure.prototype = {
  29650. call$0() {
  29651. A._Future__propagateToListeners(this.$this, this._box_0.listeners);
  29652. },
  29653. $signature: 0
  29654. };
  29655. A._Future__chainForeignFuture_closure.prototype = {
  29656. call$1(value) {
  29657. var error, stackTrace, exception,
  29658. t1 = this.$this;
  29659. t1._state ^= 2;
  29660. try {
  29661. t1._completeWithValue$1(t1.$ti._precomputed1._as(value));
  29662. } catch (exception) {
  29663. error = A.unwrapException(exception);
  29664. stackTrace = A.getTraceFromException(exception);
  29665. t1._completeError$2(error, stackTrace);
  29666. }
  29667. },
  29668. $signature: 73
  29669. };
  29670. A._Future__chainForeignFuture_closure0.prototype = {
  29671. call$2(error, stackTrace) {
  29672. this.$this._completeError$2(error, stackTrace);
  29673. },
  29674. $signature: 65
  29675. };
  29676. A._Future__chainForeignFuture_closure1.prototype = {
  29677. call$0() {
  29678. this.$this._completeError$2(this.e, this.s);
  29679. },
  29680. $signature: 0
  29681. };
  29682. A._Future__asyncCompleteWithValue_closure.prototype = {
  29683. call$0() {
  29684. this.$this._completeWithValue$1(this.value);
  29685. },
  29686. $signature: 0
  29687. };
  29688. A._Future__chainFuture_closure.prototype = {
  29689. call$0() {
  29690. A._Future__chainCoreFuture(this.value, this.$this);
  29691. },
  29692. $signature: 0
  29693. };
  29694. A._Future__asyncCompleteError_closure.prototype = {
  29695. call$0() {
  29696. this.$this._completeError$2(this.error, this.stackTrace);
  29697. },
  29698. $signature: 0
  29699. };
  29700. A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
  29701. call$0() {
  29702. var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null;
  29703. try {
  29704. t1 = _this._box_0.listener;
  29705. completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
  29706. } catch (exception) {
  29707. e = A.unwrapException(exception);
  29708. s = A.getTraceFromException(exception);
  29709. t1 = _this.hasError && _this._box_1.source._resultOrListeners.error === e;
  29710. t2 = _this._box_0;
  29711. if (t1)
  29712. t2.listenerValueOrError = _this._box_1.source._resultOrListeners;
  29713. else
  29714. t2.listenerValueOrError = A.AsyncError$(e, s);
  29715. t2.listenerHasError = true;
  29716. return;
  29717. }
  29718. if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
  29719. if ((completeResult._state & 16) !== 0) {
  29720. t1 = _this._box_0;
  29721. t1.listenerValueOrError = completeResult._resultOrListeners;
  29722. t1.listenerHasError = true;
  29723. }
  29724. return;
  29725. }
  29726. if (type$.Future_dynamic._is(completeResult)) {
  29727. originalSource = _this._box_1.source;
  29728. t1 = _this._box_0;
  29729. t1.listenerValueOrError = J.then$1$1$x(completeResult, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic);
  29730. t1.listenerHasError = false;
  29731. }
  29732. },
  29733. $signature: 0
  29734. };
  29735. A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
  29736. call$1(_) {
  29737. return this.originalSource;
  29738. },
  29739. $signature: 297
  29740. };
  29741. A._Future__propagateToListeners_handleValueCallback.prototype = {
  29742. call$0() {
  29743. var e, s, t1, t2, t3, exception;
  29744. try {
  29745. t1 = this._box_0;
  29746. t2 = t1.listener;
  29747. t3 = t2.$ti;
  29748. t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
  29749. } catch (exception) {
  29750. e = A.unwrapException(exception);
  29751. s = A.getTraceFromException(exception);
  29752. t1 = this._box_0;
  29753. t1.listenerValueOrError = A.AsyncError$(e, s);
  29754. t1.listenerHasError = true;
  29755. }
  29756. },
  29757. $signature: 0
  29758. };
  29759. A._Future__propagateToListeners_handleError.prototype = {
  29760. call$0() {
  29761. var asyncError, e, s, t1, exception, t2, _this = this;
  29762. try {
  29763. asyncError = _this._box_1.source._resultOrListeners;
  29764. t1 = _this._box_0;
  29765. if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
  29766. t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
  29767. t1.listenerHasError = false;
  29768. }
  29769. } catch (exception) {
  29770. e = A.unwrapException(exception);
  29771. s = A.getTraceFromException(exception);
  29772. t1 = _this._box_1.source._resultOrListeners;
  29773. t2 = _this._box_0;
  29774. if (t1.error === e)
  29775. t2.listenerValueOrError = t1;
  29776. else
  29777. t2.listenerValueOrError = A.AsyncError$(e, s);
  29778. t2.listenerHasError = true;
  29779. }
  29780. },
  29781. $signature: 0
  29782. };
  29783. A._AsyncCallbackEntry.prototype = {};
  29784. A.Stream.prototype = {
  29785. get$isBroadcast() {
  29786. return false;
  29787. },
  29788. get$length(_) {
  29789. var t1 = {},
  29790. future = new A._Future($.Zone__current, type$._Future_int);
  29791. t1.count = 0;
  29792. 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());
  29793. return future;
  29794. }
  29795. };
  29796. A.Stream_Stream$fromFuture_closure.prototype = {
  29797. call$1(value) {
  29798. var t1 = this.controller;
  29799. t1._async$_add$1(value);
  29800. t1._closeUnchecked$0();
  29801. },
  29802. $signature() {
  29803. return this.T._eval$1("Null(0)");
  29804. }
  29805. };
  29806. A.Stream_Stream$fromFuture_closure0.prototype = {
  29807. call$2(error, stackTrace) {
  29808. var t1 = this.controller;
  29809. t1._addError$2(error, stackTrace);
  29810. t1._closeUnchecked$0();
  29811. },
  29812. $signature: 319
  29813. };
  29814. A.Stream_length_closure.prototype = {
  29815. call$1(_) {
  29816. ++this._box_0.count;
  29817. },
  29818. $signature() {
  29819. return A._instanceType(this.$this)._eval$1("~(Stream.T)");
  29820. }
  29821. };
  29822. A.Stream_length_closure0.prototype = {
  29823. call$0() {
  29824. this.future._complete$1(this._box_0.count);
  29825. },
  29826. $signature: 0
  29827. };
  29828. A._StreamController.prototype = {
  29829. get$stream() {
  29830. return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
  29831. },
  29832. get$_pendingEvents() {
  29833. if ((this._state & 8) === 0)
  29834. return this._varData;
  29835. return this._varData.varData;
  29836. },
  29837. _ensurePendingEvents$0() {
  29838. var events, state, _this = this;
  29839. if ((_this._state & 8) === 0) {
  29840. events = _this._varData;
  29841. return events == null ? _this._varData = new A._PendingEvents() : events;
  29842. }
  29843. state = _this._varData;
  29844. events = state.varData;
  29845. return events == null ? state.varData = new A._PendingEvents() : events;
  29846. },
  29847. get$_subscription() {
  29848. var varData = this._varData;
  29849. return (this._state & 8) !== 0 ? varData.varData : varData;
  29850. },
  29851. _badEventState$0() {
  29852. if ((this._state & 4) !== 0)
  29853. return new A.StateError("Cannot add event after closing");
  29854. return new A.StateError("Cannot add event while adding a stream");
  29855. },
  29856. addStream$2$cancelOnError(source, cancelOnError) {
  29857. var t2, t3, t4, _this = this,
  29858. t1 = _this._state;
  29859. if (t1 >= 4)
  29860. throw A.wrapException(_this._badEventState$0());
  29861. if ((t1 & 2) !== 0) {
  29862. t1 = new A._Future($.Zone__current, type$._Future_dynamic);
  29863. t1._asyncComplete$1(null);
  29864. return t1;
  29865. }
  29866. t1 = _this._varData;
  29867. t2 = new A._Future($.Zone__current, type$._Future_dynamic);
  29868. t3 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), false, _this.get$_close(), _this.get$_addError());
  29869. t4 = _this._state;
  29870. if ((t4 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t4 & 2) === 0)
  29871. t3.pause$0(0);
  29872. _this._varData = new A._StreamControllerAddStreamState(t1, t2, t3);
  29873. _this._state |= 8;
  29874. return t2;
  29875. },
  29876. _ensureDoneFuture$0() {
  29877. var t1 = this._doneFuture;
  29878. if (t1 == null)
  29879. t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
  29880. return t1;
  29881. },
  29882. add$1(_, value) {
  29883. if (this._state >= 4)
  29884. throw A.wrapException(this._badEventState$0());
  29885. this._async$_add$1(value);
  29886. },
  29887. addError$2(error, stackTrace) {
  29888. var replacement;
  29889. A.checkNotNullable(error, "error", type$.Object);
  29890. if (this._state >= 4)
  29891. throw A.wrapException(this._badEventState$0());
  29892. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  29893. if (replacement != null) {
  29894. error = replacement.error;
  29895. stackTrace = replacement.stackTrace;
  29896. } else if (stackTrace == null)
  29897. stackTrace = A.AsyncError_defaultStackTrace(error);
  29898. this._addError$2(error, stackTrace);
  29899. },
  29900. addError$1(error) {
  29901. return this.addError$2(error, null);
  29902. },
  29903. close$0(_) {
  29904. var _this = this,
  29905. t1 = _this._state;
  29906. if ((t1 & 4) !== 0)
  29907. return _this._ensureDoneFuture$0();
  29908. if (t1 >= 4)
  29909. throw A.wrapException(_this._badEventState$0());
  29910. _this._closeUnchecked$0();
  29911. return _this._ensureDoneFuture$0();
  29912. },
  29913. _closeUnchecked$0() {
  29914. var t1 = this._state |= 4;
  29915. if ((t1 & 1) !== 0)
  29916. this._sendDone$0();
  29917. else if ((t1 & 3) === 0)
  29918. this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
  29919. },
  29920. _async$_add$1(value) {
  29921. var t1 = this._state;
  29922. if ((t1 & 1) !== 0)
  29923. this._sendData$1(value);
  29924. else if ((t1 & 3) === 0)
  29925. this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
  29926. },
  29927. _addError$2(error, stackTrace) {
  29928. var t1 = this._state;
  29929. if ((t1 & 1) !== 0)
  29930. this._sendError$2(error, stackTrace);
  29931. else if ((t1 & 3) === 0)
  29932. this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
  29933. },
  29934. _close$0() {
  29935. var addState = this._varData;
  29936. this._varData = addState.varData;
  29937. this._state &= 4294967287;
  29938. addState.addStreamFuture._asyncComplete$1(null);
  29939. },
  29940. _subscribe$4(onData, onError, onDone, cancelOnError) {
  29941. var subscription, pendingEvents, t1, addState, _this = this;
  29942. if ((_this._state & 3) !== 0)
  29943. throw A.wrapException(A.StateError$("Stream has already been listened to."));
  29944. subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
  29945. pendingEvents = _this.get$_pendingEvents();
  29946. t1 = _this._state |= 1;
  29947. if ((t1 & 8) !== 0) {
  29948. addState = _this._varData;
  29949. addState.varData = subscription;
  29950. addState.addSubscription.resume$0(0);
  29951. } else
  29952. _this._varData = subscription;
  29953. subscription._setPendingEvents$1(pendingEvents);
  29954. subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
  29955. return subscription;
  29956. },
  29957. _recordCancel$1(subscription) {
  29958. var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
  29959. if ((_this._state & 8) !== 0)
  29960. result = _this._varData.cancel$0();
  29961. _this._varData = null;
  29962. _this._state = _this._state & 4294967286 | 2;
  29963. onCancel = _this.onCancel;
  29964. if (onCancel != null)
  29965. if (result == null)
  29966. try {
  29967. cancelResult = onCancel.call$0();
  29968. if (type$.Future_void._is(cancelResult))
  29969. result = cancelResult;
  29970. } catch (exception) {
  29971. e = A.unwrapException(exception);
  29972. s = A.getTraceFromException(exception);
  29973. result0 = new A._Future($.Zone__current, type$._Future_void);
  29974. result0._asyncCompleteError$2(e, s);
  29975. result = result0;
  29976. }
  29977. else
  29978. result = result.whenComplete$1(onCancel);
  29979. t1 = new A._StreamController__recordCancel_complete(_this);
  29980. if (result != null)
  29981. result = result.whenComplete$1(t1);
  29982. else
  29983. t1.call$0();
  29984. return result;
  29985. },
  29986. _recordPause$1(subscription) {
  29987. if ((this._state & 8) !== 0)
  29988. this._varData.addSubscription.pause$0(0);
  29989. A._runGuarded(this.onPause);
  29990. },
  29991. _recordResume$1(subscription) {
  29992. if ((this._state & 8) !== 0)
  29993. this._varData.addSubscription.resume$0(0);
  29994. A._runGuarded(this.onResume);
  29995. },
  29996. $isEventSink: 1,
  29997. set$onPause(val) {
  29998. return this.onPause = val;
  29999. },
  30000. set$onResume(val) {
  30001. return this.onResume = val;
  30002. },
  30003. set$onCancel(val) {
  30004. return this.onCancel = val;
  30005. }
  30006. };
  30007. A._StreamController__subscribe_closure.prototype = {
  30008. call$0() {
  30009. A._runGuarded(this.$this.onListen);
  30010. },
  30011. $signature: 0
  30012. };
  30013. A._StreamController__recordCancel_complete.prototype = {
  30014. call$0() {
  30015. var doneFuture = this.$this._doneFuture;
  30016. if (doneFuture != null && (doneFuture._state & 30) === 0)
  30017. doneFuture._asyncComplete$1(null);
  30018. },
  30019. $signature: 0
  30020. };
  30021. A._SyncStreamControllerDispatch.prototype = {
  30022. _sendData$1(data) {
  30023. this.get$_subscription()._async$_add$1(data);
  30024. },
  30025. _sendError$2(error, stackTrace) {
  30026. this.get$_subscription()._addError$2(error, stackTrace);
  30027. },
  30028. _sendDone$0() {
  30029. this.get$_subscription()._close$0();
  30030. }
  30031. };
  30032. A._AsyncStreamControllerDispatch.prototype = {
  30033. _sendData$1(data) {
  30034. this.get$_subscription()._addPending$1(new A._DelayedData(data));
  30035. },
  30036. _sendError$2(error, stackTrace) {
  30037. this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
  30038. },
  30039. _sendDone$0() {
  30040. this.get$_subscription()._addPending$1(B.C__DelayedDone);
  30041. }
  30042. };
  30043. A._AsyncStreamController.prototype = {};
  30044. A._SyncStreamController.prototype = {};
  30045. A._ControllerStream.prototype = {
  30046. get$hashCode(_) {
  30047. return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
  30048. },
  30049. $eq(_, other) {
  30050. if (other == null)
  30051. return false;
  30052. if (this === other)
  30053. return true;
  30054. return other instanceof A._ControllerStream && other._controller === this._controller;
  30055. }
  30056. };
  30057. A._ControllerSubscription.prototype = {
  30058. _async$_onCancel$0() {
  30059. return this._controller._recordCancel$1(this);
  30060. },
  30061. _async$_onPause$0() {
  30062. this._controller._recordPause$1(this);
  30063. },
  30064. _async$_onResume$0() {
  30065. this._controller._recordResume$1(this);
  30066. }
  30067. };
  30068. A._AddStreamState.prototype = {
  30069. cancel$0() {
  30070. var cancel = this.addSubscription.cancel$0();
  30071. return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
  30072. }
  30073. };
  30074. A._AddStreamState_cancel_closure.prototype = {
  30075. call$0() {
  30076. this.$this.addStreamFuture._asyncComplete$1(null);
  30077. },
  30078. $signature: 1
  30079. };
  30080. A._StreamControllerAddStreamState.prototype = {};
  30081. A._BufferingStreamSubscription.prototype = {
  30082. _setPendingEvents$1(pendingEvents) {
  30083. var _this = this;
  30084. if (pendingEvents == null)
  30085. return;
  30086. _this._pending = pendingEvents;
  30087. if (pendingEvents.lastPendingEvent != null) {
  30088. _this._state = (_this._state | 64) >>> 0;
  30089. pendingEvents.schedule$1(_this);
  30090. }
  30091. },
  30092. pause$1(_, resumeSignal) {
  30093. var t2, t3, _this = this,
  30094. t1 = _this._state;
  30095. if ((t1 & 8) !== 0)
  30096. return;
  30097. t2 = (t1 + 128 | 4) >>> 0;
  30098. _this._state = t2;
  30099. if (t1 < 128) {
  30100. t3 = _this._pending;
  30101. if (t3 != null)
  30102. if (t3._state === 1)
  30103. t3._state = 3;
  30104. }
  30105. if ((t1 & 4) === 0 && (t2 & 32) === 0)
  30106. _this._guardCallback$1(_this.get$_async$_onPause());
  30107. },
  30108. pause$0($receiver) {
  30109. return this.pause$1($receiver, null);
  30110. },
  30111. resume$0(_) {
  30112. var _this = this,
  30113. t1 = _this._state;
  30114. if ((t1 & 8) !== 0)
  30115. return;
  30116. if (t1 >= 128) {
  30117. t1 = _this._state = t1 - 128;
  30118. if (t1 < 128)
  30119. if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent != null)
  30120. _this._pending.schedule$1(_this);
  30121. else {
  30122. t1 = (t1 & 4294967291) >>> 0;
  30123. _this._state = t1;
  30124. if ((t1 & 32) === 0)
  30125. _this._guardCallback$1(_this.get$_async$_onResume());
  30126. }
  30127. }
  30128. },
  30129. cancel$0() {
  30130. var _this = this,
  30131. t1 = (_this._state & 4294967279) >>> 0;
  30132. _this._state = t1;
  30133. if ((t1 & 8) === 0)
  30134. _this._cancel$0();
  30135. t1 = _this._cancelFuture;
  30136. return t1 == null ? $.$get$Future__nullFuture() : t1;
  30137. },
  30138. _cancel$0() {
  30139. var t2, _this = this,
  30140. t1 = _this._state = (_this._state | 8) >>> 0;
  30141. if ((t1 & 64) !== 0) {
  30142. t2 = _this._pending;
  30143. if (t2._state === 1)
  30144. t2._state = 3;
  30145. }
  30146. if ((t1 & 32) === 0)
  30147. _this._pending = null;
  30148. _this._cancelFuture = _this._async$_onCancel$0();
  30149. },
  30150. _async$_add$1(data) {
  30151. var t1 = this._state;
  30152. if ((t1 & 8) !== 0)
  30153. return;
  30154. if (t1 < 32)
  30155. this._sendData$1(data);
  30156. else
  30157. this._addPending$1(new A._DelayedData(data));
  30158. },
  30159. _addError$2(error, stackTrace) {
  30160. var t1 = this._state;
  30161. if ((t1 & 8) !== 0)
  30162. return;
  30163. if (t1 < 32)
  30164. this._sendError$2(error, stackTrace);
  30165. else
  30166. this._addPending$1(new A._DelayedError(error, stackTrace));
  30167. },
  30168. _close$0() {
  30169. var _this = this,
  30170. t1 = _this._state;
  30171. if ((t1 & 8) !== 0)
  30172. return;
  30173. t1 = (t1 | 2) >>> 0;
  30174. _this._state = t1;
  30175. if (t1 < 32)
  30176. _this._sendDone$0();
  30177. else
  30178. _this._addPending$1(B.C__DelayedDone);
  30179. },
  30180. _async$_onPause$0() {
  30181. },
  30182. _async$_onResume$0() {
  30183. },
  30184. _async$_onCancel$0() {
  30185. return null;
  30186. },
  30187. _addPending$1($event) {
  30188. var t1, _this = this,
  30189. pending = _this._pending;
  30190. if (pending == null)
  30191. pending = _this._pending = new A._PendingEvents();
  30192. pending.add$1(0, $event);
  30193. t1 = _this._state;
  30194. if ((t1 & 64) === 0) {
  30195. t1 = (t1 | 64) >>> 0;
  30196. _this._state = t1;
  30197. if (t1 < 128)
  30198. pending.schedule$1(_this);
  30199. }
  30200. },
  30201. _sendData$1(data) {
  30202. var _this = this,
  30203. t1 = _this._state;
  30204. _this._state = (t1 | 32) >>> 0;
  30205. _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
  30206. _this._state = (_this._state & 4294967263) >>> 0;
  30207. _this._checkState$1((t1 & 4) !== 0);
  30208. },
  30209. _sendError$2(error, stackTrace) {
  30210. var cancelFuture, _this = this,
  30211. t1 = _this._state,
  30212. t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
  30213. if ((t1 & 1) !== 0) {
  30214. _this._state = (t1 | 16) >>> 0;
  30215. _this._cancel$0();
  30216. cancelFuture = _this._cancelFuture;
  30217. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  30218. cancelFuture.whenComplete$1(t2);
  30219. else
  30220. t2.call$0();
  30221. } else {
  30222. t2.call$0();
  30223. _this._checkState$1((t1 & 4) !== 0);
  30224. }
  30225. },
  30226. _sendDone$0() {
  30227. var cancelFuture, _this = this,
  30228. t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
  30229. _this._cancel$0();
  30230. _this._state = (_this._state | 16) >>> 0;
  30231. cancelFuture = _this._cancelFuture;
  30232. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  30233. cancelFuture.whenComplete$1(t1);
  30234. else
  30235. t1.call$0();
  30236. },
  30237. _guardCallback$1(callback) {
  30238. var _this = this,
  30239. t1 = _this._state;
  30240. _this._state = (t1 | 32) >>> 0;
  30241. callback.call$0();
  30242. _this._state = (_this._state & 4294967263) >>> 0;
  30243. _this._checkState$1((t1 & 4) !== 0);
  30244. },
  30245. _checkState$1(wasInputPaused) {
  30246. var t2, isInputPaused, _this = this,
  30247. t1 = _this._state;
  30248. if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent == null) {
  30249. t1 = _this._state = (t1 & 4294967231) >>> 0;
  30250. if ((t1 & 4) !== 0)
  30251. if (t1 < 128) {
  30252. t2 = _this._pending;
  30253. t2 = t2 == null ? null : t2.lastPendingEvent == null;
  30254. t2 = t2 !== false;
  30255. } else
  30256. t2 = false;
  30257. else
  30258. t2 = false;
  30259. if (t2) {
  30260. t1 = (t1 & 4294967291) >>> 0;
  30261. _this._state = t1;
  30262. }
  30263. }
  30264. for (; true; wasInputPaused = isInputPaused) {
  30265. if ((t1 & 8) !== 0) {
  30266. _this._pending = null;
  30267. return;
  30268. }
  30269. isInputPaused = (t1 & 4) !== 0;
  30270. if (wasInputPaused === isInputPaused)
  30271. break;
  30272. _this._state = (t1 ^ 32) >>> 0;
  30273. if (isInputPaused)
  30274. _this._async$_onPause$0();
  30275. else
  30276. _this._async$_onResume$0();
  30277. t1 = (_this._state & 4294967263) >>> 0;
  30278. _this._state = t1;
  30279. }
  30280. if ((t1 & 64) !== 0 && t1 < 128)
  30281. _this._pending.schedule$1(_this);
  30282. },
  30283. $isStreamSubscription: 1
  30284. };
  30285. A._BufferingStreamSubscription__sendError_sendError.prototype = {
  30286. call$0() {
  30287. var onError, t3, t4,
  30288. t1 = this.$this,
  30289. t2 = t1._state;
  30290. if ((t2 & 8) !== 0 && (t2 & 16) === 0)
  30291. return;
  30292. t1._state = (t2 | 32) >>> 0;
  30293. onError = t1._onError;
  30294. t2 = this.error;
  30295. t3 = type$.Object;
  30296. t4 = t1._zone;
  30297. if (type$.void_Function_Object_StackTrace._is(onError))
  30298. t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
  30299. else
  30300. t4.runUnaryGuarded$1$2(onError, t2, t3);
  30301. t1._state = (t1._state & 4294967263) >>> 0;
  30302. },
  30303. $signature: 0
  30304. };
  30305. A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
  30306. call$0() {
  30307. var t1 = this.$this,
  30308. t2 = t1._state;
  30309. if ((t2 & 16) === 0)
  30310. return;
  30311. t1._state = (t2 | 42) >>> 0;
  30312. t1._zone.runGuarded$1(t1._onDone);
  30313. t1._state = (t1._state & 4294967263) >>> 0;
  30314. },
  30315. $signature: 0
  30316. };
  30317. A._StreamImpl.prototype = {
  30318. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  30319. return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
  30320. },
  30321. listen$1($receiver, onData) {
  30322. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
  30323. },
  30324. listen$3$onDone$onError($receiver, onData, onDone, onError) {
  30325. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
  30326. }
  30327. };
  30328. A._DelayedEvent.prototype = {
  30329. get$next() {
  30330. return this.next;
  30331. },
  30332. set$next(val) {
  30333. return this.next = val;
  30334. }
  30335. };
  30336. A._DelayedData.prototype = {
  30337. perform$1(dispatch) {
  30338. dispatch._sendData$1(this.value);
  30339. }
  30340. };
  30341. A._DelayedError.prototype = {
  30342. perform$1(dispatch) {
  30343. dispatch._sendError$2(this.error, this.stackTrace);
  30344. }
  30345. };
  30346. A._DelayedDone.prototype = {
  30347. perform$1(dispatch) {
  30348. dispatch._sendDone$0();
  30349. },
  30350. get$next() {
  30351. return null;
  30352. },
  30353. set$next(_) {
  30354. throw A.wrapException(A.StateError$("No events after a done."));
  30355. }
  30356. };
  30357. A._PendingEvents.prototype = {
  30358. schedule$1(dispatch) {
  30359. var _this = this,
  30360. t1 = _this._state;
  30361. if (t1 === 1)
  30362. return;
  30363. if (t1 >= 1) {
  30364. _this._state = 1;
  30365. return;
  30366. }
  30367. A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
  30368. _this._state = 1;
  30369. },
  30370. add$1(_, $event) {
  30371. var _this = this,
  30372. lastEvent = _this.lastPendingEvent;
  30373. if (lastEvent == null)
  30374. _this.firstPendingEvent = _this.lastPendingEvent = $event;
  30375. else {
  30376. lastEvent.set$next($event);
  30377. _this.lastPendingEvent = $event;
  30378. }
  30379. }
  30380. };
  30381. A._PendingEvents_schedule_closure.prototype = {
  30382. call$0() {
  30383. var $event, nextEvent,
  30384. t1 = this.$this,
  30385. oldState = t1._state;
  30386. t1._state = 0;
  30387. if (oldState === 3)
  30388. return;
  30389. $event = t1.firstPendingEvent;
  30390. nextEvent = $event.get$next();
  30391. t1.firstPendingEvent = nextEvent;
  30392. if (nextEvent == null)
  30393. t1.lastPendingEvent = null;
  30394. $event.perform$1(this.dispatch);
  30395. },
  30396. $signature: 0
  30397. };
  30398. A._StreamIterator.prototype = {
  30399. get$current(_) {
  30400. if (this._async$_hasValue)
  30401. return this._stateData;
  30402. return null;
  30403. },
  30404. moveNext$0() {
  30405. var future, _this = this,
  30406. subscription = _this._subscription;
  30407. if (subscription != null) {
  30408. if (_this._async$_hasValue) {
  30409. future = new A._Future($.Zone__current, type$._Future_bool);
  30410. _this._stateData = future;
  30411. _this._async$_hasValue = false;
  30412. subscription.resume$0(0);
  30413. return future;
  30414. }
  30415. throw A.wrapException(A.StateError$("Already waiting for next."));
  30416. }
  30417. return _this._initializeOrDone$0();
  30418. },
  30419. _initializeOrDone$0() {
  30420. var future, subscription, _this = this,
  30421. stateData = _this._stateData;
  30422. if (stateData != null) {
  30423. future = new A._Future($.Zone__current, type$._Future_bool);
  30424. _this._stateData = future;
  30425. subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
  30426. if (_this._stateData != null)
  30427. _this._subscription = subscription;
  30428. return future;
  30429. }
  30430. return $.$get$Future__falseFuture();
  30431. },
  30432. cancel$0() {
  30433. var _this = this,
  30434. subscription = _this._subscription,
  30435. stateData = _this._stateData;
  30436. _this._stateData = null;
  30437. if (subscription != null) {
  30438. _this._subscription = null;
  30439. if (!_this._async$_hasValue)
  30440. stateData._asyncComplete$1(false);
  30441. else
  30442. _this._async$_hasValue = false;
  30443. return subscription.cancel$0();
  30444. }
  30445. return $.$get$Future__nullFuture();
  30446. },
  30447. _onData$1(data) {
  30448. var moveNextFuture, t1, _this = this;
  30449. if (_this._subscription == null)
  30450. return;
  30451. moveNextFuture = _this._stateData;
  30452. _this._stateData = data;
  30453. _this._async$_hasValue = true;
  30454. moveNextFuture._complete$1(true);
  30455. if (_this._async$_hasValue) {
  30456. t1 = _this._subscription;
  30457. if (t1 != null)
  30458. t1.pause$0(0);
  30459. }
  30460. },
  30461. _onError$2(error, stackTrace) {
  30462. var _this = this,
  30463. subscription = _this._subscription,
  30464. moveNextFuture = _this._stateData;
  30465. _this._stateData = _this._subscription = null;
  30466. if (subscription != null)
  30467. moveNextFuture._completeError$2(error, stackTrace);
  30468. else
  30469. moveNextFuture._asyncCompleteError$2(error, stackTrace);
  30470. },
  30471. _onDone$0() {
  30472. var _this = this,
  30473. subscription = _this._subscription,
  30474. moveNextFuture = _this._stateData;
  30475. _this._stateData = _this._subscription = null;
  30476. if (subscription != null)
  30477. moveNextFuture._completeWithValue$1(false);
  30478. else
  30479. moveNextFuture._asyncCompleteWithValue$1(false);
  30480. }
  30481. };
  30482. A._ForwardingStream.prototype = {
  30483. get$isBroadcast() {
  30484. return this._async$_source.get$isBroadcast();
  30485. },
  30486. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  30487. var t1 = this.$ti,
  30488. t2 = t1._rest[1],
  30489. t3 = $.Zone__current,
  30490. t4 = cancelOnError === true ? 1 : 0,
  30491. t5 = A._BufferingStreamSubscription__registerDataHandler(t3, onData, t2),
  30492. t6 = A._BufferingStreamSubscription__registerErrorHandler(t3, onError),
  30493. t7 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  30494. 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>"));
  30495. t2._subscription = this._async$_source.listen$3$onDone$onError(0, t2.get$_handleData(), t2.get$_handleDone(), t2.get$_handleError());
  30496. return t2;
  30497. },
  30498. listen$1($receiver, onData) {
  30499. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
  30500. },
  30501. listen$3$onDone$onError($receiver, onData, onDone, onError) {
  30502. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
  30503. }
  30504. };
  30505. A._ForwardingStreamSubscription.prototype = {
  30506. _async$_add$1(data) {
  30507. if ((this._state & 2) !== 0)
  30508. return;
  30509. this.super$_BufferingStreamSubscription$_add(data);
  30510. },
  30511. _addError$2(error, stackTrace) {
  30512. if ((this._state & 2) !== 0)
  30513. return;
  30514. this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
  30515. },
  30516. _async$_onPause$0() {
  30517. var t1 = this._subscription;
  30518. if (t1 != null)
  30519. t1.pause$0(0);
  30520. },
  30521. _async$_onResume$0() {
  30522. var t1 = this._subscription;
  30523. if (t1 != null)
  30524. t1.resume$0(0);
  30525. },
  30526. _async$_onCancel$0() {
  30527. var subscription = this._subscription;
  30528. if (subscription != null) {
  30529. this._subscription = null;
  30530. return subscription.cancel$0();
  30531. }
  30532. return null;
  30533. },
  30534. _handleData$1(data) {
  30535. this._stream._handleData$2(data, this);
  30536. },
  30537. _handleError$2(error, stackTrace) {
  30538. this._addError$2(error, stackTrace);
  30539. },
  30540. _handleDone$0() {
  30541. this._close$0();
  30542. }
  30543. };
  30544. A._ExpandStream.prototype = {
  30545. _handleData$2(inputEvent, sink) {
  30546. var value, e, s, t1, exception, error, stackTrace, replacement;
  30547. try {
  30548. for (t1 = J.get$iterator$ax(this._expand.call$1(inputEvent)); t1.moveNext$0();) {
  30549. value = t1.get$current(t1);
  30550. sink._async$_add$1(value);
  30551. }
  30552. } catch (exception) {
  30553. e = A.unwrapException(exception);
  30554. s = A.getTraceFromException(exception);
  30555. error = e;
  30556. stackTrace = s;
  30557. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  30558. if (replacement != null) {
  30559. error = replacement.error;
  30560. stackTrace = replacement.stackTrace;
  30561. }
  30562. sink._addError$2(error, stackTrace);
  30563. }
  30564. }
  30565. };
  30566. A._ZoneFunction.prototype = {};
  30567. A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
  30568. A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
  30569. A._Zone.prototype = {
  30570. _processUncaughtError$3(zone, error, stackTrace) {
  30571. var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
  30572. implementation = this.get$_handleUncaughtError(),
  30573. implZone = implementation.zone;
  30574. if (implZone === B.C__RootZone) {
  30575. A._rootHandleError(error, stackTrace);
  30576. return;
  30577. }
  30578. handler = implementation.$function;
  30579. parentDelegate = implZone.get$_parentDelegate();
  30580. t1 = J.get$parent$z(implZone);
  30581. t1.toString;
  30582. parentZone = t1;
  30583. currentZone = $.Zone__current;
  30584. try {
  30585. $.Zone__current = parentZone;
  30586. handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
  30587. $.Zone__current = currentZone;
  30588. } catch (exception) {
  30589. e = A.unwrapException(exception);
  30590. s = A.getTraceFromException(exception);
  30591. $.Zone__current = currentZone;
  30592. t1 = error === e ? stackTrace : s;
  30593. parentZone._processUncaughtError$3(implZone, e, t1);
  30594. }
  30595. },
  30596. $isZone: 1
  30597. };
  30598. A._CustomZone.prototype = {
  30599. get$_delegate() {
  30600. var t1 = this._delegateCache;
  30601. return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
  30602. },
  30603. get$_parentDelegate() {
  30604. return this.parent.get$_delegate();
  30605. },
  30606. get$errorZone() {
  30607. return this._handleUncaughtError.zone;
  30608. },
  30609. runGuarded$1(f) {
  30610. var e, s, exception;
  30611. try {
  30612. this.run$1$1(0, f, type$.void);
  30613. } catch (exception) {
  30614. e = A.unwrapException(exception);
  30615. s = A.getTraceFromException(exception);
  30616. this._processUncaughtError$3(this, e, s);
  30617. }
  30618. },
  30619. runUnaryGuarded$1$2(f, arg, $T) {
  30620. var e, s, exception;
  30621. try {
  30622. this.runUnary$2$2(f, arg, type$.void, $T);
  30623. } catch (exception) {
  30624. e = A.unwrapException(exception);
  30625. s = A.getTraceFromException(exception);
  30626. this._processUncaughtError$3(this, e, s);
  30627. }
  30628. },
  30629. runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) {
  30630. var e, s, exception;
  30631. try {
  30632. this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2);
  30633. } catch (exception) {
  30634. e = A.unwrapException(exception);
  30635. s = A.getTraceFromException(exception);
  30636. this._processUncaughtError$3(this, e, s);
  30637. }
  30638. },
  30639. bindCallback$1$1(f, $R) {
  30640. return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
  30641. },
  30642. bindUnaryCallback$2$1(f, $R, $T) {
  30643. return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
  30644. },
  30645. bindCallbackGuarded$1(f) {
  30646. return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
  30647. },
  30648. $index(_, key) {
  30649. var value,
  30650. t1 = this._async$_map,
  30651. result = t1.$index(0, key);
  30652. if (result != null || t1.containsKey$1(key))
  30653. return result;
  30654. value = this.parent.$index(0, key);
  30655. if (value != null)
  30656. t1.$indexSet(0, key, value);
  30657. return value;
  30658. },
  30659. handleUncaughtError$2(error, stackTrace) {
  30660. this._processUncaughtError$3(this, error, stackTrace);
  30661. },
  30662. fork$2$specification$zoneValues(specification, zoneValues) {
  30663. var implementation = this._fork,
  30664. t1 = implementation.zone;
  30665. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
  30666. },
  30667. run$1$1(_, f) {
  30668. var implementation = this._run,
  30669. t1 = implementation.zone;
  30670. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  30671. },
  30672. runUnary$2$2(f, arg) {
  30673. var implementation = this._runUnary,
  30674. t1 = implementation.zone;
  30675. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
  30676. },
  30677. runBinary$3$3(f, arg1, arg2) {
  30678. var implementation = this._runBinary,
  30679. t1 = implementation.zone;
  30680. return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
  30681. },
  30682. registerCallback$1$1(callback) {
  30683. var implementation = this._registerCallback,
  30684. t1 = implementation.zone;
  30685. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  30686. },
  30687. registerUnaryCallback$2$1(callback) {
  30688. var implementation = this._registerUnaryCallback,
  30689. t1 = implementation.zone;
  30690. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  30691. },
  30692. registerBinaryCallback$3$1(callback) {
  30693. var implementation = this._registerBinaryCallback,
  30694. t1 = implementation.zone;
  30695. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  30696. },
  30697. errorCallback$2(error, stackTrace) {
  30698. var implementation, implementationZone;
  30699. A.checkNotNullable(error, "error", type$.Object);
  30700. implementation = this._errorCallback;
  30701. implementationZone = implementation.zone;
  30702. if (implementationZone === B.C__RootZone)
  30703. return null;
  30704. return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
  30705. },
  30706. scheduleMicrotask$1(f) {
  30707. var implementation = this._scheduleMicrotask,
  30708. t1 = implementation.zone;
  30709. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  30710. },
  30711. createTimer$2(duration, f) {
  30712. var implementation = this._createTimer,
  30713. t1 = implementation.zone;
  30714. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
  30715. },
  30716. print$1(line) {
  30717. var implementation = this._print,
  30718. t1 = implementation.zone;
  30719. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
  30720. },
  30721. get$_run() {
  30722. return this._run;
  30723. },
  30724. get$_runUnary() {
  30725. return this._runUnary;
  30726. },
  30727. get$_runBinary() {
  30728. return this._runBinary;
  30729. },
  30730. get$_registerCallback() {
  30731. return this._registerCallback;
  30732. },
  30733. get$_registerUnaryCallback() {
  30734. return this._registerUnaryCallback;
  30735. },
  30736. get$_registerBinaryCallback() {
  30737. return this._registerBinaryCallback;
  30738. },
  30739. get$_errorCallback() {
  30740. return this._errorCallback;
  30741. },
  30742. get$_scheduleMicrotask() {
  30743. return this._scheduleMicrotask;
  30744. },
  30745. get$_createTimer() {
  30746. return this._createTimer;
  30747. },
  30748. get$_createPeriodicTimer() {
  30749. return this._createPeriodicTimer;
  30750. },
  30751. get$_print() {
  30752. return this._print;
  30753. },
  30754. get$_fork() {
  30755. return this._fork;
  30756. },
  30757. get$_handleUncaughtError() {
  30758. return this._handleUncaughtError;
  30759. },
  30760. get$parent(receiver) {
  30761. return this.parent;
  30762. },
  30763. get$_async$_map() {
  30764. return this._async$_map;
  30765. }
  30766. };
  30767. A._CustomZone_bindCallback_closure.prototype = {
  30768. call$0() {
  30769. return this.$this.run$1$1(0, this.registered, this.R);
  30770. },
  30771. $signature() {
  30772. return this.R._eval$1("0()");
  30773. }
  30774. };
  30775. A._CustomZone_bindUnaryCallback_closure.prototype = {
  30776. call$1(arg) {
  30777. var _this = this;
  30778. return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
  30779. },
  30780. $signature() {
  30781. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  30782. }
  30783. };
  30784. A._CustomZone_bindCallbackGuarded_closure.prototype = {
  30785. call$0() {
  30786. return this.$this.runGuarded$1(this.registered);
  30787. },
  30788. $signature: 0
  30789. };
  30790. A._rootHandleError_closure.prototype = {
  30791. call$0() {
  30792. var t1 = this.error,
  30793. t2 = this.stackTrace;
  30794. A.checkNotNullable(t1, "error", type$.Object);
  30795. A.checkNotNullable(t2, "stackTrace", type$.StackTrace);
  30796. A.Error__throw(t1, t2);
  30797. },
  30798. $signature: 0
  30799. };
  30800. A._RootZone.prototype = {
  30801. get$_run() {
  30802. return B._ZoneFunction__RootZone__rootRun;
  30803. },
  30804. get$_runUnary() {
  30805. return B._ZoneFunction__RootZone__rootRunUnary;
  30806. },
  30807. get$_runBinary() {
  30808. return B._ZoneFunction__RootZone__rootRunBinary;
  30809. },
  30810. get$_registerCallback() {
  30811. return B._ZoneFunction__RootZone__rootRegisterCallback;
  30812. },
  30813. get$_registerUnaryCallback() {
  30814. return B._ZoneFunction_Eeh;
  30815. },
  30816. get$_registerBinaryCallback() {
  30817. return B._ZoneFunction_7G2;
  30818. },
  30819. get$_errorCallback() {
  30820. return B._ZoneFunction__RootZone__rootErrorCallback;
  30821. },
  30822. get$_scheduleMicrotask() {
  30823. return B._ZoneFunction__RootZone__rootScheduleMicrotask;
  30824. },
  30825. get$_createTimer() {
  30826. return B._ZoneFunction__RootZone__rootCreateTimer;
  30827. },
  30828. get$_createPeriodicTimer() {
  30829. return B._ZoneFunction_3bB;
  30830. },
  30831. get$_print() {
  30832. return B._ZoneFunction__RootZone__rootPrint;
  30833. },
  30834. get$_fork() {
  30835. return B._ZoneFunction__RootZone__rootFork;
  30836. },
  30837. get$_handleUncaughtError() {
  30838. return B._ZoneFunction_NMc;
  30839. },
  30840. get$parent(_) {
  30841. return null;
  30842. },
  30843. get$_async$_map() {
  30844. return $.$get$_RootZone__rootMap();
  30845. },
  30846. get$_delegate() {
  30847. var t1 = $._RootZone__rootDelegate;
  30848. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  30849. },
  30850. get$_parentDelegate() {
  30851. var t1 = $._RootZone__rootDelegate;
  30852. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  30853. },
  30854. get$errorZone() {
  30855. return this;
  30856. },
  30857. runGuarded$1(f) {
  30858. var e, s, exception;
  30859. try {
  30860. if (B.C__RootZone === $.Zone__current) {
  30861. f.call$0();
  30862. return;
  30863. }
  30864. A._rootRun(null, null, this, f);
  30865. } catch (exception) {
  30866. e = A.unwrapException(exception);
  30867. s = A.getTraceFromException(exception);
  30868. A._rootHandleError(e, s);
  30869. }
  30870. },
  30871. runUnaryGuarded$1$2(f, arg) {
  30872. var e, s, exception;
  30873. try {
  30874. if (B.C__RootZone === $.Zone__current) {
  30875. f.call$1(arg);
  30876. return;
  30877. }
  30878. A._rootRunUnary(null, null, this, f, arg);
  30879. } catch (exception) {
  30880. e = A.unwrapException(exception);
  30881. s = A.getTraceFromException(exception);
  30882. A._rootHandleError(e, s);
  30883. }
  30884. },
  30885. runBinaryGuarded$2$3(f, arg1, arg2) {
  30886. var e, s, exception;
  30887. try {
  30888. if (B.C__RootZone === $.Zone__current) {
  30889. f.call$2(arg1, arg2);
  30890. return;
  30891. }
  30892. A._rootRunBinary(null, null, this, f, arg1, arg2);
  30893. } catch (exception) {
  30894. e = A.unwrapException(exception);
  30895. s = A.getTraceFromException(exception);
  30896. A._rootHandleError(e, s);
  30897. }
  30898. },
  30899. bindCallback$1$1(f, $R) {
  30900. return new A._RootZone_bindCallback_closure(this, f, $R);
  30901. },
  30902. bindUnaryCallback$2$1(f, $R, $T) {
  30903. return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
  30904. },
  30905. bindCallbackGuarded$1(f) {
  30906. return new A._RootZone_bindCallbackGuarded_closure(this, f);
  30907. },
  30908. $index(_, key) {
  30909. return null;
  30910. },
  30911. handleUncaughtError$2(error, stackTrace) {
  30912. A._rootHandleError(error, stackTrace);
  30913. },
  30914. fork$2$specification$zoneValues(specification, zoneValues) {
  30915. return A._rootFork(null, null, this, specification, zoneValues);
  30916. },
  30917. run$1$1(_, f) {
  30918. if ($.Zone__current === B.C__RootZone)
  30919. return f.call$0();
  30920. return A._rootRun(null, null, this, f);
  30921. },
  30922. runUnary$2$2(f, arg) {
  30923. if ($.Zone__current === B.C__RootZone)
  30924. return f.call$1(arg);
  30925. return A._rootRunUnary(null, null, this, f, arg);
  30926. },
  30927. runBinary$3$3(f, arg1, arg2) {
  30928. if ($.Zone__current === B.C__RootZone)
  30929. return f.call$2(arg1, arg2);
  30930. return A._rootRunBinary(null, null, this, f, arg1, arg2);
  30931. },
  30932. registerCallback$1$1(f) {
  30933. return f;
  30934. },
  30935. registerUnaryCallback$2$1(f) {
  30936. return f;
  30937. },
  30938. registerBinaryCallback$3$1(f) {
  30939. return f;
  30940. },
  30941. errorCallback$2(error, stackTrace) {
  30942. return null;
  30943. },
  30944. scheduleMicrotask$1(f) {
  30945. A._rootScheduleMicrotask(null, null, this, f);
  30946. },
  30947. createTimer$2(duration, f) {
  30948. return A.Timer__createTimer(duration, f);
  30949. },
  30950. print$1(line) {
  30951. A.printString(line);
  30952. }
  30953. };
  30954. A._RootZone_bindCallback_closure.prototype = {
  30955. call$0() {
  30956. return this.$this.run$1$1(0, this.f, this.R);
  30957. },
  30958. $signature() {
  30959. return this.R._eval$1("0()");
  30960. }
  30961. };
  30962. A._RootZone_bindUnaryCallback_closure.prototype = {
  30963. call$1(arg) {
  30964. var _this = this;
  30965. return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
  30966. },
  30967. $signature() {
  30968. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  30969. }
  30970. };
  30971. A._RootZone_bindCallbackGuarded_closure.prototype = {
  30972. call$0() {
  30973. return this.$this.runGuarded$1(this.f);
  30974. },
  30975. $signature: 0
  30976. };
  30977. A._HashMap.prototype = {
  30978. get$length(_) {
  30979. return this._collection$_length;
  30980. },
  30981. get$isEmpty(_) {
  30982. return this._collection$_length === 0;
  30983. },
  30984. get$isNotEmpty(_) {
  30985. return this._collection$_length !== 0;
  30986. },
  30987. get$keys(_) {
  30988. return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
  30989. },
  30990. get$values(_) {
  30991. var t1 = A._instanceType(this);
  30992. return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  30993. },
  30994. containsKey$1(key) {
  30995. var strings, nums;
  30996. if (typeof key == "string" && key !== "__proto__") {
  30997. strings = this._collection$_strings;
  30998. return strings == null ? false : strings[key] != null;
  30999. } else if (typeof key == "number" && (key & 1073741823) === key) {
  31000. nums = this._collection$_nums;
  31001. return nums == null ? false : nums[key] != null;
  31002. } else
  31003. return this._containsKey$1(key);
  31004. },
  31005. _containsKey$1(key) {
  31006. var rest = this._collection$_rest;
  31007. if (rest == null)
  31008. return false;
  31009. return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
  31010. },
  31011. addAll$1(_, other) {
  31012. other.forEach$1(0, new A._HashMap_addAll_closure(this));
  31013. },
  31014. $index(_, key) {
  31015. var strings, t1, nums;
  31016. if (typeof key == "string" && key !== "__proto__") {
  31017. strings = this._collection$_strings;
  31018. t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
  31019. return t1;
  31020. } else if (typeof key == "number" && (key & 1073741823) === key) {
  31021. nums = this._collection$_nums;
  31022. t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
  31023. return t1;
  31024. } else
  31025. return this._get$1(key);
  31026. },
  31027. _get$1(key) {
  31028. var bucket, index,
  31029. rest = this._collection$_rest;
  31030. if (rest == null)
  31031. return null;
  31032. bucket = this._getBucket$2(rest, key);
  31033. index = this._findBucketIndex$2(bucket, key);
  31034. return index < 0 ? null : bucket[index + 1];
  31035. },
  31036. $indexSet(_, key, value) {
  31037. var strings, nums, _this = this;
  31038. if (typeof key == "string" && key !== "__proto__") {
  31039. strings = _this._collection$_strings;
  31040. _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value);
  31041. } else if (typeof key == "number" && (key & 1073741823) === key) {
  31042. nums = _this._collection$_nums;
  31043. _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value);
  31044. } else
  31045. _this._set$2(key, value);
  31046. },
  31047. _set$2(key, value) {
  31048. var hash, bucket, index, _this = this,
  31049. rest = _this._collection$_rest;
  31050. if (rest == null)
  31051. rest = _this._collection$_rest = A._HashMap__newHashTable();
  31052. hash = _this._computeHashCode$1(key);
  31053. bucket = rest[hash];
  31054. if (bucket == null) {
  31055. A._HashMap__setTableEntry(rest, hash, [key, value]);
  31056. ++_this._collection$_length;
  31057. _this._collection$_keys = null;
  31058. } else {
  31059. index = _this._findBucketIndex$2(bucket, key);
  31060. if (index >= 0)
  31061. bucket[index + 1] = value;
  31062. else {
  31063. bucket.push(key, value);
  31064. ++_this._collection$_length;
  31065. _this._collection$_keys = null;
  31066. }
  31067. }
  31068. },
  31069. remove$1(_, key) {
  31070. var t1;
  31071. if (typeof key == "string" && key !== "__proto__")
  31072. return this._removeHashTableEntry$2(this._collection$_strings, key);
  31073. else {
  31074. t1 = this._remove$1(key);
  31075. return t1;
  31076. }
  31077. },
  31078. _remove$1(key) {
  31079. var hash, bucket, index, result, _this = this,
  31080. rest = _this._collection$_rest;
  31081. if (rest == null)
  31082. return null;
  31083. hash = _this._computeHashCode$1(key);
  31084. bucket = rest[hash];
  31085. index = _this._findBucketIndex$2(bucket, key);
  31086. if (index < 0)
  31087. return null;
  31088. --_this._collection$_length;
  31089. _this._collection$_keys = null;
  31090. result = bucket.splice(index, 2)[1];
  31091. if (0 === bucket.length)
  31092. delete rest[hash];
  31093. return result;
  31094. },
  31095. forEach$1(_, action) {
  31096. var $length, t1, i, key, t2, _this = this,
  31097. keys = _this._computeKeys$0();
  31098. for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
  31099. key = keys[i];
  31100. t2 = _this.$index(0, key);
  31101. action.call$2(key, t2 == null ? t1._as(t2) : t2);
  31102. if (keys !== _this._collection$_keys)
  31103. throw A.wrapException(A.ConcurrentModificationError$(_this));
  31104. }
  31105. },
  31106. _computeKeys$0() {
  31107. var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this,
  31108. result = _this._collection$_keys;
  31109. if (result != null)
  31110. return result;
  31111. result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
  31112. strings = _this._collection$_strings;
  31113. if (strings != null) {
  31114. names = Object.getOwnPropertyNames(strings);
  31115. entries = names.length;
  31116. for (index = 0, i = 0; i < entries; ++i) {
  31117. result[index] = names[i];
  31118. ++index;
  31119. }
  31120. } else
  31121. index = 0;
  31122. nums = _this._collection$_nums;
  31123. if (nums != null) {
  31124. names = Object.getOwnPropertyNames(nums);
  31125. entries = names.length;
  31126. for (i = 0; i < entries; ++i) {
  31127. result[index] = +names[i];
  31128. ++index;
  31129. }
  31130. }
  31131. rest = _this._collection$_rest;
  31132. if (rest != null) {
  31133. names = Object.getOwnPropertyNames(rest);
  31134. entries = names.length;
  31135. for (i = 0; i < entries; ++i) {
  31136. bucket = rest[names[i]];
  31137. $length = bucket.length;
  31138. for (i0 = 0; i0 < $length; i0 += 2) {
  31139. result[index] = bucket[i0];
  31140. ++index;
  31141. }
  31142. }
  31143. }
  31144. return _this._collection$_keys = result;
  31145. },
  31146. _collection$_addHashTableEntry$3(table, key, value) {
  31147. if (table[key] == null) {
  31148. ++this._collection$_length;
  31149. this._collection$_keys = null;
  31150. }
  31151. A._HashMap__setTableEntry(table, key, value);
  31152. },
  31153. _removeHashTableEntry$2(table, key) {
  31154. var value;
  31155. if (table != null && table[key] != null) {
  31156. value = A._HashMap__getTableEntry(table, key);
  31157. delete table[key];
  31158. --this._collection$_length;
  31159. this._collection$_keys = null;
  31160. return value;
  31161. } else
  31162. return null;
  31163. },
  31164. _computeHashCode$1(key) {
  31165. return J.get$hashCode$(key) & 1073741823;
  31166. },
  31167. _getBucket$2(table, key) {
  31168. return table[this._computeHashCode$1(key)];
  31169. },
  31170. _findBucketIndex$2(bucket, key) {
  31171. var $length, i;
  31172. if (bucket == null)
  31173. return -1;
  31174. $length = bucket.length;
  31175. for (i = 0; i < $length; i += 2)
  31176. if (J.$eq$(bucket[i], key))
  31177. return i;
  31178. return -1;
  31179. }
  31180. };
  31181. A._HashMap_values_closure.prototype = {
  31182. call$1(each) {
  31183. var t1 = this.$this,
  31184. t2 = t1.$index(0, each);
  31185. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  31186. },
  31187. $signature() {
  31188. return A._instanceType(this.$this)._eval$1("2(1)");
  31189. }
  31190. };
  31191. A._HashMap_addAll_closure.prototype = {
  31192. call$2(key, value) {
  31193. this.$this.$indexSet(0, key, value);
  31194. },
  31195. $signature() {
  31196. return A._instanceType(this.$this)._eval$1("~(1,2)");
  31197. }
  31198. };
  31199. A._IdentityHashMap.prototype = {
  31200. _computeHashCode$1(key) {
  31201. return A.objectHashCode(key) & 1073741823;
  31202. },
  31203. _findBucketIndex$2(bucket, key) {
  31204. var $length, i, t1;
  31205. if (bucket == null)
  31206. return -1;
  31207. $length = bucket.length;
  31208. for (i = 0; i < $length; i += 2) {
  31209. t1 = bucket[i];
  31210. if (t1 == null ? key == null : t1 === key)
  31211. return i;
  31212. }
  31213. return -1;
  31214. }
  31215. };
  31216. A._HashMapKeyIterable.prototype = {
  31217. get$length(_) {
  31218. return this._map._collection$_length;
  31219. },
  31220. get$isEmpty(_) {
  31221. return this._map._collection$_length === 0;
  31222. },
  31223. get$isNotEmpty(_) {
  31224. return this._map._collection$_length !== 0;
  31225. },
  31226. get$iterator(_) {
  31227. var t1 = this._map;
  31228. return new A._HashMapKeyIterator(t1, t1._computeKeys$0());
  31229. },
  31230. contains$1(_, element) {
  31231. return this._map.containsKey$1(element);
  31232. }
  31233. };
  31234. A._HashMapKeyIterator.prototype = {
  31235. get$current(_) {
  31236. var t1 = this._collection$_current;
  31237. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  31238. },
  31239. moveNext$0() {
  31240. var _this = this,
  31241. keys = _this._collection$_keys,
  31242. offset = _this._offset,
  31243. t1 = _this._map;
  31244. if (keys !== t1._collection$_keys)
  31245. throw A.wrapException(A.ConcurrentModificationError$(t1));
  31246. else if (offset >= keys.length) {
  31247. _this._collection$_current = null;
  31248. return false;
  31249. } else {
  31250. _this._collection$_current = keys[offset];
  31251. _this._offset = offset + 1;
  31252. return true;
  31253. }
  31254. }
  31255. };
  31256. A._LinkedIdentityHashMap.prototype = {
  31257. internalComputeHashCode$1(key) {
  31258. return A.objectHashCode(key) & 1073741823;
  31259. },
  31260. internalFindBucketIndex$2(bucket, key) {
  31261. var $length, i, t1;
  31262. if (bucket == null)
  31263. return -1;
  31264. $length = bucket.length;
  31265. for (i = 0; i < $length; ++i) {
  31266. t1 = bucket[i].hashMapCellKey;
  31267. if (t1 == null ? key == null : t1 === key)
  31268. return i;
  31269. }
  31270. return -1;
  31271. }
  31272. };
  31273. A._LinkedCustomHashMap.prototype = {
  31274. $index(_, key) {
  31275. if (!this._validKey.call$1(key))
  31276. return null;
  31277. return this.super$JsLinkedHashMap$internalGet(key);
  31278. },
  31279. $indexSet(_, key, value) {
  31280. this.super$JsLinkedHashMap$internalSet(key, value);
  31281. },
  31282. containsKey$1(key) {
  31283. if (!this._validKey.call$1(key))
  31284. return false;
  31285. return this.super$JsLinkedHashMap$internalContainsKey(key);
  31286. },
  31287. remove$1(_, key) {
  31288. if (!this._validKey.call$1(key))
  31289. return null;
  31290. return this.super$JsLinkedHashMap$internalRemove(key);
  31291. },
  31292. internalComputeHashCode$1(key) {
  31293. return this._hashCode.call$1(key) & 1073741823;
  31294. },
  31295. internalFindBucketIndex$2(bucket, key) {
  31296. var $length, t1, i;
  31297. if (bucket == null)
  31298. return -1;
  31299. $length = bucket.length;
  31300. for (t1 = this._equals, i = 0; i < $length; ++i)
  31301. if (t1.call$2(bucket[i].hashMapCellKey, key))
  31302. return i;
  31303. return -1;
  31304. }
  31305. };
  31306. A._LinkedCustomHashMap_closure.prototype = {
  31307. call$1(v) {
  31308. return this.K._is(v);
  31309. },
  31310. $signature: 122
  31311. };
  31312. A._LinkedHashSet.prototype = {
  31313. _newSet$0() {
  31314. return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
  31315. },
  31316. _newSimilarSet$1$0($R) {
  31317. return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
  31318. },
  31319. _newSimilarSet$0() {
  31320. return this._newSimilarSet$1$0(type$.dynamic);
  31321. },
  31322. get$iterator(_) {
  31323. var t1 = new A._LinkedHashSetIterator(this, this._collection$_modifications);
  31324. t1._collection$_cell = this._collection$_first;
  31325. return t1;
  31326. },
  31327. get$length(_) {
  31328. return this._collection$_length;
  31329. },
  31330. get$isEmpty(_) {
  31331. return this._collection$_length === 0;
  31332. },
  31333. get$isNotEmpty(_) {
  31334. return this._collection$_length !== 0;
  31335. },
  31336. contains$1(_, object) {
  31337. var strings, nums;
  31338. if (typeof object == "string" && object !== "__proto__") {
  31339. strings = this._collection$_strings;
  31340. if (strings == null)
  31341. return false;
  31342. return strings[object] != null;
  31343. } else if (typeof object == "number" && (object & 1073741823) === object) {
  31344. nums = this._collection$_nums;
  31345. if (nums == null)
  31346. return false;
  31347. return nums[object] != null;
  31348. } else
  31349. return this._contains$1(object);
  31350. },
  31351. _contains$1(object) {
  31352. var rest = this._collection$_rest;
  31353. if (rest == null)
  31354. return false;
  31355. return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
  31356. },
  31357. get$first(_) {
  31358. var first = this._collection$_first;
  31359. if (first == null)
  31360. throw A.wrapException(A.StateError$("No elements"));
  31361. return first._element;
  31362. },
  31363. get$last(_) {
  31364. var last = this._collection$_last;
  31365. if (last == null)
  31366. throw A.wrapException(A.StateError$("No elements"));
  31367. return last._element;
  31368. },
  31369. add$1(_, element) {
  31370. var strings, nums, _this = this;
  31371. if (typeof element == "string" && element !== "__proto__") {
  31372. strings = _this._collection$_strings;
  31373. return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element);
  31374. } else if (typeof element == "number" && (element & 1073741823) === element) {
  31375. nums = _this._collection$_nums;
  31376. return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element);
  31377. } else
  31378. return _this._collection$_add$1(element);
  31379. },
  31380. _collection$_add$1(element) {
  31381. var hash, bucket, _this = this,
  31382. rest = _this._collection$_rest;
  31383. if (rest == null)
  31384. rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
  31385. hash = _this._computeHashCode$1(element);
  31386. bucket = rest[hash];
  31387. if (bucket == null)
  31388. rest[hash] = [_this._collection$_newLinkedCell$1(element)];
  31389. else {
  31390. if (_this._findBucketIndex$2(bucket, element) >= 0)
  31391. return false;
  31392. bucket.push(_this._collection$_newLinkedCell$1(element));
  31393. }
  31394. return true;
  31395. },
  31396. remove$1(_, object) {
  31397. var _this = this;
  31398. if (typeof object == "string" && object !== "__proto__")
  31399. return _this._removeHashTableEntry$2(_this._collection$_strings, object);
  31400. else if (typeof object == "number" && (object & 1073741823) === object)
  31401. return _this._removeHashTableEntry$2(_this._collection$_nums, object);
  31402. else
  31403. return _this._remove$1(object);
  31404. },
  31405. _remove$1(object) {
  31406. var hash, bucket, index, cell, _this = this,
  31407. rest = _this._collection$_rest;
  31408. if (rest == null)
  31409. return false;
  31410. hash = _this._computeHashCode$1(object);
  31411. bucket = rest[hash];
  31412. index = _this._findBucketIndex$2(bucket, object);
  31413. if (index < 0)
  31414. return false;
  31415. cell = bucket.splice(index, 1)[0];
  31416. if (0 === bucket.length)
  31417. delete rest[hash];
  31418. _this._unlinkCell$1(cell);
  31419. return true;
  31420. },
  31421. _collection$_addHashTableEntry$2(table, element) {
  31422. if (table[element] != null)
  31423. return false;
  31424. table[element] = this._collection$_newLinkedCell$1(element);
  31425. return true;
  31426. },
  31427. _removeHashTableEntry$2(table, element) {
  31428. var cell;
  31429. if (table == null)
  31430. return false;
  31431. cell = table[element];
  31432. if (cell == null)
  31433. return false;
  31434. this._unlinkCell$1(cell);
  31435. delete table[element];
  31436. return true;
  31437. },
  31438. _collection$_modified$0() {
  31439. this._collection$_modifications = this._collection$_modifications + 1 & 1073741823;
  31440. },
  31441. _collection$_newLinkedCell$1(element) {
  31442. var t1, _this = this,
  31443. cell = new A._LinkedHashSetCell(element);
  31444. if (_this._collection$_first == null)
  31445. _this._collection$_first = _this._collection$_last = cell;
  31446. else {
  31447. t1 = _this._collection$_last;
  31448. t1.toString;
  31449. cell._collection$_previous = t1;
  31450. _this._collection$_last = t1._collection$_next = cell;
  31451. }
  31452. ++_this._collection$_length;
  31453. _this._collection$_modified$0();
  31454. return cell;
  31455. },
  31456. _unlinkCell$1(cell) {
  31457. var _this = this,
  31458. previous = cell._collection$_previous,
  31459. next = cell._collection$_next;
  31460. if (previous == null)
  31461. _this._collection$_first = next;
  31462. else
  31463. previous._collection$_next = next;
  31464. if (next == null)
  31465. _this._collection$_last = previous;
  31466. else
  31467. next._collection$_previous = previous;
  31468. --_this._collection$_length;
  31469. _this._collection$_modified$0();
  31470. },
  31471. _computeHashCode$1(element) {
  31472. return J.get$hashCode$(element) & 1073741823;
  31473. },
  31474. _findBucketIndex$2(bucket, element) {
  31475. var $length, i;
  31476. if (bucket == null)
  31477. return -1;
  31478. $length = bucket.length;
  31479. for (i = 0; i < $length; ++i)
  31480. if (J.$eq$(bucket[i]._element, element))
  31481. return i;
  31482. return -1;
  31483. }
  31484. };
  31485. A._LinkedIdentityHashSet.prototype = {
  31486. _newSet$0() {
  31487. return new A._LinkedIdentityHashSet(this.$ti);
  31488. },
  31489. _newSimilarSet$1$0($R) {
  31490. return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
  31491. },
  31492. _newSimilarSet$0() {
  31493. return this._newSimilarSet$1$0(type$.dynamic);
  31494. },
  31495. _computeHashCode$1(key) {
  31496. return A.objectHashCode(key) & 1073741823;
  31497. },
  31498. _findBucketIndex$2(bucket, element) {
  31499. var $length, i, t1;
  31500. if (bucket == null)
  31501. return -1;
  31502. $length = bucket.length;
  31503. for (i = 0; i < $length; ++i) {
  31504. t1 = bucket[i]._element;
  31505. if (t1 == null ? element == null : t1 === element)
  31506. return i;
  31507. }
  31508. return -1;
  31509. }
  31510. };
  31511. A._LinkedHashSetCell.prototype = {};
  31512. A._LinkedHashSetIterator.prototype = {
  31513. get$current(_) {
  31514. var t1 = this._collection$_current;
  31515. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  31516. },
  31517. moveNext$0() {
  31518. var _this = this,
  31519. cell = _this._collection$_cell,
  31520. t1 = _this._set;
  31521. if (_this._collection$_modifications !== t1._collection$_modifications)
  31522. throw A.wrapException(A.ConcurrentModificationError$(t1));
  31523. else if (cell == null) {
  31524. _this._collection$_current = null;
  31525. return false;
  31526. } else {
  31527. _this._collection$_current = cell._element;
  31528. _this._collection$_cell = cell._collection$_next;
  31529. return true;
  31530. }
  31531. }
  31532. };
  31533. A.UnmodifiableListView.prototype = {
  31534. cast$1$0(_, $R) {
  31535. return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
  31536. },
  31537. get$length(_) {
  31538. return J.get$length$asx(this._collection$_source);
  31539. },
  31540. $index(_, index) {
  31541. return J.elementAt$1$ax(this._collection$_source, index);
  31542. }
  31543. };
  31544. A.HashMap_HashMap$from_closure.prototype = {
  31545. call$2(k, v) {
  31546. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  31547. },
  31548. $signature: 244
  31549. };
  31550. A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
  31551. call$2(k, v) {
  31552. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  31553. },
  31554. $signature: 244
  31555. };
  31556. A.ListBase.prototype = {
  31557. get$iterator(receiver) {
  31558. return new A.ListIterator(receiver, this.get$length(receiver));
  31559. },
  31560. elementAt$1(receiver, index) {
  31561. return this.$index(receiver, index);
  31562. },
  31563. get$isEmpty(receiver) {
  31564. return this.get$length(receiver) === 0;
  31565. },
  31566. get$isNotEmpty(receiver) {
  31567. return !this.get$isEmpty(receiver);
  31568. },
  31569. get$first(receiver) {
  31570. if (this.get$length(receiver) === 0)
  31571. throw A.wrapException(A.IterableElementError_noElement());
  31572. return this.$index(receiver, 0);
  31573. },
  31574. get$last(receiver) {
  31575. if (this.get$length(receiver) === 0)
  31576. throw A.wrapException(A.IterableElementError_noElement());
  31577. return this.$index(receiver, this.get$length(receiver) - 1);
  31578. },
  31579. get$single(receiver) {
  31580. if (this.get$length(receiver) === 0)
  31581. throw A.wrapException(A.IterableElementError_noElement());
  31582. if (this.get$length(receiver) > 1)
  31583. throw A.wrapException(A.IterableElementError_tooMany());
  31584. return this.$index(receiver, 0);
  31585. },
  31586. contains$1(receiver, element) {
  31587. var i,
  31588. $length = this.get$length(receiver);
  31589. for (i = 0; i < $length; ++i) {
  31590. if (J.$eq$(this.$index(receiver, i), element))
  31591. return true;
  31592. if ($length !== this.get$length(receiver))
  31593. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  31594. }
  31595. return false;
  31596. },
  31597. every$1(receiver, test) {
  31598. var i,
  31599. $length = this.get$length(receiver);
  31600. for (i = 0; i < $length; ++i) {
  31601. if (!test.call$1(this.$index(receiver, i)))
  31602. return false;
  31603. if ($length !== this.get$length(receiver))
  31604. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  31605. }
  31606. return true;
  31607. },
  31608. any$1(receiver, test) {
  31609. var i,
  31610. $length = this.get$length(receiver);
  31611. for (i = 0; i < $length; ++i) {
  31612. if (test.call$1(this.$index(receiver, i)))
  31613. return true;
  31614. if ($length !== this.get$length(receiver))
  31615. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  31616. }
  31617. return false;
  31618. },
  31619. lastWhere$2$orElse(receiver, test, orElse) {
  31620. var i, element,
  31621. $length = this.get$length(receiver);
  31622. for (i = $length - 1; i >= 0; --i) {
  31623. element = this.$index(receiver, i);
  31624. if (test.call$1(element))
  31625. return element;
  31626. if ($length !== this.get$length(receiver))
  31627. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  31628. }
  31629. if (orElse != null)
  31630. return orElse.call$0();
  31631. throw A.wrapException(A.IterableElementError_noElement());
  31632. },
  31633. join$1(receiver, separator) {
  31634. var t1;
  31635. if (this.get$length(receiver) === 0)
  31636. return "";
  31637. t1 = A.StringBuffer__writeAll("", receiver, separator);
  31638. return t1.charCodeAt(0) == 0 ? t1 : t1;
  31639. },
  31640. join$0($receiver) {
  31641. return this.join$1($receiver, "");
  31642. },
  31643. where$1(receiver, test) {
  31644. return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListBase.E>"));
  31645. },
  31646. map$1$1(receiver, f, $T) {
  31647. return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  31648. },
  31649. expand$1$1(receiver, f, $T) {
  31650. return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  31651. },
  31652. skip$1(receiver, count) {
  31653. return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListBase.E"));
  31654. },
  31655. take$1(receiver, count) {
  31656. return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListBase.E"));
  31657. },
  31658. toList$1$growable(receiver, growable) {
  31659. var t1, first, result, i, _this = this;
  31660. if (_this.get$isEmpty(receiver)) {
  31661. t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListBase.E"));
  31662. return t1;
  31663. }
  31664. first = _this.$index(receiver, 0);
  31665. result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListBase.E"));
  31666. for (i = 1; i < _this.get$length(receiver); ++i)
  31667. result[i] = _this.$index(receiver, i);
  31668. return result;
  31669. },
  31670. toList$0($receiver) {
  31671. return this.toList$1$growable($receiver, true);
  31672. },
  31673. toSet$0(receiver) {
  31674. var i,
  31675. result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListBase.E"));
  31676. for (i = 0; i < this.get$length(receiver); ++i)
  31677. result.add$1(0, this.$index(receiver, i));
  31678. return result;
  31679. },
  31680. add$1(receiver, element) {
  31681. var t1 = this.get$length(receiver);
  31682. this.set$length(receiver, t1 + 1);
  31683. this.$indexSet(receiver, t1, element);
  31684. },
  31685. cast$1$0(receiver, $R) {
  31686. return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($R)._eval$1("CastList<1,2>"));
  31687. },
  31688. sort$1(receiver, compare) {
  31689. A.Sort_sort(receiver, compare == null ? A.collection_ListBase__compareAny$closure() : compare);
  31690. },
  31691. getRange$2(receiver, start, end) {
  31692. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  31693. return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListBase.E"));
  31694. },
  31695. fillRange$3(receiver, start, end, fill) {
  31696. var i,
  31697. value = fill == null ? A.instanceType(receiver)._eval$1("ListBase.E")._as(fill) : fill;
  31698. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  31699. for (i = start; i < end; ++i)
  31700. this.$indexSet(receiver, i, value);
  31701. },
  31702. setRange$4(receiver, start, end, iterable, skipCount) {
  31703. var $length, otherStart, otherList, t1, i;
  31704. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  31705. $length = end - start;
  31706. if ($length === 0)
  31707. return;
  31708. A.RangeError_checkNotNegative(skipCount, "skipCount");
  31709. if (A.instanceType(receiver)._eval$1("List<ListBase.E>")._is(iterable)) {
  31710. otherStart = skipCount;
  31711. otherList = iterable;
  31712. } else {
  31713. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  31714. otherStart = 0;
  31715. }
  31716. t1 = J.getInterceptor$asx(otherList);
  31717. if (otherStart + $length > t1.get$length(otherList))
  31718. throw A.wrapException(A.IterableElementError_tooFew());
  31719. if (otherStart < start)
  31720. for (i = $length - 1; i >= 0; --i)
  31721. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  31722. else
  31723. for (i = 0; i < $length; ++i)
  31724. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  31725. },
  31726. get$reversed(receiver) {
  31727. return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListBase.E>"));
  31728. },
  31729. toString$0(receiver) {
  31730. return A.Iterable_iterableToFullString(receiver, "[", "]");
  31731. },
  31732. $isEfficientLengthIterable: 1,
  31733. $isIterable: 1,
  31734. $isList: 1
  31735. };
  31736. A.MapBase.prototype = {
  31737. cast$2$0(_, RK, RV) {
  31738. var t1 = A._instanceType(this);
  31739. return A.Map_castFrom(this, t1._eval$1("MapBase.K"), t1._eval$1("MapBase.V"), RK, RV);
  31740. },
  31741. forEach$1(_, action) {
  31742. var t1, t2, key, t3, _this = this;
  31743. for (t1 = J.get$iterator$ax(_this.get$keys(_this)), t2 = A._instanceType(_this)._eval$1("MapBase.V"); t1.moveNext$0();) {
  31744. key = t1.get$current(t1);
  31745. t3 = _this.$index(0, key);
  31746. action.call$2(key, t3 == null ? t2._as(t3) : t3);
  31747. }
  31748. },
  31749. addAll$1(_, other) {
  31750. other.forEach$1(0, new A.MapBase_addAll_closure(this));
  31751. },
  31752. get$entries(_) {
  31753. var _this = this;
  31754. return J.map$1$1$ax(_this.get$keys(_this), new A.MapBase_entries_closure(_this), A._instanceType(_this)._eval$1("MapEntry<MapBase.K,MapBase.V>"));
  31755. },
  31756. containsKey$1(key) {
  31757. return J.contains$1$asx(this.get$keys(this), key);
  31758. },
  31759. get$length(_) {
  31760. return J.get$length$asx(this.get$keys(this));
  31761. },
  31762. get$isEmpty(_) {
  31763. return J.get$isEmpty$asx(this.get$keys(this));
  31764. },
  31765. get$isNotEmpty(_) {
  31766. return J.get$isNotEmpty$asx(this.get$keys(this));
  31767. },
  31768. get$values(_) {
  31769. var t1 = A._instanceType(this);
  31770. return new A._MapBaseValueIterable(this, t1._eval$1("@<MapBase.K>")._bind$1(t1._eval$1("MapBase.V"))._eval$1("_MapBaseValueIterable<1,2>"));
  31771. },
  31772. toString$0(_) {
  31773. return A.MapBase_mapToString(this);
  31774. },
  31775. $isMap: 1
  31776. };
  31777. A.MapBase_addAll_closure.prototype = {
  31778. call$2(key, value) {
  31779. this.$this.$indexSet(0, key, value);
  31780. },
  31781. $signature() {
  31782. return A._instanceType(this.$this)._eval$1("~(MapBase.K,MapBase.V)");
  31783. }
  31784. };
  31785. A.MapBase_entries_closure.prototype = {
  31786. call$1(key) {
  31787. var t1 = this.$this,
  31788. t2 = t1.$index(0, key);
  31789. if (t2 == null)
  31790. t2 = A._instanceType(t1)._eval$1("MapBase.V")._as(t2);
  31791. t1 = A._instanceType(t1);
  31792. return new A.MapEntry(key, t2, t1._eval$1("@<MapBase.K>")._bind$1(t1._eval$1("MapBase.V"))._eval$1("MapEntry<1,2>"));
  31793. },
  31794. $signature() {
  31795. return A._instanceType(this.$this)._eval$1("MapEntry<MapBase.K,MapBase.V>(MapBase.K)");
  31796. }
  31797. };
  31798. A.MapBase_mapToString_closure.prototype = {
  31799. call$2(k, v) {
  31800. var t2,
  31801. t1 = this._box_0;
  31802. if (!t1.first)
  31803. this.result._contents += ", ";
  31804. t1.first = false;
  31805. t1 = this.result;
  31806. t2 = t1._contents += A.S(k);
  31807. t1._contents = t2 + ": ";
  31808. t1._contents += A.S(v);
  31809. },
  31810. $signature: 225
  31811. };
  31812. A.UnmodifiableMapBase.prototype = {};
  31813. A._MapBaseValueIterable.prototype = {
  31814. get$length(_) {
  31815. var t1 = this._map;
  31816. return t1.get$length(t1);
  31817. },
  31818. get$isEmpty(_) {
  31819. var t1 = this._map;
  31820. return t1.get$isEmpty(t1);
  31821. },
  31822. get$isNotEmpty(_) {
  31823. var t1 = this._map;
  31824. return t1.get$isNotEmpty(t1);
  31825. },
  31826. get$first(_) {
  31827. var t1 = this._map;
  31828. t1 = t1.$index(0, J.get$first$ax(t1.get$keys(t1)));
  31829. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  31830. },
  31831. get$single(_) {
  31832. var t1 = this._map;
  31833. t1 = t1.$index(0, J.get$single$ax(t1.get$keys(t1)));
  31834. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  31835. },
  31836. get$last(_) {
  31837. var t1 = this._map;
  31838. t1 = t1.$index(0, J.get$last$ax(t1.get$keys(t1)));
  31839. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  31840. },
  31841. get$iterator(_) {
  31842. var t1 = this._map;
  31843. return new A._MapBaseValueIterator(J.get$iterator$ax(t1.get$keys(t1)), t1);
  31844. }
  31845. };
  31846. A._MapBaseValueIterator.prototype = {
  31847. moveNext$0() {
  31848. var _this = this,
  31849. t1 = _this._collection$_keys;
  31850. if (t1.moveNext$0()) {
  31851. _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
  31852. return true;
  31853. }
  31854. _this._collection$_current = null;
  31855. return false;
  31856. },
  31857. get$current(_) {
  31858. var t1 = this._collection$_current;
  31859. return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
  31860. }
  31861. };
  31862. A._UnmodifiableMapMixin.prototype = {
  31863. $indexSet(_, key, value) {
  31864. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  31865. },
  31866. addAll$1(_, other) {
  31867. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  31868. },
  31869. remove$1(_, key) {
  31870. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  31871. }
  31872. };
  31873. A.MapView.prototype = {
  31874. cast$2$0(_, RK, RV) {
  31875. return this._map.cast$2$0(0, RK, RV);
  31876. },
  31877. $index(_, key) {
  31878. return this._map.$index(0, key);
  31879. },
  31880. $indexSet(_, key, value) {
  31881. this._map.$indexSet(0, key, value);
  31882. },
  31883. addAll$1(_, other) {
  31884. this._map.addAll$1(0, other);
  31885. },
  31886. containsKey$1(key) {
  31887. return this._map.containsKey$1(key);
  31888. },
  31889. forEach$1(_, action) {
  31890. this._map.forEach$1(0, action);
  31891. },
  31892. get$isEmpty(_) {
  31893. var t1 = this._map;
  31894. return t1.get$isEmpty(t1);
  31895. },
  31896. get$isNotEmpty(_) {
  31897. var t1 = this._map;
  31898. return t1.get$isNotEmpty(t1);
  31899. },
  31900. get$length(_) {
  31901. var t1 = this._map;
  31902. return t1.get$length(t1);
  31903. },
  31904. get$keys(_) {
  31905. var t1 = this._map;
  31906. return t1.get$keys(t1);
  31907. },
  31908. remove$1(_, key) {
  31909. return this._map.remove$1(0, key);
  31910. },
  31911. toString$0(_) {
  31912. return this._map.toString$0(0);
  31913. },
  31914. get$values(_) {
  31915. var t1 = this._map;
  31916. return t1.get$values(t1);
  31917. },
  31918. get$entries(_) {
  31919. var t1 = this._map;
  31920. return t1.get$entries(t1);
  31921. },
  31922. $isMap: 1
  31923. };
  31924. A.UnmodifiableMapView.prototype = {
  31925. cast$2$0(_, RK, RV) {
  31926. return new A.UnmodifiableMapView(this._map.cast$2$0(0, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>"));
  31927. }
  31928. };
  31929. A.ListQueue.prototype = {
  31930. get$iterator(_) {
  31931. var _this = this;
  31932. return new A._ListQueueIterator(_this, _this._collection$_tail, _this._modificationCount, _this._collection$_head);
  31933. },
  31934. get$isEmpty(_) {
  31935. return this._collection$_head === this._collection$_tail;
  31936. },
  31937. get$length(_) {
  31938. return (this._collection$_tail - this._collection$_head & this._collection$_table.length - 1) >>> 0;
  31939. },
  31940. get$first(_) {
  31941. var _this = this,
  31942. t1 = _this._collection$_head;
  31943. if (t1 === _this._collection$_tail)
  31944. throw A.wrapException(A.IterableElementError_noElement());
  31945. t1 = _this._collection$_table[t1];
  31946. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  31947. },
  31948. get$last(_) {
  31949. var _this = this,
  31950. t1 = _this._collection$_head,
  31951. t2 = _this._collection$_tail;
  31952. if (t1 === t2)
  31953. throw A.wrapException(A.IterableElementError_noElement());
  31954. t1 = _this._collection$_table;
  31955. t1 = t1[(t2 - 1 & t1.length - 1) >>> 0];
  31956. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  31957. },
  31958. get$single(_) {
  31959. var t1, _this = this;
  31960. if (_this._collection$_head === _this._collection$_tail)
  31961. throw A.wrapException(A.IterableElementError_noElement());
  31962. if (_this.get$length(_this) > 1)
  31963. throw A.wrapException(A.IterableElementError_tooMany());
  31964. t1 = _this._collection$_table[_this._collection$_head];
  31965. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  31966. },
  31967. elementAt$1(_, index) {
  31968. var t1, _this = this;
  31969. A.IndexError_check(index, _this.get$length(_this), _this, null, null);
  31970. t1 = _this._collection$_table;
  31971. t1 = t1[(_this._collection$_head + index & t1.length - 1) >>> 0];
  31972. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  31973. },
  31974. toList$1$growable(_, growable) {
  31975. var t1, list, t2, t3, i, t4, _this = this,
  31976. mask = _this._collection$_table.length - 1,
  31977. $length = (_this._collection$_tail - _this._collection$_head & mask) >>> 0;
  31978. if ($length === 0) {
  31979. t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
  31980. return t1;
  31981. }
  31982. t1 = _this.$ti._precomputed1;
  31983. list = A.List_List$filled($length, _this.get$first(_this), true, t1);
  31984. for (t2 = _this._collection$_table, t3 = _this._collection$_head, i = 0; i < $length; ++i) {
  31985. t4 = t2[(t3 + i & mask) >>> 0];
  31986. list[i] = t4 == null ? t1._as(t4) : t4;
  31987. }
  31988. return list;
  31989. },
  31990. toList$0($receiver) {
  31991. return this.toList$1$growable($receiver, true);
  31992. },
  31993. addAll$1(_, elements) {
  31994. var addCount, $length, t2, t3, t4, newTable, endSpace, preSpace, _this = this,
  31995. t1 = _this.$ti;
  31996. if (t1._eval$1("List<1>")._is(elements)) {
  31997. addCount = J.get$length$asx(elements);
  31998. $length = _this.get$length(_this);
  31999. t2 = $length + addCount;
  32000. t3 = _this._collection$_table;
  32001. t4 = t3.length;
  32002. if (t2 >= t4) {
  32003. newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t2 + B.JSInt_methods._shrOtherPositive$1(t2, 1)), null, false, t1._eval$1("1?"));
  32004. _this._collection$_tail = _this._collection$_writeToList$1(newTable);
  32005. _this._collection$_table = newTable;
  32006. _this._collection$_head = 0;
  32007. B.JSArray_methods.setRange$4(newTable, $length, t2, elements, 0);
  32008. _this._collection$_tail += addCount;
  32009. } else {
  32010. t1 = _this._collection$_tail;
  32011. endSpace = t4 - t1;
  32012. if (addCount < endSpace) {
  32013. B.JSArray_methods.setRange$4(t3, t1, t1 + addCount, elements, 0);
  32014. _this._collection$_tail += addCount;
  32015. } else {
  32016. preSpace = addCount - endSpace;
  32017. B.JSArray_methods.setRange$4(t3, t1, t1 + endSpace, elements, 0);
  32018. B.JSArray_methods.setRange$4(_this._collection$_table, 0, preSpace, elements, endSpace);
  32019. _this._collection$_tail = preSpace;
  32020. }
  32021. }
  32022. ++_this._modificationCount;
  32023. } else
  32024. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  32025. _this._collection$_add$1(t1.get$current(t1));
  32026. },
  32027. clear$0(_) {
  32028. var t2, t3, _this = this,
  32029. i = _this._collection$_head,
  32030. t1 = _this._collection$_tail;
  32031. if (i !== t1) {
  32032. for (t2 = _this._collection$_table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
  32033. t2[i] = null;
  32034. _this._collection$_head = _this._collection$_tail = 0;
  32035. ++_this._modificationCount;
  32036. }
  32037. },
  32038. toString$0(_) {
  32039. return A.Iterable_iterableToFullString(this, "{", "}");
  32040. },
  32041. addFirst$1(value) {
  32042. var _this = this,
  32043. t1 = _this._collection$_head,
  32044. t2 = _this._collection$_table;
  32045. t1 = _this._collection$_head = (t1 - 1 & t2.length - 1) >>> 0;
  32046. t2[t1] = value;
  32047. if (t1 === _this._collection$_tail)
  32048. _this._collection$_grow$0();
  32049. ++_this._modificationCount;
  32050. },
  32051. removeFirst$0() {
  32052. var t2, result, _this = this,
  32053. t1 = _this._collection$_head;
  32054. if (t1 === _this._collection$_tail)
  32055. throw A.wrapException(A.IterableElementError_noElement());
  32056. ++_this._modificationCount;
  32057. t2 = _this._collection$_table;
  32058. result = t2[t1];
  32059. if (result == null)
  32060. result = _this.$ti._precomputed1._as(result);
  32061. t2[t1] = null;
  32062. _this._collection$_head = (t1 + 1 & t2.length - 1) >>> 0;
  32063. return result;
  32064. },
  32065. removeLast$0(_) {
  32066. var result, _this = this,
  32067. t1 = _this._collection$_head,
  32068. t2 = _this._collection$_tail;
  32069. if (t1 === t2)
  32070. throw A.wrapException(A.IterableElementError_noElement());
  32071. ++_this._modificationCount;
  32072. t1 = _this._collection$_table;
  32073. t2 = _this._collection$_tail = (t2 - 1 & t1.length - 1) >>> 0;
  32074. result = t1[t2];
  32075. if (result == null)
  32076. result = _this.$ti._precomputed1._as(result);
  32077. t1[t2] = null;
  32078. return result;
  32079. },
  32080. _collection$_add$1(element) {
  32081. var _this = this,
  32082. t1 = _this._collection$_table,
  32083. t2 = _this._collection$_tail;
  32084. t1[t2] = element;
  32085. t1 = (t2 + 1 & t1.length - 1) >>> 0;
  32086. _this._collection$_tail = t1;
  32087. if (_this._collection$_head === t1)
  32088. _this._collection$_grow$0();
  32089. ++_this._modificationCount;
  32090. },
  32091. _collection$_grow$0() {
  32092. var _this = this,
  32093. newTable = A.List_List$filled(_this._collection$_table.length * 2, null, false, _this.$ti._eval$1("1?")),
  32094. t1 = _this._collection$_table,
  32095. t2 = _this._collection$_head,
  32096. split = t1.length - t2;
  32097. B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
  32098. B.JSArray_methods.setRange$4(newTable, split, split + _this._collection$_head, _this._collection$_table, 0);
  32099. _this._collection$_head = 0;
  32100. _this._collection$_tail = _this._collection$_table.length;
  32101. _this._collection$_table = newTable;
  32102. },
  32103. _collection$_writeToList$1(target) {
  32104. var $length, firstPartSize, _this = this,
  32105. t1 = _this._collection$_head,
  32106. t2 = _this._collection$_tail,
  32107. t3 = _this._collection$_table;
  32108. if (t1 <= t2) {
  32109. $length = t2 - t1;
  32110. B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
  32111. return $length;
  32112. } else {
  32113. firstPartSize = t3.length - t1;
  32114. B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
  32115. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._collection$_tail, _this._collection$_table, 0);
  32116. return _this._collection$_tail + firstPartSize;
  32117. }
  32118. },
  32119. $isQueue: 1
  32120. };
  32121. A._ListQueueIterator.prototype = {
  32122. get$current(_) {
  32123. var t1 = this._collection$_current;
  32124. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  32125. },
  32126. moveNext$0() {
  32127. var t2, _this = this,
  32128. t1 = _this._queue;
  32129. if (_this._modificationCount !== t1._modificationCount)
  32130. A.throwExpression(A.ConcurrentModificationError$(t1));
  32131. t2 = _this._collection$_position;
  32132. if (t2 === _this._collection$_end) {
  32133. _this._collection$_current = null;
  32134. return false;
  32135. }
  32136. t1 = t1._collection$_table;
  32137. _this._collection$_current = t1[t2];
  32138. _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
  32139. return true;
  32140. }
  32141. };
  32142. A.SetBase.prototype = {
  32143. get$isEmpty(_) {
  32144. return this.get$length(this) === 0;
  32145. },
  32146. get$isNotEmpty(_) {
  32147. return this.get$length(this) !== 0;
  32148. },
  32149. addAll$1(_, elements) {
  32150. var t1;
  32151. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  32152. this.add$1(0, t1.get$current(t1));
  32153. },
  32154. removeAll$1(elements) {
  32155. var t1;
  32156. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  32157. this.remove$1(0, t1.get$current(t1));
  32158. },
  32159. difference$1(other) {
  32160. var t1, t2, element,
  32161. result = this.toSet$0(0);
  32162. for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
  32163. element = t1.get$current(t1);
  32164. if (t2.contains$1(0, element))
  32165. result.remove$1(0, element);
  32166. }
  32167. return result;
  32168. },
  32169. toList$1$growable(_, growable) {
  32170. return A.List_List$of(this, true, A._instanceType(this)._precomputed1);
  32171. },
  32172. toList$0($receiver) {
  32173. return this.toList$1$growable($receiver, true);
  32174. },
  32175. map$1$1(_, f, $T) {
  32176. return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  32177. },
  32178. get$single(_) {
  32179. var it, _this = this;
  32180. if (_this.get$length(_this) > 1)
  32181. throw A.wrapException(A.IterableElementError_tooMany());
  32182. it = _this.get$iterator(_this);
  32183. if (!it.moveNext$0())
  32184. throw A.wrapException(A.IterableElementError_noElement());
  32185. return it.get$current(it);
  32186. },
  32187. toString$0(_) {
  32188. return A.Iterable_iterableToFullString(this, "{", "}");
  32189. },
  32190. where$1(_, f) {
  32191. return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
  32192. },
  32193. join$1(_, separator) {
  32194. var first, t1,
  32195. iterator = this.get$iterator(this);
  32196. if (!iterator.moveNext$0())
  32197. return "";
  32198. first = J.toString$0$(iterator.get$current(iterator));
  32199. if (!iterator.moveNext$0())
  32200. return first;
  32201. if (separator.length === 0) {
  32202. t1 = first;
  32203. do
  32204. t1 += A.S(iterator.get$current(iterator));
  32205. while (iterator.moveNext$0());
  32206. } else {
  32207. t1 = first;
  32208. do
  32209. t1 = t1 + separator + A.S(iterator.get$current(iterator));
  32210. while (iterator.moveNext$0());
  32211. }
  32212. return t1.charCodeAt(0) == 0 ? t1 : t1;
  32213. },
  32214. join$0($receiver) {
  32215. return this.join$1($receiver, "");
  32216. },
  32217. any$1(_, test) {
  32218. var t1;
  32219. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  32220. if (test.call$1(t1.get$current(t1)))
  32221. return true;
  32222. return false;
  32223. },
  32224. take$1(_, n) {
  32225. return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
  32226. },
  32227. skip$1(_, n) {
  32228. return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
  32229. },
  32230. get$first(_) {
  32231. var it = this.get$iterator(this);
  32232. if (!it.moveNext$0())
  32233. throw A.wrapException(A.IterableElementError_noElement());
  32234. return it.get$current(it);
  32235. },
  32236. get$last(_) {
  32237. var result,
  32238. it = this.get$iterator(this);
  32239. if (!it.moveNext$0())
  32240. throw A.wrapException(A.IterableElementError_noElement());
  32241. do
  32242. result = it.get$current(it);
  32243. while (it.moveNext$0());
  32244. return result;
  32245. },
  32246. elementAt$1(_, index) {
  32247. var iterator, skipCount;
  32248. A.RangeError_checkNotNegative(index, "index");
  32249. iterator = this.get$iterator(this);
  32250. for (skipCount = index; iterator.moveNext$0();) {
  32251. if (skipCount === 0)
  32252. return iterator.get$current(iterator);
  32253. --skipCount;
  32254. }
  32255. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  32256. },
  32257. $isEfficientLengthIterable: 1,
  32258. $isIterable: 1,
  32259. $isSet: 1
  32260. };
  32261. A._SetBase.prototype = {
  32262. difference$1(other) {
  32263. var t1, t2, element,
  32264. result = this._newSet$0();
  32265. for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
  32266. element = t1.get$current(t1);
  32267. if (!t2.contains$1(0, element))
  32268. result.add$1(0, element);
  32269. }
  32270. return result;
  32271. },
  32272. intersection$1(other) {
  32273. var t1, t2, element,
  32274. result = this._newSet$0();
  32275. for (t1 = this.get$iterator(this), t2 = other._baseMap; t1.moveNext$0();) {
  32276. element = t1.get$current(t1);
  32277. if (t2.containsKey$1(element))
  32278. result.add$1(0, element);
  32279. }
  32280. return result;
  32281. },
  32282. toSet$0(_) {
  32283. var t1 = this._newSet$0();
  32284. t1.addAll$1(0, this);
  32285. return t1;
  32286. }
  32287. };
  32288. A._UnmodifiableSetMixin.prototype = {
  32289. add$1(_, value) {
  32290. return A._UnmodifiableSetMixin__throwUnmodifiable();
  32291. },
  32292. addAll$1(_, elements) {
  32293. return A._UnmodifiableSetMixin__throwUnmodifiable();
  32294. },
  32295. remove$1(_, value) {
  32296. return A._UnmodifiableSetMixin__throwUnmodifiable();
  32297. }
  32298. };
  32299. A._UnmodifiableSet.prototype = {
  32300. _newSet$0() {
  32301. return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
  32302. },
  32303. contains$1(_, element) {
  32304. return this._map.containsKey$1(element);
  32305. },
  32306. get$iterator(_) {
  32307. var t1 = this._map;
  32308. return J.get$iterator$ax(t1.get$keys(t1));
  32309. },
  32310. get$length(_) {
  32311. var t1 = this._map;
  32312. return t1.get$length(t1);
  32313. }
  32314. };
  32315. A.UnmodifiableSetView.prototype = {
  32316. contains$1(_, element) {
  32317. return this._collection$_source.contains$1(0, element);
  32318. },
  32319. get$length(_) {
  32320. return this._collection$_source._collection$_length;
  32321. },
  32322. get$iterator(_) {
  32323. var t1 = this._collection$_source;
  32324. return A._LinkedHashSetIterator$(t1, t1._collection$_modifications);
  32325. },
  32326. toSet$0(_) {
  32327. return this._collection$_source.toSet$0(0);
  32328. }
  32329. };
  32330. A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
  32331. A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin.prototype = {};
  32332. A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin.prototype = {};
  32333. A.Utf8Decoder__decoder_closure.prototype = {
  32334. call$0() {
  32335. var t1, exception;
  32336. try {
  32337. t1 = new TextDecoder("utf-8", {fatal: true});
  32338. return t1;
  32339. } catch (exception) {
  32340. }
  32341. return null;
  32342. },
  32343. $signature: 92
  32344. };
  32345. A.Utf8Decoder__decoderNonfatal_closure.prototype = {
  32346. call$0() {
  32347. var t1, exception;
  32348. try {
  32349. t1 = new TextDecoder("utf-8", {fatal: false});
  32350. return t1;
  32351. } catch (exception) {
  32352. }
  32353. return null;
  32354. },
  32355. $signature: 92
  32356. };
  32357. A.AsciiCodec.prototype = {
  32358. encode$1(source) {
  32359. return B.AsciiEncoder_127.convert$1(source);
  32360. },
  32361. get$encoder() {
  32362. return B.AsciiEncoder_127;
  32363. }
  32364. };
  32365. A._UnicodeSubsetEncoder.prototype = {
  32366. convert$1(string) {
  32367. var t1, i, codeUnit,
  32368. $length = A.RangeError_checkValidRange(0, null, string.length) - 0,
  32369. result = new Uint8Array($length);
  32370. for (t1 = ~this._subsetMask, i = 0; i < $length; ++i) {
  32371. codeUnit = B.JSString_methods._codeUnitAt$1(string, i);
  32372. if ((codeUnit & t1) !== 0)
  32373. throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
  32374. result[i] = codeUnit;
  32375. }
  32376. return result;
  32377. }
  32378. };
  32379. A.AsciiEncoder.prototype = {};
  32380. A.Base64Codec.prototype = {
  32381. get$encoder() {
  32382. return B.C_Base64Encoder;
  32383. },
  32384. normalize$3(source, start, end) {
  32385. var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
  32386. _s31_ = "Invalid base64 encoding length ";
  32387. end = A.RangeError_checkValidRange(start, end, source.length);
  32388. inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
  32389. for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
  32390. i0 = i + 1;
  32391. char = B.JSString_methods._codeUnitAt$1(source, i);
  32392. if (char === 37) {
  32393. i1 = i0 + 2;
  32394. if (i1 <= end) {
  32395. digit1 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0));
  32396. digit2 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0 + 1));
  32397. char0 = digit1 * 16 + digit2 - (digit2 & 256);
  32398. if (char0 === 37)
  32399. char0 = -1;
  32400. i0 = i1;
  32401. } else
  32402. char0 = -1;
  32403. } else
  32404. char0 = char;
  32405. if (0 <= char0 && char0 <= 127) {
  32406. value = inverseAlphabet[char0];
  32407. if (value >= 0) {
  32408. char0 = B.JSString_methods.codeUnitAt$1(string$.ABCDEF, value);
  32409. if (char0 === char)
  32410. continue;
  32411. char = char0;
  32412. } else {
  32413. if (value === -1) {
  32414. if (firstPadding < 0) {
  32415. t1 = buffer == null ? null : buffer._contents.length;
  32416. if (t1 == null)
  32417. t1 = 0;
  32418. firstPadding = t1 + (i - sliceStart);
  32419. firstPaddingSourceIndex = i;
  32420. }
  32421. ++paddingCount;
  32422. if (char === 61)
  32423. continue;
  32424. }
  32425. char = char0;
  32426. }
  32427. if (value !== -2) {
  32428. if (buffer == null) {
  32429. buffer = new A.StringBuffer("");
  32430. t1 = buffer;
  32431. } else
  32432. t1 = buffer;
  32433. t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
  32434. t1._contents += A.Primitives_stringFromCharCode(char);
  32435. sliceStart = i0;
  32436. continue;
  32437. }
  32438. }
  32439. throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
  32440. }
  32441. if (buffer != null) {
  32442. t1 = buffer._contents += B.JSString_methods.substring$2(source, sliceStart, end);
  32443. t2 = t1.length;
  32444. if (firstPadding >= 0)
  32445. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
  32446. else {
  32447. endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
  32448. if (endLength === 1)
  32449. throw A.wrapException(A.FormatException$(_s31_, source, end));
  32450. for (; endLength < 4;) {
  32451. t1 += "=";
  32452. buffer._contents = t1;
  32453. ++endLength;
  32454. }
  32455. }
  32456. t1 = buffer._contents;
  32457. return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
  32458. }
  32459. $length = end - start;
  32460. if (firstPadding >= 0)
  32461. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
  32462. else {
  32463. endLength = B.JSInt_methods.$mod($length, 4);
  32464. if (endLength === 1)
  32465. throw A.wrapException(A.FormatException$(_s31_, source, end));
  32466. if (endLength > 1)
  32467. source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
  32468. }
  32469. return source;
  32470. }
  32471. };
  32472. A.Base64Encoder.prototype = {
  32473. convert$1(input) {
  32474. var t1 = J.getInterceptor$asx(input);
  32475. if (t1.get$isEmpty(input))
  32476. return "";
  32477. t1 = new A._Base64Encoder(string$.ABCDEF).encode$4(input, 0, t1.get$length(input), true);
  32478. t1.toString;
  32479. return A.String_String$fromCharCodes(t1, 0, null);
  32480. },
  32481. startChunkedConversion$1(sink) {
  32482. return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
  32483. }
  32484. };
  32485. A._Base64Encoder.prototype = {
  32486. createBuffer$1(bufferLength) {
  32487. return new Uint8Array(bufferLength);
  32488. },
  32489. encode$4(bytes, start, end, isLast) {
  32490. var output, _this = this,
  32491. byteCount = (_this._convert$_state & 3) + (end - start),
  32492. fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
  32493. bufferLength = fullChunks * 4;
  32494. if (isLast && byteCount - fullChunks * 3 > 0)
  32495. bufferLength += 4;
  32496. output = _this.createBuffer$1(bufferLength);
  32497. _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
  32498. if (bufferLength > 0)
  32499. return output;
  32500. return null;
  32501. }
  32502. };
  32503. A._Base64EncoderSink.prototype = {};
  32504. A._Utf8Base64EncoderSink.prototype = {
  32505. _convert$_add$4(source, start, end, isLast) {
  32506. var buffer = this._encoder.encode$4(source, start, end, isLast);
  32507. if (buffer != null)
  32508. this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
  32509. }
  32510. };
  32511. A.ByteConversionSink.prototype = {};
  32512. A.Codec.prototype = {
  32513. encode$1(input) {
  32514. return this.get$encoder().convert$1(input);
  32515. }
  32516. };
  32517. A.Converter.prototype = {};
  32518. A.Encoding.prototype = {};
  32519. A.JsonUnsupportedObjectError.prototype = {
  32520. toString$0(_) {
  32521. var safeString = A.Error_safeToString(this.unsupportedObject);
  32522. return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
  32523. }
  32524. };
  32525. A.JsonCyclicError.prototype = {
  32526. toString$0(_) {
  32527. return "Cyclic error in JSON stringify";
  32528. }
  32529. };
  32530. A.JsonCodec.prototype = {
  32531. encode$2$toEncodable(value, toEncodable) {
  32532. var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
  32533. return t1;
  32534. },
  32535. get$encoder() {
  32536. return B.JsonEncoder_null;
  32537. }
  32538. };
  32539. A.JsonEncoder.prototype = {
  32540. convert$1(object) {
  32541. var t1,
  32542. output = new A.StringBuffer(""),
  32543. stringifier = A._JsonStringStringifier$(output, this._toEncodable);
  32544. stringifier.writeObject$1(object);
  32545. t1 = output._contents;
  32546. return t1.charCodeAt(0) == 0 ? t1 : t1;
  32547. }
  32548. };
  32549. A._JsonStringifier.prototype = {
  32550. writeStringContent$1(s) {
  32551. var offset, i, charCode, t1, t2, _this = this,
  32552. $length = s.length;
  32553. for (offset = 0, i = 0; i < $length; ++i) {
  32554. charCode = B.JSString_methods._codeUnitAt$1(s, i);
  32555. if (charCode > 92) {
  32556. if (charCode >= 55296) {
  32557. t1 = charCode & 64512;
  32558. if (t1 === 55296) {
  32559. t2 = i + 1;
  32560. t2 = !(t2 < $length && (B.JSString_methods._codeUnitAt$1(s, t2) & 64512) === 56320);
  32561. } else
  32562. t2 = false;
  32563. if (!t2)
  32564. if (t1 === 56320) {
  32565. t1 = i - 1;
  32566. t1 = !(t1 >= 0 && (B.JSString_methods.codeUnitAt$1(s, t1) & 64512) === 55296);
  32567. } else
  32568. t1 = false;
  32569. else
  32570. t1 = true;
  32571. if (t1) {
  32572. if (i > offset)
  32573. _this.writeStringSlice$3(s, offset, i);
  32574. offset = i + 1;
  32575. _this.writeCharCode$1(92);
  32576. _this.writeCharCode$1(117);
  32577. _this.writeCharCode$1(100);
  32578. t1 = charCode >>> 8 & 15;
  32579. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  32580. t1 = charCode >>> 4 & 15;
  32581. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  32582. t1 = charCode & 15;
  32583. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  32584. }
  32585. }
  32586. continue;
  32587. }
  32588. if (charCode < 32) {
  32589. if (i > offset)
  32590. _this.writeStringSlice$3(s, offset, i);
  32591. offset = i + 1;
  32592. _this.writeCharCode$1(92);
  32593. switch (charCode) {
  32594. case 8:
  32595. _this.writeCharCode$1(98);
  32596. break;
  32597. case 9:
  32598. _this.writeCharCode$1(116);
  32599. break;
  32600. case 10:
  32601. _this.writeCharCode$1(110);
  32602. break;
  32603. case 12:
  32604. _this.writeCharCode$1(102);
  32605. break;
  32606. case 13:
  32607. _this.writeCharCode$1(114);
  32608. break;
  32609. default:
  32610. _this.writeCharCode$1(117);
  32611. _this.writeCharCode$1(48);
  32612. _this.writeCharCode$1(48);
  32613. t1 = charCode >>> 4 & 15;
  32614. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  32615. t1 = charCode & 15;
  32616. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  32617. break;
  32618. }
  32619. } else if (charCode === 34 || charCode === 92) {
  32620. if (i > offset)
  32621. _this.writeStringSlice$3(s, offset, i);
  32622. offset = i + 1;
  32623. _this.writeCharCode$1(92);
  32624. _this.writeCharCode$1(charCode);
  32625. }
  32626. }
  32627. if (offset === 0)
  32628. _this.writeString$1(s);
  32629. else if (offset < $length)
  32630. _this.writeStringSlice$3(s, offset, $length);
  32631. },
  32632. _checkCycle$1(object) {
  32633. var t1, t2, i, t3;
  32634. for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
  32635. t3 = t1[i];
  32636. if (object == null ? t3 == null : object === t3)
  32637. throw A.wrapException(new A.JsonCyclicError(object, null));
  32638. }
  32639. t1.push(object);
  32640. },
  32641. writeObject$1(object) {
  32642. var customJson, e, t1, exception, _this = this;
  32643. if (_this.writeJsonValue$1(object))
  32644. return;
  32645. _this._checkCycle$1(object);
  32646. try {
  32647. customJson = _this._toEncodable.call$1(object);
  32648. if (!_this.writeJsonValue$1(customJson)) {
  32649. t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
  32650. throw A.wrapException(t1);
  32651. }
  32652. _this._seen.pop();
  32653. } catch (exception) {
  32654. e = A.unwrapException(exception);
  32655. t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
  32656. throw A.wrapException(t1);
  32657. }
  32658. },
  32659. writeJsonValue$1(object) {
  32660. var success, _this = this;
  32661. if (typeof object == "number") {
  32662. if (!isFinite(object))
  32663. return false;
  32664. _this.writeNumber$1(object);
  32665. return true;
  32666. } else if (object === true) {
  32667. _this.writeString$1("true");
  32668. return true;
  32669. } else if (object === false) {
  32670. _this.writeString$1("false");
  32671. return true;
  32672. } else if (object == null) {
  32673. _this.writeString$1("null");
  32674. return true;
  32675. } else if (typeof object == "string") {
  32676. _this.writeString$1('"');
  32677. _this.writeStringContent$1(object);
  32678. _this.writeString$1('"');
  32679. return true;
  32680. } else if (type$.List_dynamic._is(object)) {
  32681. _this._checkCycle$1(object);
  32682. _this.writeList$1(object);
  32683. _this._seen.pop();
  32684. return true;
  32685. } else if (type$.Map_dynamic_dynamic._is(object)) {
  32686. _this._checkCycle$1(object);
  32687. success = _this.writeMap$1(object);
  32688. _this._seen.pop();
  32689. return success;
  32690. } else
  32691. return false;
  32692. },
  32693. writeList$1(list) {
  32694. var t1, i, _this = this;
  32695. _this.writeString$1("[");
  32696. t1 = J.getInterceptor$asx(list);
  32697. if (t1.get$isNotEmpty(list)) {
  32698. _this.writeObject$1(t1.$index(list, 0));
  32699. for (i = 1; i < t1.get$length(list); ++i) {
  32700. _this.writeString$1(",");
  32701. _this.writeObject$1(t1.$index(list, i));
  32702. }
  32703. }
  32704. _this.writeString$1("]");
  32705. },
  32706. writeMap$1(map) {
  32707. var t1, keyValueList, i, separator, _this = this, _box_0 = {};
  32708. if (map.get$isEmpty(map)) {
  32709. _this.writeString$1("{}");
  32710. return true;
  32711. }
  32712. t1 = map.get$length(map) * 2;
  32713. keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
  32714. i = _box_0.i = 0;
  32715. _box_0.allStringKeys = true;
  32716. map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
  32717. if (!_box_0.allStringKeys)
  32718. return false;
  32719. _this.writeString$1("{");
  32720. for (separator = '"'; i < t1; i += 2, separator = ',"') {
  32721. _this.writeString$1(separator);
  32722. _this.writeStringContent$1(A._asString(keyValueList[i]));
  32723. _this.writeString$1('":');
  32724. _this.writeObject$1(keyValueList[i + 1]);
  32725. }
  32726. _this.writeString$1("}");
  32727. return true;
  32728. }
  32729. };
  32730. A._JsonStringifier_writeMap_closure.prototype = {
  32731. call$2(key, value) {
  32732. var t1, t2, t3, i;
  32733. if (typeof key != "string")
  32734. this._box_0.allStringKeys = false;
  32735. t1 = this.keyValueList;
  32736. t2 = this._box_0;
  32737. t3 = t2.i;
  32738. i = t2.i = t3 + 1;
  32739. t1[t3] = key;
  32740. t2.i = i + 1;
  32741. t1[i] = value;
  32742. },
  32743. $signature: 225
  32744. };
  32745. A._JsonStringStringifier.prototype = {
  32746. get$_partialResult() {
  32747. var t1 = this._sink._contents;
  32748. return t1.charCodeAt(0) == 0 ? t1 : t1;
  32749. },
  32750. writeNumber$1(number) {
  32751. this._sink._contents += B.JSNumber_methods.toString$0(number);
  32752. },
  32753. writeString$1(string) {
  32754. this._sink._contents += string;
  32755. },
  32756. writeStringSlice$3(string, start, end) {
  32757. this._sink._contents += B.JSString_methods.substring$2(string, start, end);
  32758. },
  32759. writeCharCode$1(charCode) {
  32760. this._sink._contents += A.Primitives_stringFromCharCode(charCode);
  32761. }
  32762. };
  32763. A.StringConversionSink.prototype = {};
  32764. A._StringSinkConversionSink.prototype = {
  32765. close$0(_) {
  32766. }
  32767. };
  32768. A._StringCallbackSink.prototype = {
  32769. close$0(_) {
  32770. var t1 = this._stringSink,
  32771. t2 = t1._contents;
  32772. t1._contents = "";
  32773. this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
  32774. },
  32775. asUtf8Sink$1(allowMalformed) {
  32776. return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
  32777. }
  32778. };
  32779. A._Utf8StringSinkAdapter.prototype = {
  32780. close$0(_) {
  32781. this._decoder.flush$1(this._stringSink);
  32782. this._sink.close$0(0);
  32783. },
  32784. add$1(_, chunk) {
  32785. this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
  32786. },
  32787. addSlice$4(codeUnits, startIndex, endIndex, isLast) {
  32788. this._stringSink._contents += this._decoder.convertGeneral$4(codeUnits, startIndex, endIndex, false);
  32789. if (isLast)
  32790. this.close$0(0);
  32791. }
  32792. };
  32793. A.Utf8Codec.prototype = {
  32794. get$encoder() {
  32795. return B.C_Utf8Encoder;
  32796. }
  32797. };
  32798. A.Utf8Encoder.prototype = {
  32799. convert$1(string) {
  32800. var t1, t2, encoder,
  32801. end = A.RangeError_checkValidRange(0, null, string.length),
  32802. $length = end - 0;
  32803. if ($length === 0)
  32804. return new Uint8Array(0);
  32805. t1 = $length * 3;
  32806. t2 = new Uint8Array(t1);
  32807. encoder = new A._Utf8Encoder(t2);
  32808. if (encoder._fillBuffer$3(string, 0, end) !== end) {
  32809. B.JSString_methods.codeUnitAt$1(string, end - 1);
  32810. encoder._writeReplacementCharacter$0();
  32811. }
  32812. return new Uint8Array(t2.subarray(0, A._checkValidRange(0, encoder._bufferIndex, t1)));
  32813. }
  32814. };
  32815. A._Utf8Encoder.prototype = {
  32816. _writeReplacementCharacter$0() {
  32817. var _this = this,
  32818. t1 = _this._convert$_buffer,
  32819. t2 = _this._bufferIndex,
  32820. t3 = _this._bufferIndex = t2 + 1;
  32821. t1[t2] = 239;
  32822. t2 = _this._bufferIndex = t3 + 1;
  32823. t1[t3] = 191;
  32824. _this._bufferIndex = t2 + 1;
  32825. t1[t2] = 189;
  32826. },
  32827. _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
  32828. var rune, t1, t2, t3, _this = this;
  32829. if ((nextCodeUnit & 64512) === 56320) {
  32830. rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
  32831. t1 = _this._convert$_buffer;
  32832. t2 = _this._bufferIndex;
  32833. t3 = _this._bufferIndex = t2 + 1;
  32834. t1[t2] = rune >>> 18 | 240;
  32835. t2 = _this._bufferIndex = t3 + 1;
  32836. t1[t3] = rune >>> 12 & 63 | 128;
  32837. t3 = _this._bufferIndex = t2 + 1;
  32838. t1[t2] = rune >>> 6 & 63 | 128;
  32839. _this._bufferIndex = t3 + 1;
  32840. t1[t3] = rune & 63 | 128;
  32841. return true;
  32842. } else {
  32843. _this._writeReplacementCharacter$0();
  32844. return false;
  32845. }
  32846. },
  32847. _fillBuffer$3(str, start, end) {
  32848. var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this;
  32849. if (start !== end && (B.JSString_methods.codeUnitAt$1(str, end - 1) & 64512) === 55296)
  32850. --end;
  32851. for (t1 = _this._convert$_buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
  32852. codeUnit = B.JSString_methods._codeUnitAt$1(str, stringIndex);
  32853. if (codeUnit <= 127) {
  32854. t3 = _this._bufferIndex;
  32855. if (t3 >= t2)
  32856. break;
  32857. _this._bufferIndex = t3 + 1;
  32858. t1[t3] = codeUnit;
  32859. } else {
  32860. t3 = codeUnit & 64512;
  32861. if (t3 === 55296) {
  32862. if (_this._bufferIndex + 4 > t2)
  32863. break;
  32864. stringIndex0 = stringIndex + 1;
  32865. if (_this._writeSurrogate$2(codeUnit, B.JSString_methods._codeUnitAt$1(str, stringIndex0)))
  32866. stringIndex = stringIndex0;
  32867. } else if (t3 === 56320) {
  32868. if (_this._bufferIndex + 3 > t2)
  32869. break;
  32870. _this._writeReplacementCharacter$0();
  32871. } else if (codeUnit <= 2047) {
  32872. t3 = _this._bufferIndex;
  32873. t4 = t3 + 1;
  32874. if (t4 >= t2)
  32875. break;
  32876. _this._bufferIndex = t4;
  32877. t1[t3] = codeUnit >>> 6 | 192;
  32878. _this._bufferIndex = t4 + 1;
  32879. t1[t4] = codeUnit & 63 | 128;
  32880. } else {
  32881. t3 = _this._bufferIndex;
  32882. if (t3 + 2 >= t2)
  32883. break;
  32884. t4 = _this._bufferIndex = t3 + 1;
  32885. t1[t3] = codeUnit >>> 12 | 224;
  32886. t3 = _this._bufferIndex = t4 + 1;
  32887. t1[t4] = codeUnit >>> 6 & 63 | 128;
  32888. _this._bufferIndex = t3 + 1;
  32889. t1[t3] = codeUnit & 63 | 128;
  32890. }
  32891. }
  32892. }
  32893. return stringIndex;
  32894. }
  32895. };
  32896. A.Utf8Decoder.prototype = {
  32897. convert$1(codeUnits) {
  32898. var t1 = this._allowMalformed,
  32899. result = A.Utf8Decoder__convertIntercepted(t1, codeUnits, 0, null);
  32900. if (result != null)
  32901. return result;
  32902. return new A._Utf8Decoder(t1).convertGeneral$4(codeUnits, 0, null, true);
  32903. }
  32904. };
  32905. A._Utf8Decoder.prototype = {
  32906. convertGeneral$4(codeUnits, start, maybeEnd, single) {
  32907. var bytes, errorOffset, result, t1, message, _this = this,
  32908. end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
  32909. if (start === end)
  32910. return "";
  32911. if (type$.Uint8List._is(codeUnits)) {
  32912. bytes = codeUnits;
  32913. errorOffset = 0;
  32914. } else {
  32915. bytes = A._Utf8Decoder__makeUint8List(codeUnits, start, end);
  32916. end -= start;
  32917. errorOffset = start;
  32918. start = 0;
  32919. }
  32920. result = _this._convertRecursive$4(bytes, start, end, single);
  32921. t1 = _this._convert$_state;
  32922. if ((t1 & 1) !== 0) {
  32923. message = A._Utf8Decoder_errorDescription(t1);
  32924. _this._convert$_state = 0;
  32925. throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
  32926. }
  32927. return result;
  32928. },
  32929. _convertRecursive$4(bytes, start, end, single) {
  32930. var mid, s1, _this = this;
  32931. if (end - start > 1000) {
  32932. mid = B.JSInt_methods._tdivFast$1(start + end, 2);
  32933. s1 = _this._convertRecursive$4(bytes, start, mid, false);
  32934. if ((_this._convert$_state & 1) !== 0)
  32935. return s1;
  32936. return s1 + _this._convertRecursive$4(bytes, mid, end, single);
  32937. }
  32938. return _this.decodeGeneral$4(bytes, start, end, single);
  32939. },
  32940. flush$1(sink) {
  32941. var state = this._convert$_state;
  32942. this._convert$_state = 0;
  32943. if (state <= 32)
  32944. return;
  32945. if (this.allowMalformed)
  32946. sink._contents += A.Primitives_stringFromCharCode(65533);
  32947. else
  32948. throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
  32949. },
  32950. decodeGeneral$4(bytes, start, end, single) {
  32951. var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
  32952. state = _this._convert$_state,
  32953. char = _this._charOrIndex,
  32954. buffer = new A.StringBuffer(""),
  32955. i = start + 1,
  32956. byte = bytes[start];
  32957. $label0$0:
  32958. for (t1 = _this.allowMalformed; true;) {
  32959. for (; true; i = i0) {
  32960. type = B.JSString_methods._codeUnitAt$1("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", byte) & 31;
  32961. char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
  32962. 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);
  32963. if (state === 0) {
  32964. buffer._contents += A.Primitives_stringFromCharCode(char);
  32965. if (i === end)
  32966. break $label0$0;
  32967. break;
  32968. } else if ((state & 1) !== 0) {
  32969. if (t1)
  32970. switch (state) {
  32971. case 69:
  32972. case 67:
  32973. buffer._contents += A.Primitives_stringFromCharCode(_65533);
  32974. break;
  32975. case 65:
  32976. buffer._contents += A.Primitives_stringFromCharCode(_65533);
  32977. --i;
  32978. break;
  32979. default:
  32980. t2 = buffer._contents += A.Primitives_stringFromCharCode(_65533);
  32981. buffer._contents = t2 + A.Primitives_stringFromCharCode(_65533);
  32982. break;
  32983. }
  32984. else {
  32985. _this._convert$_state = state;
  32986. _this._charOrIndex = i - 1;
  32987. return "";
  32988. }
  32989. state = 0;
  32990. }
  32991. if (i === end)
  32992. break $label0$0;
  32993. i0 = i + 1;
  32994. byte = bytes[i];
  32995. }
  32996. i0 = i + 1;
  32997. byte = bytes[i];
  32998. if (byte < 128) {
  32999. while (true) {
  33000. if (!(i0 < end)) {
  33001. markEnd = end;
  33002. break;
  33003. }
  33004. i1 = i0 + 1;
  33005. byte = bytes[i0];
  33006. if (byte >= 128) {
  33007. markEnd = i1 - 1;
  33008. i0 = i1;
  33009. break;
  33010. }
  33011. i0 = i1;
  33012. }
  33013. if (markEnd - i < 20)
  33014. for (m = i; m < markEnd; ++m)
  33015. buffer._contents += A.Primitives_stringFromCharCode(bytes[m]);
  33016. else
  33017. buffer._contents += A.String_String$fromCharCodes(bytes, i, markEnd);
  33018. if (markEnd === end)
  33019. break $label0$0;
  33020. i = i0;
  33021. } else
  33022. i = i0;
  33023. }
  33024. if (single && state > 32)
  33025. if (t1)
  33026. buffer._contents += A.Primitives_stringFromCharCode(_65533);
  33027. else {
  33028. _this._convert$_state = 77;
  33029. _this._charOrIndex = end;
  33030. return "";
  33031. }
  33032. _this._convert$_state = state;
  33033. _this._charOrIndex = char;
  33034. t1 = buffer._contents;
  33035. return t1.charCodeAt(0) == 0 ? t1 : t1;
  33036. }
  33037. };
  33038. A.NoSuchMethodError_toString_closure.prototype = {
  33039. call$2(key, value) {
  33040. var t1 = this.sb,
  33041. t2 = this._box_0,
  33042. t3 = t1._contents += t2.comma;
  33043. t3 += key.__internal$_name;
  33044. t1._contents = t3;
  33045. t1._contents = t3 + ": ";
  33046. t1._contents += A.Error_safeToString(value);
  33047. t2.comma = ", ";
  33048. },
  33049. $signature: 344
  33050. };
  33051. A.DateTime.prototype = {
  33052. $eq(_, other) {
  33053. if (other == null)
  33054. return false;
  33055. return other instanceof A.DateTime && this._value === other._value && true;
  33056. },
  33057. compareTo$1(_, other) {
  33058. return B.JSInt_methods.compareTo$1(this._value, other._value);
  33059. },
  33060. get$hashCode(_) {
  33061. var t1 = this._value;
  33062. return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823;
  33063. },
  33064. toString$0(_) {
  33065. var _this = this,
  33066. y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
  33067. m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
  33068. d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
  33069. h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
  33070. min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
  33071. sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
  33072. ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this));
  33073. return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms;
  33074. },
  33075. $isComparable: 1
  33076. };
  33077. A.Duration.prototype = {
  33078. $eq(_, other) {
  33079. if (other == null)
  33080. return false;
  33081. return other instanceof A.Duration && this._duration === other._duration;
  33082. },
  33083. get$hashCode(_) {
  33084. return B.JSInt_methods.get$hashCode(this._duration);
  33085. },
  33086. compareTo$1(_, other) {
  33087. return B.JSInt_methods.compareTo$1(this._duration, other._duration);
  33088. },
  33089. toString$0(_) {
  33090. var sign, minutes, minutesPadding, seconds, secondsPadding,
  33091. microseconds = this._duration,
  33092. hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000),
  33093. microseconds0 = microseconds % 3600000000;
  33094. if (microseconds < 0) {
  33095. hours = 0 - hours;
  33096. microseconds = 0 - microseconds0;
  33097. sign = "-";
  33098. } else {
  33099. microseconds = microseconds0;
  33100. sign = "";
  33101. }
  33102. minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
  33103. microseconds %= 60000000;
  33104. minutesPadding = minutes < 10 ? "0" : "";
  33105. seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
  33106. secondsPadding = seconds < 10 ? "0" : "";
  33107. return sign + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
  33108. },
  33109. $isComparable: 1
  33110. };
  33111. A._Enum.prototype = {
  33112. toString$0(_) {
  33113. return this._enumToString$0();
  33114. }
  33115. };
  33116. A.Error.prototype = {
  33117. get$stackTrace() {
  33118. return A.getTraceFromException(this.$thrownJsError);
  33119. }
  33120. };
  33121. A.AssertionError.prototype = {
  33122. toString$0(_) {
  33123. var t1 = this.message;
  33124. if (t1 != null)
  33125. return "Assertion failed: " + A.Error_safeToString(t1);
  33126. return "Assertion failed";
  33127. },
  33128. get$message(receiver) {
  33129. return this.message;
  33130. }
  33131. };
  33132. A.TypeError.prototype = {};
  33133. A.ArgumentError.prototype = {
  33134. get$_errorName() {
  33135. return "Invalid argument" + (!this._hasValue ? "(s)" : "");
  33136. },
  33137. get$_errorExplanation() {
  33138. return "";
  33139. },
  33140. toString$0(_) {
  33141. var _this = this,
  33142. $name = _this.name,
  33143. nameString = $name == null ? "" : " (" + $name + ")",
  33144. message = _this.message,
  33145. messageString = message == null ? "" : ": " + A.S(message),
  33146. prefix = _this.get$_errorName() + nameString + messageString;
  33147. if (!_this._hasValue)
  33148. return prefix;
  33149. return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.get$invalidValue());
  33150. },
  33151. get$invalidValue() {
  33152. return this.invalidValue;
  33153. },
  33154. get$message(receiver) {
  33155. return this.message;
  33156. }
  33157. };
  33158. A.RangeError.prototype = {
  33159. get$invalidValue() {
  33160. return this.invalidValue;
  33161. },
  33162. get$_errorName() {
  33163. return "RangeError";
  33164. },
  33165. get$_errorExplanation() {
  33166. var explanation,
  33167. start = this.start,
  33168. end = this.end;
  33169. if (start == null)
  33170. explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
  33171. else if (end == null)
  33172. explanation = ": Not greater than or equal to " + A.S(start);
  33173. else if (end > start)
  33174. explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
  33175. else
  33176. explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
  33177. return explanation;
  33178. }
  33179. };
  33180. A.IndexError.prototype = {
  33181. get$invalidValue() {
  33182. return this.invalidValue;
  33183. },
  33184. get$_errorName() {
  33185. return "RangeError";
  33186. },
  33187. get$_errorExplanation() {
  33188. if (this.invalidValue < 0)
  33189. return ": index must not be negative";
  33190. var t1 = this.length;
  33191. if (t1 === 0)
  33192. return ": no indices are valid";
  33193. return ": index should be less than " + t1;
  33194. },
  33195. $isRangeError: 1,
  33196. get$length(receiver) {
  33197. return this.length;
  33198. }
  33199. };
  33200. A.NoSuchMethodError.prototype = {
  33201. toString$0(_) {
  33202. var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
  33203. sb = new A.StringBuffer("");
  33204. _box_0.comma = "";
  33205. $arguments = _this._core$_arguments;
  33206. for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
  33207. argument = $arguments[_i];
  33208. sb._contents = t2 + t3;
  33209. t2 = sb._contents += A.Error_safeToString(argument);
  33210. _box_0.comma = ", ";
  33211. }
  33212. _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
  33213. receiverText = A.Error_safeToString(_this._core$_receiver);
  33214. actualParameters = sb.toString$0(0);
  33215. return "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
  33216. }
  33217. };
  33218. A.UnsupportedError.prototype = {
  33219. toString$0(_) {
  33220. return "Unsupported operation: " + this.message;
  33221. },
  33222. get$message(receiver) {
  33223. return this.message;
  33224. }
  33225. };
  33226. A.UnimplementedError.prototype = {
  33227. toString$0(_) {
  33228. return "UnimplementedError: " + this.message;
  33229. },
  33230. get$message(receiver) {
  33231. return this.message;
  33232. }
  33233. };
  33234. A.StateError.prototype = {
  33235. toString$0(_) {
  33236. return "Bad state: " + this.message;
  33237. },
  33238. get$message(receiver) {
  33239. return this.message;
  33240. }
  33241. };
  33242. A.ConcurrentModificationError.prototype = {
  33243. toString$0(_) {
  33244. var t1 = this.modifiedObject;
  33245. if (t1 == null)
  33246. return "Concurrent modification during iteration.";
  33247. return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
  33248. }
  33249. };
  33250. A.OutOfMemoryError.prototype = {
  33251. toString$0(_) {
  33252. return "Out of Memory";
  33253. },
  33254. get$stackTrace() {
  33255. return null;
  33256. },
  33257. $isError: 1
  33258. };
  33259. A.StackOverflowError.prototype = {
  33260. toString$0(_) {
  33261. return "Stack Overflow";
  33262. },
  33263. get$stackTrace() {
  33264. return null;
  33265. },
  33266. $isError: 1
  33267. };
  33268. A._Exception.prototype = {
  33269. toString$0(_) {
  33270. return "Exception: " + this.message;
  33271. },
  33272. $isException: 1,
  33273. get$message(receiver) {
  33274. return this.message;
  33275. }
  33276. };
  33277. A.FormatException.prototype = {
  33278. toString$0(_) {
  33279. var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix,
  33280. message = this.message,
  33281. report = "" !== message ? "FormatException: " + message : "FormatException",
  33282. offset = this.offset,
  33283. source = this.source;
  33284. if (typeof source == "string") {
  33285. if (offset != null)
  33286. t1 = offset < 0 || offset > source.length;
  33287. else
  33288. t1 = false;
  33289. if (t1)
  33290. offset = null;
  33291. if (offset == null) {
  33292. if (source.length > 78)
  33293. source = B.JSString_methods.substring$2(source, 0, 75) + "...";
  33294. return report + "\n" + source;
  33295. }
  33296. for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
  33297. char = B.JSString_methods._codeUnitAt$1(source, i);
  33298. if (char === 10) {
  33299. if (lineStart !== i || !previousCharWasCR)
  33300. ++lineNum;
  33301. lineStart = i + 1;
  33302. previousCharWasCR = false;
  33303. } else if (char === 13) {
  33304. ++lineNum;
  33305. lineStart = i + 1;
  33306. previousCharWasCR = true;
  33307. }
  33308. }
  33309. report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
  33310. lineEnd = source.length;
  33311. for (i = offset; i < lineEnd; ++i) {
  33312. char = B.JSString_methods.codeUnitAt$1(source, i);
  33313. if (char === 10 || char === 13) {
  33314. lineEnd = i;
  33315. break;
  33316. }
  33317. }
  33318. if (lineEnd - lineStart > 78)
  33319. if (offset - lineStart < 75) {
  33320. end = lineStart + 75;
  33321. start = lineStart;
  33322. prefix = "";
  33323. postfix = "...";
  33324. } else {
  33325. if (lineEnd - offset < 75) {
  33326. start = lineEnd - 75;
  33327. end = lineEnd;
  33328. postfix = "";
  33329. } else {
  33330. start = offset - 36;
  33331. end = offset + 36;
  33332. postfix = "...";
  33333. }
  33334. prefix = "...";
  33335. }
  33336. else {
  33337. end = lineEnd;
  33338. start = lineStart;
  33339. prefix = "";
  33340. postfix = "";
  33341. }
  33342. return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
  33343. } else
  33344. return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
  33345. },
  33346. $isException: 1,
  33347. get$message(receiver) {
  33348. return this.message;
  33349. }
  33350. };
  33351. A.Iterable.prototype = {
  33352. cast$1$0(_, $R) {
  33353. return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
  33354. },
  33355. followedBy$1(_, other) {
  33356. var _this = this,
  33357. t1 = A._instanceType(_this);
  33358. if (t1._eval$1("EfficientLengthIterable<Iterable.E>")._is(_this))
  33359. return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, t1._eval$1("Iterable.E"));
  33360. return new A.FollowedByIterable(_this, other, t1._eval$1("FollowedByIterable<Iterable.E>"));
  33361. },
  33362. map$1$1(_, toElement, $T) {
  33363. return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
  33364. },
  33365. where$1(_, test) {
  33366. return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
  33367. },
  33368. expand$1$1(_, toElements, $T) {
  33369. return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  33370. },
  33371. contains$1(_, element) {
  33372. var t1;
  33373. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  33374. if (J.$eq$(t1.get$current(t1), element))
  33375. return true;
  33376. return false;
  33377. },
  33378. fold$1$2(_, initialValue, combine) {
  33379. var t1, value;
  33380. for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
  33381. value = combine.call$2(value, t1.get$current(t1));
  33382. return value;
  33383. },
  33384. fold$2($receiver, initialValue, combine) {
  33385. return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
  33386. },
  33387. join$1(_, separator) {
  33388. var first, t1,
  33389. iterator = this.get$iterator(this);
  33390. if (!iterator.moveNext$0())
  33391. return "";
  33392. first = J.toString$0$(iterator.get$current(iterator));
  33393. if (!iterator.moveNext$0())
  33394. return first;
  33395. if (separator.length === 0) {
  33396. t1 = first;
  33397. do
  33398. t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
  33399. while (iterator.moveNext$0());
  33400. } else {
  33401. t1 = first;
  33402. do
  33403. t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
  33404. while (iterator.moveNext$0());
  33405. }
  33406. return t1.charCodeAt(0) == 0 ? t1 : t1;
  33407. },
  33408. join$0($receiver) {
  33409. return this.join$1($receiver, "");
  33410. },
  33411. any$1(_, test) {
  33412. var t1;
  33413. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  33414. if (test.call$1(t1.get$current(t1)))
  33415. return true;
  33416. return false;
  33417. },
  33418. toList$1$growable(_, growable) {
  33419. return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E"));
  33420. },
  33421. toList$0($receiver) {
  33422. return this.toList$1$growable($receiver, true);
  33423. },
  33424. toSet$0(_) {
  33425. return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
  33426. },
  33427. get$length(_) {
  33428. var count,
  33429. it = this.get$iterator(this);
  33430. for (count = 0; it.moveNext$0();)
  33431. ++count;
  33432. return count;
  33433. },
  33434. get$isEmpty(_) {
  33435. return !this.get$iterator(this).moveNext$0();
  33436. },
  33437. get$isNotEmpty(_) {
  33438. return !this.get$isEmpty(this);
  33439. },
  33440. take$1(_, count) {
  33441. return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  33442. },
  33443. skip$1(_, count) {
  33444. return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  33445. },
  33446. skipWhile$1(_, test) {
  33447. return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
  33448. },
  33449. get$first(_) {
  33450. var it = this.get$iterator(this);
  33451. if (!it.moveNext$0())
  33452. throw A.wrapException(A.IterableElementError_noElement());
  33453. return it.get$current(it);
  33454. },
  33455. get$last(_) {
  33456. var result,
  33457. it = this.get$iterator(this);
  33458. if (!it.moveNext$0())
  33459. throw A.wrapException(A.IterableElementError_noElement());
  33460. do
  33461. result = it.get$current(it);
  33462. while (it.moveNext$0());
  33463. return result;
  33464. },
  33465. get$single(_) {
  33466. var result,
  33467. it = this.get$iterator(this);
  33468. if (!it.moveNext$0())
  33469. throw A.wrapException(A.IterableElementError_noElement());
  33470. result = it.get$current(it);
  33471. if (it.moveNext$0())
  33472. throw A.wrapException(A.IterableElementError_tooMany());
  33473. return result;
  33474. },
  33475. elementAt$1(_, index) {
  33476. var iterator, skipCount;
  33477. A.RangeError_checkNotNegative(index, "index");
  33478. iterator = this.get$iterator(this);
  33479. for (skipCount = index; iterator.moveNext$0();) {
  33480. if (skipCount === 0)
  33481. return iterator.get$current(iterator);
  33482. --skipCount;
  33483. }
  33484. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  33485. },
  33486. toString$0(_) {
  33487. return A.Iterable_iterableToShortString(this, "(", ")");
  33488. }
  33489. };
  33490. A._GeneratorIterable.prototype = {
  33491. elementAt$1(_, index) {
  33492. A.IndexError_check(index, this.length, this, null, null);
  33493. return this._generator.call$1(index);
  33494. },
  33495. get$length(receiver) {
  33496. return this.length;
  33497. }
  33498. };
  33499. A.MapEntry.prototype = {
  33500. toString$0(_) {
  33501. return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
  33502. }
  33503. };
  33504. A.Null.prototype = {
  33505. get$hashCode(_) {
  33506. return A.Object.prototype.get$hashCode.call(this, this);
  33507. },
  33508. toString$0(_) {
  33509. return "null";
  33510. }
  33511. };
  33512. A.Object.prototype = {$isObject: 1,
  33513. $eq(_, other) {
  33514. return this === other;
  33515. },
  33516. get$hashCode(_) {
  33517. return A.Primitives_objectHashCode(this);
  33518. },
  33519. toString$0(_) {
  33520. return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
  33521. },
  33522. noSuchMethod$1(_, invocation) {
  33523. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, invocation));
  33524. },
  33525. get$runtimeType(_) {
  33526. return A.getRuntimeTypeOfDartObject(this);
  33527. },
  33528. toString() {
  33529. return this.toString$0(this);
  33530. }
  33531. };
  33532. A._StringStackTrace.prototype = {
  33533. toString$0(_) {
  33534. return this._stackTrace;
  33535. },
  33536. $isStackTrace: 1
  33537. };
  33538. A.Runes.prototype = {
  33539. get$iterator(_) {
  33540. return new A.RuneIterator(this.string);
  33541. },
  33542. get$last(_) {
  33543. var code, previousCode,
  33544. t1 = this.string,
  33545. t2 = t1.length;
  33546. if (t2 === 0)
  33547. throw A.wrapException(A.StateError$("No elements."));
  33548. code = B.JSString_methods.codeUnitAt$1(t1, t2 - 1);
  33549. if ((code & 64512) === 56320 && t2 > 1) {
  33550. previousCode = B.JSString_methods.codeUnitAt$1(t1, t2 - 2);
  33551. if ((previousCode & 64512) === 55296)
  33552. return A._combineSurrogatePair(previousCode, code);
  33553. }
  33554. return code;
  33555. }
  33556. };
  33557. A.RuneIterator.prototype = {
  33558. get$current(_) {
  33559. return this._currentCodePoint;
  33560. },
  33561. moveNext$0() {
  33562. var codeUnit, nextPosition, nextCodeUnit, _this = this,
  33563. t1 = _this._position = _this._nextPosition,
  33564. t2 = _this.string,
  33565. t3 = t2.length;
  33566. if (t1 === t3) {
  33567. _this._currentCodePoint = -1;
  33568. return false;
  33569. }
  33570. codeUnit = B.JSString_methods._codeUnitAt$1(t2, t1);
  33571. nextPosition = t1 + 1;
  33572. if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
  33573. nextCodeUnit = B.JSString_methods._codeUnitAt$1(t2, nextPosition);
  33574. if ((nextCodeUnit & 64512) === 56320) {
  33575. _this._nextPosition = nextPosition + 1;
  33576. _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
  33577. return true;
  33578. }
  33579. }
  33580. _this._nextPosition = nextPosition;
  33581. _this._currentCodePoint = codeUnit;
  33582. return true;
  33583. }
  33584. };
  33585. A.StringBuffer.prototype = {
  33586. get$length(_) {
  33587. return this._contents.length;
  33588. },
  33589. write$1(_, obj) {
  33590. this._contents += A.S(obj);
  33591. },
  33592. writeCharCode$1(charCode) {
  33593. this._contents += A.Primitives_stringFromCharCode(charCode);
  33594. },
  33595. toString$0(_) {
  33596. var t1 = this._contents;
  33597. return t1.charCodeAt(0) == 0 ? t1 : t1;
  33598. }
  33599. };
  33600. A.Uri__parseIPv4Address_error.prototype = {
  33601. call$2(msg, position) {
  33602. throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
  33603. },
  33604. $signature: 350
  33605. };
  33606. A.Uri_parseIPv6Address_error.prototype = {
  33607. call$2(msg, position) {
  33608. throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
  33609. },
  33610. $signature: 379
  33611. };
  33612. A.Uri_parseIPv6Address_parseHex.prototype = {
  33613. call$2(start, end) {
  33614. var value;
  33615. if (end - start > 4)
  33616. this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
  33617. value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
  33618. if (value < 0 || value > 65535)
  33619. this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
  33620. return value;
  33621. },
  33622. $signature: 409
  33623. };
  33624. A._Uri.prototype = {
  33625. get$_core$_text() {
  33626. var t1, t2, t3, t4, _this = this,
  33627. value = _this.___Uri__text_FI;
  33628. if (value === $) {
  33629. t1 = _this.scheme;
  33630. t2 = t1.length !== 0 ? "" + t1 + ":" : "";
  33631. t3 = _this._host;
  33632. t4 = t3 == null;
  33633. if (!t4 || t1 === "file") {
  33634. t1 = t2 + "//";
  33635. t2 = _this._userInfo;
  33636. if (t2.length !== 0)
  33637. t1 = t1 + t2 + "@";
  33638. if (!t4)
  33639. t1 += t3;
  33640. t2 = _this._port;
  33641. if (t2 != null)
  33642. t1 = t1 + ":" + A.S(t2);
  33643. } else
  33644. t1 = t2;
  33645. t1 += _this.path;
  33646. t2 = _this._query;
  33647. if (t2 != null)
  33648. t1 = t1 + "?" + t2;
  33649. t2 = _this._fragment;
  33650. if (t2 != null)
  33651. t1 = t1 + "#" + t2;
  33652. value !== $ && A.throwUnnamedLateFieldADI();
  33653. value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1;
  33654. }
  33655. return value;
  33656. },
  33657. get$pathSegments() {
  33658. var pathToSplit, result, _this = this,
  33659. value = _this.___Uri_pathSegments_FI;
  33660. if (value === $) {
  33661. pathToSplit = _this.path;
  33662. if (pathToSplit.length !== 0 && B.JSString_methods._codeUnitAt$1(pathToSplit, 0) === 47)
  33663. pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
  33664. 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);
  33665. _this.___Uri_pathSegments_FI !== $ && A.throwUnnamedLateFieldADI();
  33666. value = _this.___Uri_pathSegments_FI = result;
  33667. }
  33668. return value;
  33669. },
  33670. get$hashCode(_) {
  33671. var result, _this = this,
  33672. value = _this.___Uri_hashCode_FI;
  33673. if (value === $) {
  33674. result = B.JSString_methods.get$hashCode(_this.get$_core$_text());
  33675. _this.___Uri_hashCode_FI !== $ && A.throwUnnamedLateFieldADI();
  33676. _this.___Uri_hashCode_FI = result;
  33677. value = result;
  33678. }
  33679. return value;
  33680. },
  33681. get$userInfo() {
  33682. return this._userInfo;
  33683. },
  33684. get$host() {
  33685. var host = this._host;
  33686. if (host == null)
  33687. return "";
  33688. if (B.JSString_methods.startsWith$1(host, "["))
  33689. return B.JSString_methods.substring$2(host, 1, host.length - 1);
  33690. return host;
  33691. },
  33692. get$port(_) {
  33693. var t1 = this._port;
  33694. return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
  33695. },
  33696. get$query() {
  33697. var t1 = this._query;
  33698. return t1 == null ? "" : t1;
  33699. },
  33700. get$fragment() {
  33701. var t1 = this._fragment;
  33702. return t1 == null ? "" : t1;
  33703. },
  33704. isScheme$1(scheme) {
  33705. var thisScheme = this.scheme;
  33706. if (scheme.length !== thisScheme.length)
  33707. return false;
  33708. return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0;
  33709. },
  33710. _mergePaths$2(base, reference) {
  33711. var backCount, refStart, baseEnd, newEnd, delta, t1;
  33712. for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
  33713. refStart += 3;
  33714. ++backCount;
  33715. }
  33716. baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
  33717. while (true) {
  33718. if (!(baseEnd > 0 && backCount > 0))
  33719. break;
  33720. newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
  33721. if (newEnd < 0)
  33722. break;
  33723. delta = baseEnd - newEnd;
  33724. t1 = delta !== 2;
  33725. if (!t1 || delta === 3)
  33726. if (B.JSString_methods.codeUnitAt$1(base, newEnd + 1) === 46)
  33727. t1 = !t1 || B.JSString_methods.codeUnitAt$1(base, newEnd + 2) === 46;
  33728. else
  33729. t1 = false;
  33730. else
  33731. t1 = false;
  33732. if (t1)
  33733. break;
  33734. --backCount;
  33735. baseEnd = newEnd;
  33736. }
  33737. return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
  33738. },
  33739. resolve$1(reference) {
  33740. return this.resolveUri$1(A.Uri_parse(reference));
  33741. },
  33742. resolveUri$1(reference) {
  33743. var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, t1, _this = this, _null = null;
  33744. if (reference.get$scheme().length !== 0) {
  33745. targetScheme = reference.get$scheme();
  33746. if (reference.get$hasAuthority()) {
  33747. targetUserInfo = reference.get$userInfo();
  33748. targetHost = reference.get$host();
  33749. targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
  33750. } else {
  33751. targetPort = _null;
  33752. targetHost = targetPort;
  33753. targetUserInfo = "";
  33754. }
  33755. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  33756. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  33757. } else {
  33758. targetScheme = _this.scheme;
  33759. if (reference.get$hasAuthority()) {
  33760. targetUserInfo = reference.get$userInfo();
  33761. targetHost = reference.get$host();
  33762. targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
  33763. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  33764. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  33765. } else {
  33766. targetUserInfo = _this._userInfo;
  33767. targetHost = _this._host;
  33768. targetPort = _this._port;
  33769. targetPath = _this.path;
  33770. if (reference.get$path(reference) === "")
  33771. targetQuery = reference.get$hasQuery() ? reference.get$query() : _this._query;
  33772. else {
  33773. packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
  33774. if (packageNameEnd > 0) {
  33775. packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
  33776. 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)));
  33777. } else if (reference.get$hasAbsolutePath())
  33778. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  33779. else if (targetPath.length === 0)
  33780. if (targetHost == null)
  33781. targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
  33782. else
  33783. targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
  33784. else {
  33785. mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
  33786. t1 = targetScheme.length === 0;
  33787. if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
  33788. targetPath = A._Uri__removeDotSegments(mergedPath);
  33789. else
  33790. targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
  33791. }
  33792. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  33793. }
  33794. }
  33795. }
  33796. return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : _null);
  33797. },
  33798. get$hasAuthority() {
  33799. return this._host != null;
  33800. },
  33801. get$hasPort() {
  33802. return this._port != null;
  33803. },
  33804. get$hasQuery() {
  33805. return this._query != null;
  33806. },
  33807. get$hasFragment() {
  33808. return this._fragment != null;
  33809. },
  33810. get$hasAbsolutePath() {
  33811. return B.JSString_methods.startsWith$1(this.path, "/");
  33812. },
  33813. toFilePath$0() {
  33814. var pathSegments, _this = this,
  33815. t1 = _this.scheme;
  33816. if (t1 !== "" && t1 !== "file")
  33817. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
  33818. t1 = _this._query;
  33819. if ((t1 == null ? "" : t1) !== "")
  33820. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  33821. t1 = _this._fragment;
  33822. if ((t1 == null ? "" : t1) !== "")
  33823. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  33824. t1 = $.$get$_Uri__isWindowsCached();
  33825. if (t1)
  33826. t1 = A._Uri__toWindowsFilePath(_this);
  33827. else {
  33828. if (_this._host != null && _this.get$host() !== "")
  33829. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  33830. pathSegments = _this.get$pathSegments();
  33831. A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
  33832. t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
  33833. t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
  33834. }
  33835. return t1;
  33836. },
  33837. toString$0(_) {
  33838. return this.get$_core$_text();
  33839. },
  33840. $eq(_, other) {
  33841. var t1, t2, _this = this;
  33842. if (other == null)
  33843. return false;
  33844. if (_this === other)
  33845. return true;
  33846. if (type$.Uri._is(other))
  33847. if (_this.scheme === other.get$scheme())
  33848. if (_this._host != null === other.get$hasAuthority())
  33849. if (_this._userInfo === other.get$userInfo())
  33850. if (_this.get$host() === other.get$host())
  33851. if (_this.get$port(_this) === other.get$port(other))
  33852. if (_this.path === other.get$path(other)) {
  33853. t1 = _this._query;
  33854. t2 = t1 == null;
  33855. if (!t2 === other.get$hasQuery()) {
  33856. if (t2)
  33857. t1 = "";
  33858. if (t1 === other.get$query()) {
  33859. t1 = _this._fragment;
  33860. t2 = t1 == null;
  33861. if (!t2 === other.get$hasFragment()) {
  33862. if (t2)
  33863. t1 = "";
  33864. t1 = t1 === other.get$fragment();
  33865. } else
  33866. t1 = false;
  33867. } else
  33868. t1 = false;
  33869. } else
  33870. t1 = false;
  33871. } else
  33872. t1 = false;
  33873. else
  33874. t1 = false;
  33875. else
  33876. t1 = false;
  33877. else
  33878. t1 = false;
  33879. else
  33880. t1 = false;
  33881. else
  33882. t1 = false;
  33883. else
  33884. t1 = false;
  33885. return t1;
  33886. },
  33887. $isUri: 1,
  33888. get$scheme() {
  33889. return this.scheme;
  33890. },
  33891. get$path(receiver) {
  33892. return this.path;
  33893. }
  33894. };
  33895. A._Uri__makePath_closure.prototype = {
  33896. call$1(s) {
  33897. return A._Uri__uriEncode(B.List_XRg0, s, B.C_Utf8Codec, false);
  33898. },
  33899. $signature: 5
  33900. };
  33901. A.UriData.prototype = {
  33902. get$uri() {
  33903. var t2, queryIndex, end, query, _this = this, _null = null,
  33904. t1 = _this._uriCache;
  33905. if (t1 == null) {
  33906. t1 = _this._core$_text;
  33907. t2 = _this._separatorIndices[0] + 1;
  33908. queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
  33909. end = t1.length;
  33910. if (queryIndex >= 0) {
  33911. query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, B.List_oFp, false, false);
  33912. end = queryIndex;
  33913. } else
  33914. query = _null;
  33915. t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, B.List_XRg, false, false), query, _null);
  33916. }
  33917. return t1;
  33918. },
  33919. toString$0(_) {
  33920. var t1 = this._core$_text;
  33921. return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
  33922. }
  33923. };
  33924. A._createTables_build.prototype = {
  33925. call$2(state, defaultTransition) {
  33926. var t1 = this.tables[state];
  33927. B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition);
  33928. return t1;
  33929. },
  33930. $signature: 436
  33931. };
  33932. A._createTables_setChars.prototype = {
  33933. call$3(target, chars, transition) {
  33934. var t1, i;
  33935. for (t1 = chars.length, i = 0; i < t1; ++i)
  33936. target[B.JSString_methods._codeUnitAt$1(chars, i) ^ 96] = transition;
  33937. },
  33938. $signature: 221
  33939. };
  33940. A._createTables_setRange.prototype = {
  33941. call$3(target, range, transition) {
  33942. var i, n;
  33943. for (i = B.JSString_methods._codeUnitAt$1(range, 0), n = B.JSString_methods._codeUnitAt$1(range, 1); i <= n; ++i)
  33944. target[(i ^ 96) >>> 0] = transition;
  33945. },
  33946. $signature: 221
  33947. };
  33948. A._SimpleUri.prototype = {
  33949. get$hasAuthority() {
  33950. return this._hostStart > 0;
  33951. },
  33952. get$hasPort() {
  33953. return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
  33954. },
  33955. get$hasQuery() {
  33956. return this._queryStart < this._fragmentStart;
  33957. },
  33958. get$hasFragment() {
  33959. return this._fragmentStart < this._uri.length;
  33960. },
  33961. get$hasAbsolutePath() {
  33962. return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
  33963. },
  33964. get$scheme() {
  33965. var t1 = this._schemeCache;
  33966. return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
  33967. },
  33968. _computeScheme$0() {
  33969. var t2, _this = this,
  33970. t1 = _this._schemeEnd;
  33971. if (t1 <= 0)
  33972. return "";
  33973. t2 = t1 === 4;
  33974. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  33975. return "http";
  33976. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  33977. return "https";
  33978. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
  33979. return "file";
  33980. if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
  33981. return "package";
  33982. return B.JSString_methods.substring$2(_this._uri, 0, t1);
  33983. },
  33984. get$userInfo() {
  33985. var t1 = this._hostStart,
  33986. t2 = this._schemeEnd + 3;
  33987. return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
  33988. },
  33989. get$host() {
  33990. var t1 = this._hostStart;
  33991. return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
  33992. },
  33993. get$port(_) {
  33994. var t1, _this = this;
  33995. if (_this.get$hasPort())
  33996. return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
  33997. t1 = _this._schemeEnd;
  33998. if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  33999. return 80;
  34000. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  34001. return 443;
  34002. return 0;
  34003. },
  34004. get$path(_) {
  34005. return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
  34006. },
  34007. get$query() {
  34008. var t1 = this._queryStart,
  34009. t2 = this._fragmentStart;
  34010. return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
  34011. },
  34012. get$fragment() {
  34013. var t1 = this._fragmentStart,
  34014. t2 = this._uri;
  34015. return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
  34016. },
  34017. get$pathSegments() {
  34018. var parts, i,
  34019. start = this._pathStart,
  34020. end = this._queryStart,
  34021. t1 = this._uri;
  34022. if (B.JSString_methods.startsWith$2(t1, "/", start))
  34023. ++start;
  34024. if (start === end)
  34025. return B.List_empty;
  34026. parts = A._setArrayType([], type$.JSArray_String);
  34027. for (i = start; i < end; ++i)
  34028. if (B.JSString_methods.codeUnitAt$1(t1, i) === 47) {
  34029. parts.push(B.JSString_methods.substring$2(t1, start, i));
  34030. start = i + 1;
  34031. }
  34032. parts.push(B.JSString_methods.substring$2(t1, start, end));
  34033. return A.List_List$unmodifiable(parts, type$.String);
  34034. },
  34035. _isPort$1(port) {
  34036. var portDigitStart = this._portStart + 1;
  34037. return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
  34038. },
  34039. removeFragment$0() {
  34040. var _this = this,
  34041. t1 = _this._fragmentStart,
  34042. t2 = _this._uri;
  34043. if (t1 >= t2.length)
  34044. return _this;
  34045. 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);
  34046. },
  34047. resolve$1(reference) {
  34048. return this.resolveUri$1(A.Uri_parse(reference));
  34049. },
  34050. resolveUri$1(reference) {
  34051. if (reference instanceof A._SimpleUri)
  34052. return this._simpleMerge$2(this, reference);
  34053. return this._toNonSimple$0().resolveUri$1(reference);
  34054. },
  34055. _simpleMerge$2(base, ref) {
  34056. var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
  34057. t1 = ref._schemeEnd;
  34058. if (t1 > 0)
  34059. return ref;
  34060. t2 = ref._hostStart;
  34061. if (t2 > 0) {
  34062. t3 = base._schemeEnd;
  34063. if (t3 <= 0)
  34064. return ref;
  34065. t4 = t3 === 4;
  34066. if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
  34067. isSimple = ref._pathStart !== ref._queryStart;
  34068. else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
  34069. isSimple = !ref._isPort$1("80");
  34070. else
  34071. isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
  34072. if (isSimple) {
  34073. delta = t3 + 1;
  34074. 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);
  34075. } else
  34076. return this._toNonSimple$0().resolveUri$1(ref);
  34077. }
  34078. refStart = ref._pathStart;
  34079. t1 = ref._queryStart;
  34080. if (refStart === t1) {
  34081. t2 = ref._fragmentStart;
  34082. if (t1 < t2) {
  34083. t3 = base._queryStart;
  34084. delta = t3 - t1;
  34085. 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);
  34086. }
  34087. t1 = ref._uri;
  34088. if (t2 < t1.length) {
  34089. t3 = base._fragmentStart;
  34090. 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);
  34091. }
  34092. return base.removeFragment$0();
  34093. }
  34094. t2 = ref._uri;
  34095. if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
  34096. basePathStart = base._pathStart;
  34097. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  34098. basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
  34099. delta = basePathStart0 - refStart;
  34100. 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);
  34101. }
  34102. baseStart = base._pathStart;
  34103. baseEnd = base._queryStart;
  34104. if (baseStart === baseEnd && base._hostStart > 0) {
  34105. for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
  34106. refStart += 3;
  34107. delta = baseStart - refStart + 1;
  34108. 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);
  34109. }
  34110. baseUri = base._uri;
  34111. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  34112. if (packageNameEnd >= 0)
  34113. baseStart0 = packageNameEnd;
  34114. else
  34115. for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
  34116. baseStart0 += 3;
  34117. backCount = 0;
  34118. while (true) {
  34119. refStart0 = refStart + 3;
  34120. if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
  34121. break;
  34122. ++backCount;
  34123. refStart = refStart0;
  34124. }
  34125. for (insert = ""; baseEnd > baseStart0;) {
  34126. --baseEnd;
  34127. if (B.JSString_methods.codeUnitAt$1(baseUri, baseEnd) === 47) {
  34128. if (backCount === 0) {
  34129. insert = "/";
  34130. break;
  34131. }
  34132. --backCount;
  34133. insert = "/";
  34134. }
  34135. }
  34136. if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
  34137. refStart -= backCount * 3;
  34138. insert = "";
  34139. }
  34140. delta = baseEnd - refStart + insert.length;
  34141. 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);
  34142. },
  34143. toFilePath$0() {
  34144. var t2, t3, _this = this,
  34145. t1 = _this._schemeEnd;
  34146. if (t1 >= 0) {
  34147. t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
  34148. t1 = t2;
  34149. } else
  34150. t1 = false;
  34151. if (t1)
  34152. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
  34153. t1 = _this._queryStart;
  34154. t2 = _this._uri;
  34155. if (t1 < t2.length) {
  34156. if (t1 < _this._fragmentStart)
  34157. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  34158. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  34159. }
  34160. t3 = $.$get$_Uri__isWindowsCached();
  34161. if (t3)
  34162. t1 = A._Uri__toWindowsFilePath(_this);
  34163. else {
  34164. if (_this._hostStart < _this._portStart)
  34165. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  34166. t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
  34167. }
  34168. return t1;
  34169. },
  34170. get$hashCode(_) {
  34171. var t1 = this._hashCodeCache;
  34172. return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
  34173. },
  34174. $eq(_, other) {
  34175. if (other == null)
  34176. return false;
  34177. if (this === other)
  34178. return true;
  34179. return type$.Uri._is(other) && this._uri === other.toString$0(0);
  34180. },
  34181. _toNonSimple$0() {
  34182. var _this = this, _null = null,
  34183. t1 = _this.get$scheme(),
  34184. t2 = _this.get$userInfo(),
  34185. t3 = _this._hostStart > 0 ? _this.get$host() : _null,
  34186. t4 = _this.get$hasPort() ? _this.get$port(_this) : _null,
  34187. t5 = _this._uri,
  34188. t6 = _this._queryStart,
  34189. t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
  34190. t8 = _this._fragmentStart;
  34191. t6 = t6 < t8 ? _this.get$query() : _null;
  34192. return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
  34193. },
  34194. toString$0(_) {
  34195. return this._uri;
  34196. },
  34197. $isUri: 1
  34198. };
  34199. A._DataUri.prototype = {};
  34200. A.Expando.prototype = {
  34201. $indexSet(_, object, value) {
  34202. this._jsWeakMap.set(object, value);
  34203. },
  34204. toString$0(_) {
  34205. return "Expando:null";
  34206. }
  34207. };
  34208. A.jsify__convert.prototype = {
  34209. call$1(o) {
  34210. var t1, convertedMap, key, convertedList;
  34211. if (A._noJsifyRequired(o))
  34212. return o;
  34213. t1 = this._convertedObjects;
  34214. if (t1.containsKey$1(o))
  34215. return t1.$index(0, o);
  34216. if (type$.Map_of_nullable_Object_and_nullable_Object._is(o)) {
  34217. convertedMap = {};
  34218. t1.$indexSet(0, o, convertedMap);
  34219. for (t1 = J.get$iterator$ax(o.get$keys(o)); t1.moveNext$0();) {
  34220. key = t1.get$current(t1);
  34221. convertedMap[key] = this.call$1(o.$index(0, key));
  34222. }
  34223. return convertedMap;
  34224. } else if (type$.Iterable_nullable_Object._is(o)) {
  34225. convertedList = [];
  34226. t1.$indexSet(0, o, convertedList);
  34227. B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
  34228. return convertedList;
  34229. } else
  34230. return o;
  34231. },
  34232. $signature: 586
  34233. };
  34234. A._JSRandom.prototype = {
  34235. nextInt$1(max) {
  34236. if (max <= 0 || max > 4294967296)
  34237. throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
  34238. return Math.random() * max >>> 0;
  34239. },
  34240. nextDouble$0() {
  34241. return Math.random();
  34242. }
  34243. };
  34244. A.ArgParser.prototype = {
  34245. addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
  34246. var _null = null;
  34247. this._addOption$12$aliases$hide$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_nMZ, B.List_empty, hide, negatable);
  34248. },
  34249. addFlag$2$hide($name, hide) {
  34250. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
  34251. },
  34252. addFlag$2$help($name, help) {
  34253. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
  34254. },
  34255. addFlag$3$defaultsTo$help($name, defaultsTo, help) {
  34256. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
  34257. },
  34258. addFlag$3$help$negatable($name, help, negatable) {
  34259. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
  34260. },
  34261. addFlag$3$abbr$help($name, abbr, help) {
  34262. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
  34263. },
  34264. addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
  34265. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
  34266. },
  34267. addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
  34268. this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_YwU, B.List_empty, hide, false);
  34269. },
  34270. addOption$2$hide($name, hide) {
  34271. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, null, null, null, hide, null);
  34272. },
  34273. addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
  34274. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
  34275. },
  34276. addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
  34277. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
  34278. },
  34279. addMultiOption$6$abbr$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowedHelp, help, splitCommas, valueHelp) {
  34280. var t1 = A._setArrayType([], type$.JSArray_String);
  34281. this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, null, allowedHelp, t1, null, B.OptionType_qyr, B.List_empty, false, splitCommas);
  34282. },
  34283. addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
  34284. return this.addMultiOption$6$abbr$allowedHelp$help$splitCommas$valueHelp($name, abbr, null, help, splitCommas, valueHelp);
  34285. },
  34286. addMultiOption$3$allowedHelp$help($name, allowedHelp, help) {
  34287. return this.addMultiOption$6$abbr$allowedHelp$help$splitCommas$valueHelp($name, null, allowedHelp, help, true, null);
  34288. },
  34289. _addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, negatable, splitCommas) {
  34290. var existing, t2, t3, option, _i, _this = this, _null = null,
  34291. t1 = A._setArrayType([$name], type$.JSArray_String);
  34292. B.JSArray_methods.addAll$1(t1, aliases);
  34293. if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
  34294. throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
  34295. t1 = abbr != null;
  34296. if (t1) {
  34297. existing = _this.findByAbbreviation$1(abbr);
  34298. if (existing != null)
  34299. throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
  34300. }
  34301. t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
  34302. if (allowedHelp == null)
  34303. t3 = _null;
  34304. else {
  34305. t3 = type$.String;
  34306. t3 = A.ConstantMap_ConstantMap$from(allowedHelp, t3, t3);
  34307. }
  34308. option = new A.Option($name, abbr, help, valueHelp, t2, t3, defaultsTo, negatable, callback, type, splitCommas == null ? type === B.OptionType_qyr : splitCommas, false, hide);
  34309. if ($name.length === 0)
  34310. A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
  34311. else if (B.JSString_methods.startsWith$1($name, "-"))
  34312. A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
  34313. t2 = $.$get$Option__invalidChars()._nativeRegExp;
  34314. if (t2.test($name))
  34315. A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
  34316. if (t1) {
  34317. if (abbr.length !== 1)
  34318. A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
  34319. else if (abbr === "-")
  34320. A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
  34321. if (t2.test(abbr))
  34322. A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
  34323. }
  34324. _this._arg_parser$_options.$indexSet(0, $name, option);
  34325. _this._optionsAndSeparators.push(option);
  34326. for (t1 = _this._aliases, _i = 0; false; ++_i)
  34327. t1.$indexSet(0, aliases[_i], $name);
  34328. },
  34329. _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
  34330. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, splitCommas);
  34331. },
  34332. _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
  34333. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, false, null);
  34334. },
  34335. _addOption$12$aliases$hide$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, negatable) {
  34336. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, negatable, null);
  34337. },
  34338. findByAbbreviation$1(abbr) {
  34339. var t1, t2;
  34340. for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  34341. t2 = t1.get$current(t1);
  34342. if (t2.abbr === abbr)
  34343. return t2;
  34344. }
  34345. return null;
  34346. },
  34347. findByNameOrAlias$1($name) {
  34348. var t1 = this._aliases.$index(0, $name);
  34349. if (t1 == null)
  34350. t1 = $name;
  34351. return this.options._map.$index(0, t1);
  34352. }
  34353. };
  34354. A.ArgParser__addOption_closure.prototype = {
  34355. call$1($name) {
  34356. return this.$this.findByNameOrAlias$1($name) != null;
  34357. },
  34358. $signature: 8
  34359. };
  34360. A.ArgParserException.prototype = {};
  34361. A.ArgResults.prototype = {
  34362. $index(_, $name) {
  34363. var t1 = this._parser.options._map;
  34364. if (!t1.containsKey$1($name))
  34365. throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
  34366. t1 = t1.$index(0, $name);
  34367. t1.toString;
  34368. return t1.valueOrDefault$1(this._parsed.$index(0, $name));
  34369. },
  34370. wasParsed$1($name) {
  34371. if (!this._parser.options._map.containsKey$1($name))
  34372. throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
  34373. return this._parsed.containsKey$1($name);
  34374. }
  34375. };
  34376. A.Option.prototype = {
  34377. valueOrDefault$1(value) {
  34378. var t1;
  34379. if (value != null)
  34380. return value;
  34381. if (this.type === B.OptionType_qyr) {
  34382. t1 = this.defaultsTo;
  34383. return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
  34384. }
  34385. return this.defaultsTo;
  34386. }
  34387. };
  34388. A.OptionType.prototype = {};
  34389. A.Parser0.prototype = {
  34390. parse$0() {
  34391. var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, t7, t8, command, exception, _this = this,
  34392. t2 = _this._args;
  34393. t2.toList$0(0);
  34394. commandResults = null;
  34395. for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands, t6 = t2.$ti._precomputed1; !t2.get$isEmpty(t2);) {
  34396. t7 = t2._collection$_head;
  34397. if (t7 === t2._collection$_tail)
  34398. A.throwExpression(A.IterableElementError_noElement());
  34399. t7 = t2._collection$_table[t7];
  34400. t8 = t7 == null;
  34401. if ((t8 ? t6._as(t7) : t7) === "--") {
  34402. t2.removeFirst$0();
  34403. break;
  34404. }
  34405. if (t8)
  34406. t7 = t6._as(t7);
  34407. command = t5._map.$index(0, t7);
  34408. if (command != null) {
  34409. if (t3.length !== 0)
  34410. A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null));
  34411. commandName = t2.removeFirst$0();
  34412. t5 = type$.JSArray_String;
  34413. t6 = A._setArrayType([], t5);
  34414. B.JSArray_methods.addAll$1(t6, t3);
  34415. commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  34416. try {
  34417. commandResults = commandParser.parse$0();
  34418. } catch (exception) {
  34419. t2 = A.unwrapException(exception);
  34420. if (t2 instanceof A.ArgParserException) {
  34421. error = t2;
  34422. t2 = error.message;
  34423. t1 = A._setArrayType([commandName], t5);
  34424. J.addAll$1$ax(t1, error.commands);
  34425. throw A.wrapException(A.ArgParserException$(t2, t1));
  34426. } else
  34427. throw exception;
  34428. }
  34429. B.JSArray_methods.clear$0(t3);
  34430. break;
  34431. }
  34432. if (_this._parseSoloOption$0())
  34433. continue;
  34434. if (_this._parseAbbreviation$1(_this))
  34435. continue;
  34436. if (_this._parseLongOption$0())
  34437. continue;
  34438. t3.push(t2.removeFirst$0());
  34439. }
  34440. t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
  34441. B.JSArray_methods.addAll$1(t3, t2);
  34442. t2.clear$0(0);
  34443. return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
  34444. },
  34445. _readNextArgAsValue$1(option) {
  34446. var t1 = this._args;
  34447. if (t1.get$isEmpty(t1))
  34448. A.throwExpression(A.ArgParserException$('Missing argument for "' + option.name + '".', null));
  34449. this._setOption$3(this._results, option, t1.get$first(t1));
  34450. t1.removeFirst$0();
  34451. },
  34452. _parseSoloOption$0() {
  34453. var opt,
  34454. t1 = this._args;
  34455. if (t1.get$first(t1).length !== 2)
  34456. return false;
  34457. if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
  34458. return false;
  34459. opt = t1.get$first(t1)[1];
  34460. if (!A._isLetterOrDigit(B.JSString_methods._codeUnitAt$1(opt, 0)))
  34461. return false;
  34462. this._handleSoloOption$1(opt);
  34463. return true;
  34464. },
  34465. _handleSoloOption$1(opt) {
  34466. var t1, _this = this,
  34467. option = _this._grammar.findByAbbreviation$1(opt);
  34468. if (option == null) {
  34469. t1 = _this._parser$_parent;
  34470. if (t1 == null)
  34471. A.throwExpression(A.ArgParserException$('Could not find an option or flag "-' + opt + '".', null));
  34472. t1._handleSoloOption$1(opt);
  34473. return true;
  34474. }
  34475. _this._args.removeFirst$0();
  34476. if (option.type === B.OptionType_nMZ)
  34477. _this._results.$indexSet(0, option.name, true);
  34478. else
  34479. _this._readNextArgAsValue$1(option);
  34480. return true;
  34481. },
  34482. _parseAbbreviation$1(innermostCommand) {
  34483. var t2, index, t3, t4, lettersAndDigits, rest,
  34484. t1 = this._args;
  34485. if (t1.get$first(t1).length < 2)
  34486. return false;
  34487. if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
  34488. return false;
  34489. t2 = t1.$ti._precomputed1;
  34490. index = 1;
  34491. while (true) {
  34492. t3 = t1._collection$_head;
  34493. if (t3 === t1._collection$_tail)
  34494. A.throwExpression(A.IterableElementError_noElement());
  34495. t3 = t1._collection$_table[t3];
  34496. t4 = t3 == null;
  34497. if (index < (t4 ? t2._as(t3) : t3).length) {
  34498. t3 = B.JSString_methods._codeUnitAt$1(t4 ? t2._as(t3) : t3, index);
  34499. if (!(t3 >= 65 && t3 <= 90))
  34500. if (!(t3 >= 97 && t3 <= 122))
  34501. t3 = t3 >= 48 && t3 <= 57;
  34502. else
  34503. t3 = true;
  34504. else
  34505. t3 = true;
  34506. } else
  34507. t3 = false;
  34508. if (!t3)
  34509. break;
  34510. ++index;
  34511. }
  34512. if (index === 1)
  34513. return false;
  34514. lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(t1), 1, index);
  34515. rest = B.JSString_methods.substring$1(t1.get$first(t1), index);
  34516. if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
  34517. return false;
  34518. this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  34519. return true;
  34520. },
  34521. _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
  34522. var t1, i, i0, _this = this,
  34523. c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
  34524. first = _this._grammar.findByAbbreviation$1(c);
  34525. if (first == null) {
  34526. t1 = _this._parser$_parent;
  34527. if (t1 == null)
  34528. A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
  34529. t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  34530. return true;
  34531. } else if (first.type !== B.OptionType_nMZ)
  34532. _this._setOption$3(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest);
  34533. else {
  34534. t1 = B.JSString_methods.substring$1(lettersAndDigits, 1);
  34535. if (rest !== "")
  34536. A.throwExpression(A.ArgParserException$('Option "-' + c + '" is a flag and cannot handle value "' + t1 + rest + '".', null));
  34537. for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
  34538. i0 = i + 1;
  34539. innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
  34540. }
  34541. }
  34542. _this._args.removeFirst$0();
  34543. return true;
  34544. },
  34545. _parseShortFlag$1(c) {
  34546. var t1,
  34547. option = this._grammar.findByAbbreviation$1(c);
  34548. if (option == null) {
  34549. t1 = this._parser$_parent;
  34550. if (t1 == null)
  34551. A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
  34552. t1._parseShortFlag$1(c);
  34553. return;
  34554. }
  34555. if (option.type !== B.OptionType_nMZ)
  34556. A.throwExpression(A.ArgParserException$('Option "-' + c + '" must be a flag to be in a collapsed "-".', null));
  34557. this._results.$indexSet(0, option.name, true);
  34558. },
  34559. _parseLongOption$0() {
  34560. var index, t2, $name, t3, i, t4, t5, value,
  34561. t1 = this._args;
  34562. if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "--"))
  34563. return false;
  34564. index = B.JSString_methods.indexOf$1(t1.get$first(t1), "=");
  34565. t2 = index === -1;
  34566. $name = t2 ? B.JSString_methods.substring$1(t1.get$first(t1), 2) : B.JSString_methods.substring$2(t1.get$first(t1), 2, index);
  34567. for (t3 = $name.length, i = 0; i !== t3; ++i) {
  34568. t4 = B.JSString_methods._codeUnitAt$1($name, i);
  34569. if (!(t4 >= 65 && t4 <= 90))
  34570. if (!(t4 >= 97 && t4 <= 122))
  34571. t5 = t4 >= 48 && t4 <= 57;
  34572. else
  34573. t5 = true;
  34574. else
  34575. t5 = true;
  34576. if (!(t5 || t4 === 45 || t4 === 95))
  34577. return false;
  34578. }
  34579. value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(t1), index + 1);
  34580. if (value != null)
  34581. t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
  34582. else
  34583. t1 = false;
  34584. if (t1)
  34585. return false;
  34586. this._handleLongOption$2($name, value);
  34587. return true;
  34588. },
  34589. _handleLongOption$2($name, value) {
  34590. var _this = this, _null = null,
  34591. _s32_ = 'Could not find an option named "',
  34592. t1 = _this._grammar,
  34593. option = t1.findByNameOrAlias$1($name);
  34594. if (option != null) {
  34595. _this._args.removeFirst$0();
  34596. if (option.type === B.OptionType_nMZ) {
  34597. if (value != null)
  34598. A.throwExpression(A.ArgParserException$('Flag option "' + $name + '" should not be given a value.', _null));
  34599. _this._results.$indexSet(0, option.name, true);
  34600. } else if (value != null)
  34601. _this._setOption$3(_this._results, option, value);
  34602. else
  34603. _this._readNextArgAsValue$1(option);
  34604. } else if (B.JSString_methods.startsWith$1($name, "no-")) {
  34605. option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
  34606. if (option == null) {
  34607. t1 = _this._parser$_parent;
  34608. if (t1 == null)
  34609. A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
  34610. t1._handleLongOption$2($name, value);
  34611. return true;
  34612. }
  34613. _this._args.removeFirst$0();
  34614. if (option.type !== B.OptionType_nMZ)
  34615. A.throwExpression(A.ArgParserException$('Cannot negate non-flag option "' + $name + '".', _null));
  34616. if (!option.negatable)
  34617. A.throwExpression(A.ArgParserException$('Cannot negate option "' + $name + '".', _null));
  34618. _this._results.$indexSet(0, option.name, false);
  34619. } else {
  34620. t1 = _this._parser$_parent;
  34621. if (t1 == null)
  34622. A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
  34623. t1._handleLongOption$2($name, value);
  34624. return true;
  34625. }
  34626. return true;
  34627. },
  34628. _setOption$3(results, option, value) {
  34629. var list, t1, t2, t3, _i, element;
  34630. if (option.type !== B.OptionType_qyr) {
  34631. this._validateAllowed$2(option, value);
  34632. results.$indexSet(0, option.name, value);
  34633. return;
  34634. }
  34635. list = type$.List_dynamic._as(results.putIfAbsent$2(option.name, new A.Parser__setOption_closure()));
  34636. if (option.splitCommas)
  34637. for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
  34638. element = t1[_i];
  34639. this._validateAllowed$2(option, element);
  34640. t3.add$1(list, element);
  34641. }
  34642. else {
  34643. this._validateAllowed$2(option, value);
  34644. J.add$1$ax(list, value);
  34645. }
  34646. },
  34647. _validateAllowed$2(option, value) {
  34648. var t1 = option.allowed;
  34649. if (t1 == null)
  34650. return;
  34651. if (!B.JSArray_methods.contains$1(t1, value))
  34652. A.throwExpression(A.ArgParserException$('"' + value + '" is not an allowed value for option "' + option.name + '".', null));
  34653. }
  34654. };
  34655. A.Parser_parse_closure.prototype = {
  34656. call$2($name, option) {
  34657. var parsedOption = this.$this._results.$index(0, $name),
  34658. callback = option.callback;
  34659. if (callback == null)
  34660. return;
  34661. callback.call$1(option.valueOrDefault$1(parsedOption));
  34662. },
  34663. $signature: 257
  34664. };
  34665. A.Parser__setOption_closure.prototype = {
  34666. call$0() {
  34667. return A._setArrayType([], type$.JSArray_String);
  34668. },
  34669. $signature: 127
  34670. };
  34671. A._Usage.prototype = {
  34672. get$_columnWidths() {
  34673. var result, _this = this,
  34674. value = _this.___Usage__columnWidths_FI;
  34675. if (value === $) {
  34676. result = _this._calculateColumnWidths$0();
  34677. _this.___Usage__columnWidths_FI !== $ && A.throwUnnamedLateFieldADI();
  34678. _this.___Usage__columnWidths_FI = result;
  34679. value = result;
  34680. }
  34681. return value;
  34682. },
  34683. generate$0() {
  34684. var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
  34685. 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) {
  34686. optionOrSeparator = t1[_i];
  34687. if (typeof optionOrSeparator == "string") {
  34688. t5 = t4._contents;
  34689. t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
  34690. _this._newlinesNeeded = 1;
  34691. continue;
  34692. }
  34693. t3._as(optionOrSeparator);
  34694. if (optionOrSeparator.hide)
  34695. continue;
  34696. _this._writeOption$1(optionOrSeparator);
  34697. }
  34698. t1 = t4._contents;
  34699. return t1.charCodeAt(0) == 0 ? t1 : t1;
  34700. },
  34701. _writeOption$1(option) {
  34702. var allowedNames, t2, t3, t4, _i, $name, t5, _this = this,
  34703. t1 = option.abbr;
  34704. _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
  34705. t1 = _this._longOption$1(option);
  34706. _this._write$2(1, t1);
  34707. t1 = option.help;
  34708. if (t1 != null)
  34709. _this._write$2(2, t1);
  34710. t1 = option.allowedHelp;
  34711. if (t1 != null) {
  34712. allowedNames = J.toList$0$ax(t1.get$keys(t1));
  34713. B.JSArray_methods.sort$0(allowedNames);
  34714. _this._newline$0();
  34715. 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) {
  34716. $name = allowedNames[_i];
  34717. t5 = (t4 ? B.JSArray_methods.contains$1(t3, $name) : t3 === $name) ? " (default)" : "";
  34718. _this._write$2(1, " [" + $name + "]" + t5);
  34719. t5 = t1.$index(0, $name);
  34720. t5.toString;
  34721. _this._write$2(2, t5);
  34722. }
  34723. _this._newline$0();
  34724. } else if (option.allowed != null)
  34725. _this._write$2(2, _this._buildAllowedList$1(option));
  34726. else {
  34727. t1 = option.type;
  34728. if (t1 === B.OptionType_nMZ) {
  34729. if (option.defaultsTo === true)
  34730. _this._write$2(2, "(defaults to on)");
  34731. } else if (t1 === B.OptionType_qyr) {
  34732. t1 = option.defaultsTo;
  34733. if (t1 != null && type$.Iterable_dynamic._as(t1).length !== 0) {
  34734. type$.List_dynamic._as(t1);
  34735. _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, ", ") + ")");
  34736. }
  34737. } else {
  34738. t1 = option.defaultsTo;
  34739. if (t1 != null)
  34740. _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
  34741. }
  34742. }
  34743. },
  34744. _longOption$1(option) {
  34745. var t1 = option.name,
  34746. result = option.negatable ? "--[no-]" + t1 : "--" + t1;
  34747. t1 = option.valueHelp;
  34748. return t1 != null ? result + ("=<" + t1 + ">") : result;
  34749. },
  34750. _calculateColumnWidths$0() {
  34751. var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, t8;
  34752. 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) {
  34753. option = t1[_i];
  34754. if (!(option instanceof A.Option))
  34755. continue;
  34756. if (option.hide)
  34757. continue;
  34758. t4 = option.abbr;
  34759. abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
  34760. t4 = this._longOption$1(option);
  34761. title = Math.max(title, t4.length);
  34762. t4 = option.allowedHelp;
  34763. if (t4 != null)
  34764. for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
  34765. t7 = t4.get$current(t4);
  34766. t8 = (t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7) ? " (default)" : "";
  34767. title = Math.max(title, (" [" + t7 + "]" + t8).length);
  34768. }
  34769. }
  34770. return A._setArrayType([abbr, title + 4], type$.JSArray_int);
  34771. },
  34772. _newline$0() {
  34773. ++this._newlinesNeeded;
  34774. this._currentColumn = 0;
  34775. },
  34776. _write$2(column, text) {
  34777. var t1, _i,
  34778. lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
  34779. this.get$_columnWidths();
  34780. while (true) {
  34781. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$first(lines)) === ""))
  34782. break;
  34783. B.JSArray_methods.removeAt$1(lines, 0);
  34784. }
  34785. while (true) {
  34786. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$last(lines)) === ""))
  34787. break;
  34788. lines.pop();
  34789. }
  34790. for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
  34791. this._writeLine$2(column, lines[_i]);
  34792. },
  34793. _writeLine$2(column, text) {
  34794. var t1, t2, _this = this;
  34795. for (t1 = _this._buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
  34796. t1._contents += "\n";
  34797. _this._newlinesNeeded = t2 - 1;
  34798. }
  34799. for (; t2 = _this._currentColumn, t2 !== column;) {
  34800. if (t2 < 2)
  34801. t1._contents += B.JSString_methods.$mul(" ", _this.get$_columnWidths()[_this._currentColumn]);
  34802. else
  34803. t1._contents += "\n";
  34804. _this._currentColumn = (_this._currentColumn + 1) % 3;
  34805. }
  34806. _this.get$_columnWidths();
  34807. if (column < 2)
  34808. t1._contents += B.JSString_methods.padRight$1(text, _this.get$_columnWidths()[column]);
  34809. else
  34810. t1._contents += text;
  34811. _this._currentColumn = (_this._currentColumn + 1) % 3;
  34812. if (column === 2)
  34813. ++_this._newlinesNeeded;
  34814. },
  34815. _buildAllowedList$1(option) {
  34816. var t2, t3, first, _i, allowed,
  34817. t1 = option.defaultsTo,
  34818. isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
  34819. t1 = "" + "[";
  34820. for (t2 = option.allowed, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i, first = false) {
  34821. allowed = t2[_i];
  34822. if (!first)
  34823. t1 += ", ";
  34824. t1 += A.S(allowed);
  34825. if (isDefault.call$1(allowed))
  34826. t1 += " (default)";
  34827. }
  34828. t1 += "]";
  34829. return t1.charCodeAt(0) == 0 ? t1 : t1;
  34830. }
  34831. };
  34832. A._Usage__writeOption_closure.prototype = {
  34833. call$1(value) {
  34834. return '"' + A.S(value) + '"';
  34835. },
  34836. $signature: 80
  34837. };
  34838. A._Usage__buildAllowedList_closure.prototype = {
  34839. call$1(value) {
  34840. return value === this.option.defaultsTo;
  34841. },
  34842. $signature: 122
  34843. };
  34844. A.ErrorResult.prototype = {
  34845. complete$1(completer) {
  34846. completer.completeError$2(this.error, this.stackTrace);
  34847. },
  34848. get$hashCode(_) {
  34849. return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
  34850. },
  34851. $eq(_, other) {
  34852. if (other == null)
  34853. return false;
  34854. return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
  34855. },
  34856. $isResult: 1
  34857. };
  34858. A.ValueResult.prototype = {
  34859. complete$1(completer) {
  34860. completer.complete$1(this.value);
  34861. },
  34862. get$hashCode(_) {
  34863. return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
  34864. },
  34865. $eq(_, other) {
  34866. if (other == null)
  34867. return false;
  34868. return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
  34869. },
  34870. $isResult: 1
  34871. };
  34872. A.StreamCompleter.prototype = {
  34873. setSourceStream$1(sourceStream) {
  34874. var t1 = this._stream_completer$_stream;
  34875. if (t1._sourceStream != null)
  34876. throw A.wrapException(A.StateError$("Source stream already set"));
  34877. t1._sourceStream = sourceStream;
  34878. if (t1._stream_completer$_controller != null)
  34879. t1._linkStreamToController$0();
  34880. },
  34881. setError$2(error, stackTrace) {
  34882. var t1 = this.$ti._precomputed1;
  34883. this.setSourceStream$1(A.Stream_Stream$fromFuture(A.Future_Future$error(error, stackTrace, t1), t1));
  34884. },
  34885. setError$1(error) {
  34886. return this.setError$2(error, null);
  34887. }
  34888. };
  34889. A._CompleterStream.prototype = {
  34890. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  34891. var sourceStream, t1, _this = this, _null = null;
  34892. if (_this._stream_completer$_controller == null) {
  34893. sourceStream = _this._sourceStream;
  34894. if (sourceStream != null && !sourceStream.get$isBroadcast())
  34895. return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  34896. if (_this._stream_completer$_controller == null)
  34897. _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
  34898. if (_this._sourceStream != null)
  34899. _this._linkStreamToController$0();
  34900. }
  34901. t1 = _this._stream_completer$_controller;
  34902. t1.toString;
  34903. return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  34904. },
  34905. listen$1($receiver, onData) {
  34906. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
  34907. },
  34908. listen$3$onDone$onError($receiver, onData, onDone, onError) {
  34909. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
  34910. },
  34911. _linkStreamToController$0() {
  34912. var t2,
  34913. t1 = this._stream_completer$_controller;
  34914. t1.toString;
  34915. t2 = this._sourceStream;
  34916. t2.toString;
  34917. t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
  34918. }
  34919. };
  34920. A.StreamGroup.prototype = {
  34921. add$1(_, stream) {
  34922. var t1, _this = this;
  34923. if (_this._closed)
  34924. throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
  34925. t1 = _this._stream_group$_state;
  34926. if (t1 === B._StreamGroupState_dormant)
  34927. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
  34928. else if (t1 === B._StreamGroupState_canceled)
  34929. return stream.listen$1(0, null).cancel$0();
  34930. else
  34931. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
  34932. return null;
  34933. },
  34934. remove$1(_, stream) {
  34935. var t1 = this._subscriptions,
  34936. subscription = t1.remove$1(0, stream),
  34937. future = subscription == null ? null : subscription.cancel$0();
  34938. if (t1.__js_helper$_length === 0)
  34939. if (this._closed) {
  34940. t1 = this.__StreamGroup__controller_A;
  34941. t1 === $ && A.throwUnnamedLateFieldNI();
  34942. A.scheduleMicrotask(t1.get$close(t1));
  34943. }
  34944. return future;
  34945. },
  34946. _onListen$0() {
  34947. var stream, t1, t2, t3, _i, entry, exception, onError, _this = this;
  34948. _this._stream_group$_state = B._StreamGroupState_listening;
  34949. 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) {
  34950. entry = t2[_i];
  34951. if (entry.value != null)
  34952. continue;
  34953. stream = entry.key;
  34954. try {
  34955. t1.$indexSet(0, stream, _this._listenToStream$1(stream));
  34956. } catch (exception) {
  34957. t1 = _this._onCancel$0();
  34958. if (t1 != null) {
  34959. onError = new A.StreamGroup__onListen_closure();
  34960. t2 = t1.$ti;
  34961. t3 = $.Zone__current;
  34962. if (t3 !== B.C__RootZone)
  34963. onError = A._registerErrorHandler(onError, t3);
  34964. 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>")));
  34965. }
  34966. throw exception;
  34967. }
  34968. }
  34969. },
  34970. _onPause$0() {
  34971. var t1, t2, t3;
  34972. this._stream_group$_state = B._StreamGroupState_paused;
  34973. 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();) {
  34974. t3 = t1.__internal$_current;
  34975. (t3 == null ? t2._as(t3) : t3).pause$0(0);
  34976. }
  34977. },
  34978. _onResume$0() {
  34979. var t1, t2, t3;
  34980. this._stream_group$_state = B._StreamGroupState_listening;
  34981. 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();) {
  34982. t3 = t1.__internal$_current;
  34983. (t3 == null ? t2._as(t3) : t3).resume$0(0);
  34984. }
  34985. },
  34986. _onCancel$0() {
  34987. var t1, t2, futures;
  34988. this._stream_group$_state = B._StreamGroupState_canceled;
  34989. t1 = this._subscriptions;
  34990. 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);
  34991. futures = A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E"));
  34992. t1.clear$0(0);
  34993. return futures.length === 0 ? null : A.Future_wait(futures, type$.void);
  34994. },
  34995. _listenToStream$1(stream) {
  34996. var subscription,
  34997. t1 = this.__StreamGroup__controller_A;
  34998. t1 === $ && A.throwUnnamedLateFieldNI();
  34999. subscription = stream.listen$3$onDone$onError(0, t1.get$add(t1), new A.StreamGroup__listenToStream_closure(this, stream), t1.get$addError());
  35000. if (this._stream_group$_state === B._StreamGroupState_paused)
  35001. subscription.pause$0(0);
  35002. return subscription;
  35003. }
  35004. };
  35005. A.StreamGroup_add_closure.prototype = {
  35006. call$0() {
  35007. return null;
  35008. },
  35009. $signature: 1
  35010. };
  35011. A.StreamGroup_add_closure0.prototype = {
  35012. call$0() {
  35013. return this.$this._listenToStream$1(this.stream);
  35014. },
  35015. $signature() {
  35016. return this.$this.$ti._eval$1("StreamSubscription<1>()");
  35017. }
  35018. };
  35019. A.StreamGroup__onListen_closure.prototype = {
  35020. call$1(_) {
  35021. },
  35022. $signature: 73
  35023. };
  35024. A.StreamGroup__onCancel_closure.prototype = {
  35025. call$1(entry) {
  35026. var t1, exception,
  35027. subscription = entry.value;
  35028. try {
  35029. if (subscription != null) {
  35030. t1 = subscription.cancel$0();
  35031. return t1;
  35032. }
  35033. t1 = J.listen$1$z(entry.key, null).cancel$0();
  35034. return t1;
  35035. } catch (exception) {
  35036. return null;
  35037. }
  35038. },
  35039. $signature() {
  35040. return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
  35041. }
  35042. };
  35043. A.StreamGroup__listenToStream_closure.prototype = {
  35044. call$0() {
  35045. return this.$this.remove$1(0, this.stream);
  35046. },
  35047. $signature: 0
  35048. };
  35049. A._StreamGroupState.prototype = {
  35050. toString$0(_) {
  35051. return this.name;
  35052. }
  35053. };
  35054. A.StreamQueue.prototype = {
  35055. _updateRequests$0() {
  35056. var t1, t2, t3, t4, _this = this;
  35057. for (t1 = _this._requestQueue, t2 = _this._eventQueue, t3 = t1.$ti._precomputed1; !t1.get$isEmpty(t1);) {
  35058. t4 = t1._collection$_head;
  35059. if (t4 === t1._collection$_tail)
  35060. A.throwExpression(A.IterableElementError_noElement());
  35061. t4 = t1._collection$_table[t4];
  35062. if (t4 == null)
  35063. t4 = t3._as(t4);
  35064. if (t4.update$2(t2, _this._isDone))
  35065. t1.removeFirst$0();
  35066. else
  35067. return;
  35068. }
  35069. if (!_this._isDone)
  35070. _this._stream_queue$_subscription.pause$0(0);
  35071. },
  35072. _ensureListening$0() {
  35073. var t1, _this = this;
  35074. if (_this._isDone)
  35075. return;
  35076. t1 = _this._stream_queue$_subscription;
  35077. if (t1 == null)
  35078. _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));
  35079. else
  35080. t1.resume$0(0);
  35081. },
  35082. _addResult$1(result) {
  35083. ++this._eventsReceived;
  35084. this._eventQueue._add$1(result);
  35085. this._updateRequests$0();
  35086. },
  35087. _addRequest$1(request) {
  35088. var _this = this,
  35089. t1 = _this._requestQueue;
  35090. if (t1._collection$_head === t1._collection$_tail) {
  35091. if (request.update$2(_this._eventQueue, _this._isDone))
  35092. return;
  35093. _this._ensureListening$0();
  35094. }
  35095. t1._collection$_add$1(request);
  35096. }
  35097. };
  35098. A.StreamQueue__ensureListening_closure.prototype = {
  35099. call$1(data) {
  35100. var t1 = this.$this;
  35101. t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
  35102. },
  35103. $signature() {
  35104. return this.$this.$ti._eval$1("~(1)");
  35105. }
  35106. };
  35107. A.StreamQueue__ensureListening_closure1.prototype = {
  35108. call$2(error, stackTrace) {
  35109. this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
  35110. },
  35111. $signature: 65
  35112. };
  35113. A.StreamQueue__ensureListening_closure0.prototype = {
  35114. call$0() {
  35115. var t1 = this.$this;
  35116. t1._stream_queue$_subscription = null;
  35117. t1._isDone = true;
  35118. t1._updateRequests$0();
  35119. },
  35120. $signature: 0
  35121. };
  35122. A._NextRequest.prototype = {
  35123. update$2(events, isDone) {
  35124. if (!events.get$isEmpty(events)) {
  35125. events.removeFirst$0().complete$1(this._completer);
  35126. return true;
  35127. }
  35128. if (isDone) {
  35129. this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
  35130. return true;
  35131. }
  35132. return false;
  35133. },
  35134. $is_EventRequest: 1
  35135. };
  35136. A.Repl.prototype = {};
  35137. A.alwaysValid_closure.prototype = {
  35138. call$1(text) {
  35139. return true;
  35140. },
  35141. $signature: 8
  35142. };
  35143. A.ReplAdapter.prototype = {
  35144. runAsync$0() {
  35145. var rl, runController, _this = this, t1 = {},
  35146. t2 = J.get$isTTY$x(self.process.stdin),
  35147. output = (t2 == null ? false : t2) ? self.process.stdout : null;
  35148. t2 = _this.repl.prompt;
  35149. rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
  35150. _this.rl = rl;
  35151. t1.statement = "";
  35152. t1.prompt = t2;
  35153. runController = A._Cell$();
  35154. 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);
  35155. return runController._readLocal$0().get$stream();
  35156. },
  35157. exit$0(_) {
  35158. var t1 = this.rl;
  35159. if (t1 != null)
  35160. J.close$0$x(t1);
  35161. this.rl = null;
  35162. }
  35163. };
  35164. A.ReplAdapter_runAsync_closure.prototype = {
  35165. call$0() {
  35166. var $async$goto = 0,
  35167. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  35168. $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;
  35169. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  35170. if ($async$errorCode === 1) {
  35171. $async$currentError = $async$result;
  35172. $async$goto = $async$handler;
  35173. }
  35174. while (true)
  35175. switch ($async$goto) {
  35176. case 0:
  35177. // Function start
  35178. $async$handler = 3;
  35179. lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
  35180. t1 = lineController;
  35181. t2 = A.QueueList$(null, type$.Result_String);
  35182. t3 = A.ListQueue$(type$._EventRequest_dynamic);
  35183. lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A.instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
  35184. t1 = $async$self.rl;
  35185. t2 = J.getInterceptor$x(t1);
  35186. t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
  35187. 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;
  35188. case 6:
  35189. // for condition
  35190. // trivial condition
  35191. t7 = J.get$isTTY$x(self.process.stdin);
  35192. if (t7 == null ? false : t7)
  35193. J.write$1$x(self.process.stdout, t3.prompt);
  35194. t7 = lineQueue;
  35195. t8 = A.instanceType(t7);
  35196. t9 = new A._Future($.Zone__current, t8._eval$1("_Future<1>"));
  35197. t7._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t9, t8._eval$1("_AsyncCompleter<1>")), t8._eval$1("_NextRequest<1>")));
  35198. $async$goto = 8;
  35199. return A._asyncAwait(t9, $async$call$0);
  35200. case 8:
  35201. // returning from await.
  35202. line = $async$result;
  35203. t7 = J.get$isTTY$x(self.process.stdin);
  35204. if (!(t7 == null ? false : t7)) {
  35205. line0 = t3.prompt + A.S(line);
  35206. toZone = $.printToZone;
  35207. if (toZone == null)
  35208. A.printString(line0);
  35209. else
  35210. toZone.call$1(line0);
  35211. }
  35212. statement = B.JSString_methods.$add(t3.statement, line);
  35213. t3.statement = statement;
  35214. if (t4.validator.call$1(statement)) {
  35215. t7 = t5.__late_helper$_value;
  35216. if (t7 === t5)
  35217. A.throwExpression(A.LateError$localNI(t6));
  35218. J.add$1$ax(t7, t3.statement);
  35219. t3.statement = "";
  35220. t3.prompt = prompt0;
  35221. t2.setPrompt$1(t1, prompt0);
  35222. } else {
  35223. t3.statement += "\n";
  35224. t3.prompt = $prompt;
  35225. t2.setPrompt$1(t1, $prompt);
  35226. }
  35227. // goto for condition
  35228. $async$goto = 6;
  35229. break;
  35230. case 7:
  35231. // after for
  35232. $async$handler = 1;
  35233. // goto after finally
  35234. $async$goto = 5;
  35235. break;
  35236. case 3:
  35237. // catch
  35238. $async$handler = 2;
  35239. $async$exception = $async$currentError;
  35240. error = A.unwrapException($async$exception);
  35241. stackTrace = A.getTraceFromException($async$exception);
  35242. t1 = $async$self.runController;
  35243. t1._readLocal$0().addError$2(error, stackTrace);
  35244. $async$goto = 9;
  35245. return A._asyncAwait($async$self.$this.exit$0(0), $async$call$0);
  35246. case 9:
  35247. // returning from await.
  35248. J.close$0$x(t1._readLocal$0());
  35249. // goto after finally
  35250. $async$goto = 5;
  35251. break;
  35252. case 2:
  35253. // uncaught
  35254. // goto rethrow
  35255. $async$goto = 1;
  35256. break;
  35257. case 5:
  35258. // after finally
  35259. // implicit return
  35260. return A._asyncReturn(null, $async$completer);
  35261. case 1:
  35262. // rethrow
  35263. return A._asyncRethrow($async$currentError, $async$completer);
  35264. }
  35265. });
  35266. return A._asyncStartSync($async$call$0, $async$completer);
  35267. },
  35268. $signature: 40
  35269. };
  35270. A.ReplAdapter_runAsync__closure.prototype = {
  35271. call$1(value) {
  35272. return this.lineController.add$1(0, A._asString(value));
  35273. },
  35274. $signature: 120
  35275. };
  35276. A.Stdin.prototype = {};
  35277. A.Stdout.prototype = {};
  35278. A.ReadlineModule.prototype = {};
  35279. A.ReadlineOptions.prototype = {};
  35280. A.ReadlineInterface.prototype = {};
  35281. A.EmptyUnmodifiableSet.prototype = {
  35282. get$iterator(_) {
  35283. return B.C_EmptyIterator;
  35284. },
  35285. get$length(_) {
  35286. return 0;
  35287. },
  35288. contains$1(_, element) {
  35289. return false;
  35290. },
  35291. toSet$0(_) {
  35292. return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  35293. },
  35294. $isEfficientLengthIterable: 1,
  35295. $isSet: 1
  35296. };
  35297. A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
  35298. A.DefaultEquality.prototype = {};
  35299. A.IterableEquality.prototype = {
  35300. equals$2(_, elements1, elements2) {
  35301. var it1, it2, hasNext;
  35302. if (elements1 === elements2)
  35303. return true;
  35304. it1 = J.get$iterator$ax(elements1);
  35305. it2 = J.get$iterator$ax(elements2);
  35306. for (; true;) {
  35307. hasNext = it1.moveNext$0();
  35308. if (hasNext !== it2.moveNext$0())
  35309. return false;
  35310. if (!hasNext)
  35311. return true;
  35312. if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
  35313. return false;
  35314. }
  35315. },
  35316. hash$1(elements) {
  35317. var t1, hash, _i;
  35318. for (t1 = elements.length, hash = 0, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i) {
  35319. hash = hash + J.get$hashCode$(elements[_i]) & 2147483647;
  35320. hash = hash + (hash << 10 >>> 0) & 2147483647;
  35321. hash ^= hash >>> 6;
  35322. }
  35323. hash = hash + (hash << 3 >>> 0) & 2147483647;
  35324. hash ^= hash >>> 11;
  35325. return hash + (hash << 15 >>> 0) & 2147483647;
  35326. }
  35327. };
  35328. A.ListEquality.prototype = {
  35329. equals$2(_, list1, list2) {
  35330. var t1, $length, t2, i;
  35331. if (list1 == null ? list2 == null : list1 === list2)
  35332. return true;
  35333. if (list1 == null || list2 == null)
  35334. return false;
  35335. t1 = J.getInterceptor$asx(list1);
  35336. $length = t1.get$length(list1);
  35337. t2 = J.getInterceptor$asx(list2);
  35338. if ($length !== t2.get$length(list2))
  35339. return false;
  35340. for (i = 0; i < $length; ++i)
  35341. if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
  35342. return false;
  35343. return true;
  35344. },
  35345. hash$1(list) {
  35346. var hash, i;
  35347. for (hash = 0, i = 0; i < list.length; ++i) {
  35348. hash = hash + J.get$hashCode$(list[i]) & 2147483647;
  35349. hash = hash + (hash << 10 >>> 0) & 2147483647;
  35350. hash ^= hash >>> 6;
  35351. }
  35352. hash = hash + (hash << 3 >>> 0) & 2147483647;
  35353. hash ^= hash >>> 11;
  35354. return hash + (hash << 15 >>> 0) & 2147483647;
  35355. }
  35356. };
  35357. A._MapEntry.prototype = {
  35358. get$hashCode(_) {
  35359. return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
  35360. },
  35361. $eq(_, other) {
  35362. if (other == null)
  35363. return false;
  35364. return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
  35365. }
  35366. };
  35367. A.MapEquality.prototype = {
  35368. equals$2(_, map1, map2) {
  35369. var equalElementCounts, t1, key, entry, count;
  35370. if (map1 === map2)
  35371. return true;
  35372. if (map1.get$length(map1) !== map2.get$length(map2))
  35373. return false;
  35374. equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
  35375. for (t1 = J.get$iterator$ax(map1.get$keys(map1)); t1.moveNext$0();) {
  35376. key = t1.get$current(t1);
  35377. entry = new A._MapEntry(this, key, map1.$index(0, key));
  35378. count = equalElementCounts.$index(0, entry);
  35379. equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
  35380. }
  35381. for (t1 = J.get$iterator$ax(map2.get$keys(map2)); t1.moveNext$0();) {
  35382. key = t1.get$current(t1);
  35383. entry = new A._MapEntry(this, key, map2.$index(0, key));
  35384. count = equalElementCounts.$index(0, entry);
  35385. if (count == null || count === 0)
  35386. return false;
  35387. equalElementCounts.$indexSet(0, entry, count - 1);
  35388. }
  35389. return true;
  35390. },
  35391. hash$1(map) {
  35392. var t1, t2, hash, key, keyHash, t3;
  35393. for (t1 = J.get$iterator$ax(map.get$keys(map)), t2 = A._instanceType(this)._rest[1], hash = 0; t1.moveNext$0();) {
  35394. key = t1.get$current(t1);
  35395. keyHash = J.get$hashCode$(key);
  35396. t3 = map.$index(0, key);
  35397. hash = hash + 3 * keyHash + 7 * J.get$hashCode$(t3 == null ? t2._as(t3) : t3) & 2147483647;
  35398. }
  35399. hash = hash + (hash << 3 >>> 0) & 2147483647;
  35400. hash ^= hash >>> 11;
  35401. return hash + (hash << 15 >>> 0) & 2147483647;
  35402. }
  35403. };
  35404. A.QueueList.prototype = {
  35405. add$1(_, element) {
  35406. this._add$1(element);
  35407. },
  35408. addAll$1(_, iterable) {
  35409. var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
  35410. if (type$.List_dynamic._is(iterable)) {
  35411. addCount = J.get$length$asx(iterable);
  35412. $length = _this.get$length(_this);
  35413. t1 = $length + addCount;
  35414. if (t1 >= J.get$length$asx(_this._table)) {
  35415. _this._preGrow$1(t1);
  35416. J.setRange$4$ax(_this._table, $length, t1, iterable, 0);
  35417. _this.set$_tail(_this.get$_tail() + addCount);
  35418. } else {
  35419. endSpace = J.get$length$asx(_this._table) - _this.get$_tail();
  35420. t1 = _this._table;
  35421. t2 = J.getInterceptor$ax(t1);
  35422. if (addCount < endSpace) {
  35423. t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + addCount, iterable, 0);
  35424. _this.set$_tail(_this.get$_tail() + addCount);
  35425. } else {
  35426. preSpace = addCount - endSpace;
  35427. t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + endSpace, iterable, 0);
  35428. J.setRange$4$ax(_this._table, 0, preSpace, iterable, endSpace);
  35429. _this.set$_tail(preSpace);
  35430. }
  35431. }
  35432. } else
  35433. for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
  35434. _this._add$1(t1.get$current(t1));
  35435. },
  35436. cast$1$0(_, $T) {
  35437. 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>"));
  35438. },
  35439. toString$0(_) {
  35440. return A.Iterable_iterableToFullString(this, "{", "}");
  35441. },
  35442. addFirst$1(element) {
  35443. var _this = this;
  35444. _this.set$_head((_this.get$_head() - 1 & J.get$length$asx(_this._table) - 1) >>> 0);
  35445. J.$indexSet$ax(_this._table, _this.get$_head(), element);
  35446. if (_this.get$_head() === _this.get$_tail())
  35447. _this._grow$0();
  35448. },
  35449. removeFirst$0() {
  35450. var result, _this = this;
  35451. if (_this.get$_head() === _this.get$_tail())
  35452. throw A.wrapException(A.StateError$("No element"));
  35453. result = J.$index$asx(_this._table, _this.get$_head());
  35454. if (result == null)
  35455. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  35456. J.$indexSet$ax(_this._table, _this.get$_head(), null);
  35457. _this.set$_head((_this.get$_head() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
  35458. return result;
  35459. },
  35460. get$length(_) {
  35461. return (this.get$_tail() - this.get$_head() & J.get$length$asx(this._table) - 1) >>> 0;
  35462. },
  35463. set$length(_, value) {
  35464. var delta, newTail, t1, t2, _this = this;
  35465. if (value < 0)
  35466. throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
  35467. if (value > _this.get$length(_this) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
  35468. 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) + "`."));
  35469. delta = value - _this.get$length(_this);
  35470. if (delta >= 0) {
  35471. if (J.get$length$asx(_this._table) <= value)
  35472. _this._preGrow$1(value);
  35473. _this.set$_tail((_this.get$_tail() + delta & J.get$length$asx(_this._table) - 1) >>> 0);
  35474. return;
  35475. }
  35476. newTail = _this.get$_tail() + delta;
  35477. t1 = _this._table;
  35478. if (newTail >= 0)
  35479. J.fillRange$3$ax(t1, newTail, _this.get$_tail(), null);
  35480. else {
  35481. newTail += J.get$length$asx(t1);
  35482. J.fillRange$3$ax(_this._table, 0, _this.get$_tail(), null);
  35483. t1 = _this._table;
  35484. t2 = J.getInterceptor$asx(t1);
  35485. t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
  35486. }
  35487. _this.set$_tail(newTail);
  35488. },
  35489. $index(_, index) {
  35490. var t1, _this = this;
  35491. if (index < 0 || index >= _this.get$length(_this))
  35492. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
  35493. t1 = J.$index$asx(_this._table, (_this.get$_head() + index & J.get$length$asx(_this._table) - 1) >>> 0);
  35494. return t1 == null ? A._instanceType(_this)._eval$1("QueueList.E")._as(t1) : t1;
  35495. },
  35496. $indexSet(_, index, value) {
  35497. var _this = this;
  35498. if (index < 0 || index >= _this.get$length(_this))
  35499. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
  35500. J.$indexSet$ax(_this._table, (_this.get$_head() + index & J.get$length$asx(_this._table) - 1) >>> 0, value);
  35501. },
  35502. _add$1(element) {
  35503. var _this = this;
  35504. J.$indexSet$ax(_this._table, _this.get$_tail(), element);
  35505. _this.set$_tail((_this.get$_tail() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
  35506. if (_this.get$_head() === _this.get$_tail())
  35507. _this._grow$0();
  35508. },
  35509. _grow$0() {
  35510. var _this = this,
  35511. newTable = A.List_List$filled(J.get$length$asx(_this._table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
  35512. split = J.get$length$asx(_this._table) - _this.get$_head();
  35513. B.JSArray_methods.setRange$4(newTable, 0, split, _this._table, _this.get$_head());
  35514. B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_head(), _this._table, 0);
  35515. _this.set$_head(0);
  35516. _this.set$_tail(J.get$length$asx(_this._table));
  35517. _this._table = newTable;
  35518. },
  35519. _writeToList$1(target) {
  35520. var $length, firstPartSize, _this = this;
  35521. if (_this.get$_head() <= _this.get$_tail()) {
  35522. $length = _this.get$_tail() - _this.get$_head();
  35523. B.JSArray_methods.setRange$4(target, 0, $length, _this._table, _this.get$_head());
  35524. return $length;
  35525. } else {
  35526. firstPartSize = J.get$length$asx(_this._table) - _this.get$_head();
  35527. B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._table, _this.get$_head());
  35528. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_tail(), _this._table, 0);
  35529. return _this.get$_tail() + firstPartSize;
  35530. }
  35531. },
  35532. _preGrow$1(newElementCount) {
  35533. var _this = this,
  35534. 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?"));
  35535. _this.set$_tail(_this._writeToList$1(newTable));
  35536. _this._table = newTable;
  35537. _this.set$_head(0);
  35538. },
  35539. $isEfficientLengthIterable: 1,
  35540. $isQueue: 1,
  35541. $isIterable: 1,
  35542. $isList: 1,
  35543. get$_head() {
  35544. return this._head;
  35545. },
  35546. get$_tail() {
  35547. return this._tail;
  35548. },
  35549. set$_head(val) {
  35550. return this._head = val;
  35551. },
  35552. set$_tail(val) {
  35553. return this._tail = val;
  35554. }
  35555. };
  35556. A._CastQueueList.prototype = {
  35557. get$_head() {
  35558. return this._queue_list$_delegate.get$_head();
  35559. },
  35560. set$_head(value) {
  35561. this._queue_list$_delegate.set$_head(value);
  35562. },
  35563. get$_tail() {
  35564. return this._queue_list$_delegate.get$_tail();
  35565. },
  35566. set$_tail(value) {
  35567. this._queue_list$_delegate.set$_tail(value);
  35568. }
  35569. };
  35570. A._QueueList_Object_ListMixin.prototype = {};
  35571. A.UnionSet.prototype = {
  35572. get$length(_) {
  35573. var t1 = this.get$_union_set$_iterable();
  35574. t1 = t1.get$length(t1);
  35575. return t1;
  35576. },
  35577. get$iterator(_) {
  35578. var t1 = this.get$_union_set$_iterable();
  35579. return t1.get$iterator(t1);
  35580. },
  35581. get$_union_set$_iterable() {
  35582. var t1 = this._sets,
  35583. t2 = this.$ti._precomputed1,
  35584. t3 = A._instanceType(t1)._eval$1("@<1>")._bind$1(t2)._eval$1("ExpandIterable<1,2>");
  35585. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  35586. 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>"));
  35587. },
  35588. contains$1(_, element) {
  35589. return this._sets.any$1(0, new A.UnionSet_contains_closure(this, element));
  35590. },
  35591. toSet$0(_) {
  35592. var t2, t3, t4,
  35593. t1 = A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  35594. for (t2 = this._sets, t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  35595. t4 = t2._collection$_current;
  35596. t1.addAll$1(0, t4 == null ? t3._as(t4) : t4);
  35597. }
  35598. return t1;
  35599. }
  35600. };
  35601. A.UnionSet__iterable_closure.prototype = {
  35602. call$1(set) {
  35603. return set;
  35604. },
  35605. $signature() {
  35606. return this.$this.$ti._eval$1("Set<1>(Set<1>)");
  35607. }
  35608. };
  35609. A.UnionSet_contains_closure.prototype = {
  35610. call$1(set) {
  35611. return set.contains$1(0, this.element);
  35612. },
  35613. $signature() {
  35614. return this.$this.$ti._eval$1("bool(Set<1>)");
  35615. }
  35616. };
  35617. A._UnionSet_SetBase_UnmodifiableSetMixin.prototype = {};
  35618. A.UnmodifiableSetView0.prototype = {};
  35619. A.UnmodifiableSetMixin.prototype = {
  35620. add$1(_, value) {
  35621. return A.UnmodifiableSetMixin__throw();
  35622. },
  35623. addAll$1(_, elements) {
  35624. return A.UnmodifiableSetMixin__throw();
  35625. },
  35626. remove$1(_, value) {
  35627. return A.UnmodifiableSetMixin__throw();
  35628. }
  35629. };
  35630. A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
  35631. A._DelegatingIterableBase.prototype = {
  35632. contains$1(_, element) {
  35633. return J.contains$1$asx(this.get$_base(), element);
  35634. },
  35635. elementAt$1(_, index) {
  35636. return J.elementAt$1$ax(this.get$_base(), index);
  35637. },
  35638. get$first(_) {
  35639. return J.get$first$ax(this.get$_base());
  35640. },
  35641. get$isEmpty(_) {
  35642. return J.get$isEmpty$asx(this.get$_base());
  35643. },
  35644. get$isNotEmpty(_) {
  35645. return J.get$isNotEmpty$asx(this.get$_base());
  35646. },
  35647. get$iterator(_) {
  35648. return J.get$iterator$ax(this.get$_base());
  35649. },
  35650. join$1(_, separator) {
  35651. return J.join$1$ax(this.get$_base(), separator);
  35652. },
  35653. join$0($receiver) {
  35654. return this.join$1($receiver, "");
  35655. },
  35656. get$last(_) {
  35657. return J.get$last$ax(this.get$_base());
  35658. },
  35659. get$length(_) {
  35660. return J.get$length$asx(this.get$_base());
  35661. },
  35662. map$1$1(_, f, $T) {
  35663. return J.map$1$1$ax(this.get$_base(), f, $T);
  35664. },
  35665. get$single(_) {
  35666. return J.get$single$ax(this.get$_base());
  35667. },
  35668. skip$1(_, n) {
  35669. return J.skip$1$ax(this.get$_base(), n);
  35670. },
  35671. take$1(_, n) {
  35672. return J.take$1$ax(this.get$_base(), n);
  35673. },
  35674. toList$1$growable(_, growable) {
  35675. return J.toList$1$growable$ax(this.get$_base(), true);
  35676. },
  35677. toList$0($receiver) {
  35678. return this.toList$1$growable($receiver, true);
  35679. },
  35680. toSet$0(_) {
  35681. return J.toSet$0$ax(this.get$_base());
  35682. },
  35683. where$1(_, test) {
  35684. return J.where$1$ax(this.get$_base(), test);
  35685. },
  35686. toString$0(_) {
  35687. return J.toString$0$(this.get$_base());
  35688. },
  35689. $isIterable: 1
  35690. };
  35691. A.DelegatingSet.prototype = {
  35692. add$1(_, value) {
  35693. return this._base.add$1(0, value);
  35694. },
  35695. addAll$1(_, elements) {
  35696. this._base.addAll$1(0, elements);
  35697. },
  35698. toSet$0(_) {
  35699. return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
  35700. },
  35701. $isEfficientLengthIterable: 1,
  35702. $isSet: 1,
  35703. get$_base() {
  35704. return this._base;
  35705. }
  35706. };
  35707. A.MapKeySet.prototype = {
  35708. get$_base() {
  35709. var t1 = this._baseMap;
  35710. return t1.get$keys(t1);
  35711. },
  35712. contains$1(_, element) {
  35713. return this._baseMap.containsKey$1(element);
  35714. },
  35715. get$isEmpty(_) {
  35716. var t1 = this._baseMap;
  35717. return t1.get$isEmpty(t1);
  35718. },
  35719. get$isNotEmpty(_) {
  35720. var t1 = this._baseMap;
  35721. return t1.get$isNotEmpty(t1);
  35722. },
  35723. get$length(_) {
  35724. var t1 = this._baseMap;
  35725. return t1.get$length(t1);
  35726. },
  35727. toString$0(_) {
  35728. return A.Iterable_iterableToFullString(this, "{", "}");
  35729. },
  35730. difference$1(other) {
  35731. return J.where$1$ax(this.get$_base(), new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
  35732. },
  35733. $isEfficientLengthIterable: 1,
  35734. $isSet: 1
  35735. };
  35736. A.MapKeySet_difference_closure.prototype = {
  35737. call$1(element) {
  35738. return !this.other._source.contains$1(0, element);
  35739. },
  35740. $signature() {
  35741. return this.$this.$ti._eval$1("bool(1)");
  35742. }
  35743. };
  35744. A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
  35745. A.BufferModule.prototype = {};
  35746. A.BufferConstants.prototype = {};
  35747. A.Buffer.prototype = {};
  35748. A.ConsoleModule.prototype = {};
  35749. A.Console.prototype = {};
  35750. A.EventEmitter.prototype = {};
  35751. A.FS.prototype = {};
  35752. A.FSConstants.prototype = {};
  35753. A.FSWatcher.prototype = {};
  35754. A.ReadStream.prototype = {};
  35755. A.ReadStreamOptions.prototype = {};
  35756. A.WriteStream.prototype = {};
  35757. A.WriteStreamOptions.prototype = {};
  35758. A.FileOptions.prototype = {};
  35759. A.StatOptions.prototype = {};
  35760. A.MkdirOptions.prototype = {};
  35761. A.RmdirOptions.prototype = {};
  35762. A.WatchOptions.prototype = {};
  35763. A.WatchFileOptions.prototype = {};
  35764. A.Stats.prototype = {};
  35765. A.Promise.prototype = {};
  35766. A.Date.prototype = {};
  35767. A.JsError.prototype = {};
  35768. A.Atomics.prototype = {};
  35769. A.Modules.prototype = {};
  35770. A.Module1.prototype = {};
  35771. A.Net.prototype = {};
  35772. A.Socket.prototype = {};
  35773. A.NetAddress.prototype = {};
  35774. A.NetServer.prototype = {};
  35775. A.NodeJsError.prototype = {};
  35776. A.JsAssertionError.prototype = {};
  35777. A.JsRangeError.prototype = {};
  35778. A.JsReferenceError.prototype = {};
  35779. A.JsSyntaxError.prototype = {};
  35780. A.JsTypeError.prototype = {};
  35781. A.JsSystemError.prototype = {};
  35782. A.Process.prototype = {};
  35783. A.CPUUsage.prototype = {};
  35784. A.Release.prototype = {};
  35785. A.StreamModule.prototype = {};
  35786. A.Readable.prototype = {};
  35787. A.Writable.prototype = {};
  35788. A.Duplex.prototype = {};
  35789. A.Transform.prototype = {};
  35790. A.WritableOptions.prototype = {};
  35791. A.ReadableOptions.prototype = {};
  35792. A.Immediate.prototype = {};
  35793. A.Timeout.prototype = {};
  35794. A.TTY.prototype = {};
  35795. A.TTYReadStream.prototype = {};
  35796. A.TTYWriteStream.prototype = {};
  35797. A.Util.prototype = {};
  35798. A.promiseToFuture_closure.prototype = {
  35799. call$1(value) {
  35800. this.completer.complete$1(value);
  35801. },
  35802. $signature: 73
  35803. };
  35804. A.promiseToFuture_closure0.prototype = {
  35805. call$1(error) {
  35806. this.completer.completeError$1(error);
  35807. },
  35808. $signature: 73
  35809. };
  35810. A.futureToPromise_closure.prototype = {
  35811. call$2(resolve, reject) {
  35812. this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
  35813. },
  35814. $signature: 303
  35815. };
  35816. A.futureToPromise__closure.prototype = {
  35817. call$1(result) {
  35818. return this.resolve.call$1(result);
  35819. },
  35820. $signature() {
  35821. return this.T._eval$1("@(0)");
  35822. }
  35823. };
  35824. A.Context.prototype = {
  35825. absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  35826. var t1;
  35827. A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15], type$.JSArray_nullable_String));
  35828. if (part2 == null) {
  35829. t1 = this.style;
  35830. t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
  35831. } else
  35832. t1 = false;
  35833. if (t1)
  35834. return part1;
  35835. t1 = this._context$_current;
  35836. 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);
  35837. },
  35838. absolute$1(part1) {
  35839. return this.absolute$15(part1, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  35840. },
  35841. dirname$1(path) {
  35842. var t1, t2,
  35843. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  35844. parsed.removeTrailingSeparators$0();
  35845. t1 = parsed.parts;
  35846. t2 = t1.length;
  35847. if (t2 === 0) {
  35848. t1 = parsed.root;
  35849. return t1 == null ? "." : t1;
  35850. }
  35851. if (t2 === 1) {
  35852. t1 = parsed.root;
  35853. return t1 == null ? "." : t1;
  35854. }
  35855. B.JSArray_methods.removeLast$0(t1);
  35856. parsed.separators.pop();
  35857. parsed.removeTrailingSeparators$0();
  35858. return parsed.toString$0(0);
  35859. },
  35860. join$16(_, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16) {
  35861. var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16], type$.JSArray_nullable_String);
  35862. A._validateArgList("join", parts);
  35863. return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
  35864. },
  35865. join$2($receiver, part1, part2) {
  35866. return this.join$16($receiver, part1, part2, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  35867. },
  35868. joinAll$1(parts) {
  35869. var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
  35870. 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();) {
  35871. t5 = t1.get$current(t1);
  35872. if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
  35873. parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
  35874. path = t4.charCodeAt(0) == 0 ? t4 : t4;
  35875. t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
  35876. parsed.root = t4;
  35877. if (t3.needsSeparator$1(t4))
  35878. parsed.separators[0] = t3.get$separator(t3);
  35879. t4 = "" + parsed.toString$0(0);
  35880. } else if (t3.rootLength$1(t5) > 0) {
  35881. isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
  35882. t4 = "" + t5;
  35883. } else {
  35884. if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
  35885. if (needsSeparator)
  35886. t4 += t3.get$separator(t3);
  35887. t4 += t5;
  35888. }
  35889. needsSeparator = t3.needsSeparator$1(t5);
  35890. }
  35891. return t4.charCodeAt(0) == 0 ? t4 : t4;
  35892. },
  35893. split$1(_, path) {
  35894. var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
  35895. t1 = parsed.parts,
  35896. t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
  35897. t2 = A.List_List$of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), true, t2._eval$1("Iterable.E"));
  35898. parsed.parts = t2;
  35899. t1 = parsed.root;
  35900. if (t1 != null)
  35901. B.JSArray_methods.insert$2(t2, 0, t1);
  35902. return parsed.parts;
  35903. },
  35904. canonicalize$1(_, path) {
  35905. var t1, parsed;
  35906. path = this.absolute$1(path);
  35907. t1 = this.style;
  35908. if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
  35909. return path;
  35910. parsed = A.ParsedPath_ParsedPath$parse(path, t1);
  35911. parsed.normalize$1$canonicalize(true);
  35912. return parsed.toString$0(0);
  35913. },
  35914. normalize$1(path) {
  35915. var parsed;
  35916. if (!this._needsNormalization$1(path))
  35917. return path;
  35918. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  35919. parsed.normalize$0();
  35920. return parsed.toString$0(0);
  35921. },
  35922. _needsNormalization$1(path) {
  35923. var i, start, previous, t2, t3, previousPrevious, codeUnit, t4,
  35924. t1 = this.style,
  35925. root = t1.rootLength$1(path);
  35926. if (root !== 0) {
  35927. if (t1 === $.$get$Style_windows())
  35928. for (i = 0; i < root; ++i)
  35929. if (B.JSString_methods._codeUnitAt$1(path, i) === 47)
  35930. return true;
  35931. start = root;
  35932. previous = 47;
  35933. } else {
  35934. start = 0;
  35935. previous = null;
  35936. }
  35937. for (t2 = new A.CodeUnits(path).__internal$_string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) {
  35938. codeUnit = B.JSString_methods.codeUnitAt$1(t2, i);
  35939. if (t1.isSeparator$1(codeUnit)) {
  35940. if (t1 === $.$get$Style_windows() && codeUnit === 47)
  35941. return true;
  35942. if (previous != null && t1.isSeparator$1(previous))
  35943. return true;
  35944. if (previous === 46)
  35945. t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
  35946. else
  35947. t4 = false;
  35948. if (t4)
  35949. return true;
  35950. }
  35951. }
  35952. if (previous == null)
  35953. return true;
  35954. if (t1.isSeparator$1(previous))
  35955. return true;
  35956. if (previous === 46)
  35957. t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
  35958. else
  35959. t1 = false;
  35960. if (t1)
  35961. return true;
  35962. return false;
  35963. },
  35964. relative$2$from(path, from) {
  35965. var fromParsed, pathParsed, t2, t3, _this = this,
  35966. _s26_ = 'Unable to find a path to "',
  35967. t1 = from == null;
  35968. if (t1 && _this.style.rootLength$1(path) <= 0)
  35969. return _this.normalize$1(path);
  35970. if (t1) {
  35971. t1 = _this._context$_current;
  35972. from = t1 == null ? A.current() : t1;
  35973. } else
  35974. from = _this.absolute$1(from);
  35975. t1 = _this.style;
  35976. if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
  35977. return _this.normalize$1(path);
  35978. if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
  35979. path = _this.absolute$1(path);
  35980. if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
  35981. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  35982. fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
  35983. fromParsed.normalize$0();
  35984. pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
  35985. pathParsed.normalize$0();
  35986. t2 = fromParsed.parts;
  35987. if (t2.length !== 0 && J.$eq$(t2[0], "."))
  35988. return pathParsed.toString$0(0);
  35989. t2 = fromParsed.root;
  35990. t3 = pathParsed.root;
  35991. if (t2 != t3)
  35992. t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
  35993. else
  35994. t2 = false;
  35995. if (t2)
  35996. return pathParsed.toString$0(0);
  35997. while (true) {
  35998. t2 = fromParsed.parts;
  35999. if (t2.length !== 0) {
  36000. t3 = pathParsed.parts;
  36001. t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
  36002. } else
  36003. t2 = false;
  36004. if (!t2)
  36005. break;
  36006. B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
  36007. B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
  36008. B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
  36009. B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
  36010. }
  36011. t2 = fromParsed.parts;
  36012. if (t2.length !== 0 && J.$eq$(t2[0], ".."))
  36013. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  36014. t2 = type$.String;
  36015. B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(fromParsed.parts.length, "..", false, t2));
  36016. t3 = pathParsed.separators;
  36017. t3[0] = "";
  36018. B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
  36019. t1 = pathParsed.parts;
  36020. t2 = t1.length;
  36021. if (t2 === 0)
  36022. return ".";
  36023. if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
  36024. B.JSArray_methods.removeLast$0(pathParsed.parts);
  36025. t1 = pathParsed.separators;
  36026. t1.pop();
  36027. t1.pop();
  36028. t1.push("");
  36029. }
  36030. pathParsed.root = "";
  36031. pathParsed.removeTrailingSeparators$0();
  36032. return pathParsed.toString$0(0);
  36033. },
  36034. relative$1(path) {
  36035. return this.relative$2$from(path, null);
  36036. },
  36037. _isWithinOrEquals$2($parent, child) {
  36038. var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
  36039. $parent = $parent;
  36040. child = child;
  36041. t1 = _this.style;
  36042. parentIsAbsolute = t1.rootLength$1($parent) > 0;
  36043. childIsAbsolute = t1.rootLength$1(child) > 0;
  36044. if (parentIsAbsolute && !childIsAbsolute) {
  36045. child = _this.absolute$1(child);
  36046. if (t1.isRootRelative$1($parent))
  36047. $parent = _this.absolute$1($parent);
  36048. } else if (childIsAbsolute && !parentIsAbsolute) {
  36049. $parent = _this.absolute$1($parent);
  36050. if (t1.isRootRelative$1(child))
  36051. child = _this.absolute$1(child);
  36052. } else if (childIsAbsolute && parentIsAbsolute) {
  36053. childIsRootRelative = t1.isRootRelative$1(child);
  36054. parentIsRootRelative = t1.isRootRelative$1($parent);
  36055. if (childIsRootRelative && !parentIsRootRelative)
  36056. child = _this.absolute$1(child);
  36057. else if (parentIsRootRelative && !childIsRootRelative)
  36058. $parent = _this.absolute$1($parent);
  36059. }
  36060. result = _this._isWithinOrEqualsFast$2($parent, child);
  36061. if (result !== B._PathRelation_inconclusive)
  36062. return result;
  36063. relative = null;
  36064. try {
  36065. relative = _this.relative$2$from(child, $parent);
  36066. } catch (exception) {
  36067. if (A.unwrapException(exception) instanceof A.PathException)
  36068. return B._PathRelation_different;
  36069. else
  36070. throw exception;
  36071. }
  36072. if (t1.rootLength$1(relative) > 0)
  36073. return B._PathRelation_different;
  36074. if (J.$eq$(relative, "."))
  36075. return B._PathRelation_equal;
  36076. if (J.$eq$(relative, ".."))
  36077. return B._PathRelation_different;
  36078. 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;
  36079. },
  36080. _isWithinOrEqualsFast$2($parent, child) {
  36081. var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
  36082. if ($parent === ".")
  36083. $parent = "";
  36084. t1 = _this.style;
  36085. parentRootLength = t1.rootLength$1($parent);
  36086. childRootLength = t1.rootLength$1(child);
  36087. if (parentRootLength !== childRootLength)
  36088. return B._PathRelation_different;
  36089. for (i = 0; i < parentRootLength; ++i)
  36090. if (!t1.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1($parent, i), B.JSString_methods._codeUnitAt$1(child, i)))
  36091. return B._PathRelation_different;
  36092. t2 = child.length;
  36093. t3 = $parent.length;
  36094. childIndex = childRootLength;
  36095. parentIndex = parentRootLength;
  36096. lastCodeUnit = 47;
  36097. lastParentSeparator = null;
  36098. while (true) {
  36099. if (!(parentIndex < t3 && childIndex < t2))
  36100. break;
  36101. c$0: {
  36102. parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
  36103. childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
  36104. if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
  36105. if (t1.isSeparator$1(parentCodeUnit))
  36106. lastParentSeparator = parentIndex;
  36107. ++parentIndex;
  36108. ++childIndex;
  36109. lastCodeUnit = parentCodeUnit;
  36110. break c$0;
  36111. }
  36112. if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  36113. parentIndex0 = parentIndex + 1;
  36114. lastParentSeparator = parentIndex;
  36115. parentIndex = parentIndex0;
  36116. break c$0;
  36117. } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  36118. ++childIndex;
  36119. break c$0;
  36120. }
  36121. if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  36122. ++parentIndex;
  36123. if (parentIndex === t3)
  36124. break;
  36125. parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
  36126. if (t1.isSeparator$1(parentCodeUnit)) {
  36127. parentIndex0 = parentIndex + 1;
  36128. lastParentSeparator = parentIndex;
  36129. parentIndex = parentIndex0;
  36130. break c$0;
  36131. }
  36132. if (parentCodeUnit === 46) {
  36133. ++parentIndex;
  36134. if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
  36135. return B._PathRelation_inconclusive;
  36136. }
  36137. }
  36138. if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  36139. ++childIndex;
  36140. if (childIndex === t2)
  36141. break;
  36142. childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
  36143. if (t1.isSeparator$1(childCodeUnit)) {
  36144. ++childIndex;
  36145. break c$0;
  36146. }
  36147. if (childCodeUnit === 46) {
  36148. ++childIndex;
  36149. if (childIndex === t2 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)))
  36150. return B._PathRelation_inconclusive;
  36151. }
  36152. }
  36153. if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_988)
  36154. return B._PathRelation_inconclusive;
  36155. if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_988)
  36156. return B._PathRelation_inconclusive;
  36157. return B._PathRelation_different;
  36158. }
  36159. }
  36160. if (childIndex === t2) {
  36161. if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
  36162. lastParentSeparator = parentIndex;
  36163. else if (lastParentSeparator == null)
  36164. lastParentSeparator = Math.max(0, parentRootLength - 1);
  36165. direction = _this._pathDirection$2($parent, lastParentSeparator);
  36166. if (direction === B._PathDirection_8Gl)
  36167. return B._PathRelation_equal;
  36168. return direction === B._PathDirection_ZGD ? B._PathRelation_inconclusive : B._PathRelation_different;
  36169. }
  36170. direction = _this._pathDirection$2(child, childIndex);
  36171. if (direction === B._PathDirection_8Gl)
  36172. return B._PathRelation_equal;
  36173. if (direction === B._PathDirection_ZGD)
  36174. return B._PathRelation_inconclusive;
  36175. return t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
  36176. },
  36177. _pathDirection$2(path, index) {
  36178. var t1, t2, i, depth, reachedRoot, i0, t3;
  36179. for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
  36180. while (true) {
  36181. if (!(i < t1 && t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i))))
  36182. break;
  36183. ++i;
  36184. }
  36185. if (i === t1)
  36186. break;
  36187. i0 = i;
  36188. while (true) {
  36189. if (!(i0 < t1 && !t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i0))))
  36190. break;
  36191. ++i0;
  36192. }
  36193. t3 = i0 - i;
  36194. if (!(t3 === 1 && B.JSString_methods.codeUnitAt$1(path, i) === 46))
  36195. if (t3 === 2 && B.JSString_methods.codeUnitAt$1(path, i) === 46 && B.JSString_methods.codeUnitAt$1(path, i + 1) === 46) {
  36196. --depth;
  36197. if (depth < 0)
  36198. break;
  36199. if (depth === 0)
  36200. reachedRoot = true;
  36201. } else
  36202. ++depth;
  36203. if (i0 === t1)
  36204. break;
  36205. i = i0 + 1;
  36206. }
  36207. if (depth < 0)
  36208. return B._PathDirection_ZGD;
  36209. if (depth === 0)
  36210. return B._PathDirection_8Gl;
  36211. if (reachedRoot)
  36212. return B._PathDirection_FIw;
  36213. return B._PathDirection_988;
  36214. },
  36215. hash$1(path) {
  36216. var result, parsed, t1, _this = this;
  36217. path = _this.absolute$1(path);
  36218. result = _this._hashFast$1(path);
  36219. if (result != null)
  36220. return result;
  36221. parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
  36222. parsed.normalize$0();
  36223. t1 = _this._hashFast$1(parsed.toString$0(0));
  36224. t1.toString;
  36225. return t1;
  36226. },
  36227. _hashFast$1(path) {
  36228. var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
  36229. for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
  36230. codeUnit = t2.canonicalizeCodeUnit$1(B.JSString_methods._codeUnitAt$1(path, i));
  36231. if (t2.isSeparator$1(codeUnit)) {
  36232. wasSeparator = true;
  36233. continue;
  36234. }
  36235. if (codeUnit === 46 && wasSeparator) {
  36236. t3 = i + 1;
  36237. if (t3 === t1)
  36238. break;
  36239. next = B.JSString_methods._codeUnitAt$1(path, t3);
  36240. if (t2.isSeparator$1(next))
  36241. continue;
  36242. if (!beginning)
  36243. if (next === 46) {
  36244. t3 = i + 2;
  36245. t3 = t3 === t1 || t2.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, t3));
  36246. } else
  36247. t3 = false;
  36248. else
  36249. t3 = false;
  36250. if (t3)
  36251. return null;
  36252. }
  36253. hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
  36254. beginning = false;
  36255. wasSeparator = false;
  36256. }
  36257. return hash;
  36258. },
  36259. withoutExtension$1(path) {
  36260. var i,
  36261. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  36262. for (i = parsed.parts.length - 1; i >= 0; --i)
  36263. if (J.get$length$asx(parsed.parts[i]) !== 0) {
  36264. parsed.parts[i] = parsed._splitExtension$0()[0];
  36265. break;
  36266. }
  36267. return parsed.toString$0(0);
  36268. },
  36269. toUri$1(path) {
  36270. var t2,
  36271. t1 = this.style;
  36272. if (t1.rootLength$1(path) <= 0)
  36273. return t1.relativePathToUri$1(path);
  36274. else {
  36275. t2 = this._context$_current;
  36276. return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
  36277. }
  36278. },
  36279. prettyUri$1(uri) {
  36280. var path, rel, _this = this,
  36281. typedUri = A._parseUri(uri);
  36282. if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
  36283. return typedUri.toString$0(0);
  36284. else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
  36285. return typedUri.toString$0(0);
  36286. path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
  36287. rel = _this.relative$1(path);
  36288. return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
  36289. }
  36290. };
  36291. A.Context_joinAll_closure.prototype = {
  36292. call$1(part) {
  36293. return part !== "";
  36294. },
  36295. $signature: 8
  36296. };
  36297. A.Context_split_closure.prototype = {
  36298. call$1(part) {
  36299. return part.length !== 0;
  36300. },
  36301. $signature: 8
  36302. };
  36303. A._validateArgList_closure.prototype = {
  36304. call$1(arg) {
  36305. return arg == null ? "null" : '"' + arg + '"';
  36306. },
  36307. $signature: 316
  36308. };
  36309. A._PathDirection.prototype = {
  36310. toString$0(_) {
  36311. return this.name;
  36312. }
  36313. };
  36314. A._PathRelation.prototype = {
  36315. toString$0(_) {
  36316. return this.name;
  36317. }
  36318. };
  36319. A.InternalStyle.prototype = {
  36320. getRoot$1(path) {
  36321. var $length = this.rootLength$1(path);
  36322. if ($length > 0)
  36323. return B.JSString_methods.substring$2(path, 0, $length);
  36324. return this.isRootRelative$1(path) ? path[0] : null;
  36325. },
  36326. relativePathToUri$1(path) {
  36327. var segments, _null = null,
  36328. t1 = path.length;
  36329. if (t1 === 0)
  36330. return A._Uri__Uri(_null, _null, _null, _null);
  36331. segments = A.Context_Context(this).split$1(0, path);
  36332. if (this.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, t1 - 1)))
  36333. B.JSArray_methods.add$1(segments, "");
  36334. return A._Uri__Uri(_null, _null, segments, _null);
  36335. },
  36336. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  36337. return codeUnit1 === codeUnit2;
  36338. },
  36339. pathsEqual$2(path1, path2) {
  36340. return path1 === path2;
  36341. },
  36342. canonicalizeCodeUnit$1(codeUnit) {
  36343. return codeUnit;
  36344. },
  36345. canonicalizePart$1(part) {
  36346. return part;
  36347. }
  36348. };
  36349. A.ParsedPath.prototype = {
  36350. get$basename() {
  36351. var _this = this,
  36352. t1 = type$.String,
  36353. 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));
  36354. copy.removeTrailingSeparators$0();
  36355. t1 = copy.parts;
  36356. if (t1.length === 0) {
  36357. t1 = _this.root;
  36358. return t1 == null ? "" : t1;
  36359. }
  36360. return B.JSArray_methods.get$last(t1);
  36361. },
  36362. get$hasTrailingSeparator() {
  36363. var t1 = this.parts;
  36364. if (t1.length !== 0)
  36365. t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), "");
  36366. else
  36367. t1 = false;
  36368. return t1;
  36369. },
  36370. removeTrailingSeparators$0() {
  36371. var t1, t2, _this = this;
  36372. while (true) {
  36373. t1 = _this.parts;
  36374. if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
  36375. break;
  36376. B.JSArray_methods.removeLast$0(_this.parts);
  36377. _this.separators.pop();
  36378. }
  36379. t1 = _this.separators;
  36380. t2 = t1.length;
  36381. if (t2 !== 0)
  36382. t1[t2 - 1] = "";
  36383. },
  36384. normalize$1$canonicalize(canonicalize) {
  36385. var t1, t2, t3, leadingDoubles, _i, part, t4, _this = this,
  36386. newParts = A._setArrayType([], type$.JSArray_String);
  36387. 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) {
  36388. part = t1[_i];
  36389. t4 = J.getInterceptor$(part);
  36390. if (!(t4.$eq(part, ".") || t4.$eq(part, "")))
  36391. if (t4.$eq(part, ".."))
  36392. if (newParts.length !== 0)
  36393. newParts.pop();
  36394. else
  36395. ++leadingDoubles;
  36396. else
  36397. newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
  36398. }
  36399. if (_this.root == null)
  36400. B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
  36401. if (newParts.length === 0 && _this.root == null)
  36402. newParts.push(".");
  36403. _this.parts = newParts;
  36404. _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
  36405. t1 = _this.root;
  36406. if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
  36407. _this.separators[0] = "";
  36408. t1 = _this.root;
  36409. if (t1 != null && t3 === $.$get$Style_windows()) {
  36410. if (canonicalize)
  36411. t1 = _this.root = t1.toLowerCase();
  36412. t1.toString;
  36413. _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
  36414. }
  36415. _this.removeTrailingSeparators$0();
  36416. },
  36417. normalize$0() {
  36418. return this.normalize$1$canonicalize(false);
  36419. },
  36420. toString$0(_) {
  36421. var i, _this = this,
  36422. t1 = _this.root;
  36423. t1 = t1 != null ? "" + t1 : "";
  36424. for (i = 0; i < _this.parts.length; ++i)
  36425. t1 = t1 + A.S(_this.separators[i]) + A.S(_this.parts[i]);
  36426. t1 += A.S(B.JSArray_methods.get$last(_this.separators));
  36427. return t1.charCodeAt(0) == 0 ? t1 : t1;
  36428. },
  36429. _kthLastIndexOf$3(path, character, k) {
  36430. var index, count, leftMostIndexedCharacter;
  36431. for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
  36432. if (path[index] === character) {
  36433. ++count;
  36434. if (count === k)
  36435. return index;
  36436. leftMostIndexedCharacter = index;
  36437. }
  36438. return leftMostIndexedCharacter;
  36439. },
  36440. _splitExtension$1(level) {
  36441. var t1, file, lastDot;
  36442. if (level <= 0)
  36443. throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
  36444. t1 = this.parts;
  36445. t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
  36446. file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
  36447. if (file == null)
  36448. return A._setArrayType(["", ""], type$.JSArray_String);
  36449. if (file === "..")
  36450. return A._setArrayType(["..", ""], type$.JSArray_String);
  36451. lastDot = this._kthLastIndexOf$3(file, ".", level);
  36452. if (lastDot <= 0)
  36453. return A._setArrayType([file, ""], type$.JSArray_String);
  36454. return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
  36455. },
  36456. _splitExtension$0() {
  36457. return this._splitExtension$1(1);
  36458. }
  36459. };
  36460. A.ParsedPath__splitExtension_closure.prototype = {
  36461. call$1(p) {
  36462. return p !== "";
  36463. },
  36464. $signature: 217
  36465. };
  36466. A.ParsedPath__splitExtension_closure0.prototype = {
  36467. call$0() {
  36468. return null;
  36469. },
  36470. $signature: 1
  36471. };
  36472. A.PathException.prototype = {
  36473. toString$0(_) {
  36474. return "PathException: " + this.message;
  36475. },
  36476. $isException: 1,
  36477. get$message(receiver) {
  36478. return this.message;
  36479. }
  36480. };
  36481. A.PathMap.prototype = {};
  36482. A.PathMap__create_closure.prototype = {
  36483. call$2(path1, path2) {
  36484. if (path1 == null)
  36485. return path2 == null;
  36486. if (path2 == null)
  36487. return false;
  36488. return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
  36489. },
  36490. $signature: 321
  36491. };
  36492. A.PathMap__create_closure0.prototype = {
  36493. call$1(path) {
  36494. return path == null ? 0 : this._box_0.context.hash$1(path);
  36495. },
  36496. $signature: 322
  36497. };
  36498. A.PathMap__create_closure1.prototype = {
  36499. call$1(path) {
  36500. return typeof path == "string" || path == null;
  36501. },
  36502. $signature: 122
  36503. };
  36504. A.Style.prototype = {
  36505. toString$0(_) {
  36506. return this.get$name(this);
  36507. }
  36508. };
  36509. A.PosixStyle.prototype = {
  36510. containsSeparator$1(path) {
  36511. return B.JSString_methods.contains$1(path, "/");
  36512. },
  36513. isSeparator$1(codeUnit) {
  36514. return codeUnit === 47;
  36515. },
  36516. needsSeparator$1(path) {
  36517. var t1 = path.length;
  36518. return t1 !== 0 && B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47;
  36519. },
  36520. rootLength$2$withDrive(path, withDrive) {
  36521. if (path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47)
  36522. return 1;
  36523. return 0;
  36524. },
  36525. rootLength$1(path) {
  36526. return this.rootLength$2$withDrive(path, false);
  36527. },
  36528. isRootRelative$1(path) {
  36529. return false;
  36530. },
  36531. pathFromUri$1(uri) {
  36532. var t1;
  36533. if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
  36534. t1 = uri.get$path(uri);
  36535. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  36536. }
  36537. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  36538. },
  36539. absolutePathToUri$1(path) {
  36540. var parsed = A.ParsedPath_ParsedPath$parse(path, this),
  36541. t1 = parsed.parts;
  36542. if (t1.length === 0)
  36543. B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
  36544. else if (parsed.get$hasTrailingSeparator())
  36545. B.JSArray_methods.add$1(parsed.parts, "");
  36546. return A._Uri__Uri(null, null, parsed.parts, "file");
  36547. },
  36548. get$name() {
  36549. return "posix";
  36550. },
  36551. get$separator() {
  36552. return "/";
  36553. }
  36554. };
  36555. A.UrlStyle.prototype = {
  36556. containsSeparator$1(path) {
  36557. return B.JSString_methods.contains$1(path, "/");
  36558. },
  36559. isSeparator$1(codeUnit) {
  36560. return codeUnit === 47;
  36561. },
  36562. needsSeparator$1(path) {
  36563. var t1 = path.length;
  36564. if (t1 === 0)
  36565. return false;
  36566. if (B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47)
  36567. return true;
  36568. return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
  36569. },
  36570. rootLength$2$withDrive(path, withDrive) {
  36571. var i, codeUnit, index, t2,
  36572. t1 = path.length;
  36573. if (t1 === 0)
  36574. return 0;
  36575. if (B.JSString_methods._codeUnitAt$1(path, 0) === 47)
  36576. return 1;
  36577. for (i = 0; i < t1; ++i) {
  36578. codeUnit = B.JSString_methods._codeUnitAt$1(path, i);
  36579. if (codeUnit === 47)
  36580. return 0;
  36581. if (codeUnit === 58) {
  36582. if (i === 0)
  36583. return 0;
  36584. index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
  36585. if (index <= 0)
  36586. return t1;
  36587. if (!withDrive || t1 < index + 3)
  36588. return index;
  36589. if (!B.JSString_methods.startsWith$1(path, "file://"))
  36590. return index;
  36591. if (!A.isDriveLetter(path, index + 1))
  36592. return index;
  36593. t2 = index + 3;
  36594. return t1 === t2 ? t2 : index + 4;
  36595. }
  36596. }
  36597. return 0;
  36598. },
  36599. rootLength$1(path) {
  36600. return this.rootLength$2$withDrive(path, false);
  36601. },
  36602. isRootRelative$1(path) {
  36603. return path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47;
  36604. },
  36605. pathFromUri$1(uri) {
  36606. return uri.toString$0(0);
  36607. },
  36608. relativePathToUri$1(path) {
  36609. return A.Uri_parse(path);
  36610. },
  36611. absolutePathToUri$1(path) {
  36612. return A.Uri_parse(path);
  36613. },
  36614. get$name() {
  36615. return "url";
  36616. },
  36617. get$separator() {
  36618. return "/";
  36619. }
  36620. };
  36621. A.WindowsStyle.prototype = {
  36622. containsSeparator$1(path) {
  36623. return B.JSString_methods.contains$1(path, "/");
  36624. },
  36625. isSeparator$1(codeUnit) {
  36626. return codeUnit === 47 || codeUnit === 92;
  36627. },
  36628. needsSeparator$1(path) {
  36629. var t1 = path.length;
  36630. if (t1 === 0)
  36631. return false;
  36632. t1 = B.JSString_methods.codeUnitAt$1(path, t1 - 1);
  36633. return !(t1 === 47 || t1 === 92);
  36634. },
  36635. rootLength$2$withDrive(path, withDrive) {
  36636. var t2, index,
  36637. t1 = path.length;
  36638. if (t1 === 0)
  36639. return 0;
  36640. t2 = B.JSString_methods._codeUnitAt$1(path, 0);
  36641. if (t2 === 47)
  36642. return 1;
  36643. if (t2 === 92) {
  36644. if (t1 < 2 || B.JSString_methods._codeUnitAt$1(path, 1) !== 92)
  36645. return 1;
  36646. index = B.JSString_methods.indexOf$2(path, "\\", 2);
  36647. if (index > 0) {
  36648. index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
  36649. if (index > 0)
  36650. return index;
  36651. }
  36652. return t1;
  36653. }
  36654. if (t1 < 3)
  36655. return 0;
  36656. if (!A.isAlphabetic(t2))
  36657. return 0;
  36658. if (B.JSString_methods._codeUnitAt$1(path, 1) !== 58)
  36659. return 0;
  36660. t1 = B.JSString_methods._codeUnitAt$1(path, 2);
  36661. if (!(t1 === 47 || t1 === 92))
  36662. return 0;
  36663. return 3;
  36664. },
  36665. rootLength$1(path) {
  36666. return this.rootLength$2$withDrive(path, false);
  36667. },
  36668. isRootRelative$1(path) {
  36669. return this.rootLength$1(path) === 1;
  36670. },
  36671. pathFromUri$1(uri) {
  36672. var path, t1;
  36673. if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
  36674. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  36675. path = uri.get$path(uri);
  36676. if (uri.get$host() === "") {
  36677. if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.isDriveLetter(path, 1))
  36678. path = B.JSString_methods.replaceFirst$2(path, "/", "");
  36679. } else
  36680. path = "\\\\" + uri.get$host() + path;
  36681. t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
  36682. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  36683. },
  36684. absolutePathToUri$1(path) {
  36685. var rootParts, t2,
  36686. parsed = A.ParsedPath_ParsedPath$parse(path, this),
  36687. t1 = parsed.root;
  36688. t1.toString;
  36689. if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
  36690. rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
  36691. B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(rootParts));
  36692. if (parsed.get$hasTrailingSeparator())
  36693. B.JSArray_methods.add$1(parsed.parts, "");
  36694. return A._Uri__Uri(rootParts.get$first(rootParts), null, parsed.parts, "file");
  36695. } else {
  36696. if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
  36697. B.JSArray_methods.add$1(parsed.parts, "");
  36698. t1 = parsed.parts;
  36699. t2 = parsed.root;
  36700. t2.toString;
  36701. t2 = A.stringReplaceAllUnchecked(t2, "/", "");
  36702. B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
  36703. return A._Uri__Uri(null, null, parsed.parts, "file");
  36704. }
  36705. },
  36706. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  36707. var upperCase1;
  36708. if (codeUnit1 === codeUnit2)
  36709. return true;
  36710. if (codeUnit1 === 47)
  36711. return codeUnit2 === 92;
  36712. if (codeUnit1 === 92)
  36713. return codeUnit2 === 47;
  36714. if ((codeUnit1 ^ codeUnit2) !== 32)
  36715. return false;
  36716. upperCase1 = codeUnit1 | 32;
  36717. return upperCase1 >= 97 && upperCase1 <= 122;
  36718. },
  36719. pathsEqual$2(path1, path2) {
  36720. var t1, i;
  36721. if (path1 === path2)
  36722. return true;
  36723. t1 = path1.length;
  36724. if (t1 !== path2.length)
  36725. return false;
  36726. for (i = 0; i < t1; ++i)
  36727. if (!this.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1(path1, i), B.JSString_methods._codeUnitAt$1(path2, i)))
  36728. return false;
  36729. return true;
  36730. },
  36731. canonicalizeCodeUnit$1(codeUnit) {
  36732. if (codeUnit === 47)
  36733. return 92;
  36734. if (codeUnit < 65)
  36735. return codeUnit;
  36736. if (codeUnit > 90)
  36737. return codeUnit;
  36738. return codeUnit | 32;
  36739. },
  36740. canonicalizePart$1(part) {
  36741. return part.toLowerCase();
  36742. },
  36743. get$name() {
  36744. return "windows";
  36745. },
  36746. get$separator() {
  36747. return "\\";
  36748. }
  36749. };
  36750. A.WindowsStyle_absolutePathToUri_closure.prototype = {
  36751. call$1(part) {
  36752. return part !== "";
  36753. },
  36754. $signature: 8
  36755. };
  36756. A.Version.prototype = {
  36757. get$min() {
  36758. return this;
  36759. },
  36760. get$max() {
  36761. return this;
  36762. },
  36763. get$includeMin() {
  36764. return true;
  36765. },
  36766. get$includeMax() {
  36767. return true;
  36768. },
  36769. $eq(_, other) {
  36770. var _this = this;
  36771. if (other == null)
  36772. return false;
  36773. 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);
  36774. },
  36775. get$hashCode(_) {
  36776. var _this = this;
  36777. return (_this.major ^ _this.minor ^ _this.patch ^ B.C_IterableEquality.hash$1(_this.preRelease) ^ B.C_IterableEquality.hash$1(_this.build)) >>> 0;
  36778. },
  36779. compareTo$1(_, other) {
  36780. var t1, t2, t3, comparison, _this = this;
  36781. if (other instanceof A.Version) {
  36782. t1 = _this.major;
  36783. t2 = other.major;
  36784. if (t1 !== t2)
  36785. return B.JSInt_methods.compareTo$1(t1, t2);
  36786. t1 = _this.minor;
  36787. t2 = other.minor;
  36788. if (t1 !== t2)
  36789. return B.JSInt_methods.compareTo$1(t1, t2);
  36790. t1 = _this.patch;
  36791. t2 = other.patch;
  36792. if (t1 !== t2)
  36793. return B.JSInt_methods.compareTo$1(t1, t2);
  36794. t1 = _this.preRelease;
  36795. t2 = t1.length === 0;
  36796. if (t2 && other.preRelease.length !== 0)
  36797. return 1;
  36798. t3 = other.preRelease;
  36799. if (t3.length === 0 && !t2)
  36800. return -1;
  36801. comparison = _this._compareLists$2(t1, t3);
  36802. if (comparison !== 0)
  36803. return comparison;
  36804. t1 = _this.build;
  36805. t2 = t1.length === 0;
  36806. if (t2 && other.build.length !== 0)
  36807. return -1;
  36808. t3 = other.build;
  36809. if (t3.length === 0 && !t2)
  36810. return 1;
  36811. return _this._compareLists$2(t1, t3);
  36812. } else
  36813. return -other.compareTo$1(0, _this);
  36814. },
  36815. toString$0(_) {
  36816. return this._text;
  36817. },
  36818. _compareLists$2(a, b) {
  36819. var i, t1, t2, aPart, bPart;
  36820. for (i = 0; t1 = a.length, t2 = b.length, i < Math.max(t1, t2); ++i) {
  36821. aPart = i < t1 ? a[i] : null;
  36822. bPart = i < t2 ? b[i] : null;
  36823. if (J.$eq$(aPart, bPart))
  36824. continue;
  36825. if (aPart == null)
  36826. return -1;
  36827. if (bPart == null)
  36828. return 1;
  36829. if (typeof aPart == "number")
  36830. if (typeof bPart == "number")
  36831. return B.JSNumber_methods.compareTo$1(aPart, bPart);
  36832. else
  36833. return -1;
  36834. else if (typeof bPart == "number")
  36835. return 1;
  36836. else {
  36837. A._asString(aPart);
  36838. A._asString(bPart);
  36839. if (aPart === bPart)
  36840. t1 = 0;
  36841. else
  36842. t1 = aPart < bPart ? -1 : 1;
  36843. return t1;
  36844. }
  36845. }
  36846. return 0;
  36847. },
  36848. $isComparable: 1,
  36849. $isVersionRange: 1
  36850. };
  36851. A.Version__splitParts_closure.prototype = {
  36852. call$1(part) {
  36853. var t1 = A.Primitives_parseInt(part, null);
  36854. return t1 == null ? part : t1;
  36855. },
  36856. $signature: 330
  36857. };
  36858. A.VersionRange.prototype = {
  36859. $eq(_, other) {
  36860. var t1;
  36861. if (other == null)
  36862. return false;
  36863. if (!type$.VersionRange._is(other))
  36864. return false;
  36865. if (this.min == other.get$min())
  36866. if (J.$eq$(this.max, other.get$max()))
  36867. if (!other.get$includeMin()) {
  36868. other.get$includeMax();
  36869. t1 = true;
  36870. } else
  36871. t1 = false;
  36872. else
  36873. t1 = false;
  36874. else
  36875. t1 = false;
  36876. return t1;
  36877. },
  36878. get$hashCode(_) {
  36879. var t1 = B.JSNull_methods.get$hashCode(this.min),
  36880. t2 = J.get$hashCode$(this.max);
  36881. return (t1 ^ t2 * 3 ^ 1090795 ^ 3633126) >>> 0;
  36882. },
  36883. allows$1(other) {
  36884. var t1 = this.max;
  36885. if (t1 != null)
  36886. if (other.compareTo$1(0, t1) > 0)
  36887. return false;
  36888. return true;
  36889. },
  36890. compareTo$1(_, other) {
  36891. if (other.get$min() == null)
  36892. return this._compareMax$1(other);
  36893. return -1;
  36894. },
  36895. _compareMax$1(other) {
  36896. var t2, result,
  36897. t1 = this.max;
  36898. if (t1 == null) {
  36899. if (other.get$max() == null)
  36900. return 0;
  36901. return 1;
  36902. } else if (other.get$max() == null)
  36903. return -1;
  36904. t2 = other.get$max();
  36905. t2.toString;
  36906. result = t1.compareTo$1(0, t2);
  36907. if (result !== 0)
  36908. return result;
  36909. other.get$includeMax();
  36910. return 0;
  36911. },
  36912. toString$0(_) {
  36913. var t2,
  36914. max = this.max,
  36915. t1 = max == null;
  36916. if (!t1)
  36917. t2 = "" + "<=" + max.toString$0(0);
  36918. else
  36919. t2 = "";
  36920. t1 = t1 ? t2 + "any" : t2;
  36921. return t1.charCodeAt(0) == 0 ? t1 : t1;
  36922. },
  36923. $isComparable: 1,
  36924. get$min() {
  36925. return this.min;
  36926. },
  36927. get$max() {
  36928. return this.max;
  36929. },
  36930. get$includeMin() {
  36931. return this.includeMin;
  36932. },
  36933. get$includeMax() {
  36934. return this.includeMax;
  36935. }
  36936. };
  36937. A.CssMediaQuery.prototype = {
  36938. merge$1(other) {
  36939. 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";
  36940. if (!_this.conjunction || !other.conjunction)
  36941. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  36942. t1 = _this.modifier;
  36943. ourModifier = t1 == null ? _null : t1.toLowerCase();
  36944. t2 = _this.type;
  36945. t3 = t2 == null;
  36946. ourType = t3 ? _null : t2.toLowerCase();
  36947. t4 = other.modifier;
  36948. theirModifier = t4 == null ? _null : t4.toLowerCase();
  36949. t5 = other.type;
  36950. t6 = t5 == null;
  36951. theirType = t6 ? _null : t5.toLowerCase();
  36952. t7 = ourType == null;
  36953. if (t7 && theirType == null) {
  36954. t1 = A.List_List$of(_this.conditions, true, type$.String);
  36955. B.JSArray_methods.addAll$1(t1, other.conditions);
  36956. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$condition(t1, true));
  36957. }
  36958. t8 = ourModifier === "not";
  36959. if (t8 !== (theirModifier === "not")) {
  36960. if (ourType == theirType) {
  36961. negativeConditions = t8 ? _this.conditions : other.conditions;
  36962. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  36963. return B._SingletonCssMediaQueryMergeResult_empty;
  36964. else
  36965. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  36966. } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
  36967. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  36968. if (t8) {
  36969. conditions = other.conditions;
  36970. type = theirType;
  36971. modifier = theirModifier;
  36972. } else {
  36973. conditions = _this.conditions;
  36974. type = ourType;
  36975. modifier = ourModifier;
  36976. }
  36977. } else if (t8) {
  36978. if (ourType != theirType)
  36979. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  36980. fewerConditions = _this.conditions;
  36981. fewerConditions0 = other.conditions;
  36982. t3 = fewerConditions.length > fewerConditions0.length;
  36983. moreConditions = t3 ? fewerConditions : fewerConditions0;
  36984. if (t3)
  36985. fewerConditions = fewerConditions0;
  36986. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  36987. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  36988. conditions = moreConditions;
  36989. type = ourType;
  36990. modifier = ourModifier;
  36991. } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
  36992. type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
  36993. t3 = A.List_List$of(_this.conditions, true, type$.String);
  36994. B.JSArray_methods.addAll$1(t3, other.conditions);
  36995. conditions = t3;
  36996. modifier = theirModifier;
  36997. } else {
  36998. if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
  36999. t3 = A.List_List$of(_this.conditions, true, type$.String);
  37000. B.JSArray_methods.addAll$1(t3, other.conditions);
  37001. conditions = t3;
  37002. modifier = ourModifier;
  37003. } else {
  37004. if (ourType != theirType)
  37005. return B._SingletonCssMediaQueryMergeResult_empty;
  37006. else {
  37007. modifier = ourModifier == null ? theirModifier : ourModifier;
  37008. t3 = A.List_List$of(_this.conditions, true, type$.String);
  37009. B.JSArray_methods.addAll$1(t3, other.conditions);
  37010. }
  37011. conditions = t3;
  37012. }
  37013. type = ourType;
  37014. }
  37015. t2 = type == ourType ? t2 : t5;
  37016. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$type(t2, conditions, modifier == ourModifier ? t1 : t4));
  37017. },
  37018. $eq(_, other) {
  37019. if (other == null)
  37020. return false;
  37021. return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  37022. },
  37023. get$hashCode(_) {
  37024. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  37025. },
  37026. toString$0(_) {
  37027. var t2, _this = this,
  37028. t1 = _this.modifier;
  37029. t1 = t1 != null ? "" + (t1 + " ") : "";
  37030. t2 = _this.type;
  37031. if (t2 != null) {
  37032. t1 += t2;
  37033. if (_this.conditions.length !== 0)
  37034. t1 += " and ";
  37035. }
  37036. t2 = _this.conjunction ? " and " : " or ";
  37037. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  37038. return t2.charCodeAt(0) == 0 ? t2 : t2;
  37039. }
  37040. };
  37041. A._SingletonCssMediaQueryMergeResult.prototype = {
  37042. toString$0(_) {
  37043. return this._media_query$_name;
  37044. }
  37045. };
  37046. A.MediaQuerySuccessfulMergeResult.prototype = {
  37047. toString$0(_) {
  37048. return this.query.toString$0(0);
  37049. }
  37050. };
  37051. A.ModifiableCssAtRule.prototype = {
  37052. accept$1$1(visitor) {
  37053. return visitor.visitCssAtRule$1(this);
  37054. },
  37055. accept$1(visitor) {
  37056. return this.accept$1$1(visitor, type$.dynamic);
  37057. },
  37058. equalsIgnoringChildren$1(other) {
  37059. var t1, t2;
  37060. if (other instanceof A.ModifiableCssAtRule) {
  37061. t1 = this.name;
  37062. t2 = other.name;
  37063. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  37064. } else
  37065. t1 = false;
  37066. return t1;
  37067. },
  37068. copyWithoutChildren$0() {
  37069. var _this = this;
  37070. return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
  37071. },
  37072. addChild$1(child) {
  37073. this.super$ModifiableCssParentNode$addChild(child);
  37074. },
  37075. $isCssAtRule: 1,
  37076. get$isChildless() {
  37077. return this.isChildless;
  37078. },
  37079. get$span(receiver) {
  37080. return this.span;
  37081. }
  37082. };
  37083. A.ModifiableCssComment.prototype = {
  37084. accept$1$1(visitor) {
  37085. return visitor.visitCssComment$1(this);
  37086. },
  37087. accept$1(visitor) {
  37088. return this.accept$1$1(visitor, type$.dynamic);
  37089. },
  37090. $isCssComment: 1,
  37091. get$span(receiver) {
  37092. return this.span;
  37093. }
  37094. };
  37095. A.ModifiableCssDeclaration.prototype = {
  37096. accept$1$1(visitor) {
  37097. return visitor.visitCssDeclaration$1(this);
  37098. },
  37099. accept$1(visitor) {
  37100. return this.accept$1$1(visitor, type$.dynamic);
  37101. },
  37102. toString$0(_) {
  37103. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  37104. },
  37105. get$span(receiver) {
  37106. return this.span;
  37107. }
  37108. };
  37109. A.ModifiableCssImport.prototype = {
  37110. accept$1$1(visitor) {
  37111. return visitor.visitCssImport$1(this);
  37112. },
  37113. accept$1(visitor) {
  37114. return this.accept$1$1(visitor, type$.dynamic);
  37115. },
  37116. $isCssImport: 1,
  37117. get$span(receiver) {
  37118. return this.span;
  37119. }
  37120. };
  37121. A.ModifiableCssKeyframeBlock.prototype = {
  37122. accept$1$1(visitor) {
  37123. return visitor.visitCssKeyframeBlock$1(this);
  37124. },
  37125. accept$1(visitor) {
  37126. return this.accept$1$1(visitor, type$.dynamic);
  37127. },
  37128. equalsIgnoringChildren$1(other) {
  37129. return other instanceof A.ModifiableCssKeyframeBlock && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  37130. },
  37131. copyWithoutChildren$0() {
  37132. return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
  37133. },
  37134. get$span(receiver) {
  37135. return this.span;
  37136. }
  37137. };
  37138. A.ModifiableCssMediaRule.prototype = {
  37139. accept$1$1(visitor) {
  37140. return visitor.visitCssMediaRule$1(this);
  37141. },
  37142. accept$1(visitor) {
  37143. return this.accept$1$1(visitor, type$.dynamic);
  37144. },
  37145. equalsIgnoringChildren$1(other) {
  37146. return other instanceof A.ModifiableCssMediaRule && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  37147. },
  37148. copyWithoutChildren$0() {
  37149. return A.ModifiableCssMediaRule$(this.queries, this.span);
  37150. },
  37151. $isCssMediaRule: 1,
  37152. get$span(receiver) {
  37153. return this.span;
  37154. }
  37155. };
  37156. A.ModifiableCssNode.prototype = {
  37157. get$hasFollowingSibling() {
  37158. var t2,
  37159. t1 = this._parent;
  37160. if (t1 == null)
  37161. t1 = null;
  37162. else {
  37163. t1 = t1.children;
  37164. t2 = this._indexInParent;
  37165. t2.toString;
  37166. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure());
  37167. }
  37168. return t1 === true;
  37169. },
  37170. get$isGroupEnd() {
  37171. return this.isGroupEnd;
  37172. }
  37173. };
  37174. A.ModifiableCssNode_hasFollowingSibling_closure.prototype = {
  37175. call$1(sibling) {
  37176. return !sibling.accept$1(B._IsInvisibleVisitor_true_false);
  37177. },
  37178. $signature: 131
  37179. };
  37180. A.ModifiableCssParentNode.prototype = {
  37181. get$isChildless() {
  37182. return false;
  37183. },
  37184. addChild$1(child) {
  37185. var t1;
  37186. child._parent = this;
  37187. t1 = this._children;
  37188. child._indexInParent = t1.length;
  37189. t1.push(child);
  37190. },
  37191. $isCssParentNode: 1,
  37192. get$children(receiver) {
  37193. return this.children;
  37194. }
  37195. };
  37196. A.ModifiableCssStyleRule.prototype = {
  37197. accept$1$1(visitor) {
  37198. return visitor.visitCssStyleRule$1(this);
  37199. },
  37200. accept$1(visitor) {
  37201. return this.accept$1$1(visitor, type$.dynamic);
  37202. },
  37203. equalsIgnoringChildren$1(other) {
  37204. var t1;
  37205. if (other instanceof A.ModifiableCssStyleRule)
  37206. t1 = B.C_ListEquality.equals$2(0, other._style_rule$_selector._box$_inner.value.components, this._style_rule$_selector._box$_inner.value.components);
  37207. else
  37208. t1 = false;
  37209. return t1;
  37210. },
  37211. copyWithoutChildren$0() {
  37212. return A.ModifiableCssStyleRule$(this._style_rule$_selector, this.span, this.originalSelector);
  37213. },
  37214. $isCssStyleRule: 1,
  37215. get$span(receiver) {
  37216. return this.span;
  37217. }
  37218. };
  37219. A.ModifiableCssStylesheet.prototype = {
  37220. accept$1$1(visitor) {
  37221. return visitor.visitCssStylesheet$1(this);
  37222. },
  37223. accept$1(visitor) {
  37224. return this.accept$1$1(visitor, type$.dynamic);
  37225. },
  37226. equalsIgnoringChildren$1(other) {
  37227. return other instanceof A.ModifiableCssStylesheet;
  37228. },
  37229. copyWithoutChildren$0() {
  37230. return A.ModifiableCssStylesheet$(this.span);
  37231. },
  37232. $isCssStylesheet: 1,
  37233. get$span(receiver) {
  37234. return this.span;
  37235. }
  37236. };
  37237. A.ModifiableCssSupportsRule.prototype = {
  37238. accept$1$1(visitor) {
  37239. return visitor.visitCssSupportsRule$1(this);
  37240. },
  37241. accept$1(visitor) {
  37242. return this.accept$1$1(visitor, type$.dynamic);
  37243. },
  37244. equalsIgnoringChildren$1(other) {
  37245. var t1, t2;
  37246. if (other instanceof A.ModifiableCssSupportsRule) {
  37247. t1 = this.condition;
  37248. t2 = other.condition;
  37249. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  37250. } else
  37251. t1 = false;
  37252. return t1;
  37253. },
  37254. copyWithoutChildren$0() {
  37255. return A.ModifiableCssSupportsRule$(this.condition, this.span);
  37256. },
  37257. $isCssSupportsRule: 1,
  37258. get$span(receiver) {
  37259. return this.span;
  37260. }
  37261. };
  37262. A.CssNode.prototype = {
  37263. toString$0(_) {
  37264. return A.serialize(this, true, null, true, null, false, null, true).css;
  37265. }
  37266. };
  37267. A.CssParentNode.prototype = {};
  37268. A._IsInvisibleVisitor.prototype = {
  37269. visitCssAtRule$1(rule) {
  37270. return false;
  37271. },
  37272. visitCssComment$1(comment) {
  37273. return this.includeComments && B.JSString_methods._codeUnitAt$1(comment.text, 2) !== 33;
  37274. },
  37275. visitCssStyleRule$1(rule) {
  37276. var t1 = rule._style_rule$_selector._box$_inner;
  37277. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true) : t1.value.accept$1(B._IsInvisibleVisitor_false)) || this.super$EveryCssVisitor$visitCssStyleRule(rule);
  37278. }
  37279. };
  37280. A.__IsInvisibleVisitor_Object_EveryCssVisitor.prototype = {};
  37281. A.CssStylesheet.prototype = {
  37282. get$isGroupEnd() {
  37283. return false;
  37284. },
  37285. get$isChildless() {
  37286. return false;
  37287. },
  37288. accept$1$1(visitor) {
  37289. return visitor.visitCssStylesheet$1(this);
  37290. },
  37291. accept$1(visitor) {
  37292. return this.accept$1$1(visitor, type$.dynamic);
  37293. },
  37294. get$children(receiver) {
  37295. return this.children;
  37296. },
  37297. get$span(receiver) {
  37298. return this.span;
  37299. }
  37300. };
  37301. A.CssValue.prototype = {
  37302. $eq(_, other) {
  37303. if (other == null)
  37304. return false;
  37305. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  37306. },
  37307. get$hashCode(_) {
  37308. return J.get$hashCode$(this.value);
  37309. },
  37310. toString$0(_) {
  37311. return J.toString$0$(this.value);
  37312. },
  37313. $isAstNode: 1,
  37314. get$span(receiver) {
  37315. return this.span;
  37316. }
  37317. };
  37318. A.AstNode.prototype = {};
  37319. A._FakeAstNode.prototype = {
  37320. get$span(_) {
  37321. return this._callback.call$0();
  37322. },
  37323. $isAstNode: 1
  37324. };
  37325. A.Argument.prototype = {
  37326. toString$0(_) {
  37327. var t1 = this.defaultValue,
  37328. t2 = this.name;
  37329. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  37330. },
  37331. $isAstNode: 1,
  37332. get$span(receiver) {
  37333. return this.span;
  37334. }
  37335. };
  37336. A.ArgumentDeclaration.prototype = {
  37337. get$spanWithName() {
  37338. var t3, t4,
  37339. t1 = this.span,
  37340. t2 = t1.file,
  37341. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  37342. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  37343. while (true) {
  37344. if (i > 0) {
  37345. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  37346. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  37347. } else
  37348. t3 = false;
  37349. if (!t3)
  37350. break;
  37351. --i;
  37352. }
  37353. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  37354. if (!(t3 === 95 || A.isAlphabetic0(t3) || t3 >= 128 || A.isDigit(t3) || t3 === 45))
  37355. return t1;
  37356. --i;
  37357. while (true) {
  37358. if (i >= 0) {
  37359. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  37360. if (t3 !== 95) {
  37361. if (!(t3 >= 97 && t3 <= 122))
  37362. t4 = t3 >= 65 && t3 <= 90;
  37363. else
  37364. t4 = true;
  37365. t4 = t4 || t3 >= 128;
  37366. } else
  37367. t4 = true;
  37368. if (!t4)
  37369. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  37370. else
  37371. t3 = true;
  37372. } else
  37373. t3 = false;
  37374. if (!t3)
  37375. break;
  37376. --i;
  37377. }
  37378. t3 = i + 1;
  37379. t4 = B.JSString_methods.codeUnitAt$1(text, t3);
  37380. if (!(t4 === 95 || A.isAlphabetic0(t4) || t4 >= 128))
  37381. return t1;
  37382. return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  37383. },
  37384. verify$2(positional, names) {
  37385. var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
  37386. _s10_ = "invocation",
  37387. _s8_ = "argument";
  37388. for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  37389. argument = t1[i];
  37390. if (i < positional) {
  37391. t4 = argument.name;
  37392. if (t3.containsKey$1(t4))
  37393. throw A.wrapException(A.SassScriptException$("Argument " + _this._originalArgumentName$1(t4) + string$.x20was_p, null));
  37394. } else {
  37395. t4 = argument.name;
  37396. if (t3.containsKey$1(t4))
  37397. ++namedUsed;
  37398. else if (argument.defaultValue == null)
  37399. throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalArgumentName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  37400. }
  37401. }
  37402. if (_this.restArgument != null)
  37403. return;
  37404. if (positional > t2) {
  37405. t1 = names.get$isEmpty(names) ? "" : "positional ";
  37406. 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)));
  37407. }
  37408. if (namedUsed < t3.get$length(t3)) {
  37409. t2 = type$.String;
  37410. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  37411. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  37412. 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)));
  37413. }
  37414. },
  37415. _originalArgumentName$1($name) {
  37416. var t1, text, t2, _i, argument, t3, t4, end, _null = null;
  37417. if ($name === this.restArgument) {
  37418. t1 = this.span;
  37419. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
  37420. 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, "."));
  37421. }
  37422. for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  37423. argument = t1[_i];
  37424. if (argument.name === $name) {
  37425. t1 = argument.defaultValue;
  37426. t2 = argument.span;
  37427. t3 = t2.file;
  37428. t4 = t2._file$_start;
  37429. t2 = t2._end;
  37430. if (t1 == null) {
  37431. t1 = t3._decodedChars;
  37432. t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  37433. } else {
  37434. t1 = t3._decodedChars;
  37435. text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  37436. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  37437. end = A._lastNonWhitespace(t1, false);
  37438. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  37439. }
  37440. return t1;
  37441. }
  37442. }
  37443. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
  37444. },
  37445. matches$2(positional, names) {
  37446. var t1, t2, t3, namedUsed, i, argument;
  37447. for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  37448. argument = t1[i];
  37449. if (i < positional) {
  37450. if (t3.containsKey$1(argument.name))
  37451. return false;
  37452. } else if (t3.containsKey$1(argument.name))
  37453. ++namedUsed;
  37454. else if (argument.defaultValue == null)
  37455. return false;
  37456. }
  37457. if (this.restArgument != null)
  37458. return true;
  37459. if (positional > t2)
  37460. return false;
  37461. if (namedUsed < t3.get$length(t3))
  37462. return false;
  37463. return true;
  37464. },
  37465. toString$0(_) {
  37466. var t2, t3, _i,
  37467. t1 = A._setArrayType([], type$.JSArray_String);
  37468. for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
  37469. t1.push("$" + A.S(t2[_i]));
  37470. t2 = this.restArgument;
  37471. if (t2 != null)
  37472. t1.push("$" + t2 + "...");
  37473. return B.JSArray_methods.join$1(t1, ", ");
  37474. },
  37475. $isAstNode: 1,
  37476. get$span(receiver) {
  37477. return this.span;
  37478. }
  37479. };
  37480. A.ArgumentDeclaration_verify_closure.prototype = {
  37481. call$1(argument) {
  37482. return argument.name;
  37483. },
  37484. $signature: 337
  37485. };
  37486. A.ArgumentDeclaration_verify_closure0.prototype = {
  37487. call$1($name) {
  37488. return "$" + $name;
  37489. },
  37490. $signature: 5
  37491. };
  37492. A.ArgumentInvocation.prototype = {
  37493. get$isEmpty(_) {
  37494. var t1;
  37495. if (this.positional.length === 0) {
  37496. t1 = this.named;
  37497. t1 = t1.get$isEmpty(t1) && this.rest == null;
  37498. } else
  37499. t1 = false;
  37500. return t1;
  37501. },
  37502. toString$0(_) {
  37503. var t2, t3, _i, _this = this,
  37504. rest = _this.rest,
  37505. keywordRest = _this.keywordRest,
  37506. t1 = A._setArrayType([], type$.JSArray_String);
  37507. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  37508. t1.push(_this._parenthesizeArgument$1(t2[_i]));
  37509. for (t2 = _this.named, t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  37510. t3 = t2.get$current(t2);
  37511. t1.push("$" + A.S(t3.key) + ": " + _this._parenthesizeArgument$1(t3.value));
  37512. }
  37513. if (rest != null)
  37514. t1.push(_this._parenthesizeArgument$1(rest) + "...");
  37515. if (keywordRest != null)
  37516. t1.push(_this._parenthesizeArgument$1(keywordRest) + "...");
  37517. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  37518. },
  37519. _parenthesizeArgument$1(argument) {
  37520. return argument instanceof A.ListExpression && argument.separator === B.ListSeparator_rXA && !argument.hasBrackets && argument.contents.length > 1 ? "(" + argument.toString$0(0) + ")" : argument.toString$0(0);
  37521. },
  37522. $isAstNode: 1,
  37523. get$span(receiver) {
  37524. return this.span;
  37525. }
  37526. };
  37527. A.AtRootQuery.prototype = {
  37528. excludes$1(node) {
  37529. var _this = this;
  37530. if (_this._all)
  37531. return !_this.include;
  37532. if (type$.CssStyleRule._is(node))
  37533. return _this._at_root_query$_rule !== _this.include;
  37534. if (type$.CssMediaRule._is(node))
  37535. return _this.excludesName$1("media");
  37536. if (type$.CssSupportsRule._is(node))
  37537. return _this.excludesName$1("supports");
  37538. if (type$.CssAtRule._is(node))
  37539. return _this.excludesName$1(node.name.value.toLowerCase());
  37540. return false;
  37541. },
  37542. excludesName$1($name) {
  37543. var t1 = this._all || this.names.contains$1(0, $name);
  37544. return t1 !== this.include;
  37545. }
  37546. };
  37547. A.ConfiguredVariable.prototype = {
  37548. toString$0(_) {
  37549. var t1 = this.expression.toString$0(0),
  37550. t2 = this.isGuarded ? " !default" : "";
  37551. return "$" + this.name + ": " + t1 + t2;
  37552. },
  37553. $isAstNode: 1,
  37554. get$span(receiver) {
  37555. return this.span;
  37556. }
  37557. };
  37558. A.BinaryOperationExpression.prototype = {
  37559. get$span(_) {
  37560. var right,
  37561. left = this.left;
  37562. for (; left instanceof A.BinaryOperationExpression;)
  37563. left = left.left;
  37564. right = this.right;
  37565. for (; right instanceof A.BinaryOperationExpression;)
  37566. right = right.right;
  37567. return left.get$span(left).expand$1(0, right.get$span(right));
  37568. },
  37569. accept$1$1(visitor) {
  37570. return visitor.visitBinaryOperationExpression$1(this);
  37571. },
  37572. accept$1(visitor) {
  37573. return this.accept$1$1(visitor, type$.dynamic);
  37574. },
  37575. toString$0(_) {
  37576. var leftNeedsParens, t1, t2, right, t3, rightNeedsParens, _this = this,
  37577. left = _this.left;
  37578. if (!(left instanceof A.BinaryOperationExpression && left.operator.precedence < _this.operator.precedence))
  37579. leftNeedsParens = left instanceof A.ListExpression && !left.hasBrackets && left.contents.length > 1;
  37580. else
  37581. leftNeedsParens = true;
  37582. t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
  37583. t1 += left.toString$0(0);
  37584. if (leftNeedsParens)
  37585. t1 += A.Primitives_stringFromCharCode(41);
  37586. t2 = _this.operator;
  37587. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  37588. right = _this.right;
  37589. if (right instanceof A.BinaryOperationExpression) {
  37590. t3 = right.operator;
  37591. if (t3.precedence <= t2.precedence)
  37592. t2 = !(t3 === t2 && t2.isAssociative);
  37593. else
  37594. t2 = false;
  37595. } else
  37596. t2 = false;
  37597. if (!t2)
  37598. rightNeedsParens = right instanceof A.ListExpression && !right.hasBrackets && right.contents.length > 1;
  37599. else
  37600. rightNeedsParens = true;
  37601. if (rightNeedsParens)
  37602. t1 += A.Primitives_stringFromCharCode(40);
  37603. t1 += right.toString$0(0);
  37604. if (rightNeedsParens)
  37605. t1 += A.Primitives_stringFromCharCode(41);
  37606. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37607. },
  37608. $isAstNode: 1,
  37609. $isExpression: 1
  37610. };
  37611. A.BinaryOperator.prototype = {
  37612. _enumToString$0() {
  37613. return "BinaryOperator." + this._name;
  37614. },
  37615. toString$0(_) {
  37616. return this.name;
  37617. }
  37618. };
  37619. A.BooleanExpression.prototype = {
  37620. accept$1$1(visitor) {
  37621. return visitor.visitBooleanExpression$1(this);
  37622. },
  37623. accept$1(visitor) {
  37624. return this.accept$1$1(visitor, type$.dynamic);
  37625. },
  37626. toString$0(_) {
  37627. return String(this.value);
  37628. },
  37629. $isAstNode: 1,
  37630. $isExpression: 1,
  37631. get$span(receiver) {
  37632. return this.span;
  37633. }
  37634. };
  37635. A.CalculationExpression.prototype = {
  37636. accept$1$1(visitor) {
  37637. return visitor.visitCalculationExpression$1(this);
  37638. },
  37639. accept$1(visitor) {
  37640. return this.accept$1$1(visitor, type$.dynamic);
  37641. },
  37642. toString$0(_) {
  37643. return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
  37644. },
  37645. $isAstNode: 1,
  37646. $isExpression: 1,
  37647. get$span(receiver) {
  37648. return this.span;
  37649. }
  37650. };
  37651. A.CalculationExpression__verifyArguments_closure.prototype = {
  37652. call$1(arg) {
  37653. A.CalculationExpression__verify(arg);
  37654. return arg;
  37655. },
  37656. $signature: 130
  37657. };
  37658. A.ColorExpression.prototype = {
  37659. accept$1$1(visitor) {
  37660. return visitor.visitColorExpression$1(this);
  37661. },
  37662. accept$1(visitor) {
  37663. return this.accept$1$1(visitor, type$.dynamic);
  37664. },
  37665. toString$0(_) {
  37666. return A.serializeValue(this.value, true, true);
  37667. },
  37668. $isAstNode: 1,
  37669. $isExpression: 1,
  37670. get$span(receiver) {
  37671. return this.span;
  37672. }
  37673. };
  37674. A.FunctionExpression.prototype = {
  37675. accept$1$1(visitor) {
  37676. return visitor.visitFunctionExpression$1(this);
  37677. },
  37678. accept$1(visitor) {
  37679. return this.accept$1$1(visitor, type$.dynamic);
  37680. },
  37681. toString$0(_) {
  37682. var t1 = this.namespace;
  37683. t1 = t1 != null ? "" + (t1 + ".") : "";
  37684. t1 += this.originalName + this.$arguments.toString$0(0);
  37685. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37686. },
  37687. $isAstNode: 1,
  37688. $isExpression: 1,
  37689. get$span(receiver) {
  37690. return this.span;
  37691. }
  37692. };
  37693. A.IfExpression.prototype = {
  37694. accept$1$1(visitor) {
  37695. return visitor.visitIfExpression$1(this);
  37696. },
  37697. accept$1(visitor) {
  37698. return this.accept$1$1(visitor, type$.dynamic);
  37699. },
  37700. toString$0(_) {
  37701. return "if" + this.$arguments.toString$0(0);
  37702. },
  37703. $isAstNode: 1,
  37704. $isExpression: 1,
  37705. get$span(receiver) {
  37706. return this.span;
  37707. }
  37708. };
  37709. A.InterpolatedFunctionExpression.prototype = {
  37710. accept$1$1(visitor) {
  37711. return visitor.visitInterpolatedFunctionExpression$1(this);
  37712. },
  37713. accept$1(visitor) {
  37714. return this.accept$1$1(visitor, type$.dynamic);
  37715. },
  37716. toString$0(_) {
  37717. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  37718. },
  37719. $isAstNode: 1,
  37720. $isExpression: 1,
  37721. get$span(receiver) {
  37722. return this.span;
  37723. }
  37724. };
  37725. A.ListExpression.prototype = {
  37726. accept$1$1(visitor) {
  37727. return visitor.visitListExpression$1(this);
  37728. },
  37729. accept$1(visitor) {
  37730. return this.accept$1$1(visitor, type$.dynamic);
  37731. },
  37732. toString$0(_) {
  37733. var t2, t3, t4, t5, _this = this,
  37734. t1 = _this.hasBrackets;
  37735. if (t1)
  37736. t2 = "" + A.Primitives_stringFromCharCode(91);
  37737. else {
  37738. t2 = _this.contents.length;
  37739. if (t2 !== 0)
  37740. t2 = t2 === 1 && _this.separator === B.ListSeparator_rXA;
  37741. else
  37742. t2 = true;
  37743. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  37744. }
  37745. t3 = _this.contents;
  37746. t4 = _this.separator === B.ListSeparator_rXA;
  37747. t5 = t4 ? ", " : " ";
  37748. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  37749. if (t1)
  37750. t1 = t5 + A.Primitives_stringFromCharCode(93);
  37751. else {
  37752. t1 = t3.length;
  37753. if (t1 === 0)
  37754. t1 = t5 + A.Primitives_stringFromCharCode(41);
  37755. else
  37756. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  37757. }
  37758. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37759. },
  37760. _list0$_elementNeedsParens$1(expression) {
  37761. var t1;
  37762. if (expression instanceof A.ListExpression) {
  37763. if (expression.contents.length < 2)
  37764. return false;
  37765. if (expression.hasBrackets)
  37766. return false;
  37767. t1 = expression.separator;
  37768. return this.separator === B.ListSeparator_rXA ? t1 === B.ListSeparator_rXA : t1 !== B.ListSeparator_undecided_null_undecided;
  37769. }
  37770. if (this.separator !== B.ListSeparator_EVt)
  37771. return false;
  37772. if (expression instanceof A.UnaryOperationExpression) {
  37773. t1 = expression.operator;
  37774. return t1 === B.UnaryOperator_gg4 || t1 === B.UnaryOperator_TLI;
  37775. }
  37776. return false;
  37777. },
  37778. $isAstNode: 1,
  37779. $isExpression: 1,
  37780. get$span(receiver) {
  37781. return this.span;
  37782. }
  37783. };
  37784. A.ListExpression_toString_closure.prototype = {
  37785. call$1(element) {
  37786. return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  37787. },
  37788. $signature: 129
  37789. };
  37790. A.MapExpression.prototype = {
  37791. accept$1$1(visitor) {
  37792. return visitor.visitMapExpression$1(this);
  37793. },
  37794. accept$1(visitor) {
  37795. return this.accept$1$1(visitor, type$.dynamic);
  37796. },
  37797. toString$0(_) {
  37798. var t1 = this.pairs;
  37799. return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
  37800. },
  37801. $isAstNode: 1,
  37802. $isExpression: 1,
  37803. get$span(receiver) {
  37804. return this.span;
  37805. }
  37806. };
  37807. A.MapExpression_toString_closure.prototype = {
  37808. call$1(pair) {
  37809. return A.S(pair.item1) + ": " + A.S(pair.item2);
  37810. },
  37811. $signature: 377
  37812. };
  37813. A.NullExpression.prototype = {
  37814. accept$1$1(visitor) {
  37815. return visitor.visitNullExpression$1(this);
  37816. },
  37817. accept$1(visitor) {
  37818. return this.accept$1$1(visitor, type$.dynamic);
  37819. },
  37820. toString$0(_) {
  37821. return "null";
  37822. },
  37823. $isAstNode: 1,
  37824. $isExpression: 1,
  37825. get$span(receiver) {
  37826. return this.span;
  37827. }
  37828. };
  37829. A.NumberExpression.prototype = {
  37830. accept$1$1(visitor) {
  37831. return visitor.visitNumberExpression$1(this);
  37832. },
  37833. accept$1(visitor) {
  37834. return this.accept$1$1(visitor, type$.dynamic);
  37835. },
  37836. toString$0(_) {
  37837. return A.serializeValue(A.SassNumber_SassNumber(this.value, this.unit), true, true);
  37838. },
  37839. $isAstNode: 1,
  37840. $isExpression: 1,
  37841. get$span(receiver) {
  37842. return this.span;
  37843. }
  37844. };
  37845. A.ParenthesizedExpression.prototype = {
  37846. accept$1$1(visitor) {
  37847. return visitor.visitParenthesizedExpression$1(this);
  37848. },
  37849. accept$1(visitor) {
  37850. return this.accept$1$1(visitor, type$.dynamic);
  37851. },
  37852. toString$0(_) {
  37853. return "(" + this.expression.toString$0(0) + ")";
  37854. },
  37855. $isAstNode: 1,
  37856. $isExpression: 1,
  37857. get$span(receiver) {
  37858. return this.span;
  37859. }
  37860. };
  37861. A.SelectorExpression.prototype = {
  37862. accept$1$1(visitor) {
  37863. return visitor.visitSelectorExpression$1(this);
  37864. },
  37865. accept$1(visitor) {
  37866. return this.accept$1$1(visitor, type$.dynamic);
  37867. },
  37868. toString$0(_) {
  37869. return "&";
  37870. },
  37871. $isAstNode: 1,
  37872. $isExpression: 1,
  37873. get$span(receiver) {
  37874. return this.span;
  37875. }
  37876. };
  37877. A.StringExpression.prototype = {
  37878. get$span(_) {
  37879. return this.text.span;
  37880. },
  37881. accept$1$1(visitor) {
  37882. return visitor.visitStringExpression$1(this);
  37883. },
  37884. accept$1(visitor) {
  37885. return this.accept$1$1(visitor, type$.dynamic);
  37886. },
  37887. asInterpolation$1$static($static) {
  37888. var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
  37889. if (!this.hasQuotes)
  37890. return this.text;
  37891. t1 = this.text;
  37892. t2 = t1.contents;
  37893. quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  37894. t3 = new A.StringBuffer("");
  37895. t4 = A._setArrayType([], type$.JSArray_Object);
  37896. buffer = new A.InterpolationBuffer(t3, t4);
  37897. t3._contents += A.Primitives_stringFromCharCode(quote);
  37898. for (t5 = t2.length, t6 = type$.Expression, _i = 0; _i < t5; ++_i) {
  37899. value = t2[_i];
  37900. if (t6._is(value)) {
  37901. buffer._flushText$0();
  37902. t4.push(value);
  37903. } else if (typeof value == "string")
  37904. A.StringExpression__quoteInnerText(value, quote, buffer, $static);
  37905. }
  37906. t3._contents += A.Primitives_stringFromCharCode(quote);
  37907. return buffer.interpolation$1(t1.span);
  37908. },
  37909. asInterpolation$0() {
  37910. return this.asInterpolation$1$static(false);
  37911. },
  37912. toString$0(_) {
  37913. return this.asInterpolation$0().toString$0(0);
  37914. },
  37915. $isAstNode: 1,
  37916. $isExpression: 1
  37917. };
  37918. A.SupportsExpression.prototype = {
  37919. get$span(_) {
  37920. var t1 = this.condition;
  37921. return t1.get$span(t1);
  37922. },
  37923. accept$1$1(visitor) {
  37924. return visitor.visitSupportsExpression$1(this);
  37925. },
  37926. accept$1(visitor) {
  37927. return this.accept$1$1(visitor, type$.dynamic);
  37928. },
  37929. toString$0(_) {
  37930. return this.condition.toString$0(0);
  37931. },
  37932. $isAstNode: 1,
  37933. $isExpression: 1
  37934. };
  37935. A.UnaryOperationExpression.prototype = {
  37936. accept$1$1(visitor) {
  37937. return visitor.visitUnaryOperationExpression$1(this);
  37938. },
  37939. accept$1(visitor) {
  37940. return this.accept$1$1(visitor, type$.dynamic);
  37941. },
  37942. toString$0(_) {
  37943. var operand, needsParens,
  37944. t1 = this.operator,
  37945. t2 = t1.operator;
  37946. t1 = t1 === B.UnaryOperator_not_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  37947. operand = this.operand;
  37948. if (!(operand instanceof A.BinaryOperationExpression))
  37949. if (!(operand instanceof A.UnaryOperationExpression)) {
  37950. t2 = operand instanceof A.ListExpression && !operand.hasBrackets && operand.contents.length > 1;
  37951. needsParens = t2;
  37952. } else
  37953. needsParens = true;
  37954. else
  37955. needsParens = true;
  37956. if (needsParens)
  37957. t1 += "40";
  37958. t1 += operand.toString$0(0);
  37959. if (needsParens)
  37960. t1 += "41";
  37961. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37962. },
  37963. $isAstNode: 1,
  37964. $isExpression: 1,
  37965. get$span(receiver) {
  37966. return this.span;
  37967. }
  37968. };
  37969. A.UnaryOperator.prototype = {
  37970. _enumToString$0() {
  37971. return "UnaryOperator." + this._name;
  37972. },
  37973. toString$0(_) {
  37974. return this.name;
  37975. }
  37976. };
  37977. A.ValueExpression.prototype = {
  37978. accept$1$1(visitor) {
  37979. return visitor.visitValueExpression$1(this);
  37980. },
  37981. accept$1(visitor) {
  37982. return this.accept$1$1(visitor, type$.dynamic);
  37983. },
  37984. toString$0(_) {
  37985. return A.serializeValue(this.value, true, true);
  37986. },
  37987. $isAstNode: 1,
  37988. $isExpression: 1,
  37989. get$span(receiver) {
  37990. return this.span;
  37991. }
  37992. };
  37993. A.VariableExpression.prototype = {
  37994. accept$1$1(visitor) {
  37995. return visitor.visitVariableExpression$1(this);
  37996. },
  37997. accept$1(visitor) {
  37998. return this.accept$1$1(visitor, type$.dynamic);
  37999. },
  38000. toString$0(_) {
  38001. var t1 = this.namespace,
  38002. t2 = this.name;
  38003. return t1 == null ? "$" + t2 : t1 + ".$" + t2;
  38004. },
  38005. $isAstNode: 1,
  38006. $isExpression: 1,
  38007. get$span(receiver) {
  38008. return this.span;
  38009. }
  38010. };
  38011. A.DynamicImport.prototype = {
  38012. toString$0(_) {
  38013. return A.StringExpression_quoteText(this.urlString);
  38014. },
  38015. $isAstNode: 1,
  38016. $isImport: 1,
  38017. get$span(receiver) {
  38018. return this.span;
  38019. }
  38020. };
  38021. A.StaticImport.prototype = {
  38022. toString$0(_) {
  38023. var t1 = this.url.toString$0(0),
  38024. t2 = this.modifiers;
  38025. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  38026. },
  38027. $isAstNode: 1,
  38028. $isImport: 1,
  38029. get$span(receiver) {
  38030. return this.span;
  38031. }
  38032. };
  38033. A.Interpolation.prototype = {
  38034. get$asPlain() {
  38035. var first,
  38036. t1 = this.contents,
  38037. t2 = t1.length;
  38038. if (t2 === 0)
  38039. return "";
  38040. if (t2 > 1)
  38041. return null;
  38042. first = B.JSArray_methods.get$first(t1);
  38043. return typeof first == "string" ? first : null;
  38044. },
  38045. get$initialPlain() {
  38046. var first = B.JSArray_methods.get$first(this.contents);
  38047. return typeof first == "string" ? first : "";
  38048. },
  38049. Interpolation$2(contents, span) {
  38050. var t1, t2, t3, i, t4, t5,
  38051. _s8_ = "contents";
  38052. for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression, i = 0; i < t2; ++i) {
  38053. t4 = t1[i];
  38054. t5 = typeof t4 == "string";
  38055. if (!t5 && !t3._is(t4))
  38056. throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
  38057. if (i !== 0 && typeof t1[i - 1] == "string" && t5)
  38058. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  38059. }
  38060. },
  38061. toString$0(_) {
  38062. var t1 = this.contents;
  38063. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  38064. },
  38065. $isAstNode: 1,
  38066. get$span(receiver) {
  38067. return this.span;
  38068. }
  38069. };
  38070. A.Interpolation_toString_closure.prototype = {
  38071. call$1(value) {
  38072. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  38073. },
  38074. $signature: 63
  38075. };
  38076. A.AtRootRule.prototype = {
  38077. accept$1$1(visitor) {
  38078. return visitor.visitAtRootRule$1(this);
  38079. },
  38080. accept$1(visitor) {
  38081. return this.accept$1$1(visitor, type$.dynamic);
  38082. },
  38083. toString$0(_) {
  38084. var buffer = new A.StringBuffer("@at-root "),
  38085. t1 = this.query;
  38086. if (t1 != null)
  38087. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  38088. t1 = this.children;
  38089. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  38090. },
  38091. get$span(receiver) {
  38092. return this.span;
  38093. }
  38094. };
  38095. A.AtRule.prototype = {
  38096. accept$1$1(visitor) {
  38097. return visitor.visitAtRule$1(this);
  38098. },
  38099. accept$1(visitor) {
  38100. return this.accept$1$1(visitor, type$.dynamic);
  38101. },
  38102. toString$0(_) {
  38103. var children,
  38104. t1 = "@" + this.name.toString$0(0),
  38105. buffer = new A.StringBuffer(t1),
  38106. t2 = this.value;
  38107. if (t2 != null)
  38108. buffer._contents = t1 + (" " + t2.toString$0(0));
  38109. children = this.children;
  38110. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  38111. },
  38112. get$span(receiver) {
  38113. return this.span;
  38114. }
  38115. };
  38116. A.CallableDeclaration.prototype = {
  38117. get$span(receiver) {
  38118. return this.span;
  38119. }
  38120. };
  38121. A.ContentBlock.prototype = {
  38122. accept$1$1(visitor) {
  38123. return visitor.visitContentBlock$1(this);
  38124. },
  38125. accept$1(visitor) {
  38126. return this.accept$1$1(visitor, type$.dynamic);
  38127. },
  38128. toString$0(_) {
  38129. var t2,
  38130. t1 = this.$arguments;
  38131. t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
  38132. t2 = this.children;
  38133. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  38134. }
  38135. };
  38136. A.ContentRule.prototype = {
  38137. accept$1$1(visitor) {
  38138. return visitor.visitContentRule$1(this);
  38139. },
  38140. accept$1(visitor) {
  38141. return this.accept$1$1(visitor, type$.dynamic);
  38142. },
  38143. toString$0(_) {
  38144. var t1 = this.$arguments;
  38145. return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  38146. },
  38147. $isAstNode: 1,
  38148. $isStatement: 1,
  38149. get$span(receiver) {
  38150. return this.span;
  38151. }
  38152. };
  38153. A.DebugRule.prototype = {
  38154. accept$1$1(visitor) {
  38155. return visitor.visitDebugRule$1(this);
  38156. },
  38157. accept$1(visitor) {
  38158. return this.accept$1$1(visitor, type$.dynamic);
  38159. },
  38160. toString$0(_) {
  38161. return "@debug " + this.expression.toString$0(0) + ";";
  38162. },
  38163. $isAstNode: 1,
  38164. $isStatement: 1,
  38165. get$span(receiver) {
  38166. return this.span;
  38167. }
  38168. };
  38169. A.Declaration.prototype = {
  38170. accept$1$1(visitor) {
  38171. return visitor.visitDeclaration$1(this);
  38172. },
  38173. accept$1(visitor) {
  38174. return this.accept$1$1(visitor, type$.dynamic);
  38175. },
  38176. toString$0(_) {
  38177. var t3, children,
  38178. buffer = new A.StringBuffer(""),
  38179. t1 = this.name,
  38180. t2 = "" + t1.toString$0(0);
  38181. buffer._contents = t2;
  38182. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  38183. t3 = this.value;
  38184. if (t3 != null) {
  38185. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  38186. buffer._contents = t1 + t3.toString$0(0);
  38187. }
  38188. children = this.children;
  38189. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  38190. },
  38191. get$span(receiver) {
  38192. return this.span;
  38193. }
  38194. };
  38195. A.EachRule.prototype = {
  38196. accept$1$1(visitor) {
  38197. return visitor.visitEachRule$1(this);
  38198. },
  38199. accept$1(visitor) {
  38200. return this.accept$1$1(visitor, type$.dynamic);
  38201. },
  38202. toString$0(_) {
  38203. var t1 = this.variables,
  38204. t2 = this.children;
  38205. 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, " ") + "}";
  38206. },
  38207. get$span(receiver) {
  38208. return this.span;
  38209. }
  38210. };
  38211. A.EachRule_toString_closure.prototype = {
  38212. call$1(variable) {
  38213. return "$" + variable;
  38214. },
  38215. $signature: 5
  38216. };
  38217. A.ErrorRule.prototype = {
  38218. accept$1$1(visitor) {
  38219. return visitor.visitErrorRule$1(this);
  38220. },
  38221. accept$1(visitor) {
  38222. return this.accept$1$1(visitor, type$.dynamic);
  38223. },
  38224. toString$0(_) {
  38225. return "@error " + this.expression.toString$0(0) + ";";
  38226. },
  38227. $isAstNode: 1,
  38228. $isStatement: 1,
  38229. get$span(receiver) {
  38230. return this.span;
  38231. }
  38232. };
  38233. A.ExtendRule.prototype = {
  38234. accept$1$1(visitor) {
  38235. return visitor.visitExtendRule$1(this);
  38236. },
  38237. accept$1(visitor) {
  38238. return this.accept$1$1(visitor, type$.dynamic);
  38239. },
  38240. toString$0(_) {
  38241. var t1 = this.selector.toString$0(0),
  38242. t2 = this.isOptional ? " !optional" : "";
  38243. return "@extend " + t1 + t2 + ";";
  38244. },
  38245. $isAstNode: 1,
  38246. $isStatement: 1,
  38247. get$span(receiver) {
  38248. return this.span;
  38249. }
  38250. };
  38251. A.ForRule.prototype = {
  38252. accept$1$1(visitor) {
  38253. return visitor.visitForRule$1(this);
  38254. },
  38255. accept$1(visitor) {
  38256. return this.accept$1$1(visitor, type$.dynamic);
  38257. },
  38258. toString$0(_) {
  38259. var _this = this,
  38260. t1 = _this.from.toString$0(0),
  38261. t2 = _this.isExclusive ? "to" : "through",
  38262. t3 = _this.children;
  38263. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  38264. },
  38265. get$span(receiver) {
  38266. return this.span;
  38267. }
  38268. };
  38269. A.ForwardRule.prototype = {
  38270. accept$1$1(visitor) {
  38271. return visitor.visitForwardRule$1(this);
  38272. },
  38273. accept$1(visitor) {
  38274. return this.accept$1$1(visitor, type$.dynamic);
  38275. },
  38276. toString$0(_) {
  38277. var t2, prefix, _this = this,
  38278. t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
  38279. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  38280. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  38281. if (shownMixinsAndFunctions != null) {
  38282. t2 = _this.shownVariables;
  38283. t2.toString;
  38284. t2 = t1 + " show " + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
  38285. t1 = t2;
  38286. } else {
  38287. if (hiddenMixinsAndFunctions != null) {
  38288. t2 = hiddenMixinsAndFunctions._base;
  38289. t2 = t2.get$isNotEmpty(t2);
  38290. } else
  38291. t2 = false;
  38292. if (t2) {
  38293. t2 = _this.hiddenVariables;
  38294. t2.toString;
  38295. t2 = t1 + " hide " + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
  38296. t1 = t2;
  38297. }
  38298. }
  38299. prefix = _this.prefix;
  38300. if (prefix != null)
  38301. t1 += " as " + prefix + "*";
  38302. t2 = _this.configuration;
  38303. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  38304. return t1.charCodeAt(0) == 0 ? t1 : t1;
  38305. },
  38306. _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
  38307. var t2,
  38308. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  38309. for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
  38310. t1.push("$" + t2.get$current(t2));
  38311. return B.JSArray_methods.join$1(t1, ", ");
  38312. },
  38313. $isAstNode: 1,
  38314. $isStatement: 1,
  38315. get$span(receiver) {
  38316. return this.span;
  38317. }
  38318. };
  38319. A.FunctionRule.prototype = {
  38320. accept$1$1(visitor) {
  38321. return visitor.visitFunctionRule$1(this);
  38322. },
  38323. accept$1(visitor) {
  38324. return this.accept$1$1(visitor, type$.dynamic);
  38325. },
  38326. toString$0(_) {
  38327. var t1 = this.children;
  38328. return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  38329. }
  38330. };
  38331. A.IfRule.prototype = {
  38332. accept$1$1(visitor) {
  38333. return visitor.visitIfRule$1(this);
  38334. },
  38335. accept$1(visitor) {
  38336. return this.accept$1$1(visitor, type$.dynamic);
  38337. },
  38338. toString$0(_) {
  38339. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
  38340. lastClause = this.lastClause;
  38341. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  38342. },
  38343. $isAstNode: 1,
  38344. $isStatement: 1,
  38345. get$span(receiver) {
  38346. return this.span;
  38347. }
  38348. };
  38349. A.IfRule_toString_closure.prototype = {
  38350. call$2(index, clause) {
  38351. var t1 = index === 0 ? "if" : "else if";
  38352. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  38353. },
  38354. $signature: 398
  38355. };
  38356. A.IfRuleClause.prototype = {};
  38357. A.IfRuleClause$__closure.prototype = {
  38358. call$1(child) {
  38359. var t1;
  38360. if (!(child instanceof A.VariableDeclaration))
  38361. if (!(child instanceof A.FunctionRule))
  38362. if (!(child instanceof A.MixinRule))
  38363. t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
  38364. else
  38365. t1 = true;
  38366. else
  38367. t1 = true;
  38368. else
  38369. t1 = true;
  38370. return t1;
  38371. },
  38372. $signature: 253
  38373. };
  38374. A.IfRuleClause$___closure.prototype = {
  38375. call$1($import) {
  38376. return $import instanceof A.DynamicImport;
  38377. },
  38378. $signature: 212
  38379. };
  38380. A.IfClause.prototype = {
  38381. toString$0(_) {
  38382. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  38383. }
  38384. };
  38385. A.ElseClause.prototype = {
  38386. toString$0(_) {
  38387. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  38388. }
  38389. };
  38390. A.ImportRule.prototype = {
  38391. accept$1$1(visitor) {
  38392. return visitor.visitImportRule$1(this);
  38393. },
  38394. accept$1(visitor) {
  38395. return this.accept$1$1(visitor, type$.dynamic);
  38396. },
  38397. toString$0(_) {
  38398. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  38399. },
  38400. $isAstNode: 1,
  38401. $isStatement: 1,
  38402. get$span(receiver) {
  38403. return this.span;
  38404. }
  38405. };
  38406. A.IncludeRule.prototype = {
  38407. get$spanWithoutContent() {
  38408. var t2, t3,
  38409. t1 = this.span;
  38410. if (!(this.content == null)) {
  38411. t2 = t1.file;
  38412. t3 = this.$arguments.span;
  38413. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  38414. t1 = t3;
  38415. }
  38416. return t1;
  38417. },
  38418. accept$1$1(visitor) {
  38419. return visitor.visitIncludeRule$1(this);
  38420. },
  38421. accept$1(visitor) {
  38422. return this.accept$1$1(visitor, type$.dynamic);
  38423. },
  38424. toString$0(_) {
  38425. var t2, _this = this,
  38426. t1 = _this.namespace;
  38427. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  38428. t1 += _this.name;
  38429. t2 = _this.$arguments;
  38430. if (!t2.get$isEmpty(t2))
  38431. t1 += "(" + t2.toString$0(0) + ")";
  38432. t2 = _this.content;
  38433. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  38434. return t1.charCodeAt(0) == 0 ? t1 : t1;
  38435. },
  38436. $isAstNode: 1,
  38437. $isStatement: 1,
  38438. get$span(receiver) {
  38439. return this.span;
  38440. }
  38441. };
  38442. A.LoudComment.prototype = {
  38443. get$span(_) {
  38444. return this.text.span;
  38445. },
  38446. accept$1$1(visitor) {
  38447. return visitor.visitLoudComment$1(this);
  38448. },
  38449. accept$1(visitor) {
  38450. return this.accept$1$1(visitor, type$.dynamic);
  38451. },
  38452. toString$0(_) {
  38453. return this.text.toString$0(0);
  38454. },
  38455. $isAstNode: 1,
  38456. $isStatement: 1
  38457. };
  38458. A.MediaRule.prototype = {
  38459. accept$1$1(visitor) {
  38460. return visitor.visitMediaRule$1(this);
  38461. },
  38462. accept$1(visitor) {
  38463. return this.accept$1$1(visitor, type$.dynamic);
  38464. },
  38465. toString$0(_) {
  38466. var t1 = this.children;
  38467. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  38468. },
  38469. get$span(receiver) {
  38470. return this.span;
  38471. }
  38472. };
  38473. A.MixinRule.prototype = {
  38474. get$hasContent() {
  38475. var result, _this = this,
  38476. value = _this.__MixinRule_hasContent_FI;
  38477. if (value === $) {
  38478. result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
  38479. _this.__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  38480. _this.__MixinRule_hasContent_FI = result;
  38481. value = result;
  38482. }
  38483. return value;
  38484. },
  38485. accept$1$1(visitor) {
  38486. return visitor.visitMixinRule$1(this);
  38487. },
  38488. accept$1(visitor) {
  38489. return this.accept$1$1(visitor, type$.dynamic);
  38490. },
  38491. toString$0(_) {
  38492. var t1 = "@mixin " + this.name,
  38493. t2 = this.$arguments;
  38494. if (!(t2.$arguments.length === 0 && t2.restArgument == null))
  38495. t1 += "(" + t2.toString$0(0) + ")";
  38496. t2 = this.children;
  38497. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  38498. return t2.charCodeAt(0) == 0 ? t2 : t2;
  38499. }
  38500. };
  38501. A._HasContentVisitor.prototype = {
  38502. visitContentRule$1(_) {
  38503. return true;
  38504. }
  38505. };
  38506. A.__HasContentVisitor_Object_StatementSearchVisitor.prototype = {};
  38507. A.ParentStatement.prototype = {$isAstNode: 1, $isStatement: 1};
  38508. A.ParentStatement_closure.prototype = {
  38509. call$1(child) {
  38510. var t1;
  38511. if (!(child instanceof A.VariableDeclaration))
  38512. if (!(child instanceof A.FunctionRule))
  38513. if (!(child instanceof A.MixinRule))
  38514. t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
  38515. else
  38516. t1 = true;
  38517. else
  38518. t1 = true;
  38519. else
  38520. t1 = true;
  38521. return t1;
  38522. },
  38523. $signature: 253
  38524. };
  38525. A.ParentStatement__closure.prototype = {
  38526. call$1($import) {
  38527. return $import instanceof A.DynamicImport;
  38528. },
  38529. $signature: 212
  38530. };
  38531. A.ReturnRule.prototype = {
  38532. accept$1$1(visitor) {
  38533. return visitor.visitReturnRule$1(this);
  38534. },
  38535. accept$1(visitor) {
  38536. return this.accept$1$1(visitor, type$.dynamic);
  38537. },
  38538. toString$0(_) {
  38539. return "@return " + this.expression.toString$0(0) + ";";
  38540. },
  38541. $isAstNode: 1,
  38542. $isStatement: 1,
  38543. get$span(receiver) {
  38544. return this.span;
  38545. }
  38546. };
  38547. A.SilentComment.prototype = {
  38548. accept$1$1(visitor) {
  38549. return visitor.visitSilentComment$1(this);
  38550. },
  38551. accept$1(visitor) {
  38552. return this.accept$1$1(visitor, type$.dynamic);
  38553. },
  38554. toString$0(_) {
  38555. return this.text;
  38556. },
  38557. $isAstNode: 1,
  38558. $isStatement: 1,
  38559. get$span(receiver) {
  38560. return this.span;
  38561. }
  38562. };
  38563. A.StyleRule.prototype = {
  38564. accept$1$1(visitor) {
  38565. return visitor.visitStyleRule$1(this);
  38566. },
  38567. accept$1(visitor) {
  38568. return this.accept$1$1(visitor, type$.dynamic);
  38569. },
  38570. toString$0(_) {
  38571. var t1 = this.children;
  38572. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  38573. },
  38574. get$span(receiver) {
  38575. return this.span;
  38576. }
  38577. };
  38578. A.Stylesheet.prototype = {
  38579. Stylesheet$internal$3$plainCss(children, span, plainCss) {
  38580. var t1, t2, t3, t4, _i, child;
  38581. for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
  38582. child = t1[_i];
  38583. if (child instanceof A.UseRule)
  38584. t4.push(child);
  38585. else if (child instanceof A.ForwardRule)
  38586. t3.push(child);
  38587. else if (!(child instanceof A.SilentComment) && !(child instanceof A.LoudComment) && !(child instanceof A.VariableDeclaration))
  38588. break;
  38589. }
  38590. },
  38591. accept$1$1(visitor) {
  38592. return visitor.visitStylesheet$1(this);
  38593. },
  38594. accept$1(visitor) {
  38595. return this.accept$1$1(visitor, type$.dynamic);
  38596. },
  38597. toString$0(_) {
  38598. var t1 = this.children;
  38599. return (t1 && B.JSArray_methods).join$1(t1, " ");
  38600. },
  38601. get$span(receiver) {
  38602. return this.span;
  38603. }
  38604. };
  38605. A.SupportsRule.prototype = {
  38606. accept$1$1(visitor) {
  38607. return visitor.visitSupportsRule$1(this);
  38608. },
  38609. accept$1(visitor) {
  38610. return this.accept$1$1(visitor, type$.dynamic);
  38611. },
  38612. toString$0(_) {
  38613. var t1 = this.children;
  38614. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  38615. },
  38616. get$span(receiver) {
  38617. return this.span;
  38618. }
  38619. };
  38620. A.UseRule.prototype = {
  38621. UseRule$4$configuration(url, namespace, span, configuration) {
  38622. var t1, t2, _i, variable;
  38623. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  38624. variable = t1[_i];
  38625. if (variable.isGuarded)
  38626. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  38627. }
  38628. },
  38629. accept$1$1(visitor) {
  38630. return visitor.visitUseRule$1(this);
  38631. },
  38632. accept$1(visitor) {
  38633. return this.accept$1$1(visitor, type$.dynamic);
  38634. },
  38635. toString$0(_) {
  38636. var t1 = this.url,
  38637. t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
  38638. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  38639. dot = B.JSString_methods.indexOf$1(basename, ".");
  38640. t1 = this.namespace;
  38641. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  38642. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  38643. else
  38644. t1 = t2;
  38645. t2 = this.configuration;
  38646. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  38647. return t1.charCodeAt(0) == 0 ? t1 : t1;
  38648. },
  38649. $isAstNode: 1,
  38650. $isStatement: 1,
  38651. get$span(receiver) {
  38652. return this.span;
  38653. }
  38654. };
  38655. A.VariableDeclaration.prototype = {
  38656. accept$1$1(visitor) {
  38657. return visitor.visitVariableDeclaration$1(this);
  38658. },
  38659. accept$1(visitor) {
  38660. return this.accept$1$1(visitor, type$.dynamic);
  38661. },
  38662. toString$0(_) {
  38663. var t1 = this.namespace;
  38664. t1 = t1 != null ? "" + (t1 + ".") : "";
  38665. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  38666. return t1.charCodeAt(0) == 0 ? t1 : t1;
  38667. },
  38668. $isAstNode: 1,
  38669. $isStatement: 1,
  38670. get$span(receiver) {
  38671. return this.span;
  38672. }
  38673. };
  38674. A.WarnRule.prototype = {
  38675. accept$1$1(visitor) {
  38676. return visitor.visitWarnRule$1(this);
  38677. },
  38678. accept$1(visitor) {
  38679. return this.accept$1$1(visitor, type$.dynamic);
  38680. },
  38681. toString$0(_) {
  38682. return "@warn " + this.expression.toString$0(0) + ";";
  38683. },
  38684. $isAstNode: 1,
  38685. $isStatement: 1,
  38686. get$span(receiver) {
  38687. return this.span;
  38688. }
  38689. };
  38690. A.WhileRule.prototype = {
  38691. accept$1$1(visitor) {
  38692. return visitor.visitWhileRule$1(this);
  38693. },
  38694. accept$1(visitor) {
  38695. return this.accept$1$1(visitor, type$.dynamic);
  38696. },
  38697. toString$0(_) {
  38698. var t1 = this.children;
  38699. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  38700. },
  38701. get$span(receiver) {
  38702. return this.span;
  38703. }
  38704. };
  38705. A.SupportsAnything.prototype = {
  38706. toString$0(_) {
  38707. return "(" + this.contents.toString$0(0) + ")";
  38708. },
  38709. $isAstNode: 1,
  38710. get$span(receiver) {
  38711. return this.span;
  38712. }
  38713. };
  38714. A.SupportsDeclaration.prototype = {
  38715. get$isCustomProperty() {
  38716. var $name = this.name;
  38717. return $name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  38718. },
  38719. toString$0(_) {
  38720. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  38721. },
  38722. $isAstNode: 1,
  38723. get$span(receiver) {
  38724. return this.span;
  38725. }
  38726. };
  38727. A.SupportsFunction.prototype = {
  38728. toString$0(_) {
  38729. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  38730. },
  38731. $isAstNode: 1,
  38732. get$span(receiver) {
  38733. return this.span;
  38734. }
  38735. };
  38736. A.SupportsInterpolation.prototype = {
  38737. toString$0(_) {
  38738. return "#{" + this.expression.toString$0(0) + "}";
  38739. },
  38740. $isAstNode: 1,
  38741. get$span(receiver) {
  38742. return this.span;
  38743. }
  38744. };
  38745. A.SupportsNegation.prototype = {
  38746. toString$0(_) {
  38747. var t1 = this.condition;
  38748. if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
  38749. return "not (" + t1.toString$0(0) + ")";
  38750. else
  38751. return "not " + t1.toString$0(0);
  38752. },
  38753. $isAstNode: 1,
  38754. get$span(receiver) {
  38755. return this.span;
  38756. }
  38757. };
  38758. A.SupportsOperation.prototype = {
  38759. toString$0(_) {
  38760. var _this = this;
  38761. return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
  38762. },
  38763. _operation$_parenthesize$1(condition) {
  38764. var t1;
  38765. if (!(condition instanceof A.SupportsNegation))
  38766. t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
  38767. else
  38768. t1 = true;
  38769. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  38770. },
  38771. $isAstNode: 1,
  38772. get$span(receiver) {
  38773. return this.span;
  38774. }
  38775. };
  38776. A.Selector.prototype = {
  38777. assertNotBogus$1$name($name) {
  38778. var t1;
  38779. if (!this.accept$1(B._IsBogusVisitor_true))
  38780. return;
  38781. t1 = this.toString$0(0);
  38782. A.EvaluationContext_current().warn$2(0, "$" + $name + ": " + (t1 + string$.x20is_nov), B.Deprecation_vrR);
  38783. },
  38784. toString$0(_) {
  38785. var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  38786. this.accept$1(visitor);
  38787. return visitor._serialize$_buffer.toString$0(0);
  38788. },
  38789. $isAstNode: 1,
  38790. get$span(receiver) {
  38791. return this.span;
  38792. }
  38793. };
  38794. A._IsInvisibleVisitor0.prototype = {
  38795. visitSelectorList$1(list) {
  38796. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  38797. },
  38798. visitComplexSelector$1(complex) {
  38799. var t1;
  38800. if (!this.super$AnySelectorVisitor$visitComplexSelector(complex))
  38801. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false);
  38802. else
  38803. t1 = true;
  38804. return t1;
  38805. },
  38806. visitPlaceholderSelector$1(placeholder) {
  38807. return true;
  38808. },
  38809. visitPseudoSelector$1(pseudo) {
  38810. var t1,
  38811. selector = pseudo.selector;
  38812. if (selector == null)
  38813. return false;
  38814. if (pseudo.name === "not")
  38815. t1 = this.includeBogus && selector.accept$1(B._IsBogusVisitor_true);
  38816. else
  38817. t1 = this.visitSelectorList$1(selector);
  38818. return t1;
  38819. }
  38820. };
  38821. A._IsBogusVisitor.prototype = {
  38822. visitComplexSelector$1(complex) {
  38823. var t2, t3,
  38824. t1 = complex.components;
  38825. if (t1.length === 0)
  38826. return complex.leadingCombinators.length !== 0;
  38827. else {
  38828. t2 = complex.leadingCombinators;
  38829. t3 = this.includeLeadingCombinator ? 0 : 1;
  38830. 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));
  38831. }
  38832. },
  38833. visitPseudoSelector$1(pseudo) {
  38834. var selector = pseudo.selector;
  38835. if (selector == null)
  38836. return false;
  38837. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false) : selector.accept$1(B._IsBogusVisitor_true);
  38838. }
  38839. };
  38840. A._IsBogusVisitor_visitComplexSelector_closure.prototype = {
  38841. call$1(component) {
  38842. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  38843. },
  38844. $signature: 45
  38845. };
  38846. A._IsUselessVisitor.prototype = {
  38847. visitComplexSelector$1(complex) {
  38848. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure(this));
  38849. },
  38850. visitPseudoSelector$1(pseudo) {
  38851. return pseudo.accept$1(B._IsBogusVisitor_true);
  38852. }
  38853. };
  38854. A._IsUselessVisitor_visitComplexSelector_closure.prototype = {
  38855. call$1(component) {
  38856. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  38857. },
  38858. $signature: 45
  38859. };
  38860. A.__IsBogusVisitor_Object_AnySelectorVisitor.prototype = {};
  38861. A.__IsInvisibleVisitor_Object_AnySelectorVisitor.prototype = {};
  38862. A.__IsUselessVisitor_Object_AnySelectorVisitor.prototype = {};
  38863. A.AttributeSelector.prototype = {
  38864. accept$1$1(visitor) {
  38865. return visitor.visitAttributeSelector$1(this);
  38866. },
  38867. accept$1(visitor) {
  38868. return this.accept$1$1(visitor, type$.dynamic);
  38869. },
  38870. $eq(_, other) {
  38871. var _this = this;
  38872. if (other == null)
  38873. return false;
  38874. return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  38875. },
  38876. get$hashCode(_) {
  38877. var _this = this,
  38878. t1 = _this.name;
  38879. 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;
  38880. }
  38881. };
  38882. A.AttributeOperator.prototype = {
  38883. _enumToString$0() {
  38884. return "AttributeOperator." + this._name;
  38885. },
  38886. toString$0(_) {
  38887. return this._attribute$_text;
  38888. }
  38889. };
  38890. A.ClassSelector.prototype = {
  38891. $eq(_, other) {
  38892. if (other == null)
  38893. return false;
  38894. return other instanceof A.ClassSelector && other.name === this.name;
  38895. },
  38896. accept$1$1(visitor) {
  38897. return visitor.visitClassSelector$1(this);
  38898. },
  38899. accept$1(visitor) {
  38900. return this.accept$1$1(visitor, type$.dynamic);
  38901. },
  38902. addSuffix$1(suffix) {
  38903. return new A.ClassSelector(this.name + suffix, this.span);
  38904. },
  38905. get$hashCode(_) {
  38906. return B.JSString_methods.get$hashCode(this.name);
  38907. }
  38908. };
  38909. A.Combinator.prototype = {
  38910. _enumToString$0() {
  38911. return "Combinator." + this._name;
  38912. },
  38913. toString$0(_) {
  38914. return this._combinator$_text;
  38915. }
  38916. };
  38917. A.ComplexSelector.prototype = {
  38918. get$specificity() {
  38919. var result, _this = this,
  38920. value = _this.__ComplexSelector_specificity_FI;
  38921. if (value === $) {
  38922. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure());
  38923. _this.__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  38924. _this.__ComplexSelector_specificity_FI = result;
  38925. value = result;
  38926. }
  38927. return value;
  38928. },
  38929. get$singleCompound() {
  38930. if (this.leadingCombinators.length === 0) {
  38931. var t1 = this.components;
  38932. t1 = t1.length === 1 && B.JSArray_methods.get$first(t1).combinators.length === 0;
  38933. } else
  38934. t1 = false;
  38935. return t1 ? B.JSArray_methods.get$first(this.components).selector : null;
  38936. },
  38937. accept$1$1(visitor) {
  38938. return visitor.visitComplexSelector$1(this);
  38939. },
  38940. accept$1(visitor) {
  38941. return this.accept$1$1(visitor, type$.dynamic);
  38942. },
  38943. isSuperselector$1(other) {
  38944. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector(this.components, other.components);
  38945. },
  38946. withAdditionalCombinators$1(combinators) {
  38947. var t1, t2, t3, t4, _this = this;
  38948. if (combinators.length === 0)
  38949. return _this;
  38950. else {
  38951. t1 = _this.components;
  38952. t2 = _this.leadingCombinators;
  38953. t3 = _this.span;
  38954. if (t1.length === 0) {
  38955. t1 = A.List_List$of(t2, true, type$.CssValue_Combinator);
  38956. B.JSArray_methods.addAll$1(t1, combinators);
  38957. return A.ComplexSelector$(t1, B.List_empty0, t3, _this.lineBreak || false);
  38958. } else {
  38959. t4 = A.List_List$of(A.IterableExtension_get_exceptLast(t1), true, type$.ComplexSelectorComponent);
  38960. t4.push(B.JSArray_methods.get$last(t1).withAdditionalCombinators$1(combinators));
  38961. return A.ComplexSelector$(t2, t4, t3, _this.lineBreak || false);
  38962. }
  38963. }
  38964. },
  38965. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  38966. var t2, t3, t4, t5, _this = this,
  38967. t1 = child.leadingCombinators;
  38968. if (t1.length === 0) {
  38969. t1 = A.List_List$of(_this.components, true, type$.ComplexSelectorComponent);
  38970. B.JSArray_methods.addAll$1(t1, child.components);
  38971. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  38972. return A.ComplexSelector$(_this.leadingCombinators, t1, span, t2);
  38973. } else {
  38974. t2 = _this.components;
  38975. t3 = _this.leadingCombinators;
  38976. t4 = child.components;
  38977. if (t2.length === 0) {
  38978. t2 = A.List_List$of(t3, true, type$.CssValue_Combinator);
  38979. B.JSArray_methods.addAll$1(t2, t1);
  38980. return A.ComplexSelector$(t2, t4, span, _this.lineBreak || child.lineBreak || forceLineBreak);
  38981. } else {
  38982. t5 = A.List_List$of(A.IterableExtension_get_exceptLast(t2), true, type$.ComplexSelectorComponent);
  38983. t5.push(B.JSArray_methods.get$last(t2).withAdditionalCombinators$1(t1));
  38984. B.JSArray_methods.addAll$1(t5, t4);
  38985. return A.ComplexSelector$(t3, t5, span, _this.lineBreak || child.lineBreak || forceLineBreak);
  38986. }
  38987. }
  38988. },
  38989. concatenate$2(child, span) {
  38990. return this.concatenate$3$forceLineBreak(child, span, false);
  38991. },
  38992. get$hashCode(_) {
  38993. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  38994. },
  38995. $eq(_, other) {
  38996. if (other == null)
  38997. return false;
  38998. 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);
  38999. }
  39000. };
  39001. A.ComplexSelector_specificity_closure.prototype = {
  39002. call$2(sum, component) {
  39003. return sum + component.selector.get$specificity();
  39004. },
  39005. $signature: 569
  39006. };
  39007. A.ComplexSelectorComponent.prototype = {
  39008. withAdditionalCombinators$1(combinators) {
  39009. var t1, t2, _this = this;
  39010. if (combinators.length === 0)
  39011. t1 = _this;
  39012. else {
  39013. t1 = type$.CssValue_Combinator;
  39014. t2 = A.List_List$of(_this.combinators, true, t1);
  39015. B.JSArray_methods.addAll$1(t2, combinators);
  39016. t1 = new A.ComplexSelectorComponent(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  39017. }
  39018. return t1;
  39019. },
  39020. get$hashCode(_) {
  39021. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  39022. },
  39023. $eq(_, other) {
  39024. var t1;
  39025. if (other == null)
  39026. return false;
  39027. if (other instanceof A.ComplexSelectorComponent) {
  39028. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  39029. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  39030. } else
  39031. t1 = false;
  39032. return t1;
  39033. },
  39034. toString$0(_) {
  39035. var t1 = this.combinators;
  39036. 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, "");
  39037. }
  39038. };
  39039. A.ComplexSelectorComponent_toString_closure.prototype = {
  39040. call$1(combinator) {
  39041. return " " + combinator.toString$0(0);
  39042. },
  39043. $signature: 570
  39044. };
  39045. A.CompoundSelector.prototype = {
  39046. get$specificity() {
  39047. var result, _this = this,
  39048. value = _this.__CompoundSelector_specificity_FI;
  39049. if (value === $) {
  39050. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure());
  39051. _this.__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  39052. _this.__CompoundSelector_specificity_FI = result;
  39053. value = result;
  39054. }
  39055. return value;
  39056. },
  39057. accept$1$1(visitor) {
  39058. return visitor.visitCompoundSelector$1(this);
  39059. },
  39060. accept$1(visitor) {
  39061. return this.accept$1$1(visitor, type$.dynamic);
  39062. },
  39063. get$hashCode(_) {
  39064. return B.C_ListEquality0.hash$1(this.components);
  39065. },
  39066. $eq(_, other) {
  39067. if (other == null)
  39068. return false;
  39069. return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
  39070. }
  39071. };
  39072. A.CompoundSelector_specificity_closure.prototype = {
  39073. call$2(sum, component) {
  39074. return sum + component.get$specificity();
  39075. },
  39076. $signature: 584
  39077. };
  39078. A.IDSelector.prototype = {
  39079. get$specificity() {
  39080. return A._asInt(Math.pow(A.SimpleSelector.prototype.get$specificity.call(this), 2));
  39081. },
  39082. accept$1$1(visitor) {
  39083. return visitor.visitIDSelector$1(this);
  39084. },
  39085. accept$1(visitor) {
  39086. return this.accept$1$1(visitor, type$.dynamic);
  39087. },
  39088. addSuffix$1(suffix) {
  39089. return new A.IDSelector(this.name + suffix, this.span);
  39090. },
  39091. unify$1(compound) {
  39092. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
  39093. return null;
  39094. return this.super$SimpleSelector$unify(compound);
  39095. },
  39096. $eq(_, other) {
  39097. if (other == null)
  39098. return false;
  39099. return other instanceof A.IDSelector && other.name === this.name;
  39100. },
  39101. get$hashCode(_) {
  39102. return B.JSString_methods.get$hashCode(this.name);
  39103. }
  39104. };
  39105. A.IDSelector_unify_closure.prototype = {
  39106. call$1(simple) {
  39107. var t1;
  39108. if (simple instanceof A.IDSelector) {
  39109. t1 = simple.name;
  39110. t1 = this.$this.name !== t1;
  39111. } else
  39112. t1 = false;
  39113. return t1;
  39114. },
  39115. $signature: 13
  39116. };
  39117. A.SelectorList.prototype = {
  39118. get$asSassList() {
  39119. var t1 = this.components;
  39120. return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_rXA, false);
  39121. },
  39122. accept$1$1(visitor) {
  39123. return visitor.visitSelectorList$1(this);
  39124. },
  39125. accept$1(visitor) {
  39126. return this.accept$1$1(visitor, type$.dynamic);
  39127. },
  39128. unify$1(other) {
  39129. var t3, t4, t5, t6, _i, complex1, _i0, t7,
  39130. t1 = type$.JSArray_ComplexSelector,
  39131. t2 = A._setArrayType([], t1);
  39132. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  39133. complex1 = t3[_i];
  39134. for (_i0 = 0; _i0 < t6; ++_i0) {
  39135. t7 = A.unifyComplex(A._setArrayType([complex1, t5[_i0]], t1), complex1.span);
  39136. if (t7 != null)
  39137. B.JSArray_methods.addAll$1(t2, t7);
  39138. }
  39139. }
  39140. return t2.length === 0 ? null : A.SelectorList$(t2, this.span);
  39141. },
  39142. resolveParentSelectors$2$implicitParent($parent, implicitParent) {
  39143. var parentSelector, t1, _this = this;
  39144. if ($parent == null) {
  39145. parentSelector = B.C__ParentSelectorVisitor.visitSelectorList$1(_this);
  39146. if (parentSelector == null)
  39147. return _this;
  39148. throw A.wrapException(A.SassException$(string$.Top_le, parentSelector.span, null));
  39149. }
  39150. t1 = _this.components;
  39151. 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);
  39152. },
  39153. resolveParentSelectors$1($parent) {
  39154. return this.resolveParentSelectors$2$implicitParent($parent, true);
  39155. },
  39156. _resolveParentSelectorsCompound$2(component, $parent) {
  39157. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  39158. t1 = component.selector,
  39159. simples = t1.components,
  39160. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__resolveParentSelectorsCompound_closure());
  39161. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector))
  39162. return null;
  39163. if (containsSelectorPseudo) {
  39164. t2 = simples;
  39165. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__resolveParentSelectorsCompound_closure0($parent), A.instanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector>"));
  39166. } else
  39167. resolvedSimples0 = simples;
  39168. resolvedSimples = resolvedSimples0;
  39169. parentSelector = J.get$first$ax(simples);
  39170. try {
  39171. if (!(parentSelector instanceof A.ParentSelector)) {
  39172. t2 = component.span;
  39173. 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);
  39174. return t2;
  39175. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  39176. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  39177. return t1.components;
  39178. }
  39179. } catch (exception) {
  39180. t1 = A.unwrapException(exception);
  39181. if (t1 instanceof A.SassException) {
  39182. error = t1;
  39183. stackTrace = A.getTraceFromException(exception);
  39184. A.throwWithTrace(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), stackTrace);
  39185. } else
  39186. throw exception;
  39187. }
  39188. t1 = $parent.components;
  39189. return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure1(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  39190. },
  39191. isSuperselector$1(other) {
  39192. return A.listIsSuperselector(this.components, other.components);
  39193. },
  39194. withAdditionalCombinators$1(combinators) {
  39195. var t1;
  39196. if (combinators.length === 0)
  39197. t1 = this;
  39198. else {
  39199. t1 = this.components;
  39200. t1 = A.SelectorList$(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")), this.span);
  39201. }
  39202. return t1;
  39203. },
  39204. get$hashCode(_) {
  39205. return B.C_ListEquality0.hash$1(this.components);
  39206. },
  39207. $eq(_, other) {
  39208. if (other == null)
  39209. return false;
  39210. return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
  39211. }
  39212. };
  39213. A.SelectorList_asSassList_closure.prototype = {
  39214. call$1(complex) {
  39215. var t3, t4, _i, component, t5, visitor, t6, t7, _i0,
  39216. t1 = type$.JSArray_Value,
  39217. t2 = A._setArrayType([], t1);
  39218. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  39219. t2.push(new A.SassString(J.toString$0$(t3[_i].value), false));
  39220. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  39221. component = t3[_i];
  39222. t5 = component.selector;
  39223. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  39224. t5.accept$1(visitor);
  39225. t5 = A._setArrayType([new A.SassString(visitor._serialize$_buffer.toString$0(0), false)], t1);
  39226. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  39227. t5.push(new A.SassString(J.toString$0$(t6[_i0].value), false));
  39228. B.JSArray_methods.addAll$1(t2, t5);
  39229. }
  39230. return A.SassList$(t2, B.ListSeparator_EVt, false);
  39231. },
  39232. $signature: 602
  39233. };
  39234. A.SelectorList_resolveParentSelectors_closure.prototype = {
  39235. call$1(complex) {
  39236. 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;
  39237. if (complex.accept$1(B.C__ParentSelectorVisitor) == null) {
  39238. if (!_this.implicitParent)
  39239. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  39240. t1 = _this.parent.components;
  39241. return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  39242. }
  39243. t1 = type$.JSArray_ComplexSelector;
  39244. newComplexes = A._setArrayType([], t1);
  39245. 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) {
  39246. component = t2[_i];
  39247. resolved = t4._resolveParentSelectorsCompound$2(component, t5);
  39248. if (resolved == null)
  39249. if (newComplexes.length === 0)
  39250. newComplexes.push(A.ComplexSelector$(t7, A._setArrayType([component], t11), t9, false));
  39251. else
  39252. for (i = 0; i < newComplexes.length; ++i) {
  39253. t12 = newComplexes[i];
  39254. t13 = t12.leadingCombinators;
  39255. t14 = A.List_List$of(t12.components, true, t10);
  39256. t14.push(component);
  39257. newComplexes[i] = A.ComplexSelector$(t13, t14, t9, t12.lineBreak || false);
  39258. }
  39259. else if (newComplexes.length === 0)
  39260. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_resolveParentSelectors__closure0(complex), t6));
  39261. else {
  39262. t12 = A._setArrayType([], t1);
  39263. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  39264. newComplex = newComplexes[_i0];
  39265. for (t15 = t14.get$iterator(resolved); t15.moveNext$0();)
  39266. t12.push(newComplex.concatenate$2(t15.get$current(t15), newComplex.span));
  39267. }
  39268. newComplexes = t12;
  39269. }
  39270. }
  39271. return newComplexes;
  39272. },
  39273. $signature: 255
  39274. };
  39275. A.SelectorList_resolveParentSelectors__closure.prototype = {
  39276. call$1(parentComplex) {
  39277. var t1 = this.complex;
  39278. return parentComplex.concatenate$2(t1, t1.span);
  39279. },
  39280. $signature: 53
  39281. };
  39282. A.SelectorList_resolveParentSelectors__closure0.prototype = {
  39283. call$1(resolvedComplex) {
  39284. var t1 = resolvedComplex.leadingCombinators,
  39285. t2 = this.complex,
  39286. t3 = t2.leadingCombinators;
  39287. if (t1.length === 0)
  39288. t1 = t3;
  39289. else {
  39290. t3 = A.List_List$of(t3, true, type$.CssValue_Combinator);
  39291. B.JSArray_methods.addAll$1(t3, t1);
  39292. t1 = t3;
  39293. }
  39294. return A.ComplexSelector$(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  39295. },
  39296. $signature: 53
  39297. };
  39298. A.SelectorList__resolveParentSelectorsCompound_closure.prototype = {
  39299. call$1(simple) {
  39300. var selector;
  39301. if (!(simple instanceof A.PseudoSelector))
  39302. return false;
  39303. selector = simple.selector;
  39304. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor) != null;
  39305. },
  39306. $signature: 13
  39307. };
  39308. A.SelectorList__resolveParentSelectorsCompound_closure0.prototype = {
  39309. call$1(simple) {
  39310. var selector;
  39311. if (!(simple instanceof A.PseudoSelector))
  39312. return simple;
  39313. selector = simple.selector;
  39314. if (selector == null)
  39315. return simple;
  39316. if (selector.accept$1(B.C__ParentSelectorVisitor) == null)
  39317. return simple;
  39318. return simple.withSelector$1(selector.resolveParentSelectors$2$implicitParent(this.parent, false));
  39319. },
  39320. $signature: 259
  39321. };
  39322. A.SelectorList__resolveParentSelectorsCompound_closure1.prototype = {
  39323. call$1(complex) {
  39324. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, t6, t7, exception, _this = this;
  39325. try {
  39326. t4 = complex.components;
  39327. lastComponent = B.JSArray_methods.get$last(t4);
  39328. if (lastComponent.combinators.length !== 0) {
  39329. t1 = A.MultiSpanSassException$('Selector "' + complex.toString$0(0) + string$.x22x20can_, A.SpanExtensions_trimRight(lastComponent.span), "outer selector", A.LinkedHashMap_LinkedHashMap$_literal([_this.parentSelector.span, "parent selector"], type$.FileSpan, type$.String), null);
  39330. throw A.wrapException(t1);
  39331. }
  39332. suffix = _this.parentSelector.suffix;
  39333. lastSimples = lastComponent.selector.components;
  39334. t5 = type$.SimpleSelector;
  39335. t6 = _this.resolvedSimples;
  39336. t7 = J.getInterceptor$ax(t6);
  39337. if (suffix == null) {
  39338. t1 = A.List_List$of(lastSimples, true, t5);
  39339. J.addAll$1$ax(t1, t7.skip$1(t6, 1));
  39340. t1 = t1;
  39341. } else {
  39342. t2 = A.List_List$of(A.IterableExtension_get_exceptLast(lastSimples), true, t5);
  39343. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  39344. J.addAll$1$ax(t2, t7.skip$1(t6, 1));
  39345. t1 = t2;
  39346. }
  39347. t2 = _this.component;
  39348. last = A.CompoundSelector$(t1, t2.selector.span);
  39349. t1 = complex.leadingCombinators;
  39350. t3 = A.List_List$of(A.IterableExtension_get_exceptLast(t4), true, type$.ComplexSelectorComponent);
  39351. t4 = t2.span;
  39352. J.add$1$ax(t3, new A.ComplexSelectorComponent(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator), t4));
  39353. t4 = A.ComplexSelector$(t1, t3, t4, complex.lineBreak);
  39354. return t4;
  39355. } catch (exception) {
  39356. t1 = A.unwrapException(exception);
  39357. if (t1 instanceof A.SassException) {
  39358. error = t1;
  39359. stackTrace = A.getTraceFromException(exception);
  39360. A.throwWithTrace(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), stackTrace);
  39361. } else
  39362. throw exception;
  39363. }
  39364. },
  39365. $signature: 53
  39366. };
  39367. A.SelectorList_withAdditionalCombinators_closure.prototype = {
  39368. call$1(complex) {
  39369. return complex.withAdditionalCombinators$1(this.combinators);
  39370. },
  39371. $signature: 53
  39372. };
  39373. A._ParentSelectorVisitor.prototype = {
  39374. visitParentSelector$1(selector) {
  39375. return selector;
  39376. }
  39377. };
  39378. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor.prototype = {};
  39379. A.ParentSelector.prototype = {
  39380. accept$1$1(visitor) {
  39381. return visitor.visitParentSelector$1(this);
  39382. },
  39383. accept$1(visitor) {
  39384. return this.accept$1$1(visitor, type$.dynamic);
  39385. },
  39386. unify$1(compound) {
  39387. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  39388. }
  39389. };
  39390. A.PlaceholderSelector.prototype = {
  39391. accept$1$1(visitor) {
  39392. return visitor.visitPlaceholderSelector$1(this);
  39393. },
  39394. accept$1(visitor) {
  39395. return this.accept$1$1(visitor, type$.dynamic);
  39396. },
  39397. addSuffix$1(suffix) {
  39398. return new A.PlaceholderSelector(this.name + suffix, this.span);
  39399. },
  39400. $eq(_, other) {
  39401. if (other == null)
  39402. return false;
  39403. return other instanceof A.PlaceholderSelector && other.name === this.name;
  39404. },
  39405. get$hashCode(_) {
  39406. return B.JSString_methods.get$hashCode(this.name);
  39407. }
  39408. };
  39409. A.PseudoSelector.prototype = {
  39410. get$isHostContext() {
  39411. return this.isClass && this.name === "host-context" && this.selector != null;
  39412. },
  39413. get$specificity() {
  39414. var result, _this = this,
  39415. value = _this.__PseudoSelector_specificity_FI;
  39416. if (value === $) {
  39417. result = new A.PseudoSelector_specificity_closure(_this).call$0();
  39418. _this.__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  39419. _this.__PseudoSelector_specificity_FI = result;
  39420. value = result;
  39421. }
  39422. return value;
  39423. },
  39424. withSelector$1(selector) {
  39425. var _this = this;
  39426. return A.PseudoSelector$(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  39427. },
  39428. addSuffix$1(suffix) {
  39429. var _this = this;
  39430. if (_this.argument != null || _this.selector != null)
  39431. _this.super$SimpleSelector$addSuffix(suffix);
  39432. return A.PseudoSelector$(_this.name + suffix, _this.span, null, !_this.isClass, null);
  39433. },
  39434. unify$1(compound) {
  39435. var other, result, t2, addedThis, _i, simple, _this = this,
  39436. t1 = _this.name;
  39437. if (t1 === "host" || t1 === "host-context") {
  39438. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
  39439. return null;
  39440. } else if (compound.length === 1) {
  39441. other = B.JSArray_methods.get$first(compound);
  39442. if (!(other instanceof A.UniversalSelector))
  39443. if (other instanceof A.PseudoSelector)
  39444. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  39445. else
  39446. t1 = false;
  39447. else
  39448. t1 = true;
  39449. if (t1)
  39450. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  39451. }
  39452. if (B.JSArray_methods.contains$1(compound, _this))
  39453. return compound;
  39454. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  39455. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  39456. simple = compound[_i];
  39457. if (simple instanceof A.PseudoSelector && !simple.isClass) {
  39458. if (t2)
  39459. return null;
  39460. result.push(_this);
  39461. addedThis = true;
  39462. }
  39463. result.push(simple);
  39464. }
  39465. if (!addedThis)
  39466. result.push(_this);
  39467. return result;
  39468. },
  39469. isSuperselector$1(other) {
  39470. var selector, t1, t2, _this = this;
  39471. if (_this.super$SimpleSelector$isSuperselector(other))
  39472. return true;
  39473. selector = _this.selector;
  39474. if (selector == null)
  39475. return _this.$eq(0, other);
  39476. if (other instanceof A.PseudoSelector && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  39477. t1 = A.NullableExtension_andThen(other.selector, selector.get$isSuperselector());
  39478. return t1 == null ? false : t1;
  39479. }
  39480. t1 = type$.JSArray_SimpleSelector;
  39481. t2 = _this.span;
  39482. return A.compoundIsSuperselector(A.CompoundSelector$(A._setArrayType([_this], t1), t2), A.CompoundSelector$(A._setArrayType([other], t1), t2), null);
  39483. },
  39484. accept$1$1(visitor) {
  39485. return visitor.visitPseudoSelector$1(this);
  39486. },
  39487. accept$1(visitor) {
  39488. return this.accept$1$1(visitor, type$.dynamic);
  39489. },
  39490. $eq(_, other) {
  39491. var _this = this;
  39492. if (other == null)
  39493. return false;
  39494. return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  39495. },
  39496. get$hashCode(_) {
  39497. var _this = this,
  39498. t1 = B.JSString_methods.get$hashCode(_this.name),
  39499. t2 = !_this.isClass ? 519018 : 218159;
  39500. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  39501. }
  39502. };
  39503. A.PseudoSelector_specificity_closure.prototype = {
  39504. call$0() {
  39505. var selector, t2,
  39506. t1 = this.$this;
  39507. if (!t1.isClass)
  39508. return 1;
  39509. selector = t1.selector;
  39510. if (selector == null)
  39511. return A.SimpleSelector.prototype.get$specificity.call(t1);
  39512. switch (t1.normalizedName) {
  39513. case "where":
  39514. return 0;
  39515. case "is":
  39516. case "not":
  39517. case "has":
  39518. case "matches":
  39519. t1 = selector.components;
  39520. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  39521. case "nth-child":
  39522. case "nth-last-child":
  39523. t1 = A.SimpleSelector.prototype.get$specificity.call(t1);
  39524. t2 = selector.components;
  39525. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  39526. default:
  39527. return A.SimpleSelector.prototype.get$specificity.call(t1);
  39528. }
  39529. },
  39530. $signature: 12
  39531. };
  39532. A.PseudoSelector_specificity__closure.prototype = {
  39533. call$1(component) {
  39534. return component.get$specificity();
  39535. },
  39536. $signature: 210
  39537. };
  39538. A.PseudoSelector_specificity__closure0.prototype = {
  39539. call$1(component) {
  39540. return component.get$specificity();
  39541. },
  39542. $signature: 210
  39543. };
  39544. A.PseudoSelector_unify_closure.prototype = {
  39545. call$1(simple) {
  39546. var t1;
  39547. if (simple instanceof A.PseudoSelector)
  39548. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  39549. else
  39550. t1 = false;
  39551. return t1;
  39552. },
  39553. $signature: 13
  39554. };
  39555. A.QualifiedName.prototype = {
  39556. $eq(_, other) {
  39557. if (other == null)
  39558. return false;
  39559. return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
  39560. },
  39561. get$hashCode(_) {
  39562. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  39563. },
  39564. toString$0(_) {
  39565. var t1 = this.namespace,
  39566. t2 = this.name;
  39567. return t1 == null ? t2 : t1 + "|" + t2;
  39568. }
  39569. };
  39570. A.SimpleSelector.prototype = {
  39571. get$specificity() {
  39572. return 1000;
  39573. },
  39574. addSuffix$1(suffix) {
  39575. return A.throwExpression(A.MultiSpanSassException$('Selector "' + this.toString$0(0) + "\" can't have a suffix", this.span, "outer selector", A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String), null));
  39576. },
  39577. unify$1(compound) {
  39578. var other, t1, result, addedThis, _i, simple, _this = this;
  39579. if (compound.length === 1) {
  39580. other = B.JSArray_methods.get$first(compound);
  39581. if (!(other instanceof A.UniversalSelector))
  39582. if (other instanceof A.PseudoSelector)
  39583. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  39584. else
  39585. t1 = false;
  39586. else
  39587. t1 = true;
  39588. if (t1)
  39589. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  39590. }
  39591. if (B.JSArray_methods.contains$1(compound, _this))
  39592. return compound;
  39593. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  39594. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  39595. simple = compound[_i];
  39596. if (!addedThis && simple instanceof A.PseudoSelector) {
  39597. result.push(_this);
  39598. addedThis = true;
  39599. }
  39600. result.push(simple);
  39601. }
  39602. if (!addedThis)
  39603. result.push(_this);
  39604. return result;
  39605. },
  39606. isSuperselector$1(other) {
  39607. var list;
  39608. if (this.$eq(0, other))
  39609. return true;
  39610. if (other instanceof A.PseudoSelector && other.isClass) {
  39611. list = other.selector;
  39612. if (list != null && $._subselectorPseudos.contains$1(0, other.normalizedName))
  39613. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure(this));
  39614. }
  39615. return false;
  39616. }
  39617. };
  39618. A.SimpleSelector_isSuperselector_closure.prototype = {
  39619. call$1(complex) {
  39620. var t1 = complex.components;
  39621. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure(this.$this));
  39622. },
  39623. $signature: 16
  39624. };
  39625. A.SimpleSelector_isSuperselector__closure.prototype = {
  39626. call$1(simple) {
  39627. return this.$this.isSuperselector$1(simple);
  39628. },
  39629. $signature: 13
  39630. };
  39631. A.TypeSelector.prototype = {
  39632. get$specificity() {
  39633. return 1;
  39634. },
  39635. accept$1$1(visitor) {
  39636. return visitor.visitTypeSelector$1(this);
  39637. },
  39638. accept$1(visitor) {
  39639. return this.accept$1$1(visitor, type$.dynamic);
  39640. },
  39641. addSuffix$1(suffix) {
  39642. var t1 = this.name;
  39643. return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace), this.span);
  39644. },
  39645. unify$1(compound) {
  39646. var unified, t1;
  39647. if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector) {
  39648. unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
  39649. if (unified == null)
  39650. return null;
  39651. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  39652. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  39653. return t1;
  39654. } else {
  39655. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
  39656. B.JSArray_methods.addAll$1(t1, compound);
  39657. return t1;
  39658. }
  39659. },
  39660. isSuperselector$1(other) {
  39661. var t1, t2;
  39662. if (!this.super$SimpleSelector$isSuperselector(other))
  39663. if (other instanceof A.TypeSelector) {
  39664. t1 = this.name;
  39665. t2 = other.name;
  39666. if (t1.name === t2.name) {
  39667. t1 = t1.namespace;
  39668. t1 = t1 === "*" || t1 == t2.namespace;
  39669. } else
  39670. t1 = false;
  39671. } else
  39672. t1 = false;
  39673. else
  39674. t1 = true;
  39675. return t1;
  39676. },
  39677. $eq(_, other) {
  39678. if (other == null)
  39679. return false;
  39680. return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
  39681. },
  39682. get$hashCode(_) {
  39683. var t1 = this.name;
  39684. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  39685. }
  39686. };
  39687. A.UniversalSelector.prototype = {
  39688. get$specificity() {
  39689. return 0;
  39690. },
  39691. accept$1$1(visitor) {
  39692. return visitor.visitUniversalSelector$1(this);
  39693. },
  39694. accept$1(visitor) {
  39695. return this.accept$1$1(visitor, type$.dynamic);
  39696. },
  39697. unify$1(compound) {
  39698. var unified, t1, _this = this,
  39699. first = B.JSArray_methods.get$first(compound);
  39700. if (first instanceof A.UniversalSelector || first instanceof A.TypeSelector) {
  39701. unified = A.unifyUniversalAndElement(_this, first);
  39702. if (unified == null)
  39703. return null;
  39704. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  39705. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  39706. return t1;
  39707. } else {
  39708. if (compound.length === 1)
  39709. if (first instanceof A.PseudoSelector)
  39710. t1 = first.isClass && first.name === "host" || first.get$isHostContext();
  39711. else
  39712. t1 = false;
  39713. else
  39714. t1 = false;
  39715. if (t1)
  39716. return null;
  39717. }
  39718. t1 = _this.namespace;
  39719. if (t1 != null && t1 !== "*") {
  39720. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
  39721. B.JSArray_methods.addAll$1(t1, compound);
  39722. return t1;
  39723. }
  39724. if (compound.length !== 0)
  39725. return compound;
  39726. return A._setArrayType([_this], type$.JSArray_SimpleSelector);
  39727. },
  39728. isSuperselector$1(other) {
  39729. var t1 = this.namespace;
  39730. if (t1 === "*")
  39731. return true;
  39732. if (other instanceof A.TypeSelector)
  39733. return t1 == other.name.namespace;
  39734. if (other instanceof A.UniversalSelector)
  39735. return t1 == other.namespace;
  39736. return t1 == null || this.super$SimpleSelector$isSuperselector(other);
  39737. },
  39738. $eq(_, other) {
  39739. if (other == null)
  39740. return false;
  39741. return other instanceof A.UniversalSelector && other.namespace == this.namespace;
  39742. },
  39743. get$hashCode(_) {
  39744. return J.get$hashCode$(this.namespace);
  39745. }
  39746. };
  39747. A._compileStylesheet_closure0.prototype = {
  39748. call$1(url) {
  39749. var t1;
  39750. if (url === "") {
  39751. t1 = this.stylesheet.span;
  39752. 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();
  39753. } else
  39754. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  39755. return t1;
  39756. },
  39757. $signature: 5
  39758. };
  39759. A.AsyncEnvironment.prototype = {
  39760. closure$0() {
  39761. var t4, t5, t6, _this = this,
  39762. t1 = _this._async_environment$_forwardedModules,
  39763. t2 = _this._async_environment$_nestedForwardedModules,
  39764. t3 = _this._async_environment$_variables;
  39765. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  39766. t4 = _this._async_environment$_variableNodes;
  39767. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  39768. t5 = _this._async_environment$_functions;
  39769. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  39770. t6 = _this._async_environment$_mixins;
  39771. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  39772. 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);
  39773. },
  39774. addModule$3$namespace(module, nodeWithSpan, namespace) {
  39775. var t1, t2, span, _this = this;
  39776. if (namespace == null) {
  39777. _this._async_environment$_globalModules.$indexSet(0, module, nodeWithSpan);
  39778. _this._async_environment$_allModules.push(module);
  39779. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment$_variables))); t1.moveNext$0();) {
  39780. t2 = t1.get$current(t1);
  39781. if (module.get$variables().containsKey$1(t2))
  39782. throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".', null));
  39783. }
  39784. } else {
  39785. t1 = _this._async_environment$_modules;
  39786. if (t1.containsKey$1(namespace)) {
  39787. t1 = _this._async_environment$_namespaceNodes.$index(0, namespace);
  39788. span = t1 == null ? null : t1.span;
  39789. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  39790. if (span != null)
  39791. t1.$indexSet(0, span, "original @use");
  39792. throw A.wrapException(A.MultiSpanSassScriptException$(string$.There_ + namespace + '".', "new @use", t1));
  39793. }
  39794. t1.$indexSet(0, namespace, module);
  39795. _this._async_environment$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
  39796. _this._async_environment$_allModules.push(module);
  39797. }
  39798. },
  39799. forwardModule$2(module, rule) {
  39800. var view, t1, t2, _this = this,
  39801. forwardedModules = _this._async_environment$_forwardedModules;
  39802. if (forwardedModules == null)
  39803. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  39804. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
  39805. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  39806. t2 = t1.__js_helper$_current;
  39807. _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  39808. _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  39809. _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  39810. }
  39811. _this._async_environment$_allModules.push(module);
  39812. forwardedModules.$indexSet(0, view, rule);
  39813. },
  39814. _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  39815. var larger, smaller, t1, t2, $name, span;
  39816. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  39817. larger = oldMembers;
  39818. smaller = newMembers;
  39819. } else {
  39820. larger = newMembers;
  39821. smaller = oldMembers;
  39822. }
  39823. for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
  39824. $name = t1.get$current(t1);
  39825. if (!larger.containsKey$1($name))
  39826. continue;
  39827. if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
  39828. continue;
  39829. if (t2)
  39830. $name = "$" + $name;
  39831. t1 = this._async_environment$_forwardedModules;
  39832. if (t1 == null)
  39833. span = null;
  39834. else {
  39835. t1 = t1.$index(0, oldModule);
  39836. span = t1 == null ? null : J.get$span$z(t1);
  39837. }
  39838. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  39839. if (span != null)
  39840. t1.$indexSet(0, span, "original @forward");
  39841. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
  39842. }
  39843. },
  39844. importForwards$1(module) {
  39845. var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
  39846. forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
  39847. if (forwarded == null)
  39848. return;
  39849. forwardedModules = _this._async_environment$_forwardedModules;
  39850. if (forwardedModules != null) {
  39851. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  39852. for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment$_globalModules; t2.moveNext$0();) {
  39853. t4 = t2.get$current(t2);
  39854. t5 = t4.key;
  39855. if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
  39856. t1.$indexSet(0, t5, t4.value);
  39857. }
  39858. forwarded = t1;
  39859. } else
  39860. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  39861. t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
  39862. t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
  39863. t3 = t2._eval$1("Iterable.E");
  39864. forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure(), t2), t3);
  39865. forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure0(), t2), t3);
  39866. forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure1(), t2), t3);
  39867. t2 = _this._async_environment$_variables;
  39868. t3 = t2.length;
  39869. if (t3 === 1) {
  39870. 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) {
  39871. entry = t3[_i];
  39872. module = entry.key;
  39873. shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  39874. if (shadowed != null) {
  39875. t1.remove$1(0, module);
  39876. t6 = shadowed.variables;
  39877. if (t6.get$isEmpty(t6)) {
  39878. t6 = shadowed.functions;
  39879. if (t6.get$isEmpty(t6)) {
  39880. t6 = shadowed.mixins;
  39881. if (t6.get$isEmpty(t6)) {
  39882. t6 = shadowed._shadowed_view$_inner;
  39883. t6 = t6.get$css(t6);
  39884. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  39885. } else
  39886. t6 = false;
  39887. } else
  39888. t6 = false;
  39889. } else
  39890. t6 = false;
  39891. if (!t6)
  39892. t1.$indexSet(0, shadowed, entry.value);
  39893. }
  39894. }
  39895. 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) {
  39896. entry = t3[_i];
  39897. module = entry.key;
  39898. shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  39899. if (shadowed != null) {
  39900. forwardedModules.remove$1(0, module);
  39901. t6 = shadowed.variables;
  39902. if (t6.get$isEmpty(t6)) {
  39903. t6 = shadowed.functions;
  39904. if (t6.get$isEmpty(t6)) {
  39905. t6 = shadowed.mixins;
  39906. if (t6.get$isEmpty(t6)) {
  39907. t6 = shadowed._shadowed_view$_inner;
  39908. t6 = t6.get$css(t6);
  39909. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  39910. } else
  39911. t6 = false;
  39912. } else
  39913. t6 = false;
  39914. } else
  39915. t6 = false;
  39916. if (!t6)
  39917. forwardedModules.$indexSet(0, shadowed, entry.value);
  39918. }
  39919. }
  39920. t1.addAll$1(0, forwarded);
  39921. forwardedModules.addAll$1(0, forwarded);
  39922. } else {
  39923. t4 = _this._async_environment$_nestedForwardedModules;
  39924. if (t4 == null) {
  39925. _length = t3 - 1;
  39926. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
  39927. for (t3 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
  39928. _list[_i] = A._setArrayType([], t3);
  39929. _this._async_environment$_nestedForwardedModules = _list;
  39930. t3 = _list;
  39931. } else
  39932. t3 = t4;
  39933. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
  39934. }
  39935. 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();) {
  39936. t6 = t1._collection$_current;
  39937. if (t6 == null)
  39938. t6 = t5._as(t6);
  39939. t3.remove$1(0, t6);
  39940. J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
  39941. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  39942. }
  39943. 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();) {
  39944. t5 = t1._collection$_current;
  39945. if (t5 == null)
  39946. t5 = t4._as(t5);
  39947. t2.remove$1(0, t5);
  39948. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  39949. }
  39950. 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();) {
  39951. t5 = t1._collection$_current;
  39952. if (t5 == null)
  39953. t5 = t4._as(t5);
  39954. t2.remove$1(0, t5);
  39955. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  39956. }
  39957. },
  39958. getVariable$2$namespace($name, namespace) {
  39959. var t1, index, _this = this;
  39960. if (namespace != null)
  39961. return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
  39962. if (_this._async_environment$_lastVariableName === $name) {
  39963. t1 = _this._async_environment$_lastVariableIndex;
  39964. t1.toString;
  39965. t1 = J.$index$asx(_this._async_environment$_variables[t1], $name);
  39966. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  39967. }
  39968. t1 = _this._async_environment$_variableIndices;
  39969. index = t1.$index(0, $name);
  39970. if (index != null) {
  39971. _this._async_environment$_lastVariableName = $name;
  39972. _this._async_environment$_lastVariableIndex = index;
  39973. t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
  39974. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  39975. }
  39976. index = _this._async_environment$_variableIndex$1($name);
  39977. if (index == null)
  39978. return _this._async_environment$_getVariableFromGlobalModule$1($name);
  39979. _this._async_environment$_lastVariableName = $name;
  39980. _this._async_environment$_lastVariableIndex = index;
  39981. t1.$indexSet(0, $name, index);
  39982. t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
  39983. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  39984. },
  39985. getVariable$1($name) {
  39986. return this.getVariable$2$namespace($name, null);
  39987. },
  39988. _async_environment$_getVariableFromGlobalModule$1($name) {
  39989. return this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name), type$.Value);
  39990. },
  39991. getVariableNode$2$namespace($name, namespace) {
  39992. var t1, index, _this = this;
  39993. if (namespace != null)
  39994. return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  39995. if (_this._async_environment$_lastVariableName === $name) {
  39996. t1 = _this._async_environment$_lastVariableIndex;
  39997. t1.toString;
  39998. t1 = J.$index$asx(_this._async_environment$_variableNodes[t1], $name);
  39999. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  40000. }
  40001. t1 = _this._async_environment$_variableIndices;
  40002. index = t1.$index(0, $name);
  40003. if (index != null) {
  40004. _this._async_environment$_lastVariableName = $name;
  40005. _this._async_environment$_lastVariableIndex = index;
  40006. t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
  40007. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  40008. }
  40009. index = _this._async_environment$_variableIndex$1($name);
  40010. if (index == null)
  40011. return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
  40012. _this._async_environment$_lastVariableName = $name;
  40013. _this._async_environment$_lastVariableIndex = index;
  40014. t1.$indexSet(0, $name, index);
  40015. t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
  40016. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  40017. },
  40018. _async_environment$_getVariableNodeFromGlobalModule$1($name) {
  40019. var t1, t2, value;
  40020. 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();) {
  40021. t1 = t2._currentIterator;
  40022. value = t1.get$current(t1).get$variableNodes().$index(0, $name);
  40023. if (value != null)
  40024. return value;
  40025. }
  40026. return null;
  40027. },
  40028. globalVariableExists$2$namespace($name, namespace) {
  40029. if (namespace != null)
  40030. return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
  40031. if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
  40032. return true;
  40033. return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
  40034. },
  40035. globalVariableExists$1($name) {
  40036. return this.globalVariableExists$2$namespace($name, null);
  40037. },
  40038. _async_environment$_variableIndex$1($name) {
  40039. var t1, i;
  40040. for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
  40041. if (t1[i].containsKey$1($name))
  40042. return i;
  40043. return null;
  40044. },
  40045. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  40046. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  40047. if (namespace != null) {
  40048. _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  40049. return;
  40050. }
  40051. if (global || _this._async_environment$_variables.length === 1) {
  40052. _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
  40053. t1 = _this._async_environment$_variables;
  40054. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  40055. moduleWithName = _this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name), type$.Module_AsyncCallable);
  40056. if (moduleWithName != null) {
  40057. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  40058. return;
  40059. }
  40060. }
  40061. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  40062. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment$_variableNodes), $name, nodeWithSpan);
  40063. return;
  40064. }
  40065. nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
  40066. if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
  40067. 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();) {
  40068. t3 = t1.__internal$_current;
  40069. 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();) {
  40070. t5 = t3.__internal$_current;
  40071. if (t5 == null)
  40072. t5 = t4._as(t5);
  40073. if (t5.get$variables().containsKey$1($name)) {
  40074. t5.setVariable$3($name, value, nodeWithSpan);
  40075. return;
  40076. }
  40077. }
  40078. }
  40079. if (_this._async_environment$_lastVariableName === $name) {
  40080. t1 = _this._async_environment$_lastVariableIndex;
  40081. t1.toString;
  40082. index = t1;
  40083. } else
  40084. index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
  40085. if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
  40086. index = _this._async_environment$_variables.length - 1;
  40087. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  40088. }
  40089. _this._async_environment$_lastVariableName = $name;
  40090. _this._async_environment$_lastVariableIndex = index;
  40091. J.$indexSet$ax(_this._async_environment$_variables[index], $name, value);
  40092. J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
  40093. },
  40094. setVariable$4$global($name, value, nodeWithSpan, global) {
  40095. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  40096. },
  40097. setLocalVariable$3($name, value, nodeWithSpan) {
  40098. var index, _this = this,
  40099. t1 = _this._async_environment$_variables,
  40100. t2 = t1.length;
  40101. _this._async_environment$_lastVariableName = $name;
  40102. index = _this._async_environment$_lastVariableIndex = t2 - 1;
  40103. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  40104. J.$indexSet$ax(t1[index], $name, value);
  40105. J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
  40106. },
  40107. getFunction$2$namespace($name, namespace) {
  40108. var t1, index, _this = this;
  40109. if (namespace != null) {
  40110. t1 = _this._async_environment$_getModule$1(namespace);
  40111. return t1.get$functions(t1).$index(0, $name);
  40112. }
  40113. t1 = _this._async_environment$_functionIndices;
  40114. index = t1.$index(0, $name);
  40115. if (index != null) {
  40116. t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
  40117. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  40118. }
  40119. index = _this._async_environment$_functionIndex$1($name);
  40120. if (index == null)
  40121. return _this._async_environment$_getFunctionFromGlobalModule$1($name);
  40122. t1.$indexSet(0, $name, index);
  40123. t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
  40124. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  40125. },
  40126. _async_environment$_getFunctionFromGlobalModule$1($name) {
  40127. return this._async_environment$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name), type$.AsyncCallable);
  40128. },
  40129. _async_environment$_functionIndex$1($name) {
  40130. var t1, i;
  40131. for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
  40132. if (t1[i].containsKey$1($name))
  40133. return i;
  40134. return null;
  40135. },
  40136. getMixin$2$namespace($name, namespace) {
  40137. var t1, index, _this = this;
  40138. if (namespace != null)
  40139. return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
  40140. t1 = _this._async_environment$_mixinIndices;
  40141. index = t1.$index(0, $name);
  40142. if (index != null) {
  40143. t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
  40144. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  40145. }
  40146. index = _this._async_environment$_mixinIndex$1($name);
  40147. if (index == null)
  40148. return _this._async_environment$_getMixinFromGlobalModule$1($name);
  40149. t1.$indexSet(0, $name, index);
  40150. t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
  40151. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  40152. },
  40153. _async_environment$_getMixinFromGlobalModule$1($name) {
  40154. return this._async_environment$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name), type$.AsyncCallable);
  40155. },
  40156. _async_environment$_mixinIndex$1($name) {
  40157. var t1, i;
  40158. for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
  40159. if (t1[i].containsKey$1($name))
  40160. return i;
  40161. return null;
  40162. },
  40163. withContent$2($content, callback) {
  40164. return this.withContent$body$AsyncEnvironment($content, callback);
  40165. },
  40166. withContent$body$AsyncEnvironment($content, callback) {
  40167. var $async$goto = 0,
  40168. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  40169. $async$self = this, oldContent;
  40170. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  40171. if ($async$errorCode === 1)
  40172. return A._asyncRethrow($async$result, $async$completer);
  40173. while (true)
  40174. switch ($async$goto) {
  40175. case 0:
  40176. // Function start
  40177. oldContent = $async$self._async_environment$_content;
  40178. $async$self._async_environment$_content = $content;
  40179. $async$goto = 2;
  40180. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  40181. case 2:
  40182. // returning from await.
  40183. $async$self._async_environment$_content = oldContent;
  40184. // implicit return
  40185. return A._asyncReturn(null, $async$completer);
  40186. }
  40187. });
  40188. return A._asyncStartSync($async$withContent$2, $async$completer);
  40189. },
  40190. asMixin$1(callback) {
  40191. var $async$goto = 0,
  40192. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  40193. $async$self = this, oldInMixin;
  40194. var $async$asMixin$1 = 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. oldInMixin = $async$self._async_environment$_inMixin;
  40202. $async$self._async_environment$_inMixin = true;
  40203. $async$goto = 2;
  40204. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  40205. case 2:
  40206. // returning from await.
  40207. $async$self._async_environment$_inMixin = oldInMixin;
  40208. // implicit return
  40209. return A._asyncReturn(null, $async$completer);
  40210. }
  40211. });
  40212. return A._asyncStartSync($async$asMixin$1, $async$completer);
  40213. },
  40214. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  40215. return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
  40216. },
  40217. scope$1$1(callback, $T) {
  40218. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  40219. },
  40220. scope$1$2$when(callback, when, $T) {
  40221. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  40222. },
  40223. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  40224. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  40225. },
  40226. scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
  40227. var $async$goto = 0,
  40228. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  40229. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  40230. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  40231. if ($async$errorCode === 1) {
  40232. $async$currentError = $async$result;
  40233. $async$goto = $async$handler;
  40234. }
  40235. while (true)
  40236. switch ($async$goto) {
  40237. case 0:
  40238. // Function start
  40239. semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
  40240. wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
  40241. $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
  40242. $async$goto = !when ? 3 : 4;
  40243. break;
  40244. case 3:
  40245. // then
  40246. $async$handler = 5;
  40247. $async$goto = 8;
  40248. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  40249. case 8:
  40250. // returning from await.
  40251. t1 = $async$result;
  40252. $async$returnValue = t1;
  40253. $async$next = [1];
  40254. // goto finally
  40255. $async$goto = 6;
  40256. break;
  40257. $async$next.push(7);
  40258. // goto finally
  40259. $async$goto = 6;
  40260. break;
  40261. case 5:
  40262. // uncaught
  40263. $async$next = [2];
  40264. case 6:
  40265. // finally
  40266. $async$handler = 2;
  40267. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  40268. // goto the next finally handler
  40269. $async$goto = $async$next.pop();
  40270. break;
  40271. case 7:
  40272. // after finally
  40273. case 4:
  40274. // join
  40275. t1 = $async$self._async_environment$_variables;
  40276. t2 = type$.String;
  40277. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  40278. t3 = $async$self._async_environment$_variableNodes;
  40279. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  40280. t4 = $async$self._async_environment$_functions;
  40281. t5 = type$.AsyncCallable;
  40282. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  40283. t6 = $async$self._async_environment$_mixins;
  40284. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  40285. t5 = $async$self._async_environment$_nestedForwardedModules;
  40286. if (t5 != null)
  40287. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
  40288. $async$handler = 9;
  40289. $async$goto = 12;
  40290. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  40291. case 12:
  40292. // returning from await.
  40293. t2 = $async$result;
  40294. $async$returnValue = t2;
  40295. $async$next = [1];
  40296. // goto finally
  40297. $async$goto = 10;
  40298. break;
  40299. $async$next.push(11);
  40300. // goto finally
  40301. $async$goto = 10;
  40302. break;
  40303. case 9:
  40304. // uncaught
  40305. $async$next = [2];
  40306. case 10:
  40307. // finally
  40308. $async$handler = 2;
  40309. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  40310. $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
  40311. 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();) {
  40312. $name = t1.get$current(t1);
  40313. t2.remove$1(0, $name);
  40314. }
  40315. B.JSArray_methods.removeLast$0(t3);
  40316. 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();) {
  40317. name0 = t1.get$current(t1);
  40318. t2.remove$1(0, name0);
  40319. }
  40320. 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();) {
  40321. name1 = t1.get$current(t1);
  40322. t2.remove$1(0, name1);
  40323. }
  40324. t1 = $async$self._async_environment$_nestedForwardedModules;
  40325. if (t1 != null)
  40326. t1.pop();
  40327. // goto the next finally handler
  40328. $async$goto = $async$next.pop();
  40329. break;
  40330. case 11:
  40331. // after finally
  40332. case 1:
  40333. // return
  40334. return A._asyncReturn($async$returnValue, $async$completer);
  40335. case 2:
  40336. // rethrow
  40337. return A._asyncRethrow($async$currentError, $async$completer);
  40338. }
  40339. });
  40340. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  40341. },
  40342. toImplicitConfiguration$0() {
  40343. var t1, t2, i, values, nodes, t3, t4, t5, t6,
  40344. configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  40345. for (t1 = this._async_environment$_variables, t2 = this._async_environment$_variableNodes, i = 0; i < t1.length; ++i) {
  40346. values = t1[i];
  40347. nodes = t2[i];
  40348. for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  40349. t4 = t3.get$current(t3);
  40350. t5 = t4.key;
  40351. t4 = t4.value;
  40352. t6 = nodes.$index(0, t5);
  40353. t6.toString;
  40354. configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
  40355. }
  40356. }
  40357. return new A.Configuration(configuration, null);
  40358. },
  40359. toModule$2(css, extensionStore) {
  40360. return A._EnvironmentModule__EnvironmentModule0(this, css, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
  40361. },
  40362. toDummyModule$0() {
  40363. 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()));
  40364. },
  40365. _async_environment$_getModule$1(namespace) {
  40366. var module = this._async_environment$_modules.$index(0, namespace);
  40367. if (module != null)
  40368. return module;
  40369. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  40370. },
  40371. _async_environment$_fromOneModule$1$3($name, type, callback, $T) {
  40372. var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
  40373. nestedForwardedModules = this._async_environment$_nestedForwardedModules;
  40374. if (nestedForwardedModules != null)
  40375. 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();) {
  40376. t3 = t1.__internal$_current;
  40377. 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();) {
  40378. t5 = t3.__internal$_current;
  40379. value = callback.call$1(t5 == null ? t4._as(t5) : t5);
  40380. if (value != null)
  40381. return value;
  40382. }
  40383. }
  40384. for (t1 = this._async_environment$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  40385. value = callback.call$1(t1.__js_helper$_current);
  40386. if (value != null)
  40387. return value;
  40388. }
  40389. for (t1 = this._async_environment$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.AsyncCallable, value = null, identity = null; t2.moveNext$0();) {
  40390. t4 = t2.__js_helper$_current;
  40391. valueInModule = callback.call$1(t4);
  40392. if (valueInModule == null)
  40393. continue;
  40394. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  40395. if (identityFromModule.$eq(0, identity))
  40396. continue;
  40397. if (value != null) {
  40398. spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
  40399. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  40400. for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
  40401. t4 = t1.get$current(t1);
  40402. if (t4 != null)
  40403. t2.$indexSet(0, t4, t3);
  40404. }
  40405. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  40406. }
  40407. identity = identityFromModule;
  40408. value = valueInModule;
  40409. }
  40410. return value;
  40411. }
  40412. };
  40413. A.AsyncEnvironment_importForwards_closure.prototype = {
  40414. call$1(module) {
  40415. var t1 = module.get$variables();
  40416. return t1.get$keys(t1);
  40417. },
  40418. $signature: 118
  40419. };
  40420. A.AsyncEnvironment_importForwards_closure0.prototype = {
  40421. call$1(module) {
  40422. var t1 = module.get$functions(module);
  40423. return t1.get$keys(t1);
  40424. },
  40425. $signature: 118
  40426. };
  40427. A.AsyncEnvironment_importForwards_closure1.prototype = {
  40428. call$1(module) {
  40429. var t1 = module.get$mixins();
  40430. return t1.get$keys(t1);
  40431. },
  40432. $signature: 118
  40433. };
  40434. A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
  40435. call$1(module) {
  40436. return module.get$variables().$index(0, this.name);
  40437. },
  40438. $signature: 291
  40439. };
  40440. A.AsyncEnvironment_setVariable_closure.prototype = {
  40441. call$0() {
  40442. var t1 = this.$this;
  40443. t1._async_environment$_lastVariableName = this.name;
  40444. return t1._async_environment$_lastVariableIndex = 0;
  40445. },
  40446. $signature: 12
  40447. };
  40448. A.AsyncEnvironment_setVariable_closure0.prototype = {
  40449. call$1(module) {
  40450. return module.get$variables().containsKey$1(this.name) ? module : null;
  40451. },
  40452. $signature: 296
  40453. };
  40454. A.AsyncEnvironment_setVariable_closure1.prototype = {
  40455. call$0() {
  40456. var t1 = this.$this,
  40457. t2 = t1._async_environment$_variableIndex$1(this.name);
  40458. return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
  40459. },
  40460. $signature: 12
  40461. };
  40462. A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
  40463. call$1(module) {
  40464. return module.get$functions(module).$index(0, this.name);
  40465. },
  40466. $signature: 206
  40467. };
  40468. A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
  40469. call$1(module) {
  40470. return module.get$mixins().$index(0, this.name);
  40471. },
  40472. $signature: 206
  40473. };
  40474. A.AsyncEnvironment_toModule_closure.prototype = {
  40475. call$1(modules) {
  40476. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  40477. },
  40478. $signature: 211
  40479. };
  40480. A.AsyncEnvironment_toDummyModule_closure.prototype = {
  40481. call$1(modules) {
  40482. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  40483. },
  40484. $signature: 211
  40485. };
  40486. A.AsyncEnvironment__fromOneModule_closure.prototype = {
  40487. call$1(entry) {
  40488. return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure(entry, this.T));
  40489. },
  40490. $signature: 304
  40491. };
  40492. A.AsyncEnvironment__fromOneModule__closure.prototype = {
  40493. call$1(_) {
  40494. return J.get$span$z(this.entry.value);
  40495. },
  40496. $signature() {
  40497. return this.T._eval$1("FileSpan(0)");
  40498. }
  40499. };
  40500. A._EnvironmentModule0.prototype = {
  40501. get$url(_) {
  40502. var t1 = this.css;
  40503. t1 = t1.get$span(t1);
  40504. return t1.get$sourceUrl(t1);
  40505. },
  40506. setVariable$3($name, value, nodeWithSpan) {
  40507. var t1, t2,
  40508. module = this._async_environment$_modulesByVariable.$index(0, $name);
  40509. if (module != null) {
  40510. module.setVariable$3($name, value, nodeWithSpan);
  40511. return;
  40512. }
  40513. t1 = this._async_environment$_environment;
  40514. t2 = t1._async_environment$_variables;
  40515. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  40516. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  40517. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  40518. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment$_variableNodes), $name, nodeWithSpan);
  40519. return;
  40520. },
  40521. variableIdentity$1($name) {
  40522. var module = this._async_environment$_modulesByVariable.$index(0, $name);
  40523. return module == null ? this : module.variableIdentity$1($name);
  40524. },
  40525. cloneCss$0() {
  40526. var newCssAndExtensionStore, _this = this;
  40527. if (!_this.transitivelyContainsCss)
  40528. return _this;
  40529. newCssAndExtensionStore = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  40530. 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);
  40531. },
  40532. toString$0(_) {
  40533. var t1 = this.css,
  40534. t2 = t1.get$span(t1);
  40535. if (t2.get$sourceUrl(t2) == null)
  40536. t1 = "<unknown url>";
  40537. else {
  40538. t1 = t1.get$span(t1);
  40539. t1 = t1.get$sourceUrl(t1);
  40540. t1 = $.$get$context().prettyUri$1(t1);
  40541. }
  40542. return t1;
  40543. },
  40544. $isModule: 1,
  40545. get$upstream() {
  40546. return this.upstream;
  40547. },
  40548. get$variables() {
  40549. return this.variables;
  40550. },
  40551. get$variableNodes() {
  40552. return this.variableNodes;
  40553. },
  40554. get$functions(receiver) {
  40555. return this.functions;
  40556. },
  40557. get$mixins() {
  40558. return this.mixins;
  40559. },
  40560. get$extensionStore() {
  40561. return this.extensionStore;
  40562. },
  40563. get$css(receiver) {
  40564. return this.css;
  40565. },
  40566. get$transitivelyContainsCss() {
  40567. return this.transitivelyContainsCss;
  40568. },
  40569. get$transitivelyContainsExtensions() {
  40570. return this.transitivelyContainsExtensions;
  40571. }
  40572. };
  40573. A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
  40574. call$1(module) {
  40575. return module.get$variables();
  40576. },
  40577. $signature: 313
  40578. };
  40579. A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
  40580. call$1(module) {
  40581. return module.get$variableNodes();
  40582. },
  40583. $signature: 315
  40584. };
  40585. A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
  40586. call$1(module) {
  40587. return module.get$functions(module);
  40588. },
  40589. $signature: 204
  40590. };
  40591. A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
  40592. call$1(module) {
  40593. return module.get$mixins();
  40594. },
  40595. $signature: 204
  40596. };
  40597. A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
  40598. call$1(module) {
  40599. return module.get$transitivelyContainsCss();
  40600. },
  40601. $signature: 123
  40602. };
  40603. A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
  40604. call$1(module) {
  40605. return module.get$transitivelyContainsExtensions();
  40606. },
  40607. $signature: 123
  40608. };
  40609. A.AsyncImportCache.prototype = {
  40610. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  40611. return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
  40612. },
  40613. canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
  40614. var $async$goto = 0,
  40615. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
  40616. $async$returnValue, $async$self = this, relativeResult, t1;
  40617. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  40618. if ($async$errorCode === 1)
  40619. return A._asyncRethrow($async$result, $async$completer);
  40620. while (true)
  40621. switch ($async$goto) {
  40622. case 0:
  40623. // Function start
  40624. t1 = self.process;
  40625. if (t1 == null)
  40626. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && $async$self._async_import_cache$_importers.length === 0;
  40627. else
  40628. t1 = false;
  40629. if (t1)
  40630. throw A.wrapException(string$.Custom);
  40631. $async$goto = baseImporter != null ? 3 : 4;
  40632. break;
  40633. case 3:
  40634. // then
  40635. t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri;
  40636. $async$goto = 5;
  40637. 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);
  40638. case 5:
  40639. // returning from await.
  40640. relativeResult = $async$result;
  40641. if (relativeResult != null) {
  40642. $async$returnValue = relativeResult;
  40643. // goto return
  40644. $async$goto = 1;
  40645. break;
  40646. }
  40647. case 4:
  40648. // join
  40649. t1 = type$.Tuple2_Uri_bool;
  40650. $async$goto = 6;
  40651. 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);
  40652. case 6:
  40653. // returning from await.
  40654. $async$returnValue = $async$result;
  40655. // goto return
  40656. $async$goto = 1;
  40657. break;
  40658. case 1:
  40659. // return
  40660. return A._asyncReturn($async$returnValue, $async$completer);
  40661. }
  40662. });
  40663. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  40664. },
  40665. _async_import_cache$_canonicalize$3(importer, url, forImport) {
  40666. return this._canonicalize$body$AsyncImportCache(importer, url, forImport);
  40667. },
  40668. _canonicalize$body$AsyncImportCache(importer, url, forImport) {
  40669. var $async$goto = 0,
  40670. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  40671. $async$returnValue, $async$self = this, t1, result;
  40672. var $async$_async_import_cache$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  40673. if ($async$errorCode === 1)
  40674. return A._asyncRethrow($async$result, $async$completer);
  40675. while (true)
  40676. switch ($async$goto) {
  40677. case 0:
  40678. // Function start
  40679. if (forImport) {
  40680. t1 = type$.nullable_Object;
  40681. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
  40682. } else
  40683. t1 = importer.canonicalize$1(0, url);
  40684. $async$goto = 3;
  40685. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$3);
  40686. case 3:
  40687. // returning from await.
  40688. result = $async$result;
  40689. if ((result == null ? null : result.get$scheme()) === "")
  40690. 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);
  40691. $async$returnValue = result;
  40692. // goto return
  40693. $async$goto = 1;
  40694. break;
  40695. case 1:
  40696. // return
  40697. return A._asyncReturn($async$returnValue, $async$completer);
  40698. }
  40699. });
  40700. return A._asyncStartSync($async$_async_import_cache$_canonicalize$3, $async$completer);
  40701. },
  40702. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  40703. return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet);
  40704. },
  40705. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  40706. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  40707. },
  40708. importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet) {
  40709. var $async$goto = 0,
  40710. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  40711. $async$returnValue, $async$self = this;
  40712. var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  40713. if ($async$errorCode === 1)
  40714. return A._asyncRethrow($async$result, $async$completer);
  40715. while (true)
  40716. switch ($async$goto) {
  40717. case 0:
  40718. // Function start
  40719. $async$goto = 3;
  40720. 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);
  40721. case 3:
  40722. // returning from await.
  40723. $async$returnValue = $async$result;
  40724. // goto return
  40725. $async$goto = 1;
  40726. break;
  40727. case 1:
  40728. // return
  40729. return A._asyncReturn($async$returnValue, $async$completer);
  40730. }
  40731. });
  40732. return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
  40733. },
  40734. humanize$1(canonicalUrl) {
  40735. var t2, url,
  40736. t1 = this._async_import_cache$_canonicalizeCache;
  40737. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri);
  40738. t2 = t1.$ti;
  40739. 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());
  40740. if (url == null)
  40741. return canonicalUrl;
  40742. t1 = $.$get$url();
  40743. return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
  40744. },
  40745. sourceMapUrl$1(_, canonicalUrl) {
  40746. var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
  40747. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  40748. return t1 == null ? canonicalUrl : t1;
  40749. }
  40750. };
  40751. A.AsyncImportCache_canonicalize_closure.prototype = {
  40752. call$0() {
  40753. var $async$goto = 0,
  40754. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
  40755. $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
  40756. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  40757. if ($async$errorCode === 1)
  40758. return A._asyncRethrow($async$result, $async$completer);
  40759. while (true)
  40760. switch ($async$goto) {
  40761. case 0:
  40762. // Function start
  40763. t1 = $async$self.baseUrl;
  40764. resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
  40765. if (resolvedUrl == null)
  40766. resolvedUrl = $async$self.url;
  40767. t1 = $async$self.baseImporter;
  40768. $async$goto = 3;
  40769. return A._asyncAwait($async$self.$this._async_import_cache$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
  40770. case 3:
  40771. // returning from await.
  40772. canonicalUrl = $async$result;
  40773. if (canonicalUrl == null) {
  40774. $async$returnValue = null;
  40775. // goto return
  40776. $async$goto = 1;
  40777. break;
  40778. }
  40779. $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri);
  40780. // goto return
  40781. $async$goto = 1;
  40782. break;
  40783. case 1:
  40784. // return
  40785. return A._asyncReturn($async$returnValue, $async$completer);
  40786. }
  40787. });
  40788. return A._asyncStartSync($async$call$0, $async$completer);
  40789. },
  40790. $signature: 201
  40791. };
  40792. A.AsyncImportCache_canonicalize_closure0.prototype = {
  40793. call$0() {
  40794. var $async$goto = 0,
  40795. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
  40796. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
  40797. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  40798. if ($async$errorCode === 1)
  40799. return A._asyncRethrow($async$result, $async$completer);
  40800. while (true)
  40801. switch ($async$goto) {
  40802. case 0:
  40803. // Function start
  40804. t1 = $async$self.$this, t2 = t1._async_import_cache$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
  40805. case 3:
  40806. // for condition
  40807. if (!(_i < t2.length)) {
  40808. // goto after for
  40809. $async$goto = 5;
  40810. break;
  40811. }
  40812. importer = t2[_i];
  40813. $async$goto = 6;
  40814. return A._asyncAwait(t1._async_import_cache$_canonicalize$3(importer, t4, t5), $async$call$0);
  40815. case 6:
  40816. // returning from await.
  40817. canonicalUrl = $async$result;
  40818. if (canonicalUrl != null) {
  40819. $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri);
  40820. // goto return
  40821. $async$goto = 1;
  40822. break;
  40823. }
  40824. case 4:
  40825. // for update
  40826. t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
  40827. // goto for condition
  40828. $async$goto = 3;
  40829. break;
  40830. case 5:
  40831. // after for
  40832. $async$returnValue = null;
  40833. // goto return
  40834. $async$goto = 1;
  40835. break;
  40836. case 1:
  40837. // return
  40838. return A._asyncReturn($async$returnValue, $async$completer);
  40839. }
  40840. });
  40841. return A._asyncStartSync($async$call$0, $async$completer);
  40842. },
  40843. $signature: 201
  40844. };
  40845. A.AsyncImportCache__canonicalize_closure.prototype = {
  40846. call$0() {
  40847. return this.importer.canonicalize$1(0, this.url);
  40848. },
  40849. $signature: 200
  40850. };
  40851. A.AsyncImportCache_importCanonical_closure.prototype = {
  40852. call$0() {
  40853. var $async$goto = 0,
  40854. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  40855. $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
  40856. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  40857. if ($async$errorCode === 1)
  40858. return A._asyncRethrow($async$result, $async$completer);
  40859. while (true)
  40860. switch ($async$goto) {
  40861. case 0:
  40862. // Function start
  40863. t1 = $async$self.canonicalUrl;
  40864. $async$goto = 3;
  40865. return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
  40866. case 3:
  40867. // returning from await.
  40868. result = $async$result;
  40869. if (result == null) {
  40870. $async$returnValue = null;
  40871. // goto return
  40872. $async$goto = 1;
  40873. break;
  40874. }
  40875. t2 = $async$self.$this;
  40876. t2._async_import_cache$_resultsCache.$indexSet(0, t1, result);
  40877. t3 = result.contents;
  40878. t4 = result.syntax;
  40879. t1 = $async$self.originalUrl.resolveUri$1(t1);
  40880. $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t4, $async$self.quiet ? $.$get$Logger_quiet() : t2._async_import_cache$_logger, t1);
  40881. // goto return
  40882. $async$goto = 1;
  40883. break;
  40884. case 1:
  40885. // return
  40886. return A._asyncReturn($async$returnValue, $async$completer);
  40887. }
  40888. });
  40889. return A._asyncStartSync($async$call$0, $async$completer);
  40890. },
  40891. $signature: 325
  40892. };
  40893. A.AsyncImportCache_humanize_closure.prototype = {
  40894. call$1(tuple) {
  40895. return tuple.item2.$eq(0, this.canonicalUrl);
  40896. },
  40897. $signature: 327
  40898. };
  40899. A.AsyncImportCache_humanize_closure0.prototype = {
  40900. call$1(tuple) {
  40901. return tuple.item3;
  40902. },
  40903. $signature: 328
  40904. };
  40905. A.AsyncImportCache_humanize_closure1.prototype = {
  40906. call$1(url) {
  40907. return url.get$path(url).length;
  40908. },
  40909. $signature: 95
  40910. };
  40911. A.AsyncBuiltInCallable.prototype = {
  40912. callbackFor$2(positional, names) {
  40913. return new A.Tuple2(this._async_built_in$_arguments, this._async_built_in$_callback, type$.Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value);
  40914. },
  40915. $isAsyncCallable: 1,
  40916. get$name(receiver) {
  40917. return this.name;
  40918. }
  40919. };
  40920. A.AsyncBuiltInCallable$mixin_closure.prototype = {
  40921. call$1($arguments) {
  40922. return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
  40923. },
  40924. $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
  40925. var $async$goto = 0,
  40926. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  40927. $async$returnValue, $async$self = this;
  40928. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  40929. if ($async$errorCode === 1)
  40930. return A._asyncRethrow($async$result, $async$completer);
  40931. while (true)
  40932. switch ($async$goto) {
  40933. case 0:
  40934. // Function start
  40935. $async$goto = 3;
  40936. return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
  40937. case 3:
  40938. // returning from await.
  40939. $async$returnValue = B.C__SassNull;
  40940. // goto return
  40941. $async$goto = 1;
  40942. break;
  40943. case 1:
  40944. // return
  40945. return A._asyncReturn($async$returnValue, $async$completer);
  40946. }
  40947. });
  40948. return A._asyncStartSync($async$call$1, $async$completer);
  40949. },
  40950. $signature: 199
  40951. };
  40952. A.BuiltInCallable.prototype = {
  40953. callbackFor$2(positional, names) {
  40954. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  40955. for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  40956. overload = t1[_i];
  40957. t3 = overload.item1;
  40958. if (t3.matches$2(positional, names))
  40959. return overload;
  40960. mismatchDistance = t3.$arguments.length - positional;
  40961. if (minMismatchDistance != null) {
  40962. t3 = Math.abs(mismatchDistance);
  40963. t4 = Math.abs(minMismatchDistance);
  40964. if (t3 > t4)
  40965. continue;
  40966. if (t3 === t4 && mismatchDistance < 0)
  40967. continue;
  40968. }
  40969. minMismatchDistance = mismatchDistance;
  40970. fuzzyMatch = overload;
  40971. }
  40972. if (fuzzyMatch != null)
  40973. return fuzzyMatch;
  40974. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  40975. },
  40976. withName$1($name) {
  40977. return new A.BuiltInCallable($name, this._overloads);
  40978. },
  40979. $isCallable: 1,
  40980. $isAsyncCallable: 1,
  40981. $isAsyncBuiltInCallable: 1,
  40982. get$name(receiver) {
  40983. return this.name;
  40984. }
  40985. };
  40986. A.BuiltInCallable$mixin_closure.prototype = {
  40987. call$1($arguments) {
  40988. this.callback.call$1($arguments);
  40989. return B.C__SassNull;
  40990. },
  40991. $signature: 4
  40992. };
  40993. A.PlainCssCallable.prototype = {
  40994. $eq(_, other) {
  40995. if (other == null)
  40996. return false;
  40997. return other instanceof A.PlainCssCallable && this.name === other.name;
  40998. },
  40999. get$hashCode(_) {
  41000. return B.JSString_methods.get$hashCode(this.name);
  41001. },
  41002. $isCallable: 1,
  41003. $isAsyncCallable: 1,
  41004. get$name(receiver) {
  41005. return this.name;
  41006. }
  41007. };
  41008. A.UserDefinedCallable.prototype = {
  41009. get$name(_) {
  41010. return this.declaration.name;
  41011. },
  41012. $isCallable: 1,
  41013. $isAsyncCallable: 1
  41014. };
  41015. A._compileStylesheet_closure.prototype = {
  41016. call$1(url) {
  41017. var t1;
  41018. if (url === "") {
  41019. t1 = this.stylesheet.span;
  41020. 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();
  41021. } else
  41022. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  41023. return t1;
  41024. },
  41025. $signature: 5
  41026. };
  41027. A.CompileResult.prototype = {};
  41028. A.Configuration.prototype = {
  41029. throughForward$1($forward) {
  41030. var prefix, shownVariables, hiddenVariables, t1,
  41031. newValues = this._values;
  41032. if (newValues.get$isEmpty(newValues))
  41033. return B.Configuration_Map_empty_null;
  41034. prefix = $forward.prefix;
  41035. if (prefix != null)
  41036. newValues = new A.UnprefixedMapView(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue);
  41037. shownVariables = $forward.shownVariables;
  41038. hiddenVariables = $forward.hiddenVariables;
  41039. if (shownVariables != null)
  41040. newValues = new A.LimitedMapView(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
  41041. else {
  41042. if (hiddenVariables != null) {
  41043. t1 = hiddenVariables._base;
  41044. t1 = t1.get$isNotEmpty(t1);
  41045. } else
  41046. t1 = false;
  41047. if (t1)
  41048. newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
  41049. }
  41050. return this._withValues$1(newValues);
  41051. },
  41052. _withValues$1(values) {
  41053. var t1 = this.__originalConfiguration;
  41054. return new A.Configuration(values, t1 == null ? this : t1);
  41055. },
  41056. toString$0(_) {
  41057. var t1 = this._values;
  41058. return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure(), type$.String).join$1(0, ", ") + ")";
  41059. }
  41060. };
  41061. A.Configuration_toString_closure.prototype = {
  41062. call$1(entry) {
  41063. return "$" + A.S(entry.key) + ": " + A.S(entry.value);
  41064. },
  41065. $signature: 335
  41066. };
  41067. A.ExplicitConfiguration.prototype = {
  41068. _withValues$1(values) {
  41069. var t1 = this.__originalConfiguration;
  41070. if (t1 == null)
  41071. t1 = this;
  41072. return new A.ExplicitConfiguration(this.nodeWithSpan, values, t1);
  41073. }
  41074. };
  41075. A.ConfiguredValue.prototype = {
  41076. toString$0(_) {
  41077. return A.serializeValue(this.value, true, true);
  41078. }
  41079. };
  41080. A.Deprecation.prototype = {
  41081. _enumToString$0() {
  41082. return "Deprecation." + this._name;
  41083. },
  41084. toString$0(_) {
  41085. return this.id;
  41086. }
  41087. };
  41088. A.Deprecation_fromId_closure.prototype = {
  41089. call$1(deprecation) {
  41090. return deprecation.id === this.id;
  41091. },
  41092. $signature: 336
  41093. };
  41094. A.Environment.prototype = {
  41095. closure$0() {
  41096. var t4, t5, t6, _this = this,
  41097. t1 = _this._forwardedModules,
  41098. t2 = _this._nestedForwardedModules,
  41099. t3 = _this._variables;
  41100. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  41101. t4 = _this._variableNodes;
  41102. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  41103. t5 = _this._functions;
  41104. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  41105. t6 = _this._mixins;
  41106. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  41107. return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content);
  41108. },
  41109. addModule$3$namespace(module, nodeWithSpan, namespace) {
  41110. var t1, t2, span, _this = this;
  41111. if (namespace == null) {
  41112. _this._globalModules.$indexSet(0, module, nodeWithSpan);
  41113. _this._allModules.push(module);
  41114. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._variables))); t1.moveNext$0();) {
  41115. t2 = t1.get$current(t1);
  41116. if (module.get$variables().containsKey$1(t2))
  41117. throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".', null));
  41118. }
  41119. } else {
  41120. t1 = _this._environment$_modules;
  41121. if (t1.containsKey$1(namespace)) {
  41122. t1 = _this._namespaceNodes.$index(0, namespace);
  41123. span = t1 == null ? null : t1.span;
  41124. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  41125. if (span != null)
  41126. t1.$indexSet(0, span, "original @use");
  41127. throw A.wrapException(A.MultiSpanSassScriptException$(string$.There_ + namespace + '".', "new @use", t1));
  41128. }
  41129. t1.$indexSet(0, namespace, module);
  41130. _this._namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
  41131. _this._allModules.push(module);
  41132. }
  41133. },
  41134. forwardModule$2(module, rule) {
  41135. var view, t1, t2, _this = this,
  41136. forwardedModules = _this._forwardedModules;
  41137. if (forwardedModules == null)
  41138. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  41139. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
  41140. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  41141. t2 = t1.__js_helper$_current;
  41142. _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  41143. _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  41144. _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  41145. }
  41146. _this._allModules.push(module);
  41147. forwardedModules.$indexSet(0, view, rule);
  41148. },
  41149. _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  41150. var larger, smaller, t1, t2, $name, span;
  41151. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  41152. larger = oldMembers;
  41153. smaller = newMembers;
  41154. } else {
  41155. larger = newMembers;
  41156. smaller = oldMembers;
  41157. }
  41158. for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
  41159. $name = t1.get$current(t1);
  41160. if (!larger.containsKey$1($name))
  41161. continue;
  41162. if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
  41163. continue;
  41164. if (t2)
  41165. $name = "$" + $name;
  41166. t1 = this._forwardedModules;
  41167. if (t1 == null)
  41168. span = null;
  41169. else {
  41170. t1 = t1.$index(0, oldModule);
  41171. span = t1 == null ? null : J.get$span$z(t1);
  41172. }
  41173. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  41174. if (span != null)
  41175. t1.$indexSet(0, span, "original @forward");
  41176. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
  41177. }
  41178. },
  41179. importForwards$1(module) {
  41180. var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
  41181. forwarded = module._environment$_environment._forwardedModules;
  41182. if (forwarded == null)
  41183. return;
  41184. forwardedModules = _this._forwardedModules;
  41185. if (forwardedModules != null) {
  41186. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  41187. for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._globalModules; t2.moveNext$0();) {
  41188. t4 = t2.get$current(t2);
  41189. t5 = t4.key;
  41190. if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
  41191. t1.$indexSet(0, t5, t4.value);
  41192. }
  41193. forwarded = t1;
  41194. } else
  41195. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  41196. t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
  41197. t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
  41198. t3 = t2._eval$1("Iterable.E");
  41199. forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure(), t2), t3);
  41200. forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure0(), t2), t3);
  41201. forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure1(), t2), t3);
  41202. t2 = _this._variables;
  41203. t3 = t2.length;
  41204. if (t3 === 1) {
  41205. 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) {
  41206. entry = t3[_i];
  41207. module = entry.key;
  41208. shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  41209. if (shadowed != null) {
  41210. t1.remove$1(0, module);
  41211. t6 = shadowed.variables;
  41212. if (t6.get$isEmpty(t6)) {
  41213. t6 = shadowed.functions;
  41214. if (t6.get$isEmpty(t6)) {
  41215. t6 = shadowed.mixins;
  41216. if (t6.get$isEmpty(t6)) {
  41217. t6 = shadowed._shadowed_view$_inner;
  41218. t6 = t6.get$css(t6);
  41219. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  41220. } else
  41221. t6 = false;
  41222. } else
  41223. t6 = false;
  41224. } else
  41225. t6 = false;
  41226. if (!t6)
  41227. t1.$indexSet(0, shadowed, entry.value);
  41228. }
  41229. }
  41230. 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) {
  41231. entry = t3[_i];
  41232. module = entry.key;
  41233. shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  41234. if (shadowed != null) {
  41235. forwardedModules.remove$1(0, module);
  41236. t6 = shadowed.variables;
  41237. if (t6.get$isEmpty(t6)) {
  41238. t6 = shadowed.functions;
  41239. if (t6.get$isEmpty(t6)) {
  41240. t6 = shadowed.mixins;
  41241. if (t6.get$isEmpty(t6)) {
  41242. t6 = shadowed._shadowed_view$_inner;
  41243. t6 = t6.get$css(t6);
  41244. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  41245. } else
  41246. t6 = false;
  41247. } else
  41248. t6 = false;
  41249. } else
  41250. t6 = false;
  41251. if (!t6)
  41252. forwardedModules.$indexSet(0, shadowed, entry.value);
  41253. }
  41254. }
  41255. t1.addAll$1(0, forwarded);
  41256. forwardedModules.addAll$1(0, forwarded);
  41257. } else {
  41258. t4 = _this._nestedForwardedModules;
  41259. if (t4 == null) {
  41260. _length = t3 - 1;
  41261. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
  41262. for (t3 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
  41263. _list[_i] = A._setArrayType([], t3);
  41264. _this._nestedForwardedModules = _list;
  41265. t3 = _list;
  41266. } else
  41267. t3 = t4;
  41268. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
  41269. }
  41270. for (t1 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = _this._variableIndices, t4 = _this._variableNodes, t5 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  41271. t6 = t1._collection$_current;
  41272. if (t6 == null)
  41273. t6 = t5._as(t6);
  41274. t3.remove$1(0, t6);
  41275. J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
  41276. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  41277. }
  41278. for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = _this._functionIndices, t3 = _this._functions, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  41279. t5 = t1._collection$_current;
  41280. if (t5 == null)
  41281. t5 = t4._as(t5);
  41282. t2.remove$1(0, t5);
  41283. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  41284. }
  41285. for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = _this._mixinIndices, t3 = _this._mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  41286. t5 = t1._collection$_current;
  41287. if (t5 == null)
  41288. t5 = t4._as(t5);
  41289. t2.remove$1(0, t5);
  41290. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  41291. }
  41292. },
  41293. getVariable$2$namespace($name, namespace) {
  41294. var t1, index, _this = this;
  41295. if (namespace != null)
  41296. return _this._getModule$1(namespace).get$variables().$index(0, $name);
  41297. if (_this._lastVariableName === $name) {
  41298. t1 = _this._lastVariableIndex;
  41299. t1.toString;
  41300. t1 = J.$index$asx(_this._variables[t1], $name);
  41301. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  41302. }
  41303. t1 = _this._variableIndices;
  41304. index = t1.$index(0, $name);
  41305. if (index != null) {
  41306. _this._lastVariableName = $name;
  41307. _this._lastVariableIndex = index;
  41308. t1 = J.$index$asx(_this._variables[index], $name);
  41309. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  41310. }
  41311. index = _this._variableIndex$1($name);
  41312. if (index == null)
  41313. return _this._getVariableFromGlobalModule$1($name);
  41314. _this._lastVariableName = $name;
  41315. _this._lastVariableIndex = index;
  41316. t1.$indexSet(0, $name, index);
  41317. t1 = J.$index$asx(_this._variables[index], $name);
  41318. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  41319. },
  41320. getVariable$1($name) {
  41321. return this.getVariable$2$namespace($name, null);
  41322. },
  41323. _getVariableFromGlobalModule$1($name) {
  41324. return this._fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name), type$.Value);
  41325. },
  41326. getVariableNode$2$namespace($name, namespace) {
  41327. var t1, index, _this = this;
  41328. if (namespace != null)
  41329. return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
  41330. if (_this._lastVariableName === $name) {
  41331. t1 = _this._lastVariableIndex;
  41332. t1.toString;
  41333. t1 = J.$index$asx(_this._variableNodes[t1], $name);
  41334. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  41335. }
  41336. t1 = _this._variableIndices;
  41337. index = t1.$index(0, $name);
  41338. if (index != null) {
  41339. _this._lastVariableName = $name;
  41340. _this._lastVariableIndex = index;
  41341. t1 = J.$index$asx(_this._variableNodes[index], $name);
  41342. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  41343. }
  41344. index = _this._variableIndex$1($name);
  41345. if (index == null)
  41346. return _this._getVariableNodeFromGlobalModule$1($name);
  41347. _this._lastVariableName = $name;
  41348. _this._lastVariableIndex = index;
  41349. t1.$indexSet(0, $name, index);
  41350. t1 = J.$index$asx(_this._variableNodes[index], $name);
  41351. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  41352. },
  41353. _getVariableNodeFromGlobalModule$1($name) {
  41354. var t1, t2, value;
  41355. 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();) {
  41356. t1 = t2._currentIterator;
  41357. value = t1.get$current(t1).get$variableNodes().$index(0, $name);
  41358. if (value != null)
  41359. return value;
  41360. }
  41361. return null;
  41362. },
  41363. globalVariableExists$2$namespace($name, namespace) {
  41364. if (namespace != null)
  41365. return this._getModule$1(namespace).get$variables().containsKey$1($name);
  41366. if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
  41367. return true;
  41368. return this._getVariableFromGlobalModule$1($name) != null;
  41369. },
  41370. globalVariableExists$1($name) {
  41371. return this.globalVariableExists$2$namespace($name, null);
  41372. },
  41373. _variableIndex$1($name) {
  41374. var t1, i;
  41375. for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
  41376. if (t1[i].containsKey$1($name))
  41377. return i;
  41378. return null;
  41379. },
  41380. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  41381. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  41382. if (namespace != null) {
  41383. _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  41384. return;
  41385. }
  41386. if (global || _this._variables.length === 1) {
  41387. _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
  41388. t1 = _this._variables;
  41389. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  41390. moduleWithName = _this._fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure0($name), type$.Module_Callable);
  41391. if (moduleWithName != null) {
  41392. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  41393. return;
  41394. }
  41395. }
  41396. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  41397. J.$indexSet$ax(B.JSArray_methods.get$first(_this._variableNodes), $name, nodeWithSpan);
  41398. return;
  41399. }
  41400. nestedForwardedModules = _this._nestedForwardedModules;
  41401. if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
  41402. 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();) {
  41403. t3 = t1.__internal$_current;
  41404. 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();) {
  41405. t5 = t3.__internal$_current;
  41406. if (t5 == null)
  41407. t5 = t4._as(t5);
  41408. if (t5.get$variables().containsKey$1($name)) {
  41409. t5.setVariable$3($name, value, nodeWithSpan);
  41410. return;
  41411. }
  41412. }
  41413. }
  41414. if (_this._lastVariableName === $name) {
  41415. t1 = _this._lastVariableIndex;
  41416. t1.toString;
  41417. index = t1;
  41418. } else
  41419. index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
  41420. if (!_this._inSemiGlobalScope && index === 0) {
  41421. index = _this._variables.length - 1;
  41422. _this._variableIndices.$indexSet(0, $name, index);
  41423. }
  41424. _this._lastVariableName = $name;
  41425. _this._lastVariableIndex = index;
  41426. J.$indexSet$ax(_this._variables[index], $name, value);
  41427. J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
  41428. },
  41429. setVariable$4$global($name, value, nodeWithSpan, global) {
  41430. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  41431. },
  41432. setLocalVariable$3($name, value, nodeWithSpan) {
  41433. var index, _this = this,
  41434. t1 = _this._variables,
  41435. t2 = t1.length;
  41436. _this._lastVariableName = $name;
  41437. index = _this._lastVariableIndex = t2 - 1;
  41438. _this._variableIndices.$indexSet(0, $name, index);
  41439. J.$indexSet$ax(t1[index], $name, value);
  41440. J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
  41441. },
  41442. getFunction$2$namespace($name, namespace) {
  41443. var t1, index, _this = this;
  41444. if (namespace != null) {
  41445. t1 = _this._getModule$1(namespace);
  41446. return t1.get$functions(t1).$index(0, $name);
  41447. }
  41448. t1 = _this._functionIndices;
  41449. index = t1.$index(0, $name);
  41450. if (index != null) {
  41451. t1 = J.$index$asx(_this._functions[index], $name);
  41452. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  41453. }
  41454. index = _this._functionIndex$1($name);
  41455. if (index == null)
  41456. return _this._getFunctionFromGlobalModule$1($name);
  41457. t1.$indexSet(0, $name, index);
  41458. t1 = J.$index$asx(_this._functions[index], $name);
  41459. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  41460. },
  41461. _getFunctionFromGlobalModule$1($name) {
  41462. return this._fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name), type$.Callable);
  41463. },
  41464. _functionIndex$1($name) {
  41465. var t1, i;
  41466. for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
  41467. if (t1[i].containsKey$1($name))
  41468. return i;
  41469. return null;
  41470. },
  41471. getMixin$2$namespace($name, namespace) {
  41472. var t1, index, _this = this;
  41473. if (namespace != null)
  41474. return _this._getModule$1(namespace).get$mixins().$index(0, $name);
  41475. t1 = _this._mixinIndices;
  41476. index = t1.$index(0, $name);
  41477. if (index != null) {
  41478. t1 = J.$index$asx(_this._mixins[index], $name);
  41479. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  41480. }
  41481. index = _this._mixinIndex$1($name);
  41482. if (index == null)
  41483. return _this._getMixinFromGlobalModule$1($name);
  41484. t1.$indexSet(0, $name, index);
  41485. t1 = J.$index$asx(_this._mixins[index], $name);
  41486. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  41487. },
  41488. _getMixinFromGlobalModule$1($name) {
  41489. return this._fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name), type$.Callable);
  41490. },
  41491. _mixinIndex$1($name) {
  41492. var t1, i;
  41493. for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
  41494. if (t1[i].containsKey$1($name))
  41495. return i;
  41496. return null;
  41497. },
  41498. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  41499. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  41500. semiGlobal = semiGlobal && _this._inSemiGlobalScope;
  41501. wasInSemiGlobalScope = _this._inSemiGlobalScope;
  41502. _this._inSemiGlobalScope = semiGlobal;
  41503. if (!when)
  41504. try {
  41505. t1 = callback.call$0();
  41506. return t1;
  41507. } finally {
  41508. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  41509. }
  41510. t1 = _this._variables;
  41511. t2 = type$.String;
  41512. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  41513. t3 = _this._variableNodes;
  41514. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  41515. t4 = _this._functions;
  41516. t5 = type$.Callable;
  41517. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  41518. t6 = _this._mixins;
  41519. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  41520. t5 = _this._nestedForwardedModules;
  41521. if (t5 != null)
  41522. t5.push(A._setArrayType([], type$.JSArray_Module_Callable));
  41523. try {
  41524. t2 = callback.call$0();
  41525. return t2;
  41526. } finally {
  41527. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  41528. _this._lastVariableIndex = _this._lastVariableName = null;
  41529. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._variableIndices; t1.moveNext$0();) {
  41530. $name = t1.get$current(t1);
  41531. t2.remove$1(0, $name);
  41532. }
  41533. B.JSArray_methods.removeLast$0(t3);
  41534. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._functionIndices; t1.moveNext$0();) {
  41535. name0 = t1.get$current(t1);
  41536. t2.remove$1(0, name0);
  41537. }
  41538. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._mixinIndices; t1.moveNext$0();) {
  41539. name1 = t1.get$current(t1);
  41540. t2.remove$1(0, name1);
  41541. }
  41542. t1 = _this._nestedForwardedModules;
  41543. if (t1 != null)
  41544. t1.pop();
  41545. }
  41546. },
  41547. scope$1$1(callback, $T) {
  41548. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  41549. },
  41550. scope$1$2$when(callback, when, $T) {
  41551. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  41552. },
  41553. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  41554. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  41555. },
  41556. toImplicitConfiguration$0() {
  41557. var t1, t2, i, values, nodes, t3, t4, t5, t6,
  41558. configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  41559. for (t1 = this._variables, t2 = this._variableNodes, i = 0; i < t1.length; ++i) {
  41560. values = t1[i];
  41561. nodes = t2[i];
  41562. for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  41563. t4 = t3.get$current(t3);
  41564. t5 = t4.key;
  41565. t4 = t4.value;
  41566. t6 = nodes.$index(0, t5);
  41567. t6.toString;
  41568. configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
  41569. }
  41570. }
  41571. return new A.Configuration(configuration, null);
  41572. },
  41573. toModule$2(css, extensionStore) {
  41574. return A._EnvironmentModule__EnvironmentModule(this, css, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
  41575. },
  41576. toDummyModule$0() {
  41577. 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()));
  41578. },
  41579. _getModule$1(namespace) {
  41580. var module = this._environment$_modules.$index(0, namespace);
  41581. if (module != null)
  41582. return module;
  41583. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  41584. },
  41585. _fromOneModule$1$3($name, type, callback, $T) {
  41586. var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
  41587. nestedForwardedModules = this._nestedForwardedModules;
  41588. if (nestedForwardedModules != null)
  41589. 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();) {
  41590. t3 = t1.__internal$_current;
  41591. 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();) {
  41592. t5 = t3.__internal$_current;
  41593. value = callback.call$1(t5 == null ? t4._as(t5) : t5);
  41594. if (value != null)
  41595. return value;
  41596. }
  41597. }
  41598. for (t1 = this._importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  41599. value = callback.call$1(t1.__js_helper$_current);
  41600. if (value != null)
  41601. return value;
  41602. }
  41603. for (t1 = this._globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.Callable, value = null, identity = null; t2.moveNext$0();) {
  41604. t4 = t2.__js_helper$_current;
  41605. valueInModule = callback.call$1(t4);
  41606. if (valueInModule == null)
  41607. continue;
  41608. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  41609. if (identityFromModule.$eq(0, identity))
  41610. continue;
  41611. if (value != null) {
  41612. spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
  41613. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  41614. for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
  41615. t4 = t1.get$current(t1);
  41616. if (t4 != null)
  41617. t2.$indexSet(0, t4, t3);
  41618. }
  41619. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  41620. }
  41621. identity = identityFromModule;
  41622. value = valueInModule;
  41623. }
  41624. return value;
  41625. }
  41626. };
  41627. A.Environment_importForwards_closure.prototype = {
  41628. call$1(module) {
  41629. var t1 = module.get$variables();
  41630. return t1.get$keys(t1);
  41631. },
  41632. $signature: 111
  41633. };
  41634. A.Environment_importForwards_closure0.prototype = {
  41635. call$1(module) {
  41636. var t1 = module.get$functions(module);
  41637. return t1.get$keys(t1);
  41638. },
  41639. $signature: 111
  41640. };
  41641. A.Environment_importForwards_closure1.prototype = {
  41642. call$1(module) {
  41643. var t1 = module.get$mixins();
  41644. return t1.get$keys(t1);
  41645. },
  41646. $signature: 111
  41647. };
  41648. A.Environment__getVariableFromGlobalModule_closure.prototype = {
  41649. call$1(module) {
  41650. return module.get$variables().$index(0, this.name);
  41651. },
  41652. $signature: 338
  41653. };
  41654. A.Environment_setVariable_closure.prototype = {
  41655. call$0() {
  41656. var t1 = this.$this;
  41657. t1._lastVariableName = this.name;
  41658. return t1._lastVariableIndex = 0;
  41659. },
  41660. $signature: 12
  41661. };
  41662. A.Environment_setVariable_closure0.prototype = {
  41663. call$1(module) {
  41664. return module.get$variables().containsKey$1(this.name) ? module : null;
  41665. },
  41666. $signature: 339
  41667. };
  41668. A.Environment_setVariable_closure1.prototype = {
  41669. call$0() {
  41670. var t1 = this.$this,
  41671. t2 = t1._variableIndex$1(this.name);
  41672. return t2 == null ? t1._variables.length - 1 : t2;
  41673. },
  41674. $signature: 12
  41675. };
  41676. A.Environment__getFunctionFromGlobalModule_closure.prototype = {
  41677. call$1(module) {
  41678. return module.get$functions(module).$index(0, this.name);
  41679. },
  41680. $signature: 198
  41681. };
  41682. A.Environment__getMixinFromGlobalModule_closure.prototype = {
  41683. call$1(module) {
  41684. return module.get$mixins().$index(0, this.name);
  41685. },
  41686. $signature: 198
  41687. };
  41688. A.Environment_toModule_closure.prototype = {
  41689. call$1(modules) {
  41690. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  41691. },
  41692. $signature: 196
  41693. };
  41694. A.Environment_toDummyModule_closure.prototype = {
  41695. call$1(modules) {
  41696. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  41697. },
  41698. $signature: 196
  41699. };
  41700. A.Environment__fromOneModule_closure.prototype = {
  41701. call$1(entry) {
  41702. return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure(entry, this.T));
  41703. },
  41704. $signature: 360
  41705. };
  41706. A.Environment__fromOneModule__closure.prototype = {
  41707. call$1(_) {
  41708. return J.get$span$z(this.entry.value);
  41709. },
  41710. $signature() {
  41711. return this.T._eval$1("FileSpan(0)");
  41712. }
  41713. };
  41714. A._EnvironmentModule.prototype = {
  41715. get$url(_) {
  41716. var t1 = this.css;
  41717. t1 = t1.get$span(t1);
  41718. return t1.get$sourceUrl(t1);
  41719. },
  41720. setVariable$3($name, value, nodeWithSpan) {
  41721. var t1, t2,
  41722. module = this._modulesByVariable.$index(0, $name);
  41723. if (module != null) {
  41724. module.setVariable$3($name, value, nodeWithSpan);
  41725. return;
  41726. }
  41727. t1 = this._environment$_environment;
  41728. t2 = t1._variables;
  41729. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  41730. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  41731. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  41732. J.$indexSet$ax(B.JSArray_methods.get$first(t1._variableNodes), $name, nodeWithSpan);
  41733. return;
  41734. },
  41735. variableIdentity$1($name) {
  41736. var module = this._modulesByVariable.$index(0, $name);
  41737. return module == null ? this : module.variableIdentity$1($name);
  41738. },
  41739. cloneCss$0() {
  41740. var newCssAndExtensionStore, _this = this;
  41741. if (!_this.transitivelyContainsCss)
  41742. return _this;
  41743. newCssAndExtensionStore = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  41744. return A._EnvironmentModule$_(_this._environment$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, true, _this.transitivelyContainsExtensions);
  41745. },
  41746. toString$0(_) {
  41747. var t1 = this.css,
  41748. t2 = t1.get$span(t1);
  41749. if (t2.get$sourceUrl(t2) == null)
  41750. t1 = "<unknown url>";
  41751. else {
  41752. t1 = t1.get$span(t1);
  41753. t1 = t1.get$sourceUrl(t1);
  41754. t1 = $.$get$context().prettyUri$1(t1);
  41755. }
  41756. return t1;
  41757. },
  41758. $isModule: 1,
  41759. get$upstream() {
  41760. return this.upstream;
  41761. },
  41762. get$variables() {
  41763. return this.variables;
  41764. },
  41765. get$variableNodes() {
  41766. return this.variableNodes;
  41767. },
  41768. get$functions(receiver) {
  41769. return this.functions;
  41770. },
  41771. get$mixins() {
  41772. return this.mixins;
  41773. },
  41774. get$extensionStore() {
  41775. return this.extensionStore;
  41776. },
  41777. get$css(receiver) {
  41778. return this.css;
  41779. },
  41780. get$transitivelyContainsCss() {
  41781. return this.transitivelyContainsCss;
  41782. },
  41783. get$transitivelyContainsExtensions() {
  41784. return this.transitivelyContainsExtensions;
  41785. }
  41786. };
  41787. A._EnvironmentModule__EnvironmentModule_closure.prototype = {
  41788. call$1(module) {
  41789. return module.get$variables();
  41790. },
  41791. $signature: 363
  41792. };
  41793. A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
  41794. call$1(module) {
  41795. return module.get$variableNodes();
  41796. },
  41797. $signature: 365
  41798. };
  41799. A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
  41800. call$1(module) {
  41801. return module.get$functions(module);
  41802. },
  41803. $signature: 195
  41804. };
  41805. A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
  41806. call$1(module) {
  41807. return module.get$mixins();
  41808. },
  41809. $signature: 195
  41810. };
  41811. A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
  41812. call$1(module) {
  41813. return module.get$transitivelyContainsCss();
  41814. },
  41815. $signature: 116
  41816. };
  41817. A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
  41818. call$1(module) {
  41819. return module.get$transitivelyContainsExtensions();
  41820. },
  41821. $signature: 116
  41822. };
  41823. A.SassException.prototype = {
  41824. get$trace(_) {
  41825. return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
  41826. },
  41827. get$span(_) {
  41828. return A.SourceSpanException.prototype.get$span.call(this, this);
  41829. },
  41830. withAdditionalSpan$2(span, label) {
  41831. var _this = this;
  41832. return A.MultiSpanSassException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), _this.loadedUrls);
  41833. },
  41834. withTrace$1(trace) {
  41835. var _this = this,
  41836. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  41837. t2 = A.Set_Set$unmodifiable(_this.loadedUrls, type$.Uri);
  41838. return new A.SassRuntimeException(trace, t2, _this._span_exception$_message, t1);
  41839. },
  41840. withLoadedUrls$1(loadedUrls) {
  41841. var t1 = A.SourceSpanException.prototype.get$span.call(this, this),
  41842. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  41843. return new A.SassException(t2, this._span_exception$_message, t1);
  41844. },
  41845. toString$1$color(_, color) {
  41846. var t2, _i, frame, t3, _this = this,
  41847. buffer = new A.StringBuffer(""),
  41848. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  41849. buffer._contents = t1;
  41850. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
  41851. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  41852. frame = t1[_i];
  41853. if (J.get$length$asx(frame) === 0)
  41854. continue;
  41855. t3 = buffer._contents += "\n";
  41856. buffer._contents = t3 + (" " + A.S(frame));
  41857. }
  41858. t1 = buffer._contents;
  41859. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41860. },
  41861. toString$0($receiver) {
  41862. return this.toString$1$color($receiver, null);
  41863. },
  41864. toCssString$0() {
  41865. var commentMessage, stringMessage, rune,
  41866. t1 = $._glyphs,
  41867. t2 = $._glyphs = B.C_AsciiGlyphSet,
  41868. t3 = this.toString$1$color(0, false);
  41869. t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
  41870. commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
  41871. $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
  41872. stringMessage = new A.StringBuffer("");
  41873. for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
  41874. rune = t1._currentCodePoint;
  41875. if (rune > 255) {
  41876. stringMessage._contents += A.Primitives_stringFromCharCode(92);
  41877. stringMessage._contents += B.JSInt_methods.toRadixString$1(rune, 16);
  41878. stringMessage._contents += A.Primitives_stringFromCharCode(32);
  41879. } else
  41880. stringMessage._contents += A.Primitives_stringFromCharCode(rune);
  41881. }
  41882. 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}";
  41883. }
  41884. };
  41885. A.MultiSpanSassException.prototype = {
  41886. withAdditionalSpan$2(span, label) {
  41887. var _this = this,
  41888. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  41889. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  41890. t2.$indexSet(0, span, label);
  41891. return A.MultiSpanSassException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  41892. },
  41893. withTrace$1(trace) {
  41894. var _this = this;
  41895. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  41896. },
  41897. withLoadedUrls$1(loadedUrls) {
  41898. var _this = this;
  41899. return A.MultiSpanSassException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  41900. },
  41901. toString$1$color(_, color) {
  41902. var t1, t2, _i, frame, _this = this,
  41903. useColor = color === true && true,
  41904. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  41905. 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));
  41906. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  41907. frame = t1[_i];
  41908. if (J.get$length$asx(frame) === 0)
  41909. continue;
  41910. buffer._contents += "\n";
  41911. buffer._contents += " " + A.S(frame);
  41912. }
  41913. t1 = buffer._contents;
  41914. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41915. },
  41916. toString$0($receiver) {
  41917. return this.toString$1$color($receiver, null);
  41918. },
  41919. get$primaryLabel() {
  41920. return this.primaryLabel;
  41921. },
  41922. get$secondarySpans() {
  41923. return this.secondarySpans;
  41924. }
  41925. };
  41926. A.SassRuntimeException.prototype = {
  41927. withAdditionalSpan$2(span, label) {
  41928. var _this = this;
  41929. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), _this.trace, _this.loadedUrls);
  41930. },
  41931. withLoadedUrls$1(loadedUrls) {
  41932. var _this = this,
  41933. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  41934. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  41935. return new A.SassRuntimeException(_this.trace, t2, _this._span_exception$_message, t1);
  41936. },
  41937. get$trace(receiver) {
  41938. return this.trace;
  41939. }
  41940. };
  41941. A.MultiSpanSassRuntimeException.prototype = {
  41942. withAdditionalSpan$2(span, label) {
  41943. var _this = this,
  41944. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  41945. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  41946. t2.$indexSet(0, span, label);
  41947. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  41948. },
  41949. withLoadedUrls$1(loadedUrls) {
  41950. var _this = this;
  41951. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  41952. },
  41953. $isSassRuntimeException: 1,
  41954. get$trace(receiver) {
  41955. return this.trace;
  41956. }
  41957. };
  41958. A.SassFormatException.prototype = {
  41959. get$source() {
  41960. var t1 = A.SourceSpanException.prototype.get$span.call(this, this);
  41961. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  41962. },
  41963. withAdditionalSpan$2(span, label) {
  41964. var _this = this;
  41965. return A.MultiSpanSassFormatException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), _this.loadedUrls);
  41966. },
  41967. withLoadedUrls$1(loadedUrls) {
  41968. var t1 = A.SourceSpanException.prototype.get$span.call(this, this),
  41969. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  41970. return new A.SassFormatException(t2, this._span_exception$_message, t1);
  41971. },
  41972. $isFormatException: 1,
  41973. $isSourceSpanFormatException: 1
  41974. };
  41975. A.MultiSpanSassFormatException.prototype = {
  41976. get$source() {
  41977. var t1 = A.SourceSpanException.prototype.get$span.call(this, this);
  41978. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  41979. },
  41980. withAdditionalSpan$2(span, label) {
  41981. var _this = this,
  41982. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  41983. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  41984. t2.$indexSet(0, span, label);
  41985. return A.MultiSpanSassFormatException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  41986. },
  41987. withLoadedUrls$1(loadedUrls) {
  41988. var _this = this;
  41989. return A.MultiSpanSassFormatException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  41990. },
  41991. $isFormatException: 1,
  41992. $isSassFormatException: 1,
  41993. $isSourceSpanFormatException: 1,
  41994. $isMultiSourceSpanFormatException: 1
  41995. };
  41996. A.SassScriptException.prototype = {
  41997. withSpan$1(span) {
  41998. return new A.SassException(B.Set_empty, this.message, span);
  41999. },
  42000. toString$0(_) {
  42001. return this.message + string$.x0a_BUG_;
  42002. },
  42003. get$message(receiver) {
  42004. return this.message;
  42005. }
  42006. };
  42007. A.MultiSpanSassScriptException.prototype = {
  42008. withSpan$1(span) {
  42009. return A.MultiSpanSassException$(this.message, span, this.primaryLabel, this.secondarySpans, null);
  42010. }
  42011. };
  42012. A._writeSourceMap_closure.prototype = {
  42013. call$1(url) {
  42014. return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
  42015. },
  42016. $signature: 5
  42017. };
  42018. A.ExecutableOptions.prototype = {
  42019. get$interactive() {
  42020. var result, _this = this,
  42021. value = _this.__ExecutableOptions_interactive_FI;
  42022. if (value === $) {
  42023. result = new A.ExecutableOptions_interactive_closure(_this).call$0();
  42024. _this.__ExecutableOptions_interactive_FI !== $ && A.throwUnnamedLateFieldADI();
  42025. _this.__ExecutableOptions_interactive_FI = result;
  42026. value = result;
  42027. }
  42028. return value;
  42029. },
  42030. get$color() {
  42031. var t1 = this._options;
  42032. return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : A.hasTerminal();
  42033. },
  42034. get$emitErrorCss() {
  42035. var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
  42036. if (t1 == null) {
  42037. this._ensureSources$0();
  42038. t1 = this._sourcesToDestinations;
  42039. t1 = t1.get$values(t1).any$1(0, new A.ExecutableOptions_emitErrorCss_closure());
  42040. }
  42041. return t1;
  42042. },
  42043. _ensureSources$0() {
  42044. var t1, stdin, t2, t3, $directories, t4, t5, colonArgs, positionalArgs, t6, t7, t8, message, target, source, destination, seen, sourceAndDestination, _this = this, _null = null,
  42045. _s18_ = 'Duplicate source "';
  42046. if (_this._sourcesToDestinations != null)
  42047. return;
  42048. t1 = _this._options;
  42049. stdin = A._asBool(t1.$index(0, "stdin"));
  42050. t2 = t1.rest;
  42051. if (t2.get$length(t2) === 0 && !stdin)
  42052. A.ExecutableOptions__fail("Compile Sass to CSS.");
  42053. t3 = type$.String;
  42054. $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  42055. for (t4 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t4)._precomputed1, colonArgs = false, positionalArgs = false; t4.moveNext$0();) {
  42056. t6 = t4.__internal$_current;
  42057. if (t6 == null)
  42058. t6 = t5._as(t6);
  42059. t7 = t6.length;
  42060. if (t7 === 0)
  42061. A.ExecutableOptions__fail('Invalid argument "".');
  42062. if (A.stringContainsUnchecked(t6, ":", 0)) {
  42063. if (t7 > 2) {
  42064. t8 = B.JSString_methods._codeUnitAt$1(t6, 0);
  42065. if (!(t8 >= 97 && t8 <= 122))
  42066. t8 = t8 >= 65 && t8 <= 90;
  42067. else
  42068. t8 = true;
  42069. t8 = t8 && B.JSString_methods._codeUnitAt$1(t6, 1) === 58;
  42070. } else
  42071. t8 = false;
  42072. if (t8) {
  42073. if (2 > t7)
  42074. A.throwExpression(A.RangeError$range(2, 0, t7, _null, _null));
  42075. t7 = A.stringContainsUnchecked(t6, ":", 2);
  42076. } else
  42077. t7 = true;
  42078. } else
  42079. t7 = false;
  42080. if (t7)
  42081. colonArgs = true;
  42082. else if (A.dirExists(t6))
  42083. $directories.add$1(0, t6);
  42084. else
  42085. positionalArgs = true;
  42086. }
  42087. if (positionalArgs || t2.get$length(t2) === 0) {
  42088. if (colonArgs)
  42089. A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
  42090. else if (stdin) {
  42091. if (J.get$length$asx(t2._collection$_source) > 1)
  42092. A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
  42093. else if (A._asBool(t1.$index(0, "update")))
  42094. A.ExecutableOptions__fail("--update is not allowed with --stdin.");
  42095. else if (A._asBool(t1.$index(0, "watch")))
  42096. A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
  42097. t1 = t2.get$length(t2) === 0 ? _null : t2.get$first(t2);
  42098. t2 = type$.dynamic;
  42099. t3 = type$.nullable_String;
  42100. _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
  42101. } else {
  42102. t3 = t2._collection$_source;
  42103. t4 = J.getInterceptor$asx(t3);
  42104. if (t4.get$length(t3) > 2)
  42105. A.ExecutableOptions__fail("Only two positional args may be passed.");
  42106. else if ($directories._collection$_length !== 0) {
  42107. message = 'Directory "' + A.S($directories.get$first($directories)) + '" may not be a positional arg.';
  42108. target = t2.get$last(t2);
  42109. 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);
  42110. } else {
  42111. source = J.$eq$(t2.get$first(t2), "-") ? _null : t2.get$first(t2);
  42112. destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
  42113. if (destination == null)
  42114. if (A._asBool(t1.$index(0, "update")))
  42115. A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
  42116. else if (A._asBool(t1.$index(0, "watch")))
  42117. A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
  42118. t1 = A.PathMap__create(_null, type$.nullable_String);
  42119. t1.$indexSet(0, source, destination);
  42120. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  42121. }
  42122. }
  42123. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  42124. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = B.Map_empty5;
  42125. return;
  42126. }
  42127. if (stdin)
  42128. A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
  42129. seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  42130. t1 = A.PathMap__create(_null, t3);
  42131. t4 = type$.PathMap_String;
  42132. t3 = A.PathMap__create(_null, t3);
  42133. for (t2 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  42134. t6 = t2.__internal$_current;
  42135. if (t6 == null)
  42136. t6 = t5._as(t6);
  42137. if ($directories.contains$1(0, t6)) {
  42138. if (!seen.add$1(0, t6))
  42139. A.ExecutableOptions__fail(_s18_ + t6 + '".');
  42140. t3.$indexSet(0, t6, t6);
  42141. t1.addAll$1(0, _this._listSourceDirectory$2(t6, t6));
  42142. continue;
  42143. }
  42144. sourceAndDestination = _this._splitSourceAndDestination$1(t6);
  42145. source = sourceAndDestination.item1;
  42146. destination = sourceAndDestination.item2;
  42147. if (!seen.add$1(0, source))
  42148. A.ExecutableOptions__fail(_s18_ + source + '".');
  42149. if (source === "-")
  42150. t1.$indexSet(0, _null, destination);
  42151. else if (A.dirExists(source)) {
  42152. t3.$indexSet(0, source, destination);
  42153. t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
  42154. } else
  42155. t1.$indexSet(0, source, destination);
  42156. }
  42157. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t4), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  42158. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  42159. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = new A.UnmodifiableMapView(new A.PathMap(t3, t4), type$.UnmodifiableMapView_of_nullable_String_and_String);
  42160. },
  42161. _splitSourceAndDestination$1(argument) {
  42162. var t1, i, t2, t3, nextColon;
  42163. for (t1 = argument.length, i = 0; i < t1; ++i) {
  42164. if (i === 1) {
  42165. t2 = i - 1;
  42166. if (t1 > t2 + 2) {
  42167. t3 = B.JSString_methods.codeUnitAt$1(argument, t2);
  42168. if (!(t3 >= 97 && t3 <= 122))
  42169. t3 = t3 >= 65 && t3 <= 90;
  42170. else
  42171. t3 = true;
  42172. t2 = t3 && B.JSString_methods.codeUnitAt$1(argument, t2 + 1) === 58;
  42173. } else
  42174. t2 = false;
  42175. } else
  42176. t2 = false;
  42177. if (t2)
  42178. continue;
  42179. if (B.JSString_methods._codeUnitAt$1(argument, i) === 58) {
  42180. t2 = i + 1;
  42181. nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
  42182. if (nextColon === i + 2)
  42183. if (t1 > t2 + 2) {
  42184. t1 = B.JSString_methods._codeUnitAt$1(argument, t2);
  42185. if (!(t1 >= 97 && t1 <= 122))
  42186. t1 = t1 >= 65 && t1 <= 90;
  42187. else
  42188. t1 = true;
  42189. t1 = t1 && B.JSString_methods._codeUnitAt$1(argument, t2 + 1) === 58;
  42190. } else
  42191. t1 = false;
  42192. else
  42193. t1 = false;
  42194. if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
  42195. A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
  42196. return new A.Tuple2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2), type$.Tuple2_String_String);
  42197. }
  42198. }
  42199. throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
  42200. },
  42201. _listSourceDirectory$2(source, destination) {
  42202. var t2, t3, t4, t5,
  42203. t1 = type$.String;
  42204. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  42205. for (t2 = J.get$iterator$ax(A.listDir(source, true)), t3 = source === destination; t2.moveNext$0();) {
  42206. t4 = t2.get$current(t2);
  42207. if (this._isEntrypoint$1(t4))
  42208. t5 = !(t3 && A.ParsedPath_ParsedPath$parse(t4, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
  42209. else
  42210. t5 = false;
  42211. if (t5) {
  42212. t5 = $.$get$context();
  42213. t1.$indexSet(0, t4, A.join(destination, t5.withoutExtension$1(t5.relative$2$from(t4, source)) + ".css", null));
  42214. }
  42215. }
  42216. return t1;
  42217. },
  42218. _isEntrypoint$1(path) {
  42219. var extension,
  42220. t1 = $.$get$context().style;
  42221. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
  42222. return false;
  42223. extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
  42224. return extension === ".scss" || extension === ".sass" || extension === ".css";
  42225. },
  42226. get$_writeToStdout() {
  42227. var t1, _this = this;
  42228. _this._ensureSources$0();
  42229. t1 = _this._sourcesToDestinations;
  42230. if (t1.get$length(t1) === 1) {
  42231. _this._ensureSources$0();
  42232. t1 = _this._sourcesToDestinations;
  42233. t1 = t1.get$values(t1);
  42234. t1 = t1.get$single(t1) == null;
  42235. } else
  42236. t1 = false;
  42237. return t1;
  42238. },
  42239. get$emitSourceMap() {
  42240. var _this = this,
  42241. _s10_ = "source-map",
  42242. _s15_ = "source-map-urls",
  42243. _s13_ = "embed-sources",
  42244. _s16_ = "embed-source-map",
  42245. t1 = _this._options;
  42246. if (!A._asBool(t1.$index(0, _s10_)))
  42247. if (t1.wasParsed$1(_s15_))
  42248. A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
  42249. else if (t1.wasParsed$1(_s13_))
  42250. A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
  42251. else if (t1.wasParsed$1(_s16_))
  42252. A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
  42253. if (!_this.get$_writeToStdout())
  42254. return A._asBool(t1.$index(0, _s10_));
  42255. if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
  42256. A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
  42257. if (A._asBool(t1.$index(0, _s16_)))
  42258. return A._asBool(t1.$index(0, _s10_));
  42259. else if (J.$eq$(_this._ifParsed$1(_s10_), true))
  42260. A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
  42261. else if (t1.wasParsed$1(_s15_))
  42262. A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
  42263. else if (A._asBool(t1.$index(0, _s13_)))
  42264. A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
  42265. else
  42266. return false;
  42267. },
  42268. sourceMapUrl$2(_, url, destination) {
  42269. var t1, path, t2, _null = null;
  42270. if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
  42271. return url;
  42272. t1 = $.$get$context();
  42273. path = t1.style.pathFromUri$1(A._parseUri(url));
  42274. if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
  42275. destination.toString;
  42276. t2 = t1.relative$2$from(path, t1.dirname$1(destination));
  42277. } else
  42278. t2 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  42279. return t1.toUri$1(t2);
  42280. },
  42281. get$fatalDeprecations() {
  42282. var t1 = this._fatalDeprecations;
  42283. return t1 == null ? this._fatalDeprecations = new A.ExecutableOptions_fatalDeprecations_closure(this).call$0() : t1;
  42284. },
  42285. get$futureDeprecations() {
  42286. var t2, t3, t4,
  42287. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  42288. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "future-deprecation"))); t2.moveNext$0();) {
  42289. t3 = t2.get$current(t2);
  42290. t4 = A.Deprecation_fromId(t3);
  42291. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  42292. }
  42293. return t1;
  42294. },
  42295. _ifParsed$1($name) {
  42296. var t1 = this._options;
  42297. return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
  42298. }
  42299. };
  42300. A.ExecutableOptions__parser_closure.prototype = {
  42301. call$0() {
  42302. var _i, deprecation, $self, t4, _null = null,
  42303. t1 = type$.String,
  42304. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
  42305. t3 = [],
  42306. 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);
  42307. parser.addOption$2$hide("precision", true);
  42308. parser.addFlag$2$hide("async", true);
  42309. t3.push(A.ExecutableOptions__separator("Input and Output"));
  42310. parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
  42311. parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
  42312. parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
  42313. t2 = type$.JSArray_String;
  42314. parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t2), "expanded", "Output style.", "NAME");
  42315. parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
  42316. 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.");
  42317. parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
  42318. t3.push(A.ExecutableOptions__separator("Source Maps"));
  42319. parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
  42320. parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t2), "relative", "How to link from source maps to source files.");
  42321. parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
  42322. parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
  42323. t3.push(A.ExecutableOptions__separator("Warnings"));
  42324. parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
  42325. parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
  42326. parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
  42327. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  42328. for (_i = 0; _i < 13; ++_i) {
  42329. deprecation = B.List_2vP[_i];
  42330. $self = deprecation._deprecatedIn;
  42331. if ($self == null)
  42332. t4 = _null;
  42333. else
  42334. t4 = A.Version___parse_tearOff($self);
  42335. if (t4 != null && deprecation.description != null) {
  42336. t4 = deprecation.description;
  42337. t4.toString;
  42338. t2.$indexSet(0, deprecation.id, t4);
  42339. }
  42340. }
  42341. 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.");
  42342. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  42343. for (_i = 0; _i < 13; ++_i) {
  42344. deprecation = B.List_2vP[_i];
  42345. $self = deprecation._deprecatedIn;
  42346. if ($self == null)
  42347. t2 = _null;
  42348. else
  42349. t2 = A.Version___parse_tearOff($self);
  42350. if (t2 == null && deprecation.description != null) {
  42351. t2 = deprecation.description;
  42352. t2.toString;
  42353. t1.$indexSet(0, deprecation.id, t2);
  42354. }
  42355. }
  42356. parser.addMultiOption$3$allowedHelp$help("future-deprecation", t1, "Opt in to a deprecation early.");
  42357. t3.push(A.ExecutableOptions__separator("Other"));
  42358. parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
  42359. parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
  42360. parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
  42361. parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
  42362. parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
  42363. parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
  42364. parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
  42365. parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
  42366. parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
  42367. return parser;
  42368. },
  42369. $signature: 389
  42370. };
  42371. A.ExecutableOptions_interactive_closure.prototype = {
  42372. call$0() {
  42373. var invalidOptions, _i, option,
  42374. t1 = this.$this._options;
  42375. if (!A._asBool(t1.$index(0, "interactive")))
  42376. return false;
  42377. invalidOptions = ["stdin", "indented", "style", "source-map", "source-map-urls", "embed-sources", "embed-source-map", "update", "watch"];
  42378. for (_i = 0; _i < 9; ++_i) {
  42379. option = invalidOptions[_i];
  42380. if (!t1._parser.options._map.containsKey$1(option))
  42381. A.throwExpression(A.ArgumentError$('Could not find an option named "' + option + '".', null));
  42382. if (t1._parsed.containsKey$1(option))
  42383. throw A.wrapException(A.UsageException$("--" + option + " isn't allowed with --interactive."));
  42384. }
  42385. return true;
  42386. },
  42387. $signature: 27
  42388. };
  42389. A.ExecutableOptions_emitErrorCss_closure.prototype = {
  42390. call$1(destination) {
  42391. return destination != null;
  42392. },
  42393. $signature: 217
  42394. };
  42395. A.ExecutableOptions_fatalDeprecations_closure.prototype = {
  42396. call$0() {
  42397. var id, argVersion, sassVersion, t1, t2, deprecation, exception,
  42398. deprecations = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  42399. for (t1 = J.get$iterator$ax(type$.List_String._as(this.$this._options.$index(0, "fatal-deprecation"))), t2 = type$.FormatException; t1.moveNext$0();) {
  42400. id = t1.get$current(t1);
  42401. deprecation = A.Deprecation_fromId(id);
  42402. if (deprecation != null)
  42403. J.add$1$ax(deprecations, deprecation);
  42404. else
  42405. try {
  42406. argVersion = A.Version_Version$parse(id);
  42407. sassVersion = A.Version_Version$parse("1.63.6");
  42408. if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
  42409. A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
  42410. J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
  42411. } catch (exception) {
  42412. if (t2._is(A.unwrapException(exception)))
  42413. A.ExecutableOptions__fail('Invalid deprecation "' + A.S(id) + '".');
  42414. else
  42415. throw exception;
  42416. }
  42417. }
  42418. return deprecations;
  42419. },
  42420. $signature: 399
  42421. };
  42422. A.UsageException.prototype = {$isException: 1,
  42423. get$message(receiver) {
  42424. return this.message;
  42425. }
  42426. };
  42427. A.watch_closure.prototype = {
  42428. call$1(dir) {
  42429. for (; !A.dirExists(dir);)
  42430. dir = $.$get$context().dirname$1(dir);
  42431. return this.dirWatcher.watch$1(0, dir);
  42432. },
  42433. $signature: 401
  42434. };
  42435. A._Watcher.prototype = {
  42436. compile$3$ifModified(_, source, destination, ifModified) {
  42437. return this.compile$body$_Watcher(0, source, destination, ifModified);
  42438. },
  42439. compile$2($receiver, source, destination) {
  42440. return this.compile$3$ifModified($receiver, source, destination, false);
  42441. },
  42442. compile$body$_Watcher(_, source, destination, ifModified) {
  42443. var $async$goto = 0,
  42444. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  42445. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, error0, stackTrace0, path, exception, t1, t2, $async$exception;
  42446. var $async$compile$3$ifModified = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  42447. if ($async$errorCode === 1) {
  42448. $async$currentError = $async$result;
  42449. $async$goto = $async$handler;
  42450. }
  42451. while (true)
  42452. switch ($async$goto) {
  42453. case 0:
  42454. // Function start
  42455. $async$handler = 4;
  42456. $async$goto = 7;
  42457. return A._asyncAwait(A.compileStylesheet($async$self._watch$_options, $async$self._graph, source, destination, ifModified), $async$compile$3$ifModified);
  42458. case 7:
  42459. // returning from await.
  42460. $async$returnValue = true;
  42461. // goto return
  42462. $async$goto = 1;
  42463. break;
  42464. $async$handler = 2;
  42465. // goto after finally
  42466. $async$goto = 6;
  42467. break;
  42468. case 4:
  42469. // catch
  42470. $async$handler = 3;
  42471. $async$exception = $async$currentError;
  42472. t1 = A.unwrapException($async$exception);
  42473. if (t1 instanceof A.SassException) {
  42474. error = t1;
  42475. stackTrace = A.getTraceFromException($async$exception);
  42476. t1 = $async$self._watch$_options;
  42477. if (!t1.get$emitErrorCss())
  42478. $async$self._delete$1(destination);
  42479. t1 = J.toString$1$color$(error, t1.get$color());
  42480. t2 = A.getTrace(error);
  42481. $async$self._printError$2(t1, t2 == null ? stackTrace : t2);
  42482. t1 = self.process;
  42483. if (t1 != null)
  42484. J.set$exitCode$x(t1, 65);
  42485. $async$returnValue = false;
  42486. // goto return
  42487. $async$goto = 1;
  42488. break;
  42489. } else if (t1 instanceof A.FileSystemException) {
  42490. error0 = t1;
  42491. stackTrace0 = A.getTraceFromException($async$exception);
  42492. path = error0.path;
  42493. t1 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
  42494. t2 = A.getTrace(error0);
  42495. $async$self._printError$2(t1, t2 == null ? stackTrace0 : t2);
  42496. t1 = self.process;
  42497. if (t1 != null)
  42498. J.set$exitCode$x(t1, 66);
  42499. $async$returnValue = false;
  42500. // goto return
  42501. $async$goto = 1;
  42502. break;
  42503. } else
  42504. throw $async$exception;
  42505. // goto after finally
  42506. $async$goto = 6;
  42507. break;
  42508. case 3:
  42509. // uncaught
  42510. // goto rethrow
  42511. $async$goto = 2;
  42512. break;
  42513. case 6:
  42514. // after finally
  42515. case 1:
  42516. // return
  42517. return A._asyncReturn($async$returnValue, $async$completer);
  42518. case 2:
  42519. // rethrow
  42520. return A._asyncRethrow($async$currentError, $async$completer);
  42521. }
  42522. });
  42523. return A._asyncStartSync($async$compile$3$ifModified, $async$completer);
  42524. },
  42525. _delete$1(path) {
  42526. var buffer, t1, exception;
  42527. try {
  42528. A.deleteFile(path);
  42529. buffer = new A.StringBuffer("");
  42530. t1 = this._watch$_options;
  42531. if (t1.get$color())
  42532. buffer._contents += "\x1b[33m";
  42533. buffer._contents += "Deleted " + path + ".";
  42534. if (t1.get$color())
  42535. buffer._contents += "\x1b[0m";
  42536. A.print(buffer);
  42537. } catch (exception) {
  42538. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  42539. throw exception;
  42540. }
  42541. },
  42542. _printError$2(message, stackTrace) {
  42543. var t2,
  42544. buffer = new A.StringBuffer(message),
  42545. t1 = this._watch$_options._options;
  42546. if (A._asBool(t1.$index(0, "trace"))) {
  42547. t2 = message + "\n";
  42548. buffer._contents = t2;
  42549. t2 += "\n";
  42550. buffer._contents = t2;
  42551. t2 = buffer._contents = t2 + B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0));
  42552. } else
  42553. t2 = message;
  42554. if (!A._asBool(t1.$index(0, "stop-on-error")))
  42555. buffer._contents = t2 + "\n";
  42556. A.printError(buffer);
  42557. },
  42558. watch$1(_, watcher) {
  42559. return this.watch$body$_Watcher(0, watcher);
  42560. },
  42561. watch$body$_Watcher(_, watcher) {
  42562. var $async$goto = 0,
  42563. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  42564. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, $event, extension, success, success0, success1, t2, t1;
  42565. var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  42566. if ($async$errorCode === 1) {
  42567. $async$currentError = $async$result;
  42568. $async$goto = $async$handler;
  42569. }
  42570. while (true)
  42571. switch ($async$goto) {
  42572. case 0:
  42573. // Function start
  42574. t1 = watcher._group.__StreamGroup__controller_A;
  42575. t1 === $ && A.throwUnnamedLateFieldNI();
  42576. t1 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
  42577. $async$handler = 3;
  42578. t2 = $async$self._watch$_options._options;
  42579. case 6:
  42580. // for condition
  42581. $async$goto = 8;
  42582. return A._asyncAwait(t1.moveNext$0(), $async$watch$1);
  42583. case 8:
  42584. // returning from await.
  42585. if (!$async$result) {
  42586. // goto after for
  42587. $async$goto = 7;
  42588. break;
  42589. }
  42590. $event = t1.get$current(t1);
  42591. extension = A.ParsedPath_ParsedPath$parse($event.path, $.$get$context().style)._splitExtension$1(1)[1];
  42592. if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css")) {
  42593. // goto for condition
  42594. $async$goto = 6;
  42595. break;
  42596. }
  42597. case 9:
  42598. // switch
  42599. switch ($event.type) {
  42600. case B.ChangeType_modify:
  42601. // goto case
  42602. $async$goto = 11;
  42603. break;
  42604. case B.ChangeType_add:
  42605. // goto case
  42606. $async$goto = 12;
  42607. break;
  42608. case B.ChangeType_remove:
  42609. // goto case
  42610. $async$goto = 13;
  42611. break;
  42612. default:
  42613. // goto after switch
  42614. $async$goto = 10;
  42615. break;
  42616. }
  42617. break;
  42618. case 11:
  42619. // case
  42620. $async$goto = 14;
  42621. return A._asyncAwait($async$self._handleModify$1($event.path), $async$watch$1);
  42622. case 14:
  42623. // returning from await.
  42624. success = $async$result;
  42625. if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
  42626. $async$next = [1];
  42627. // goto finally
  42628. $async$goto = 4;
  42629. break;
  42630. }
  42631. // goto after switch
  42632. $async$goto = 10;
  42633. break;
  42634. case 12:
  42635. // case
  42636. $async$goto = 15;
  42637. return A._asyncAwait($async$self._handleAdd$1($event.path), $async$watch$1);
  42638. case 15:
  42639. // returning from await.
  42640. success0 = $async$result;
  42641. if (!success0 && A._asBool(t2.$index(0, "stop-on-error"))) {
  42642. $async$next = [1];
  42643. // goto finally
  42644. $async$goto = 4;
  42645. break;
  42646. }
  42647. // goto after switch
  42648. $async$goto = 10;
  42649. break;
  42650. case 13:
  42651. // case
  42652. $async$goto = 16;
  42653. return A._asyncAwait($async$self._handleRemove$1($event.path), $async$watch$1);
  42654. case 16:
  42655. // returning from await.
  42656. success1 = $async$result;
  42657. if (!success1 && A._asBool(t2.$index(0, "stop-on-error"))) {
  42658. $async$next = [1];
  42659. // goto finally
  42660. $async$goto = 4;
  42661. break;
  42662. }
  42663. // goto after switch
  42664. $async$goto = 10;
  42665. break;
  42666. case 10:
  42667. // after switch
  42668. // goto for condition
  42669. $async$goto = 6;
  42670. break;
  42671. case 7:
  42672. // after for
  42673. $async$next.push(5);
  42674. // goto finally
  42675. $async$goto = 4;
  42676. break;
  42677. case 3:
  42678. // uncaught
  42679. $async$next = [2];
  42680. case 4:
  42681. // finally
  42682. $async$handler = 2;
  42683. $async$goto = 17;
  42684. return A._asyncAwait(t1.cancel$0(), $async$watch$1);
  42685. case 17:
  42686. // returning from await.
  42687. // goto the next finally handler
  42688. $async$goto = $async$next.pop();
  42689. break;
  42690. case 5:
  42691. // after finally
  42692. case 1:
  42693. // return
  42694. return A._asyncReturn($async$returnValue, $async$completer);
  42695. case 2:
  42696. // rethrow
  42697. return A._asyncRethrow($async$currentError, $async$completer);
  42698. }
  42699. });
  42700. return A._asyncStartSync($async$watch$1, $async$completer);
  42701. },
  42702. _handleModify$1(path) {
  42703. return this._handleModify$body$_Watcher(path);
  42704. },
  42705. _handleModify$body$_Watcher(path) {
  42706. var $async$goto = 0,
  42707. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  42708. $async$returnValue, $async$self = this, t2, t0, url, node, t1;
  42709. var $async$_handleModify$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  42710. if ($async$errorCode === 1)
  42711. return A._asyncRethrow($async$result, $async$completer);
  42712. while (true)
  42713. switch ($async$goto) {
  42714. case 0:
  42715. // Function start
  42716. t1 = self.process;
  42717. if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  42718. t1 = self.process;
  42719. t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
  42720. } else
  42721. t1 = true;
  42722. if (t1) {
  42723. t1 = $.$get$context();
  42724. t2 = A._realCasePath(A.absolute(t1.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  42725. t0 = t2;
  42726. t2 = t1;
  42727. t1 = t0;
  42728. } else {
  42729. t1 = $.$get$context();
  42730. t2 = t1.canonicalize$1(0, path);
  42731. t0 = t2;
  42732. t2 = t1;
  42733. t1 = t0;
  42734. }
  42735. url = t2.toUri$1(t1);
  42736. t1 = $async$self._graph;
  42737. node = t1._nodes.$index(0, url);
  42738. if (node == null) {
  42739. $async$returnValue = $async$self._handleAdd$1(path);
  42740. // goto return
  42741. $async$goto = 1;
  42742. break;
  42743. }
  42744. t1.reload$1(url);
  42745. $async$goto = 3;
  42746. return A._asyncAwait($async$self._recompileDownstream$1(A._setArrayType([node], type$.JSArray_StylesheetNode)), $async$_handleModify$1);
  42747. case 3:
  42748. // returning from await.
  42749. $async$returnValue = $async$result;
  42750. // goto return
  42751. $async$goto = 1;
  42752. break;
  42753. case 1:
  42754. // return
  42755. return A._asyncReturn($async$returnValue, $async$completer);
  42756. }
  42757. });
  42758. return A._asyncStartSync($async$_handleModify$1, $async$completer);
  42759. },
  42760. _handleAdd$1(path) {
  42761. return this._handleAdd$body$_Watcher(path);
  42762. },
  42763. _handleAdd$body$_Watcher(path) {
  42764. var $async$goto = 0,
  42765. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  42766. $async$returnValue, $async$self = this, t3, t0, destination, success, t1, t2, $async$temp1;
  42767. var $async$_handleAdd$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  42768. if ($async$errorCode === 1)
  42769. return A._asyncRethrow($async$result, $async$completer);
  42770. while (true)
  42771. switch ($async$goto) {
  42772. case 0:
  42773. // Function start
  42774. destination = $async$self._destinationFor$1(path);
  42775. $async$temp1 = destination == null;
  42776. if ($async$temp1)
  42777. $async$result = $async$temp1;
  42778. else {
  42779. // goto then
  42780. $async$goto = 3;
  42781. break;
  42782. }
  42783. // goto join
  42784. $async$goto = 4;
  42785. break;
  42786. case 3:
  42787. // then
  42788. $async$goto = 5;
  42789. return A._asyncAwait($async$self.compile$2(0, path, destination), $async$_handleAdd$1);
  42790. case 5:
  42791. // returning from await.
  42792. case 4:
  42793. // join
  42794. success = $async$result;
  42795. t1 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  42796. t2 = self.process;
  42797. if (!J.$eq$(t2 == null ? null : J.get$platform$x(t2), "win32")) {
  42798. t2 = self.process;
  42799. t2 = J.$eq$(t2 == null ? null : J.get$platform$x(t2), "darwin");
  42800. } else
  42801. t2 = true;
  42802. if (t2) {
  42803. t2 = $.$get$context();
  42804. t3 = A._realCasePath(A.absolute(t2.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  42805. t0 = t3;
  42806. t3 = t2;
  42807. t2 = t0;
  42808. } else {
  42809. t2 = $.$get$context();
  42810. t3 = t2.canonicalize$1(0, path);
  42811. t0 = t3;
  42812. t3 = t2;
  42813. t2 = t0;
  42814. }
  42815. $async$goto = 6;
  42816. 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);
  42817. case 6:
  42818. // returning from await.
  42819. $async$returnValue = $async$result && success;
  42820. // goto return
  42821. $async$goto = 1;
  42822. break;
  42823. case 1:
  42824. // return
  42825. return A._asyncReturn($async$returnValue, $async$completer);
  42826. }
  42827. });
  42828. return A._asyncStartSync($async$_handleAdd$1, $async$completer);
  42829. },
  42830. _handleRemove$1(path) {
  42831. return this._handleRemove$body$_Watcher(path);
  42832. },
  42833. _handleRemove$body$_Watcher(path) {
  42834. var $async$goto = 0,
  42835. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  42836. $async$returnValue, $async$self = this, t2, t0, url, destination, t3, node, toRecompile, t1;
  42837. var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  42838. if ($async$errorCode === 1)
  42839. return A._asyncRethrow($async$result, $async$completer);
  42840. while (true)
  42841. switch ($async$goto) {
  42842. case 0:
  42843. // Function start
  42844. t1 = self.process;
  42845. if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  42846. t1 = self.process;
  42847. t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
  42848. } else
  42849. t1 = true;
  42850. if (t1) {
  42851. t1 = $.$get$context();
  42852. t2 = A._realCasePath(A.absolute(t1.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  42853. t0 = t2;
  42854. t2 = t1;
  42855. t1 = t0;
  42856. } else {
  42857. t1 = $.$get$context();
  42858. t2 = t1.canonicalize$1(0, path);
  42859. t0 = t2;
  42860. t2 = t1;
  42861. t1 = t0;
  42862. }
  42863. url = t2.toUri$1(t1);
  42864. t1 = $async$self._graph;
  42865. t2 = t1._nodes;
  42866. if (t2.containsKey$1(url)) {
  42867. destination = $async$self._destinationFor$1(path);
  42868. if (destination != null)
  42869. $async$self._delete$1(destination);
  42870. }
  42871. t3 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  42872. node = t2.remove$1(0, url);
  42873. t2 = node != null;
  42874. if (t2) {
  42875. t1._transitiveModificationTimes.clear$0(0);
  42876. t1.importCache.clearImport$1(url);
  42877. node._stylesheet_graph$_remove$0();
  42878. }
  42879. toRecompile = t1._recanonicalizeImports$2(new A.FilesystemImporter(t3), url);
  42880. if (t2)
  42881. toRecompile.addAll$1(0, node._downstream);
  42882. $async$goto = 3;
  42883. return A._asyncAwait($async$self._recompileDownstream$1(toRecompile), $async$_handleRemove$1);
  42884. case 3:
  42885. // returning from await.
  42886. $async$returnValue = $async$result;
  42887. // goto return
  42888. $async$goto = 1;
  42889. break;
  42890. case 1:
  42891. // return
  42892. return A._asyncReturn($async$returnValue, $async$completer);
  42893. }
  42894. });
  42895. return A._asyncStartSync($async$_handleRemove$1, $async$completer);
  42896. },
  42897. _debounceEvents$1(events) {
  42898. var t1 = type$.WatchEvent;
  42899. t1 = A.RateLimit__debounceAggregate(events, A.Duration$(25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
  42900. return new A._ExpandStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_ExpandStream<Stream.T,WatchEvent>"));
  42901. },
  42902. _recompileDownstream$1(nodes) {
  42903. return this._recompileDownstream$body$_Watcher(nodes);
  42904. },
  42905. _recompileDownstream$body$_Watcher(nodes) {
  42906. var $async$goto = 0,
  42907. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  42908. $async$returnValue, $async$self = this, t2, allSucceeded, node, success, t1, seen, toRecompile;
  42909. var $async$_recompileDownstream$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  42910. if ($async$errorCode === 1)
  42911. return A._asyncRethrow($async$result, $async$completer);
  42912. while (true)
  42913. switch ($async$goto) {
  42914. case 0:
  42915. // Function start
  42916. t1 = type$.StylesheetNode;
  42917. seen = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  42918. toRecompile = A.ListQueue_ListQueue$of(nodes, t1);
  42919. t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = $async$self._watch$_options._options, allSucceeded = true;
  42920. case 3:
  42921. // for condition
  42922. if (!!toRecompile.get$isEmpty(toRecompile)) {
  42923. // goto after for
  42924. $async$goto = 4;
  42925. break;
  42926. }
  42927. node = toRecompile.removeFirst$0();
  42928. if (!seen.add$1(0, node)) {
  42929. // goto for condition
  42930. $async$goto = 3;
  42931. break;
  42932. }
  42933. $async$goto = 5;
  42934. return A._asyncAwait($async$self._compileIfEntrypoint$1(node.canonicalUrl), $async$_recompileDownstream$1);
  42935. case 5:
  42936. // returning from await.
  42937. success = $async$result;
  42938. allSucceeded = allSucceeded && success;
  42939. if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
  42940. $async$returnValue = false;
  42941. // goto return
  42942. $async$goto = 1;
  42943. break;
  42944. }
  42945. toRecompile.addAll$1(0, new A.UnmodifiableSetView0(node._downstream, t1));
  42946. // goto for condition
  42947. $async$goto = 3;
  42948. break;
  42949. case 4:
  42950. // after for
  42951. $async$returnValue = allSucceeded;
  42952. // goto return
  42953. $async$goto = 1;
  42954. break;
  42955. case 1:
  42956. // return
  42957. return A._asyncReturn($async$returnValue, $async$completer);
  42958. }
  42959. });
  42960. return A._asyncStartSync($async$_recompileDownstream$1, $async$completer);
  42961. },
  42962. _compileIfEntrypoint$1(url) {
  42963. return this._compileIfEntrypoint$body$_Watcher(url);
  42964. },
  42965. _compileIfEntrypoint$body$_Watcher(url) {
  42966. var $async$goto = 0,
  42967. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  42968. $async$returnValue, $async$self = this, source, destination;
  42969. var $async$_compileIfEntrypoint$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  42970. if ($async$errorCode === 1)
  42971. return A._asyncRethrow($async$result, $async$completer);
  42972. while (true)
  42973. switch ($async$goto) {
  42974. case 0:
  42975. // Function start
  42976. if (url.get$scheme() !== "file") {
  42977. $async$returnValue = true;
  42978. // goto return
  42979. $async$goto = 1;
  42980. break;
  42981. }
  42982. source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  42983. destination = $async$self._destinationFor$1(source);
  42984. if (destination == null) {
  42985. $async$returnValue = true;
  42986. // goto return
  42987. $async$goto = 1;
  42988. break;
  42989. }
  42990. $async$goto = 3;
  42991. return A._asyncAwait($async$self.compile$2(0, source, destination), $async$_compileIfEntrypoint$1);
  42992. case 3:
  42993. // returning from await.
  42994. $async$returnValue = $async$result;
  42995. // goto return
  42996. $async$goto = 1;
  42997. break;
  42998. case 1:
  42999. // return
  43000. return A._asyncReturn($async$returnValue, $async$completer);
  43001. }
  43002. });
  43003. return A._asyncStartSync($async$_compileIfEntrypoint$1, $async$completer);
  43004. },
  43005. _destinationFor$1(source) {
  43006. var t2, destination, t3, t4,
  43007. t1 = this._watch$_options;
  43008. t1._ensureSources$0();
  43009. t2 = type$.String;
  43010. destination = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
  43011. if (destination != null)
  43012. return destination;
  43013. t3 = $.$get$context();
  43014. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
  43015. return null;
  43016. t1._ensureSources$0();
  43017. t1 = t1.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  43018. t1 === $ && A.throwUnnamedLateFieldNI();
  43019. t2 = t1.cast$2$0(0, t2, t2);
  43020. t2 = t2.get$entries(t2);
  43021. t2 = t2.get$iterator(t2);
  43022. for (; t2.moveNext$0();) {
  43023. t1 = t2.get$current(t2);
  43024. t4 = t1.key;
  43025. if (t3._isWithinOrEquals$2(t4, source) !== B._PathRelation_within)
  43026. continue;
  43027. destination = A.join(t1.value, t3.withoutExtension$1(t3.relative$2$from(source, t4)) + ".css", null);
  43028. if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
  43029. return destination;
  43030. }
  43031. return null;
  43032. }
  43033. };
  43034. A._Watcher__debounceEvents_closure.prototype = {
  43035. call$1(buffer) {
  43036. var t2, t3, t4, oldType,
  43037. t1 = A.PathMap__create(null, type$.ChangeType);
  43038. for (t2 = J.get$iterator$ax(buffer); t2.moveNext$0();) {
  43039. t3 = t2.get$current(t2);
  43040. t4 = t3.path;
  43041. oldType = t1.$index(0, t4);
  43042. if (oldType == null)
  43043. t1.$indexSet(0, t4, t3.type);
  43044. else if (t3.type === B.ChangeType_remove)
  43045. t1.$indexSet(0, t4, B.ChangeType_remove);
  43046. else if (oldType !== B.ChangeType_add)
  43047. t1.$indexSet(0, t4, B.ChangeType_modify);
  43048. }
  43049. t2 = A._setArrayType([], type$.JSArray_WatchEvent);
  43050. for (t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  43051. t3 = t1.get$current(t1);
  43052. t4 = t3.value;
  43053. t3 = t3.key;
  43054. t3.toString;
  43055. t2.push(new A.WatchEvent(t4, t3));
  43056. }
  43057. return t2;
  43058. },
  43059. $signature: 403
  43060. };
  43061. A.EmptyExtensionStore.prototype = {
  43062. get$_extensions() {
  43063. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store$_extensions", 1, [], [], 0)));
  43064. },
  43065. get$_sourceSpecificity() {
  43066. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store$_sourceSpecificity", 1, [], [], 0)));
  43067. },
  43068. get$isEmpty(_) {
  43069. return true;
  43070. },
  43071. get$simpleSelectors() {
  43072. return B.C_EmptyUnmodifiableSet;
  43073. },
  43074. extensionsWhereTarget$1(callback) {
  43075. return B.List_empty5;
  43076. },
  43077. addSelector$2(selector, mediaContext) {
  43078. throw A.wrapException(A.UnsupportedError$(string$.addSel));
  43079. },
  43080. addExtension$4(extender, target, extend, mediaContext) {
  43081. throw A.wrapException(A.UnsupportedError$(string$.addExt_));
  43082. },
  43083. addExtensions$1(extenders) {
  43084. throw A.wrapException(A.UnsupportedError$(string$.addExts));
  43085. },
  43086. clone$0() {
  43087. return B.Tuple2_EmptyExtensionStore_Map_empty;
  43088. },
  43089. $isExtensionStore: 1
  43090. };
  43091. A.Extension.prototype = {
  43092. toString$0(_) {
  43093. var t1 = this.extender.toString$0(0),
  43094. t2 = this.target.toString$0(0),
  43095. t3 = this.isOptional ? " !optional" : "";
  43096. return t1 + " {@extend " + t2 + t3 + "}";
  43097. }
  43098. };
  43099. A.Extender.prototype = {
  43100. assertCompatibleMediaContext$1(mediaContext) {
  43101. var expectedMediaContext,
  43102. extension = this._extension;
  43103. if (extension == null)
  43104. return;
  43105. expectedMediaContext = extension.mediaContext;
  43106. if (expectedMediaContext == null)
  43107. return;
  43108. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  43109. return;
  43110. throw A.wrapException(A.SassException$(string$.You_ma, extension.span, null));
  43111. },
  43112. toString$0(_) {
  43113. return A.serializeSelector(this.selector, true);
  43114. }
  43115. };
  43116. A.ExtensionStore.prototype = {
  43117. get$isEmpty(_) {
  43118. return this._extensions.__js_helper$_length === 0;
  43119. },
  43120. get$simpleSelectors() {
  43121. return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
  43122. },
  43123. extensionsWhereTarget$1($async$callback) {
  43124. var $async$self = this;
  43125. return A._makeSyncStarIterable(function() {
  43126. var callback = $async$callback;
  43127. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
  43128. return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
  43129. if ($async$errorCode === 1) {
  43130. $async$currentError = $async$result;
  43131. $async$goto = $async$handler;
  43132. }
  43133. while (true)
  43134. switch ($async$goto) {
  43135. case 0:
  43136. // Function start
  43137. t1 = $async$self._extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
  43138. case 2:
  43139. // for condition
  43140. if (!t1.moveNext$0()) {
  43141. // goto after for
  43142. $async$goto = 3;
  43143. break;
  43144. }
  43145. t2 = t1.get$current(t1);
  43146. if (!callback.call$1(t2.key)) {
  43147. // goto for condition
  43148. $async$goto = 2;
  43149. break;
  43150. }
  43151. t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
  43152. case 4:
  43153. // for condition
  43154. if (!t2.moveNext$0()) {
  43155. // goto after for
  43156. $async$goto = 5;
  43157. break;
  43158. }
  43159. t3 = t2.get$current(t2);
  43160. $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
  43161. break;
  43162. case 6:
  43163. // then
  43164. t3 = t3.unmerge$0();
  43165. $async$goto = 9;
  43166. return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  43167. case 9:
  43168. // after yield
  43169. // goto join
  43170. $async$goto = 7;
  43171. break;
  43172. case 8:
  43173. // else
  43174. $async$goto = !t3.isOptional ? 10 : 11;
  43175. break;
  43176. case 10:
  43177. // then
  43178. $async$goto = 12;
  43179. return t3;
  43180. case 12:
  43181. // after yield
  43182. case 11:
  43183. // join
  43184. case 7:
  43185. // join
  43186. // goto for condition
  43187. $async$goto = 4;
  43188. break;
  43189. case 5:
  43190. // after for
  43191. // goto for condition
  43192. $async$goto = 2;
  43193. break;
  43194. case 3:
  43195. // after for
  43196. // implicit return
  43197. return A._IterationMarker_endOfIteration();
  43198. case 1:
  43199. // rethrow
  43200. return A._IterationMarker_uncaughtError($async$currentError);
  43201. }
  43202. };
  43203. }, type$.Extension);
  43204. },
  43205. addSelector$2(selector, mediaContext) {
  43206. var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
  43207. selector = selector;
  43208. originalSelector = selector;
  43209. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true))
  43210. for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._originals, _i = 0; _i < t2; ++_i)
  43211. t3.add$1(0, t1[_i]);
  43212. t1 = _this._extensions;
  43213. if (t1.__js_helper$_length !== 0)
  43214. try {
  43215. selector = _this._extendList$3(originalSelector, t1, mediaContext);
  43216. } catch (exception) {
  43217. t1 = A.unwrapException(exception);
  43218. if (t1 instanceof A.SassException) {
  43219. error = t1;
  43220. stackTrace = A.getTraceFromException(exception);
  43221. t1 = error;
  43222. t2 = J.getInterceptor$z(t1);
  43223. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  43224. t2 = error._span_exception$_message;
  43225. t3 = error;
  43226. t4 = J.getInterceptor$z(t3);
  43227. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  43228. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t1 + "\n" + t2, t3), stackTrace);
  43229. } else
  43230. throw exception;
  43231. }
  43232. modifiableSelector = new A.ModifiableBox(selector, type$.ModifiableBox_SelectorList);
  43233. if (mediaContext != null)
  43234. _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  43235. _this._registerSelector$2(selector, modifiableSelector);
  43236. return new A.Box(modifiableSelector, type$.Box_SelectorList);
  43237. },
  43238. _registerSelector$2(list, selector) {
  43239. var t1, t2, t3, _i, t4, t5, _i0, t6, t7, _i1, simple, selectorInPseudo;
  43240. for (t1 = list.components, t2 = t1.length, t3 = this._selectors, _i = 0; _i < t2; ++_i)
  43241. for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0)
  43242. for (t6 = t4[_i0].selector.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
  43243. simple = t6[_i1];
  43244. J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()), selector);
  43245. if (!(simple instanceof A.PseudoSelector))
  43246. continue;
  43247. selectorInPseudo = simple.selector;
  43248. if (selectorInPseudo != null)
  43249. this._registerSelector$2(selectorInPseudo, selector);
  43250. }
  43251. },
  43252. addExtension$4(extender, target, extend, mediaContext) {
  43253. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, existingExtension, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  43254. selectors = _this._selectors.$index(0, target),
  43255. t1 = _this._extensionsByExtender,
  43256. existingExtensions = t1.$index(0, target),
  43257. sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
  43258. 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) {
  43259. complex = t2[_i];
  43260. if (complex.accept$1(B.C__IsUselessVisitor))
  43261. continue;
  43262. complex.get$specificity();
  43263. t11 = new A.Extender(complex, false);
  43264. extension = t11._extension = new A.Extension(t11, target, mediaContext, t7, t6);
  43265. existingExtension = sources.$index(0, complex);
  43266. if (existingExtension != null) {
  43267. sources.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, extension));
  43268. continue;
  43269. }
  43270. sources.$indexSet(0, complex, extension);
  43271. for (t11 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  43272. t12 = t11.get$current(t11);
  43273. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure0()), extension);
  43274. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure1(complex));
  43275. }
  43276. if (!t4 || t8) {
  43277. if (newExtensions == null)
  43278. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  43279. newExtensions.$indexSet(0, complex, extension);
  43280. }
  43281. }
  43282. if (newExtensions == null)
  43283. return;
  43284. t1 = type$.SimpleSelector;
  43285. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
  43286. if (t8) {
  43287. additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  43288. if (additionalExtensions != null)
  43289. A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  43290. }
  43291. if (!t4)
  43292. _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
  43293. },
  43294. _simpleSelectors$1(complex) {
  43295. return this._simpleSelectors$body$ExtensionStore(complex);
  43296. },
  43297. _simpleSelectors$body$ExtensionStore($async$complex) {
  43298. var $async$self = this;
  43299. return A._makeSyncStarIterable(function() {
  43300. var complex = $async$complex;
  43301. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, t3, t4, _i0, simple, selector, t5, t6, _i1;
  43302. return function $async$_simpleSelectors$1($async$errorCode, $async$result) {
  43303. if ($async$errorCode === 1) {
  43304. $async$currentError = $async$result;
  43305. $async$goto = $async$handler;
  43306. }
  43307. while (true)
  43308. switch ($async$goto) {
  43309. case 0:
  43310. // Function start
  43311. t1 = complex.components, t2 = t1.length, _i = 0;
  43312. case 2:
  43313. // for condition
  43314. if (!(_i < t2)) {
  43315. // goto after for
  43316. $async$goto = 4;
  43317. break;
  43318. }
  43319. t3 = t1[_i].selector.components, t4 = t3.length, _i0 = 0;
  43320. case 5:
  43321. // for condition
  43322. if (!(_i0 < t4)) {
  43323. // goto after for
  43324. $async$goto = 7;
  43325. break;
  43326. }
  43327. simple = t3[_i0];
  43328. $async$goto = 8;
  43329. return simple;
  43330. case 8:
  43331. // after yield
  43332. if (!(simple instanceof A.PseudoSelector)) {
  43333. // goto for update
  43334. $async$goto = 6;
  43335. break;
  43336. }
  43337. selector = simple.selector;
  43338. if (selector == null) {
  43339. // goto for update
  43340. $async$goto = 6;
  43341. break;
  43342. }
  43343. t5 = selector.components, t6 = t5.length, _i1 = 0;
  43344. case 9:
  43345. // for condition
  43346. if (!(_i1 < t6)) {
  43347. // goto after for
  43348. $async$goto = 11;
  43349. break;
  43350. }
  43351. $async$goto = 12;
  43352. return A._IterationMarker_yieldStar($async$self._simpleSelectors$1(t5[_i1]));
  43353. case 12:
  43354. // after yield
  43355. case 10:
  43356. // for update
  43357. ++_i1;
  43358. // goto for condition
  43359. $async$goto = 9;
  43360. break;
  43361. case 11:
  43362. // after for
  43363. case 6:
  43364. // for update
  43365. ++_i0;
  43366. // goto for condition
  43367. $async$goto = 5;
  43368. break;
  43369. case 7:
  43370. // after for
  43371. case 3:
  43372. // for update
  43373. ++_i;
  43374. // goto for condition
  43375. $async$goto = 2;
  43376. break;
  43377. case 4:
  43378. // after for
  43379. // implicit return
  43380. return A._IterationMarker_endOfIteration();
  43381. case 1:
  43382. // rethrow
  43383. return A._IterationMarker_uncaughtError($async$currentError);
  43384. }
  43385. };
  43386. }, type$.SimpleSelector);
  43387. },
  43388. _extendExistingExtensions$2(extensions, newExtensions) {
  43389. 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;
  43390. 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) {
  43391. extension = t1[_i];
  43392. t7 = t6.$index(0, extension.target);
  43393. t7.toString;
  43394. selectors = null;
  43395. try {
  43396. selectors = this._extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  43397. if (selectors == null)
  43398. continue;
  43399. } catch (exception) {
  43400. t8 = A.unwrapException(exception);
  43401. if (t8 instanceof A.SassException) {
  43402. error = t8;
  43403. stackTrace = A.getTraceFromException(exception);
  43404. A.throwWithTrace(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), stackTrace);
  43405. } else
  43406. throw exception;
  43407. }
  43408. t8 = J.get$first$ax(selectors);
  43409. t9 = extension.extender.selector;
  43410. containsExtension = B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components);
  43411. for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
  43412. complex = t8[_i0];
  43413. if (containsExtension && first) {
  43414. first = false;
  43415. continue;
  43416. }
  43417. t10 = extension;
  43418. t11 = t10.target;
  43419. t12 = t10.span;
  43420. t13 = t10.mediaContext;
  43421. t10 = t10.isOptional;
  43422. complex.get$specificity();
  43423. t14 = new A.Extender(complex, false);
  43424. withExtender = t14._extension = new A.Extension(t14, t11, t13, t10, t12);
  43425. existingExtension = t7.$index(0, complex);
  43426. if (existingExtension != null)
  43427. t7.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, withExtender));
  43428. else {
  43429. t7.$indexSet(0, complex, withExtender);
  43430. for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1)
  43431. for (t12 = t10[_i1].selector.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
  43432. J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
  43433. if (newExtensions.containsKey$1(extension.target)) {
  43434. if (additionalExtensions == null)
  43435. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  43436. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, complex, withExtender);
  43437. }
  43438. }
  43439. }
  43440. if (!containsExtension)
  43441. t7.remove$1(0, extension.extender);
  43442. }
  43443. return additionalExtensions;
  43444. },
  43445. _extendExistingSelectors$2(selectors, newExtensions) {
  43446. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  43447. for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
  43448. selector = t1.get$current(t1);
  43449. oldValue = selector.value;
  43450. try {
  43451. selector.value = this._extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  43452. } catch (exception) {
  43453. t3 = A.unwrapException(exception);
  43454. if (t3 instanceof A.SassException) {
  43455. error = t3;
  43456. stackTrace = A.getTraceFromException(exception);
  43457. t3 = selector.value.span.message$1(0, "");
  43458. t4 = error._span_exception$_message;
  43459. t5 = error;
  43460. t6 = J.getInterceptor$z(t5);
  43461. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  43462. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t3 + "\n" + t4, t5), stackTrace);
  43463. } else
  43464. throw exception;
  43465. }
  43466. if (oldValue === selector.value)
  43467. continue;
  43468. this._registerSelector$2(selector.value, selector);
  43469. }
  43470. },
  43471. addExtensions$1(extensionStores) {
  43472. var t1, t2, t3, _box_0 = {};
  43473. _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
  43474. for (t1 = J.get$iterator$ax(extensionStores), t2 = this._sourceSpecificity; t1.moveNext$0();) {
  43475. t3 = t1.get$current(t1);
  43476. if (t3.get$isEmpty(t3))
  43477. continue;
  43478. t2.addAll$1(0, t3.get$_sourceSpecificity());
  43479. t3.get$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure(_box_0, this));
  43480. }
  43481. A.NullableExtension_andThen(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure0(_box_0, this));
  43482. },
  43483. _extendList$3(list, extensions, mediaQueryContext) {
  43484. var t1, t2, t3, extended, i, complex, result, t4;
  43485. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
  43486. complex = t1[i];
  43487. result = this._extendComplex$3(complex, extensions, mediaQueryContext);
  43488. if (result == null) {
  43489. if (extended != null)
  43490. extended.push(complex);
  43491. } else {
  43492. if (extended == null)
  43493. if (i === 0)
  43494. extended = A._setArrayType([], t3);
  43495. else {
  43496. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  43497. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  43498. }
  43499. B.JSArray_methods.addAll$1(extended, result);
  43500. }
  43501. }
  43502. if (extended == null)
  43503. return list;
  43504. t1 = this._originals;
  43505. return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)), list.span);
  43506. },
  43507. _extendList$2(list, extensions) {
  43508. return this._extendList$3(list, extensions, null);
  43509. },
  43510. _extendComplex$3(complex, extensions, mediaQueryContext) {
  43511. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  43512. t1 = complex.leadingCombinators,
  43513. t2 = t1.length;
  43514. if (t2 > 1)
  43515. return null;
  43516. isOriginal = this._originals.contains$1(0, complex);
  43517. 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) {
  43518. component = t3[i];
  43519. extended = this._extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  43520. if (extended == null) {
  43521. if (extendedNotExpanded != null)
  43522. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$(B.List_empty1, A._setArrayType([component], t10), t8, t6)], t9));
  43523. } else if (extendedNotExpanded != null)
  43524. extendedNotExpanded.push(extended);
  43525. else if (i !== 0) {
  43526. t11 = A._arrayInstanceType(t3);
  43527. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  43528. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  43529. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$(t1, t12, t8, t6)], t9), extended], t5);
  43530. } else if (t2)
  43531. extendedNotExpanded = A._setArrayType([extended], t5);
  43532. else {
  43533. t11 = A._setArrayType([], t9);
  43534. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  43535. t13 = t12.get$current(t12);
  43536. t14 = t13.leadingCombinators;
  43537. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  43538. t14 = t13.components;
  43539. t11.push(A.ComplexSelector$(t1, t14, t8, !t7 || t13.lineBreak));
  43540. }
  43541. }
  43542. extendedNotExpanded = A._setArrayType([t11], t5);
  43543. }
  43544. }
  43545. if (extendedNotExpanded == null)
  43546. return null;
  43547. _box_0.first = true;
  43548. t1 = type$.ComplexSelector;
  43549. t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure(_box_0, this, complex), t1);
  43550. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  43551. },
  43552. _extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  43553. 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,
  43554. t1 = _this._mode,
  43555. targetsUsed = t1 === B.ExtendMode_normal_normal || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector),
  43556. t2 = component.selector,
  43557. simples = t2.components;
  43558. 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) {
  43559. simple = simples[i];
  43560. extended = _this._extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  43561. if (extended == null) {
  43562. if (options != null)
  43563. options.push(A._setArrayType([_this._extenderForSimple$1(simple)], t5));
  43564. } else {
  43565. if (options == null) {
  43566. options = A._setArrayType([], t4);
  43567. if (i !== 0) {
  43568. t12 = new A.SubListIterable(simples, 0, i, t8);
  43569. t12.SubListIterable$3(simples, 0, i, t9);
  43570. result = A.List_List$from(t12, false, t11);
  43571. result.fixed$length = Array;
  43572. result.immutable$list = Array;
  43573. t12 = result;
  43574. compound = new A.CompoundSelector(t12, t10);
  43575. if (t12.length === 0)
  43576. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  43577. result = A.List_List$from(B.List_empty1, false, t6);
  43578. result.fixed$length = Array;
  43579. result.immutable$list = Array;
  43580. t12 = A.ComplexSelector$(B.List_empty1, A._setArrayType([new A.ComplexSelectorComponent(compound, result, t10)], t7), t10, false);
  43581. _this._sourceSpecificityFor$1(compound);
  43582. options.push(A._setArrayType([new A.Extender(t12, true)], t5));
  43583. }
  43584. }
  43585. B.JSArray_methods.addAll$1(options, extended);
  43586. }
  43587. }
  43588. if (options == null)
  43589. return _null;
  43590. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
  43591. return _null;
  43592. if (options.length === 1) {
  43593. for (t1 = J.get$iterator$ax(B.JSArray_methods.get$first(options)), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector, result = _null; t1.moveNext$0();) {
  43594. t4 = t1.get$current(t1);
  43595. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  43596. complex = t4.selector.withAdditionalCombinators$1(t2);
  43597. if (complex.accept$1(B.C__IsUselessVisitor))
  43598. continue;
  43599. if (result == null)
  43600. result = A._setArrayType([], t3);
  43601. result.push(complex);
  43602. }
  43603. return result;
  43604. }
  43605. extenderPaths = A.paths(options, type$.Extender);
  43606. t3 = A._setArrayType([], type$.JSArray_ComplexSelector);
  43607. t1 = t1 === B.ExtendMode_replace_replace;
  43608. t4 = !t1;
  43609. if (t4)
  43610. 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));
  43611. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  43612. t2 = t2.get$iterator(t2);
  43613. t5 = component.combinators;
  43614. for (; t2.moveNext$0();) {
  43615. extended = _this._unifyExtenders$3(t2.get$current(t2), mediaQueryContext, t10);
  43616. if (extended == null)
  43617. continue;
  43618. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  43619. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t5);
  43620. if (!withCombinators.accept$1(B.C__IsUselessVisitor))
  43621. t3.push(withCombinators);
  43622. }
  43623. }
  43624. isOriginal = new A.ExtensionStore__extendCompound_closure0();
  43625. return _this._trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure1(B.JSArray_methods.get$first(t3)) : isOriginal);
  43626. },
  43627. _unifyExtenders$3(extenders, mediaQueryContext, span) {
  43628. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  43629. toUnify = A.QueueList$(_null, type$.ComplexSelector);
  43630. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  43631. t4 = t2.get$current(t2);
  43632. if (t4.isOriginal) {
  43633. if (originals == null)
  43634. originals = A._setArrayType([], t3);
  43635. t4 = t4.selector;
  43636. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  43637. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  43638. } else {
  43639. t4 = t4.selector;
  43640. if (t4.accept$1(B.C__IsUselessVisitor))
  43641. return _null;
  43642. else
  43643. toUnify._add$1(t4);
  43644. }
  43645. }
  43646. if (originals != null)
  43647. 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));
  43648. complexes = A.unifyComplex(toUnify, span);
  43649. if (complexes == null)
  43650. return _null;
  43651. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  43652. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  43653. return complexes;
  43654. },
  43655. _extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  43656. var extended,
  43657. t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed);
  43658. if (simple instanceof A.PseudoSelector && simple.selector != null) {
  43659. extended = this._extendPseudo$3(simple, extensions, mediaQueryContext);
  43660. if (extended != null)
  43661. return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure(this, t1), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender>>"));
  43662. }
  43663. return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
  43664. },
  43665. _extenderForSimple$1(simple) {
  43666. var t1 = simple.span;
  43667. 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);
  43668. this._sourceSpecificity.$index(0, simple);
  43669. return new A.Extender(t1, true);
  43670. },
  43671. _extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  43672. var extended, complexes, t1, result,
  43673. selector = pseudo.selector;
  43674. if (selector == null)
  43675. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  43676. extended = this._extendList$3(selector, extensions, mediaQueryContext);
  43677. if (extended === selector)
  43678. return null;
  43679. complexes = extended.components;
  43680. t1 = pseudo.normalizedName === "not";
  43681. 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()))
  43682. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  43683. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
  43684. if (t1 && selector.components.length === 1) {
  43685. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
  43686. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  43687. return result.length === 0 ? null : result;
  43688. } else
  43689. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$(complexes, selector.span))], type$.JSArray_PseudoSelector);
  43690. },
  43691. _trim$2(selectors, isOriginal) {
  43692. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  43693. if (selectors.length > 100)
  43694. return selectors;
  43695. result = A.QueueList$(null, type$.ComplexSelector);
  43696. $label0$0:
  43697. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  43698. _box_0 = {};
  43699. complex1 = selectors[i];
  43700. if (isOriginal.call$1(complex1)) {
  43701. for (j = 0; j < numOriginals; ++j)
  43702. if (J.$eq$(result.$index(0, j), complex1)) {
  43703. A.rotateSlice(result, 0, j + 1);
  43704. continue $label0$0;
  43705. }
  43706. ++numOriginals;
  43707. result.addFirst$1(complex1);
  43708. continue $label0$0;
  43709. }
  43710. _box_0.maxSpecificity = 0;
  43711. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  43712. maxSpecificity = Math.max(t5, this._sourceSpecificityFor$1(t3[_i].selector));
  43713. _box_0.maxSpecificity = maxSpecificity;
  43714. }
  43715. if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
  43716. continue $label0$0;
  43717. t3 = new A.SubListIterable(selectors, 0, i, t1);
  43718. t3.SubListIterable$3(selectors, 0, i, t2);
  43719. if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
  43720. continue $label0$0;
  43721. result.addFirst$1(complex1);
  43722. }
  43723. return result;
  43724. },
  43725. _sourceSpecificityFor$1(compound) {
  43726. var t1, t2, t3, specificity, _i, t4;
  43727. for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  43728. t4 = t3.$index(0, t1[_i]);
  43729. specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
  43730. }
  43731. return specificity;
  43732. },
  43733. clone$0() {
  43734. var t2, t3, t4, _this = this,
  43735. t1 = type$.SimpleSelector,
  43736. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList),
  43737. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList, type$.List_CssMediaQuery),
  43738. oldToNewSelectors = new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_of_SelectorList_and_Box_SelectorList);
  43739. _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  43740. t2 = type$.Extension;
  43741. t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
  43742. t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
  43743. t1 = new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int);
  43744. t1.addAll$1(0, _this._sourceSpecificity);
  43745. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
  43746. t4.addAll$1(0, _this._originals);
  43747. 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);
  43748. },
  43749. get$_extensions() {
  43750. return this._extensions;
  43751. },
  43752. get$_sourceSpecificity() {
  43753. return this._sourceSpecificity;
  43754. }
  43755. };
  43756. A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
  43757. call$1(extension) {
  43758. return !extension.isOptional;
  43759. },
  43760. $signature: 411
  43761. };
  43762. A.ExtensionStore__registerSelector_closure.prototype = {
  43763. call$0() {
  43764. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList);
  43765. },
  43766. $signature: 419
  43767. };
  43768. A.ExtensionStore_addExtension_closure.prototype = {
  43769. call$0() {
  43770. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  43771. },
  43772. $signature: 125
  43773. };
  43774. A.ExtensionStore_addExtension_closure0.prototype = {
  43775. call$0() {
  43776. return A._setArrayType([], type$.JSArray_Extension);
  43777. },
  43778. $signature: 193
  43779. };
  43780. A.ExtensionStore_addExtension_closure1.prototype = {
  43781. call$0() {
  43782. return this.complex.get$specificity();
  43783. },
  43784. $signature: 12
  43785. };
  43786. A.ExtensionStore__extendExistingExtensions_closure.prototype = {
  43787. call$0() {
  43788. return A._setArrayType([], type$.JSArray_Extension);
  43789. },
  43790. $signature: 193
  43791. };
  43792. A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
  43793. call$0() {
  43794. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  43795. },
  43796. $signature: 125
  43797. };
  43798. A.ExtensionStore_addExtensions_closure.prototype = {
  43799. call$2(target, newSources) {
  43800. var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
  43801. if (target instanceof A.PlaceholderSelector) {
  43802. first = B.JSString_methods._codeUnitAt$1(target.name, 0);
  43803. t1 = first === 45 || first === 95;
  43804. } else
  43805. t1 = false;
  43806. if (t1)
  43807. return;
  43808. t1 = _this.$this;
  43809. extensionsForTarget = t1._extensionsByExtender.$index(0, target);
  43810. t2 = extensionsForTarget == null;
  43811. if (!t2) {
  43812. t3 = _this._box_0;
  43813. t4 = t3.extensionsToExtend;
  43814. B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension) : t4, extensionsForTarget);
  43815. }
  43816. selectorsForTarget = t1._selectors.$index(0, target);
  43817. t3 = selectorsForTarget != null;
  43818. if (t3) {
  43819. t4 = _this._box_0;
  43820. t5 = t4.selectorsToExtend;
  43821. (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList) : t5).addAll$1(0, selectorsForTarget);
  43822. }
  43823. t1 = t1._extensions;
  43824. existingSources = t1.$index(0, target);
  43825. if (existingSources == null) {
  43826. t4 = type$.ComplexSelector;
  43827. t5 = type$.Extension;
  43828. t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
  43829. if (!t2 || t3) {
  43830. t1 = _this._box_0;
  43831. t2 = t1.newExtensions;
  43832. t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
  43833. t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
  43834. }
  43835. } else
  43836. newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure1(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
  43837. },
  43838. $signature: 442
  43839. };
  43840. A.ExtensionStore_addExtensions__closure1.prototype = {
  43841. call$2(extender, extension) {
  43842. var t2, _this = this,
  43843. t1 = _this.existingSources;
  43844. if (t1.containsKey$1(extender)) {
  43845. t2 = t1.$index(0, extender);
  43846. extension = A.MergedExtension_merge(t2, extension);
  43847. t1.$indexSet(0, extender, extension);
  43848. } else
  43849. t1.$indexSet(0, extender, extension);
  43850. if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
  43851. t1 = _this._box_0;
  43852. t2 = t1.newExtensions;
  43853. t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
  43854. J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure()), extender, extension);
  43855. }
  43856. },
  43857. $signature: 454
  43858. };
  43859. A.ExtensionStore_addExtensions___closure.prototype = {
  43860. call$0() {
  43861. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  43862. },
  43863. $signature: 125
  43864. };
  43865. A.ExtensionStore_addExtensions_closure0.prototype = {
  43866. call$1(newExtensions) {
  43867. var t1 = this._box_0,
  43868. t2 = this.$this;
  43869. A.NullableExtension_andThen(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure(t2, newExtensions));
  43870. A.NullableExtension_andThen(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure0(t2, newExtensions));
  43871. },
  43872. $signature: 468
  43873. };
  43874. A.ExtensionStore_addExtensions__closure.prototype = {
  43875. call$1(extensionsToExtend) {
  43876. return this.$this._extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
  43877. },
  43878. $signature: 474
  43879. };
  43880. A.ExtensionStore_addExtensions__closure0.prototype = {
  43881. call$1(selectorsToExtend) {
  43882. return this.$this._extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
  43883. },
  43884. $signature: 476
  43885. };
  43886. A.ExtensionStore__extendComplex_closure.prototype = {
  43887. call$1(path) {
  43888. var t1 = this.complex;
  43889. 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);
  43890. },
  43891. $signature: 494
  43892. };
  43893. A.ExtensionStore__extendComplex__closure.prototype = {
  43894. call$1(outputComplex) {
  43895. var _this = this,
  43896. t1 = _this._box_0;
  43897. if (t1.first && _this.$this._originals.contains$1(0, _this.complex))
  43898. _this.$this._originals.add$1(0, outputComplex);
  43899. t1.first = false;
  43900. return outputComplex;
  43901. },
  43902. $signature: 53
  43903. };
  43904. A.ExtensionStore__extendCompound_closure.prototype = {
  43905. call$1(extender) {
  43906. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  43907. },
  43908. $signature: 499
  43909. };
  43910. A.ExtensionStore__extendCompound_closure0.prototype = {
  43911. call$1(_) {
  43912. return false;
  43913. },
  43914. $signature: 16
  43915. };
  43916. A.ExtensionStore__extendCompound_closure1.prototype = {
  43917. call$1(complex) {
  43918. return complex.$eq(0, this.original);
  43919. },
  43920. $signature: 16
  43921. };
  43922. A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
  43923. call$1(simple) {
  43924. var t1, t2,
  43925. extensionsForSimple = this.extensions.$index(0, simple);
  43926. if (extensionsForSimple == null)
  43927. return null;
  43928. t1 = this.targetsUsed;
  43929. if (t1 != null)
  43930. t1.add$1(0, simple);
  43931. t1 = A._setArrayType([], type$.JSArray_Extender);
  43932. t2 = this.$this;
  43933. if (t2._mode !== B.ExtendMode_replace_replace)
  43934. t1.push(t2._extenderForSimple$1(simple));
  43935. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  43936. t1.push(t2.get$current(t2).extender);
  43937. return t1;
  43938. },
  43939. $signature: 501
  43940. };
  43941. A.ExtensionStore__extendSimple_closure.prototype = {
  43942. call$1(pseudo) {
  43943. var t1 = this.withoutPseudo.call$1(pseudo);
  43944. return t1 == null ? A._setArrayType([this.$this._extenderForSimple$1(pseudo)], type$.JSArray_Extender) : t1;
  43945. },
  43946. $signature: 503
  43947. };
  43948. A.ExtensionStore__extendSimple_closure0.prototype = {
  43949. call$1(result) {
  43950. return A._setArrayType([result], type$.JSArray_List_Extender);
  43951. },
  43952. $signature: 505
  43953. };
  43954. A.ExtensionStore__extendPseudo_closure.prototype = {
  43955. call$1(complex) {
  43956. return complex.components.length > 1;
  43957. },
  43958. $signature: 16
  43959. };
  43960. A.ExtensionStore__extendPseudo_closure0.prototype = {
  43961. call$1(complex) {
  43962. return complex.components.length === 1;
  43963. },
  43964. $signature: 16
  43965. };
  43966. A.ExtensionStore__extendPseudo_closure1.prototype = {
  43967. call$1(complex) {
  43968. return complex.components.length <= 1;
  43969. },
  43970. $signature: 16
  43971. };
  43972. A.ExtensionStore__extendPseudo_closure2.prototype = {
  43973. call$1(complex) {
  43974. var innerPseudo, innerSelector,
  43975. t1 = complex.get$singleCompound();
  43976. if (t1 == null)
  43977. innerPseudo = null;
  43978. else {
  43979. t1 = t1.components;
  43980. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  43981. }
  43982. if (!(innerPseudo instanceof A.PseudoSelector))
  43983. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  43984. innerSelector = innerPseudo.selector;
  43985. if (innerSelector == null)
  43986. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  43987. t1 = this.pseudo;
  43988. switch (t1.normalizedName) {
  43989. case "not":
  43990. if (!B.Set_aAXJu._map.containsKey$1(innerPseudo.normalizedName))
  43991. return A._setArrayType([], type$.JSArray_ComplexSelector);
  43992. return innerSelector.components;
  43993. case "is":
  43994. case "matches":
  43995. case "where":
  43996. case "any":
  43997. case "current":
  43998. case "nth-child":
  43999. case "nth-last-child":
  44000. if (innerPseudo.name !== t1.name)
  44001. return A._setArrayType([], type$.JSArray_ComplexSelector);
  44002. if (innerPseudo.argument != t1.argument)
  44003. return A._setArrayType([], type$.JSArray_ComplexSelector);
  44004. return innerSelector.components;
  44005. case "has":
  44006. case "host":
  44007. case "host-context":
  44008. case "slotted":
  44009. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  44010. default:
  44011. return A._setArrayType([], type$.JSArray_ComplexSelector);
  44012. }
  44013. },
  44014. $signature: 507
  44015. };
  44016. A.ExtensionStore__extendPseudo_closure3.prototype = {
  44017. call$1(complex) {
  44018. return this.pseudo.withSelector$1(A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector), this.selector.span));
  44019. },
  44020. $signature: 510
  44021. };
  44022. A.ExtensionStore__trim_closure.prototype = {
  44023. call$1(complex2) {
  44024. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  44025. },
  44026. $signature: 16
  44027. };
  44028. A.ExtensionStore__trim_closure0.prototype = {
  44029. call$1(complex2) {
  44030. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  44031. },
  44032. $signature: 16
  44033. };
  44034. A.ExtensionStore_clone_closure.prototype = {
  44035. call$2(simple, selectors) {
  44036. var t2, t3, t4, t5, t6, t7, newSelector, mediaContext, _this = this,
  44037. t1 = type$.ModifiableBox_SelectorList,
  44038. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  44039. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  44040. for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = type$.Box_SelectorList, t5 = _this.$this._mediaContexts, t6 = _this.newMediaContexts; t2.moveNext$0();) {
  44041. t7 = t2.get$current(t2);
  44042. newSelector = new A.ModifiableBox(t7.value, t1);
  44043. newSelectorSet.add$1(0, newSelector);
  44044. t3.$indexSet(0, t7.value, new A.Box(newSelector, t4));
  44045. mediaContext = t5.$index(0, t7);
  44046. if (mediaContext != null)
  44047. t6.$indexSet(0, newSelector, mediaContext);
  44048. }
  44049. },
  44050. $signature: 511
  44051. };
  44052. A.unifyComplex_closure.prototype = {
  44053. call$1(complex) {
  44054. return complex.lineBreak;
  44055. },
  44056. $signature: 16
  44057. };
  44058. A._weaveParents_closure.prototype = {
  44059. call$2(group1, group2) {
  44060. var t1, unified;
  44061. if (B.C_ListEquality.equals$2(0, group1, group2))
  44062. return group1;
  44063. if (A._complexIsParentSuperselector(group1, group2))
  44064. return group2;
  44065. if (A._complexIsParentSuperselector(group2, group1))
  44066. return group1;
  44067. if (!A._mustUnify(group1, group2))
  44068. return null;
  44069. t1 = this.span;
  44070. 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);
  44071. if (unified == null)
  44072. return null;
  44073. t1 = J.getInterceptor$asx(unified);
  44074. if (t1.get$length(unified) > 1)
  44075. return null;
  44076. return t1.get$first(unified).components;
  44077. },
  44078. $signature: 520
  44079. };
  44080. A._weaveParents_closure0.prototype = {
  44081. call$1(sequence) {
  44082. return A._complexIsParentSuperselector(sequence.get$first(sequence), this.group);
  44083. },
  44084. $signature: 192
  44085. };
  44086. A._weaveParents_closure1.prototype = {
  44087. call$1(sequence) {
  44088. return sequence.get$length(sequence) === 0;
  44089. },
  44090. $signature: 192
  44091. };
  44092. A._weaveParents_closure2.prototype = {
  44093. call$1(choice) {
  44094. return J.get$isNotEmpty$asx(choice);
  44095. },
  44096. $signature: 533
  44097. };
  44098. A._mustUnify_closure.prototype = {
  44099. call$1(component) {
  44100. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure(this.uniqueSelectors));
  44101. },
  44102. $signature: 45
  44103. };
  44104. A._mustUnify__closure.prototype = {
  44105. call$1(simple) {
  44106. var t1;
  44107. if (!(simple instanceof A.IDSelector))
  44108. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  44109. else
  44110. t1 = true;
  44111. return t1 && this.uniqueSelectors.contains$1(0, simple);
  44112. },
  44113. $signature: 13
  44114. };
  44115. A.paths_closure.prototype = {
  44116. call$2(paths, choice) {
  44117. var t1 = this.T;
  44118. t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
  44119. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  44120. },
  44121. $signature() {
  44122. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  44123. }
  44124. };
  44125. A.paths__closure.prototype = {
  44126. call$1(option) {
  44127. var t1 = this.T;
  44128. return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
  44129. },
  44130. $signature() {
  44131. return this.T._eval$1("Iterable<List<0>>(0)");
  44132. }
  44133. };
  44134. A.paths___closure.prototype = {
  44135. call$1(path) {
  44136. var t1 = A.List_List$of(path, true, this.T);
  44137. t1.push(this.option);
  44138. return t1;
  44139. },
  44140. $signature() {
  44141. return this.T._eval$1("List<0>(List<0>)");
  44142. }
  44143. };
  44144. A.listIsSuperselector_closure.prototype = {
  44145. call$1(complex1) {
  44146. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
  44147. },
  44148. $signature: 16
  44149. };
  44150. A.listIsSuperselector__closure.prototype = {
  44151. call$1(complex2) {
  44152. return complex2.isSuperselector$1(this.complex1);
  44153. },
  44154. $signature: 16
  44155. };
  44156. A.complexIsSuperselector_closure.prototype = {
  44157. call$1($parent) {
  44158. return $parent.combinators.length > 1;
  44159. },
  44160. $signature: 45
  44161. };
  44162. A.complexIsSuperselector_closure0.prototype = {
  44163. call$1(component) {
  44164. return A._isSupercombinator(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  44165. },
  44166. $signature: 45
  44167. };
  44168. A._compatibleWithPreviousCombinator_closure.prototype = {
  44169. call$1(component) {
  44170. var t1 = component.combinators,
  44171. t2 = A.IterableExtension_get_firstOrNull(t1);
  44172. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_Htt)) {
  44173. t1 = A.IterableExtension_get_firstOrNull(t1);
  44174. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_4QF);
  44175. } else
  44176. t1 = true;
  44177. return t1;
  44178. },
  44179. $signature: 45
  44180. };
  44181. A._selectorPseudoIsSuperselector_closure.prototype = {
  44182. call$1(selector2) {
  44183. return A.listIsSuperselector(this.selector1.components, selector2.components);
  44184. },
  44185. $signature: 66
  44186. };
  44187. A._selectorPseudoIsSuperselector_closure0.prototype = {
  44188. call$1(complex1) {
  44189. var t1, t2, t3;
  44190. if (complex1.leadingCombinators.length === 0) {
  44191. t1 = complex1.components;
  44192. t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  44193. t3 = this.parents;
  44194. if (t3 != null)
  44195. B.JSArray_methods.addAll$1(t2, t3);
  44196. t3 = this.compound2;
  44197. t2.push(new A.ComplexSelectorComponent(t3, A.List_List$unmodifiable(B.List_empty1, type$.CssValue_Combinator), t3.span));
  44198. t2 = A.complexIsSuperselector(t1, t2);
  44199. t1 = t2;
  44200. } else
  44201. t1 = false;
  44202. return t1;
  44203. },
  44204. $signature: 16
  44205. };
  44206. A._selectorPseudoIsSuperselector_closure1.prototype = {
  44207. call$1(selector2) {
  44208. return A.listIsSuperselector(this.selector1.components, selector2.components);
  44209. },
  44210. $signature: 66
  44211. };
  44212. A._selectorPseudoIsSuperselector_closure2.prototype = {
  44213. call$1(selector2) {
  44214. return A.listIsSuperselector(this.selector1.components, selector2.components);
  44215. },
  44216. $signature: 66
  44217. };
  44218. A._selectorPseudoIsSuperselector_closure3.prototype = {
  44219. call$1(complex) {
  44220. if (complex.accept$1(B._IsBogusVisitor_true))
  44221. return false;
  44222. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
  44223. },
  44224. $signature: 16
  44225. };
  44226. A._selectorPseudoIsSuperselector__closure.prototype = {
  44227. call$1(simple2) {
  44228. var selector2, _this = this;
  44229. if (simple2 instanceof A.TypeSelector)
  44230. return B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure(simple2));
  44231. else if (simple2 instanceof A.IDSelector)
  44232. return B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
  44233. else if (simple2 instanceof A.PseudoSelector && simple2.name === _this.pseudo1.name) {
  44234. selector2 = simple2.selector;
  44235. if (selector2 == null)
  44236. return false;
  44237. return A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
  44238. } else
  44239. return false;
  44240. },
  44241. $signature: 13
  44242. };
  44243. A._selectorPseudoIsSuperselector___closure.prototype = {
  44244. call$1(simple1) {
  44245. var t1;
  44246. if (simple1 instanceof A.TypeSelector) {
  44247. t1 = this.simple2.name.$eq(0, simple1.name);
  44248. t1 = !t1;
  44249. } else
  44250. t1 = false;
  44251. return t1;
  44252. },
  44253. $signature: 13
  44254. };
  44255. A._selectorPseudoIsSuperselector___closure0.prototype = {
  44256. call$1(simple1) {
  44257. var t1;
  44258. if (simple1 instanceof A.IDSelector) {
  44259. t1 = simple1.name;
  44260. t1 = this.simple2.name !== t1;
  44261. } else
  44262. t1 = false;
  44263. return t1;
  44264. },
  44265. $signature: 13
  44266. };
  44267. A._selectorPseudoIsSuperselector_closure4.prototype = {
  44268. call$1(selector2) {
  44269. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  44270. return t1;
  44271. },
  44272. $signature: 66
  44273. };
  44274. A._selectorPseudoIsSuperselector_closure5.prototype = {
  44275. call$1(pseudo2) {
  44276. var t1, selector2;
  44277. if (!(pseudo2 instanceof A.PseudoSelector))
  44278. return false;
  44279. t1 = this.pseudo1;
  44280. if (pseudo2.name !== t1.name)
  44281. return false;
  44282. if (pseudo2.argument != t1.argument)
  44283. return false;
  44284. selector2 = pseudo2.selector;
  44285. if (selector2 == null)
  44286. return false;
  44287. return A.listIsSuperselector(this.selector1.components, selector2.components);
  44288. },
  44289. $signature: 13
  44290. };
  44291. A._selectorPseudoArgs_closure.prototype = {
  44292. call$1(pseudo) {
  44293. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  44294. },
  44295. $signature: 540
  44296. };
  44297. A._selectorPseudoArgs_closure0.prototype = {
  44298. call$1(pseudo) {
  44299. return pseudo.selector;
  44300. },
  44301. $signature: 542
  44302. };
  44303. A.MergedExtension.prototype = {
  44304. unmerge$0() {
  44305. var $async$self = this;
  44306. return A._makeSyncStarIterable(function() {
  44307. var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
  44308. return function $async$unmerge$0($async$errorCode, $async$result) {
  44309. if ($async$errorCode === 1) {
  44310. $async$currentError = $async$result;
  44311. $async$goto = $async$handler;
  44312. }
  44313. while (true)
  44314. switch ($async$goto) {
  44315. case 0:
  44316. // Function start
  44317. left = $async$self.left;
  44318. $async$goto = left instanceof A.MergedExtension ? 2 : 4;
  44319. break;
  44320. case 2:
  44321. // then
  44322. $async$goto = 5;
  44323. return A._IterationMarker_yieldStar(left.unmerge$0());
  44324. case 5:
  44325. // after yield
  44326. // goto join
  44327. $async$goto = 3;
  44328. break;
  44329. case 4:
  44330. // else
  44331. $async$goto = 6;
  44332. return left;
  44333. case 6:
  44334. // after yield
  44335. case 3:
  44336. // join
  44337. right = $async$self.right;
  44338. $async$goto = right instanceof A.MergedExtension ? 7 : 9;
  44339. break;
  44340. case 7:
  44341. // then
  44342. $async$goto = 10;
  44343. return A._IterationMarker_yieldStar(right.unmerge$0());
  44344. case 10:
  44345. // after yield
  44346. // goto join
  44347. $async$goto = 8;
  44348. break;
  44349. case 9:
  44350. // else
  44351. $async$goto = 11;
  44352. return right;
  44353. case 11:
  44354. // after yield
  44355. case 8:
  44356. // join
  44357. // implicit return
  44358. return A._IterationMarker_endOfIteration();
  44359. case 1:
  44360. // rethrow
  44361. return A._IterationMarker_uncaughtError($async$currentError);
  44362. }
  44363. };
  44364. }, type$.Extension);
  44365. }
  44366. };
  44367. A.ExtendMode.prototype = {
  44368. _enumToString$0() {
  44369. return "ExtendMode." + this._name;
  44370. },
  44371. toString$0(_) {
  44372. return this.name;
  44373. }
  44374. };
  44375. A.globalFunctions_closure.prototype = {
  44376. call$1($arguments) {
  44377. var t1 = J.getInterceptor$asx($arguments);
  44378. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  44379. },
  44380. $signature: 4
  44381. };
  44382. A.global_closure.prototype = {
  44383. call$1($arguments) {
  44384. return A._rgb("rgb", $arguments);
  44385. },
  44386. $signature: 4
  44387. };
  44388. A.global_closure0.prototype = {
  44389. call$1($arguments) {
  44390. return A._rgb("rgb", $arguments);
  44391. },
  44392. $signature: 4
  44393. };
  44394. A.global_closure1.prototype = {
  44395. call$1($arguments) {
  44396. return A._rgbTwoArg("rgb", $arguments);
  44397. },
  44398. $signature: 4
  44399. };
  44400. A.global_closure2.prototype = {
  44401. call$1($arguments) {
  44402. var parsed = A._parseChannels("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  44403. return parsed instanceof A.SassString ? parsed : A._rgb("rgb", type$.List_Value._as(parsed));
  44404. },
  44405. $signature: 4
  44406. };
  44407. A.global_closure3.prototype = {
  44408. call$1($arguments) {
  44409. return A._rgb("rgba", $arguments);
  44410. },
  44411. $signature: 4
  44412. };
  44413. A.global_closure4.prototype = {
  44414. call$1($arguments) {
  44415. return A._rgb("rgba", $arguments);
  44416. },
  44417. $signature: 4
  44418. };
  44419. A.global_closure5.prototype = {
  44420. call$1($arguments) {
  44421. return A._rgbTwoArg("rgba", $arguments);
  44422. },
  44423. $signature: 4
  44424. };
  44425. A.global_closure6.prototype = {
  44426. call$1($arguments) {
  44427. var parsed = A._parseChannels("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  44428. return parsed instanceof A.SassString ? parsed : A._rgb("rgba", type$.List_Value._as(parsed));
  44429. },
  44430. $signature: 4
  44431. };
  44432. A.global_closure7.prototype = {
  44433. call$1($arguments) {
  44434. var color, t2,
  44435. t1 = J.getInterceptor$asx($arguments),
  44436. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  44437. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber()) {
  44438. if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
  44439. throw A.wrapException(string$.Only_oa);
  44440. return A._functionString("invert", t1.take$1($arguments, 1));
  44441. }
  44442. color = t1.$index($arguments, 0).assertColor$1("color");
  44443. t1 = color.get$red(color);
  44444. t2 = color.get$green(color);
  44445. return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  44446. },
  44447. $signature: 4
  44448. };
  44449. A.global_closure8.prototype = {
  44450. call$1($arguments) {
  44451. return A._hsl("hsl", $arguments);
  44452. },
  44453. $signature: 4
  44454. };
  44455. A.global_closure9.prototype = {
  44456. call$1($arguments) {
  44457. return A._hsl("hsl", $arguments);
  44458. },
  44459. $signature: 4
  44460. };
  44461. A.global_closure10.prototype = {
  44462. call$1($arguments) {
  44463. var t1 = J.getInterceptor$asx($arguments);
  44464. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  44465. return A._functionString("hsl", $arguments);
  44466. else
  44467. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  44468. },
  44469. $signature: 18
  44470. };
  44471. A.global_closure11.prototype = {
  44472. call$1($arguments) {
  44473. var parsed = A._parseChannels("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  44474. return parsed instanceof A.SassString ? parsed : A._hsl("hsl", type$.List_Value._as(parsed));
  44475. },
  44476. $signature: 4
  44477. };
  44478. A.global_closure12.prototype = {
  44479. call$1($arguments) {
  44480. return A._hsl("hsla", $arguments);
  44481. },
  44482. $signature: 4
  44483. };
  44484. A.global_closure13.prototype = {
  44485. call$1($arguments) {
  44486. return A._hsl("hsla", $arguments);
  44487. },
  44488. $signature: 4
  44489. };
  44490. A.global_closure14.prototype = {
  44491. call$1($arguments) {
  44492. var t1 = J.getInterceptor$asx($arguments);
  44493. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  44494. return A._functionString("hsla", $arguments);
  44495. else
  44496. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  44497. },
  44498. $signature: 18
  44499. };
  44500. A.global_closure15.prototype = {
  44501. call$1($arguments) {
  44502. var parsed = A._parseChannels("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  44503. return parsed instanceof A.SassString ? parsed : A._hsl("hsla", type$.List_Value._as(parsed));
  44504. },
  44505. $signature: 4
  44506. };
  44507. A.global_closure16.prototype = {
  44508. call$1($arguments) {
  44509. var t1 = J.getInterceptor$asx($arguments);
  44510. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  44511. return A._functionString("grayscale", $arguments);
  44512. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  44513. },
  44514. $signature: 4
  44515. };
  44516. A.global_closure17.prototype = {
  44517. call$1($arguments) {
  44518. var t1 = J.getInterceptor$asx($arguments),
  44519. color = t1.$index($arguments, 0).assertColor$1("color"),
  44520. degrees = A._angleValue(t1.$index($arguments, 1), "degrees");
  44521. return color.changeHsl$1$hue(color.get$hue(color) + degrees);
  44522. },
  44523. $signature: 24
  44524. };
  44525. A.global_closure18.prototype = {
  44526. call$1($arguments) {
  44527. var t1 = J.getInterceptor$asx($arguments),
  44528. color = t1.$index($arguments, 0).assertColor$1("color"),
  44529. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  44530. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  44531. },
  44532. $signature: 24
  44533. };
  44534. A.global_closure19.prototype = {
  44535. call$1($arguments) {
  44536. var t1 = J.getInterceptor$asx($arguments),
  44537. color = t1.$index($arguments, 0).assertColor$1("color"),
  44538. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  44539. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  44540. },
  44541. $signature: 24
  44542. };
  44543. A.global_closure20.prototype = {
  44544. call$1($arguments) {
  44545. var t1 = J.getInterceptor$asx($arguments);
  44546. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  44547. return A._functionString("saturate", $arguments);
  44548. return new A.SassString("saturate(" + A.serializeValue(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  44549. },
  44550. $signature: 18
  44551. };
  44552. A.global_closure21.prototype = {
  44553. call$1($arguments) {
  44554. var t1 = J.getInterceptor$asx($arguments),
  44555. color = t1.$index($arguments, 0).assertColor$1("color"),
  44556. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  44557. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  44558. },
  44559. $signature: 24
  44560. };
  44561. A.global_closure22.prototype = {
  44562. call$1($arguments) {
  44563. var t1 = J.getInterceptor$asx($arguments),
  44564. color = t1.$index($arguments, 0).assertColor$1("color"),
  44565. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  44566. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  44567. },
  44568. $signature: 24
  44569. };
  44570. A.global_closure23.prototype = {
  44571. call$1($arguments) {
  44572. var argument = J.$index$asx($arguments, 0);
  44573. if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart()))
  44574. return A._functionString("alpha", $arguments);
  44575. return A.SassNumber_SassNumber(argument.assertColor$1("color")._alpha, null);
  44576. },
  44577. $signature: 4
  44578. };
  44579. A.global_closure24.prototype = {
  44580. call$1($arguments) {
  44581. var t1,
  44582. argList = J.$index$asx($arguments, 0).get$asList();
  44583. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
  44584. return A._functionString("alpha", $arguments);
  44585. t1 = argList.length;
  44586. if (t1 === 0)
  44587. throw A.wrapException(A.SassScriptException$("Missing argument $color.", null));
  44588. else
  44589. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed.", null));
  44590. },
  44591. $signature: 18
  44592. };
  44593. A.global__closure.prototype = {
  44594. call$1(argument) {
  44595. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  44596. },
  44597. $signature: 61
  44598. };
  44599. A.global_closure25.prototype = {
  44600. call$1($arguments) {
  44601. var t1 = J.getInterceptor$asx($arguments);
  44602. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  44603. return A._functionString("opacity", $arguments);
  44604. return A.SassNumber_SassNumber(t1.$index($arguments, 0).assertColor$1("color")._alpha, null);
  44605. },
  44606. $signature: 4
  44607. };
  44608. A.module_closure0.prototype = {
  44609. call$1($arguments) {
  44610. var result, t2, color,
  44611. t1 = J.getInterceptor$asx($arguments),
  44612. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  44613. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  44614. if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
  44615. throw A.wrapException(string$.Only_oa);
  44616. result = A._functionString("invert", t1.take$1($arguments, 1));
  44617. t1 = A.S(t1.$index($arguments, 0));
  44618. t2 = result.toString$0(0);
  44619. A.EvaluationContext_current().warn$2(0, "Passing a number (" + t1 + string$.x29x20to_ci + t2, B.Deprecation_s4m);
  44620. return result;
  44621. }
  44622. color = t1.$index($arguments, 0).assertColor$1("color");
  44623. t1 = color.get$red(color);
  44624. t2 = color.get$green(color);
  44625. return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  44626. },
  44627. $signature: 4
  44628. };
  44629. A.module_closure1.prototype = {
  44630. call$1($arguments) {
  44631. var result, t2,
  44632. t1 = J.getInterceptor$asx($arguments);
  44633. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  44634. result = A._functionString("grayscale", t1.take$1($arguments, 1));
  44635. t1 = A.S(t1.$index($arguments, 0));
  44636. t2 = result.toString$0(0);
  44637. A.EvaluationContext_current().warn$2(0, "Passing a number (" + t1 + string$.x29x20to_cg + t2, B.Deprecation_s4m);
  44638. return result;
  44639. }
  44640. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  44641. },
  44642. $signature: 4
  44643. };
  44644. A.module_closure2.prototype = {
  44645. call$1($arguments) {
  44646. return A._hwb($arguments);
  44647. },
  44648. $signature: 4
  44649. };
  44650. A.module_closure3.prototype = {
  44651. call$1($arguments) {
  44652. var parsed = A._parseChannels("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
  44653. if (parsed instanceof A.SassString)
  44654. throw A.wrapException(A.SassScriptException$('Expected numeric channels, got "' + parsed.toString$0(0) + '".', null));
  44655. else
  44656. return A._hwb(type$.List_Value._as(parsed));
  44657. },
  44658. $signature: 4
  44659. };
  44660. A.module_closure4.prototype = {
  44661. call$1($arguments) {
  44662. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  44663. return A.SassNumber_SassNumber(t1.get$whiteness(t1), "%");
  44664. },
  44665. $signature: 11
  44666. };
  44667. A.module_closure5.prototype = {
  44668. call$1($arguments) {
  44669. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  44670. return A.SassNumber_SassNumber(t1.get$blackness(t1), "%");
  44671. },
  44672. $signature: 11
  44673. };
  44674. A.module_closure6.prototype = {
  44675. call$1($arguments) {
  44676. var result, t1,
  44677. argument = J.$index$asx($arguments, 0);
  44678. if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart())) {
  44679. result = A._functionString("alpha", $arguments);
  44680. t1 = result.toString$0(0);
  44681. A.EvaluationContext_current().warn$2(0, string$.Using_c + t1, B.Deprecation_s4m);
  44682. return result;
  44683. }
  44684. return A.SassNumber_SassNumber(argument.assertColor$1("color")._alpha, null);
  44685. },
  44686. $signature: 4
  44687. };
  44688. A.module_closure7.prototype = {
  44689. call$1($arguments) {
  44690. var result,
  44691. t1 = J.getInterceptor$asx($arguments);
  44692. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure1())) {
  44693. result = A._functionString("alpha", $arguments);
  44694. t1 = result.toString$0(0);
  44695. A.EvaluationContext_current().warn$2(0, string$.Using_c + t1, B.Deprecation_s4m);
  44696. return result;
  44697. }
  44698. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  44699. },
  44700. $signature: 18
  44701. };
  44702. A.module__closure1.prototype = {
  44703. call$1(argument) {
  44704. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  44705. },
  44706. $signature: 61
  44707. };
  44708. A.module_closure8.prototype = {
  44709. call$1($arguments) {
  44710. var result, t2,
  44711. t1 = J.getInterceptor$asx($arguments);
  44712. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  44713. result = A._functionString("opacity", $arguments);
  44714. t1 = A.S(t1.$index($arguments, 0));
  44715. t2 = result.toString$0(0);
  44716. A.EvaluationContext_current().warn$2(0, "Passing a number (" + t1 + string$.x20to_co + t2, B.Deprecation_s4m);
  44717. return result;
  44718. }
  44719. return A.SassNumber_SassNumber(t1.$index($arguments, 0).assertColor$1("color")._alpha, null);
  44720. },
  44721. $signature: 4
  44722. };
  44723. A._red_closure.prototype = {
  44724. call$1($arguments) {
  44725. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  44726. return A.SassNumber_SassNumber(t1.get$red(t1), null);
  44727. },
  44728. $signature: 11
  44729. };
  44730. A._green_closure.prototype = {
  44731. call$1($arguments) {
  44732. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  44733. return A.SassNumber_SassNumber(t1.get$green(t1), null);
  44734. },
  44735. $signature: 11
  44736. };
  44737. A._blue_closure.prototype = {
  44738. call$1($arguments) {
  44739. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  44740. return A.SassNumber_SassNumber(t1.get$blue(t1), null);
  44741. },
  44742. $signature: 11
  44743. };
  44744. A._mix_closure.prototype = {
  44745. call$1($arguments) {
  44746. var t1 = J.getInterceptor$asx($arguments);
  44747. return A._mixColors(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
  44748. },
  44749. $signature: 24
  44750. };
  44751. A._hue_closure.prototype = {
  44752. call$1($arguments) {
  44753. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  44754. return A.SassNumber_SassNumber(t1.get$hue(t1), "deg");
  44755. },
  44756. $signature: 11
  44757. };
  44758. A._saturation_closure.prototype = {
  44759. call$1($arguments) {
  44760. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  44761. return A.SassNumber_SassNumber(t1.get$saturation(t1), "%");
  44762. },
  44763. $signature: 11
  44764. };
  44765. A._lightness_closure.prototype = {
  44766. call$1($arguments) {
  44767. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  44768. return A.SassNumber_SassNumber(t1.get$lightness(t1), "%");
  44769. },
  44770. $signature: 11
  44771. };
  44772. A._complement_closure.prototype = {
  44773. call$1($arguments) {
  44774. var color = J.$index$asx($arguments, 0).assertColor$1("color");
  44775. return color.changeHsl$1$hue(color.get$hue(color) + 180);
  44776. },
  44777. $signature: 24
  44778. };
  44779. A._adjust_closure.prototype = {
  44780. call$1($arguments) {
  44781. return A._updateComponents($arguments, true, false, false);
  44782. },
  44783. $signature: 24
  44784. };
  44785. A._scale_closure.prototype = {
  44786. call$1($arguments) {
  44787. return A._updateComponents($arguments, false, false, true);
  44788. },
  44789. $signature: 24
  44790. };
  44791. A._change_closure.prototype = {
  44792. call$1($arguments) {
  44793. return A._updateComponents($arguments, false, true, false);
  44794. },
  44795. $signature: 24
  44796. };
  44797. A._ieHexStr_closure.prototype = {
  44798. call$1($arguments) {
  44799. var color = J.$index$asx($arguments, 0).assertColor$1("color"),
  44800. t1 = new A._ieHexStr_closure_hexString();
  44801. 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);
  44802. },
  44803. $signature: 18
  44804. };
  44805. A._ieHexStr_closure_hexString.prototype = {
  44806. call$1(component) {
  44807. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
  44808. },
  44809. $signature: 191
  44810. };
  44811. A._updateComponents_getParam.prototype = {
  44812. call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, checkPercent, checkUnitless) {
  44813. var t2, t3, t4, _this = this,
  44814. t1 = _this.keywords.remove$1(0, $name),
  44815. number = t1 == null ? null : t1.assertNumber$1($name);
  44816. if (number == null)
  44817. return null;
  44818. t1 = _this.scale;
  44819. t2 = !t1;
  44820. if (t2 && checkUnitless)
  44821. if (number.get$hasUnits()) {
  44822. t3 = number.get$unitString();
  44823. t4 = number.unitSuggestion$1($name);
  44824. A.EvaluationContext_current().warn$2(0, "$" + $name + ": Passing a number with unit " + t3 + string$.x20is_de + t4 + string$.x0a_Morex3a, B.Deprecation_8WR);
  44825. }
  44826. if (t2 && checkPercent)
  44827. A._checkPercent(number, $name);
  44828. if (!t2 || assertPercent)
  44829. number.assertUnit$2("%", $name);
  44830. if (t1)
  44831. max = 100;
  44832. if (!t2 || assertPercent)
  44833. t1 = number.valueInRange$3(_this.change ? 0 : -max, max, $name);
  44834. else {
  44835. t1 = _this.change ? 0 : -max;
  44836. t1 = number.valueInRangeWithUnit$4(t1, max, $name, checkPercent ? "%" : "");
  44837. }
  44838. return t1;
  44839. },
  44840. call$2($name, max) {
  44841. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, false);
  44842. },
  44843. call$3$checkUnitless($name, max, checkUnitless) {
  44844. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, checkUnitless);
  44845. },
  44846. call$3$checkPercent($name, max, checkPercent) {
  44847. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, checkPercent, false);
  44848. },
  44849. call$3$assertPercent($name, max, assertPercent) {
  44850. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, false, false);
  44851. },
  44852. $signature: 190
  44853. };
  44854. A._updateComponents_closure.prototype = {
  44855. call$1(hue) {
  44856. return A._angleValue(hue, "hue");
  44857. },
  44858. $signature: 76
  44859. };
  44860. A._updateComponents_closure0.prototype = {
  44861. call$1($name) {
  44862. return "$" + $name;
  44863. },
  44864. $signature: 5
  44865. };
  44866. A._updateComponents_updateValue.prototype = {
  44867. call$3(current, param, max) {
  44868. var t1;
  44869. if (param == null)
  44870. return current;
  44871. if (this.change)
  44872. return param;
  44873. if (this.adjust)
  44874. return B.JSNumber_methods.clamp$2(current + param, 0, max);
  44875. t1 = param > 0 ? max - current : current;
  44876. return current + t1 * (param / 100);
  44877. },
  44878. $signature: 184
  44879. };
  44880. A._updateComponents_updateRgb.prototype = {
  44881. call$2(current, param) {
  44882. return A.fuzzyRound(this.updateValue.call$3(current, param, 255));
  44883. },
  44884. $signature: 183
  44885. };
  44886. A._functionString_closure.prototype = {
  44887. call$1(argument) {
  44888. return A.serializeValue(argument, false, true);
  44889. },
  44890. $signature: 265
  44891. };
  44892. A._removedColorFunction_closure.prototype = {
  44893. call$1($arguments) {
  44894. var t1 = this.name,
  44895. t2 = J.getInterceptor$asx($arguments),
  44896. t3 = A.S(t2.$index($arguments, 0)),
  44897. t4 = this.negative ? "-" : "";
  44898. 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));
  44899. },
  44900. $signature: 267
  44901. };
  44902. A._rgb_closure.prototype = {
  44903. call$1(alpha) {
  44904. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  44905. },
  44906. $signature: 76
  44907. };
  44908. A._hsl_closure.prototype = {
  44909. call$1(alpha) {
  44910. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  44911. },
  44912. $signature: 76
  44913. };
  44914. A._hwb_closure.prototype = {
  44915. call$1(alpha) {
  44916. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  44917. },
  44918. $signature: 76
  44919. };
  44920. A._parseChannels_closure.prototype = {
  44921. call$1(value) {
  44922. return value.get$isVar();
  44923. },
  44924. $signature: 61
  44925. };
  44926. A._length_closure0.prototype = {
  44927. call$1($arguments) {
  44928. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).get$asList().length, null);
  44929. },
  44930. $signature: 11
  44931. };
  44932. A._nth_closure.prototype = {
  44933. call$1($arguments) {
  44934. var t1 = J.getInterceptor$asx($arguments),
  44935. list = t1.$index($arguments, 0),
  44936. index = t1.$index($arguments, 1);
  44937. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  44938. },
  44939. $signature: 4
  44940. };
  44941. A._setNth_closure.prototype = {
  44942. call$1($arguments) {
  44943. var t1 = J.getInterceptor$asx($arguments),
  44944. list = t1.$index($arguments, 0),
  44945. index = t1.$index($arguments, 1),
  44946. value = t1.$index($arguments, 2),
  44947. t2 = list.get$asList(),
  44948. newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  44949. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  44950. return t1.$index($arguments, 0).withListContents$1(newList);
  44951. },
  44952. $signature: 22
  44953. };
  44954. A._join_closure.prototype = {
  44955. call$1($arguments) {
  44956. var separator, bracketed,
  44957. t1 = J.getInterceptor$asx($arguments),
  44958. list1 = t1.$index($arguments, 0),
  44959. list2 = t1.$index($arguments, 1),
  44960. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  44961. bracketedParam = t1.$index($arguments, 3);
  44962. t1 = separatorParam._string$_text;
  44963. if (t1 === "auto")
  44964. if (list1.get$separator(list1) !== B.ListSeparator_undecided_null_undecided)
  44965. separator = list1.get$separator(list1);
  44966. else
  44967. separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null_undecided ? list2.get$separator(list2) : B.ListSeparator_EVt;
  44968. else if (t1 === "space")
  44969. separator = B.ListSeparator_EVt;
  44970. else if (t1 === "comma")
  44971. separator = B.ListSeparator_rXA;
  44972. else {
  44973. if (t1 !== "slash")
  44974. throw A.wrapException(A.SassScriptException$(string$.x24separ, null));
  44975. separator = B.ListSeparator_zg9;
  44976. }
  44977. bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  44978. t1 = A.List_List$of(list1.get$asList(), true, type$.Value);
  44979. B.JSArray_methods.addAll$1(t1, list2.get$asList());
  44980. return A.SassList$(t1, separator, bracketed);
  44981. },
  44982. $signature: 22
  44983. };
  44984. A._append_closure0.prototype = {
  44985. call$1($arguments) {
  44986. var separator,
  44987. t1 = J.getInterceptor$asx($arguments),
  44988. list = t1.$index($arguments, 0),
  44989. value = t1.$index($arguments, 1);
  44990. t1 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
  44991. if (t1 === "auto")
  44992. separator = list.get$separator(list) === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_EVt : list.get$separator(list);
  44993. else if (t1 === "space")
  44994. separator = B.ListSeparator_EVt;
  44995. else if (t1 === "comma")
  44996. separator = B.ListSeparator_rXA;
  44997. else {
  44998. if (t1 !== "slash")
  44999. throw A.wrapException(A.SassScriptException$(string$.x24separ, null));
  45000. separator = B.ListSeparator_zg9;
  45001. }
  45002. t1 = A.List_List$of(list.get$asList(), true, type$.Value);
  45003. t1.push(value);
  45004. return list.withListContents$2$separator(t1, separator);
  45005. },
  45006. $signature: 22
  45007. };
  45008. A._zip_closure.prototype = {
  45009. call$1($arguments) {
  45010. var results, result, _box_0 = {},
  45011. t1 = J.$index$asx($arguments, 0).get$asList(),
  45012. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
  45013. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure(), t2), true, t2._eval$1("ListIterable.E"));
  45014. if (lists.length === 0)
  45015. return B.SassList_Sof;
  45016. _box_0.i = 0;
  45017. results = A._setArrayType([], type$.JSArray_SassList);
  45018. 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));) {
  45019. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
  45020. result.fixed$length = Array;
  45021. result.immutable$list = Array;
  45022. results.push(new A.SassList(result, B.ListSeparator_EVt, false));
  45023. ++_box_0.i;
  45024. }
  45025. return A.SassList$(results, B.ListSeparator_rXA, false);
  45026. },
  45027. $signature: 22
  45028. };
  45029. A._zip__closure.prototype = {
  45030. call$1(list) {
  45031. return list.get$asList();
  45032. },
  45033. $signature: 273
  45034. };
  45035. A._zip__closure0.prototype = {
  45036. call$1(list) {
  45037. return this._box_0.i !== J.get$length$asx(list);
  45038. },
  45039. $signature: 280
  45040. };
  45041. A._zip__closure1.prototype = {
  45042. call$1(list) {
  45043. return J.$index$asx(list, this._box_0.i);
  45044. },
  45045. $signature: 4
  45046. };
  45047. A._index_closure0.prototype = {
  45048. call$1($arguments) {
  45049. var t1 = J.getInterceptor$asx($arguments),
  45050. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  45051. return index === -1 ? B.C__SassNull : A.SassNumber_SassNumber(index + 1, null);
  45052. },
  45053. $signature: 4
  45054. };
  45055. A._separator_closure.prototype = {
  45056. call$1($arguments) {
  45057. switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
  45058. case B.ListSeparator_rXA:
  45059. return new A.SassString("comma", false);
  45060. case B.ListSeparator_zg9:
  45061. return new A.SassString("slash", false);
  45062. default:
  45063. return new A.SassString("space", false);
  45064. }
  45065. },
  45066. $signature: 18
  45067. };
  45068. A._isBracketed_closure.prototype = {
  45069. call$1($arguments) {
  45070. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
  45071. },
  45072. $signature: 19
  45073. };
  45074. A._slash_closure.prototype = {
  45075. call$1($arguments) {
  45076. var list = J.$index$asx($arguments, 0).get$asList();
  45077. if (list.length < 2)
  45078. throw A.wrapException(A.SassScriptException$("At least two elements are required.", null));
  45079. return A.SassList$(list, B.ListSeparator_zg9, false);
  45080. },
  45081. $signature: 22
  45082. };
  45083. A._get_closure.prototype = {
  45084. call$1($arguments) {
  45085. var value,
  45086. t1 = J.getInterceptor$asx($arguments),
  45087. map = t1.$index($arguments, 0).assertMap$1("map"),
  45088. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  45089. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  45090. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  45091. value = map._map$_contents.$index(0, t1.get$current(t1));
  45092. if (!(value instanceof A.SassMap))
  45093. return B.C__SassNull;
  45094. }
  45095. t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
  45096. return t1 == null ? B.C__SassNull : t1;
  45097. },
  45098. $signature: 4
  45099. };
  45100. A._set_closure.prototype = {
  45101. call$1($arguments) {
  45102. var t1 = J.getInterceptor$asx($arguments);
  45103. 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);
  45104. },
  45105. $signature: 4
  45106. };
  45107. A._set__closure0.prototype = {
  45108. call$1(_) {
  45109. return J.$index$asx(this.$arguments, 2);
  45110. },
  45111. $signature: 35
  45112. };
  45113. A._set_closure0.prototype = {
  45114. call$1($arguments) {
  45115. var t1 = J.getInterceptor$asx($arguments),
  45116. map = t1.$index($arguments, 0).assertMap$1("map"),
  45117. args = t1.$index($arguments, 1).get$asList();
  45118. t1 = args.length;
  45119. if (t1 === 0)
  45120. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", null));
  45121. else if (t1 === 1)
  45122. throw A.wrapException(A.SassScriptException$("Expected $args to contain a value.", null));
  45123. return A._modify(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure(args), true);
  45124. },
  45125. $signature: 4
  45126. };
  45127. A._set__closure.prototype = {
  45128. call$1(_) {
  45129. return B.JSArray_methods.get$last(this.args);
  45130. },
  45131. $signature: 35
  45132. };
  45133. A._merge_closure.prototype = {
  45134. call$1($arguments) {
  45135. var t2,
  45136. t1 = J.getInterceptor$asx($arguments),
  45137. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  45138. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  45139. t1 = type$.Value;
  45140. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map$_contents, t1, t1);
  45141. t2.addAll$1(0, map2._map$_contents);
  45142. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  45143. },
  45144. $signature: 36
  45145. };
  45146. A._merge_closure0.prototype = {
  45147. call$1($arguments) {
  45148. var map2,
  45149. t1 = J.getInterceptor$asx($arguments),
  45150. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  45151. args = t1.$index($arguments, 1).get$asList();
  45152. t1 = args.length;
  45153. if (t1 === 0)
  45154. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", null));
  45155. else if (t1 === 1)
  45156. throw A.wrapException(A.SassScriptException$("Expected $args to contain a map.", null));
  45157. map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
  45158. return A._modify(map1, A.IterableExtension_get_exceptLast(args), new A._merge__closure(map2), true);
  45159. },
  45160. $signature: 4
  45161. };
  45162. A._merge__closure.prototype = {
  45163. call$1(oldValue) {
  45164. var t1, t2,
  45165. nestedMap = oldValue.tryMap$0();
  45166. if (nestedMap == null)
  45167. return this.map2;
  45168. t1 = type$.Value;
  45169. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  45170. t2.addAll$1(0, this.map2._map$_contents);
  45171. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  45172. },
  45173. $signature: 293
  45174. };
  45175. A._deepMerge_closure.prototype = {
  45176. call$1($arguments) {
  45177. var t1 = J.getInterceptor$asx($arguments);
  45178. return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  45179. },
  45180. $signature: 36
  45181. };
  45182. A._deepRemove_closure.prototype = {
  45183. call$1($arguments) {
  45184. var t1 = J.getInterceptor$asx($arguments),
  45185. map = t1.$index($arguments, 0).assertMap$1("map"),
  45186. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  45187. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  45188. return A._modify(map, A.IterableExtension_get_exceptLast(t2), new A._deepRemove__closure(t2), false);
  45189. },
  45190. $signature: 4
  45191. };
  45192. A._deepRemove__closure.prototype = {
  45193. call$1(value) {
  45194. var t1, t2,
  45195. nestedMap = value.tryMap$0();
  45196. if (nestedMap != null && nestedMap._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
  45197. t1 = type$.Value;
  45198. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  45199. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  45200. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  45201. }
  45202. return value;
  45203. },
  45204. $signature: 35
  45205. };
  45206. A._remove_closure.prototype = {
  45207. call$1($arguments) {
  45208. return J.$index$asx($arguments, 0).assertMap$1("map");
  45209. },
  45210. $signature: 36
  45211. };
  45212. A._remove_closure0.prototype = {
  45213. call$1($arguments) {
  45214. var mutableMap, t3, _i,
  45215. t1 = J.getInterceptor$asx($arguments),
  45216. map = t1.$index($arguments, 0).assertMap$1("map"),
  45217. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  45218. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  45219. t1 = type$.Value;
  45220. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
  45221. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  45222. mutableMap.remove$1(0, t2[_i]);
  45223. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  45224. },
  45225. $signature: 36
  45226. };
  45227. A._keys_closure.prototype = {
  45228. call$1($arguments) {
  45229. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  45230. return A.SassList$(t1.get$keys(t1), B.ListSeparator_rXA, false);
  45231. },
  45232. $signature: 22
  45233. };
  45234. A._values_closure.prototype = {
  45235. call$1($arguments) {
  45236. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  45237. return A.SassList$(t1.get$values(t1), B.ListSeparator_rXA, false);
  45238. },
  45239. $signature: 22
  45240. };
  45241. A._hasKey_closure.prototype = {
  45242. call$1($arguments) {
  45243. var value,
  45244. t1 = J.getInterceptor$asx($arguments),
  45245. map = t1.$index($arguments, 0).assertMap$1("map"),
  45246. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  45247. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  45248. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  45249. value = map._map$_contents.$index(0, t1.get$current(t1));
  45250. if (!(value instanceof A.SassMap))
  45251. return B.SassBoolean_false;
  45252. }
  45253. return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  45254. },
  45255. $signature: 19
  45256. };
  45257. A._modify_modifyNestedMap.prototype = {
  45258. call$1(map) {
  45259. var nestedMap, _this = this,
  45260. t1 = type$.Value,
  45261. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
  45262. t2 = _this.keyIterator,
  45263. key = t2.get$current(t2);
  45264. if (!t2.moveNext$0()) {
  45265. t2 = mutableMap.$index(0, key);
  45266. if (t2 == null)
  45267. t2 = B.C__SassNull;
  45268. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  45269. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  45270. }
  45271. t2 = mutableMap.$index(0, key);
  45272. nestedMap = t2 == null ? null : t2.tryMap$0();
  45273. t2 = nestedMap == null;
  45274. if (t2 && !_this.addNesting)
  45275. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  45276. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
  45277. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  45278. },
  45279. $signature: 294
  45280. };
  45281. A._deepMergeImpl_closure.prototype = {
  45282. call$2(key, value) {
  45283. var valueMap, merged,
  45284. t1 = this.result,
  45285. t2 = t1.$index(0, key),
  45286. resultMap = t2 == null ? null : t2.tryMap$0();
  45287. if (resultMap == null)
  45288. t1.$indexSet(0, key, value);
  45289. else {
  45290. valueMap = value.tryMap$0();
  45291. if (valueMap != null) {
  45292. merged = A._deepMergeImpl(resultMap, valueMap);
  45293. if (merged === resultMap)
  45294. return;
  45295. t1.$indexSet(0, key, merged);
  45296. } else
  45297. t1.$indexSet(0, key, value);
  45298. }
  45299. },
  45300. $signature: 49
  45301. };
  45302. A._ceil_closure.prototype = {
  45303. call$1(value) {
  45304. return B.JSNumber_methods.ceil$0(value);
  45305. },
  45306. $signature: 32
  45307. };
  45308. A._clamp_closure.prototype = {
  45309. call$1($arguments) {
  45310. var t1 = J.getInterceptor$asx($arguments),
  45311. min = t1.$index($arguments, 0).assertNumber$1("min"),
  45312. number = t1.$index($arguments, 1).assertNumber$1("number"),
  45313. max = t1.$index($arguments, 2).assertNumber$1("max");
  45314. number.convertValueToMatch$3(min, "number", "min");
  45315. max.convertValueToMatch$3(min, "max", "min");
  45316. if (min.greaterThanOrEquals$1(max).value)
  45317. return min;
  45318. if (min.greaterThanOrEquals$1(number).value)
  45319. return min;
  45320. if (number.greaterThanOrEquals$1(max).value)
  45321. return max;
  45322. return number;
  45323. },
  45324. $signature: 11
  45325. };
  45326. A._floor_closure.prototype = {
  45327. call$1(value) {
  45328. return B.JSNumber_methods.floor$0(value);
  45329. },
  45330. $signature: 32
  45331. };
  45332. A._max_closure.prototype = {
  45333. call$1($arguments) {
  45334. var t1, t2, max, _i, number;
  45335. 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) {
  45336. number = t1[_i].assertNumber$0();
  45337. if (max == null || max.lessThan$1(number).value)
  45338. max = number;
  45339. }
  45340. if (max != null)
  45341. return max;
  45342. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  45343. },
  45344. $signature: 11
  45345. };
  45346. A._min_closure.prototype = {
  45347. call$1($arguments) {
  45348. var t1, t2, min, _i, number;
  45349. 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) {
  45350. number = t1[_i].assertNumber$0();
  45351. if (min == null || min.greaterThan$1(number).value)
  45352. min = number;
  45353. }
  45354. if (min != null)
  45355. return min;
  45356. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  45357. },
  45358. $signature: 11
  45359. };
  45360. A._round_closure.prototype = {
  45361. call$1(number) {
  45362. return B.JSNumber_methods.round$0(number);
  45363. },
  45364. $signature: 32
  45365. };
  45366. A._abs_closure.prototype = {
  45367. call$1(value) {
  45368. return Math.abs(value);
  45369. },
  45370. $signature: 32
  45371. };
  45372. A._hypot_closure.prototype = {
  45373. call$1($arguments) {
  45374. var subtotal, i, i0, t3, t4,
  45375. t1 = J.$index$asx($arguments, 0).get$asList(),
  45376. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
  45377. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), true, t2._eval$1("ListIterable.E"));
  45378. t1 = numbers.length;
  45379. if (t1 === 0)
  45380. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  45381. for (subtotal = 0, i = 0; i < t1; i = i0) {
  45382. i0 = i + 1;
  45383. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  45384. }
  45385. t1 = Math.sqrt(subtotal);
  45386. t2 = numbers[0];
  45387. t3 = J.getInterceptor$x(t2);
  45388. t4 = t3.get$numeratorUnits(t2);
  45389. return A.SassNumber_SassNumber$withUnits(t1, t3.get$denominatorUnits(t2), t4);
  45390. },
  45391. $signature: 11
  45392. };
  45393. A._hypot__closure.prototype = {
  45394. call$1(argument) {
  45395. return argument.assertNumber$0();
  45396. },
  45397. $signature: 298
  45398. };
  45399. A._log_closure.prototype = {
  45400. call$1($arguments) {
  45401. var base,
  45402. _s18_ = " to have no units.",
  45403. _null = null,
  45404. t1 = J.getInterceptor$asx($arguments),
  45405. number = t1.$index($arguments, 0).assertNumber$1("number");
  45406. if (number.get$hasUnits())
  45407. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_, _null));
  45408. else if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull))
  45409. return A.SassNumber_SassNumber(Math.log(number._number$_value), _null);
  45410. base = t1.$index($arguments, 1).assertNumber$1("base");
  45411. if (base.get$hasUnits())
  45412. throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_, _null));
  45413. else
  45414. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), _null);
  45415. },
  45416. $signature: 11
  45417. };
  45418. A._pow_closure.prototype = {
  45419. call$1($arguments) {
  45420. var _s18_ = " to have no units.",
  45421. t1 = J.getInterceptor$asx($arguments),
  45422. base = t1.$index($arguments, 0).assertNumber$1("base"),
  45423. exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
  45424. if (base.get$hasUnits())
  45425. throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_, null));
  45426. else if (exponent.get$hasUnits())
  45427. throw A.wrapException(A.SassScriptException$("$exponent: Expected " + exponent.toString$0(0) + _s18_, null));
  45428. else
  45429. return A.SassNumber_SassNumber(Math.pow(base._number$_value, exponent._number$_value), null);
  45430. },
  45431. $signature: 11
  45432. };
  45433. A._sqrt_closure.prototype = {
  45434. call$1($arguments) {
  45435. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  45436. if (number.get$hasUnits())
  45437. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  45438. else
  45439. return A.SassNumber_SassNumber(Math.sqrt(number._number$_value), null);
  45440. },
  45441. $signature: 11
  45442. };
  45443. A._acos_closure.prototype = {
  45444. call$1($arguments) {
  45445. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  45446. if (number.get$hasUnits())
  45447. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  45448. else
  45449. return A.SassNumber_SassNumber$withUnits(Math.acos(number._number$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  45450. },
  45451. $signature: 11
  45452. };
  45453. A._asin_closure.prototype = {
  45454. call$1($arguments) {
  45455. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  45456. if (number.get$hasUnits())
  45457. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  45458. else
  45459. return A.SassNumber_SassNumber$withUnits(Math.asin(number._number$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  45460. },
  45461. $signature: 11
  45462. };
  45463. A._atan_closure.prototype = {
  45464. call$1($arguments) {
  45465. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  45466. if (number.get$hasUnits())
  45467. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  45468. else
  45469. return A.SassNumber_SassNumber$withUnits(Math.atan(number._number$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  45470. },
  45471. $signature: 11
  45472. };
  45473. A._atan2_closure.prototype = {
  45474. call$1($arguments) {
  45475. var t1 = J.getInterceptor$asx($arguments),
  45476. y = t1.$index($arguments, 0).assertNumber$1("y");
  45477. 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));
  45478. },
  45479. $signature: 11
  45480. };
  45481. A._cos_closure.prototype = {
  45482. call$1($arguments) {
  45483. return A.SassNumber_SassNumber(Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  45484. },
  45485. $signature: 11
  45486. };
  45487. A._sin_closure.prototype = {
  45488. call$1($arguments) {
  45489. return A.SassNumber_SassNumber(Math.sin(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  45490. },
  45491. $signature: 11
  45492. };
  45493. A._tan_closure.prototype = {
  45494. call$1($arguments) {
  45495. return A.SassNumber_SassNumber(Math.tan(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  45496. },
  45497. $signature: 11
  45498. };
  45499. A._compatible_closure.prototype = {
  45500. call$1($arguments) {
  45501. var t1 = J.getInterceptor$asx($arguments);
  45502. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
  45503. },
  45504. $signature: 19
  45505. };
  45506. A._isUnitless_closure.prototype = {
  45507. call$1($arguments) {
  45508. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
  45509. },
  45510. $signature: 19
  45511. };
  45512. A._unit_closure.prototype = {
  45513. call$1($arguments) {
  45514. return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  45515. },
  45516. $signature: 18
  45517. };
  45518. A._percentage_closure.prototype = {
  45519. call$1($arguments) {
  45520. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  45521. number.assertNoUnits$1("number");
  45522. return A.SassNumber_SassNumber(number._number$_value * 100, "%");
  45523. },
  45524. $signature: 11
  45525. };
  45526. A._randomFunction_closure.prototype = {
  45527. call$1($arguments) {
  45528. var limit, t2, t3, t4, limitScalar,
  45529. t1 = J.getInterceptor$asx($arguments);
  45530. if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull))
  45531. return A.SassNumber_SassNumber($.$get$_random0().nextDouble$0(), null);
  45532. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  45533. if (limit.get$hasUnits()) {
  45534. t1 = limit.toString$0(0);
  45535. t2 = limit.get$unitString();
  45536. t3 = limit.get$unitString();
  45537. t4 = limit.get$unitString();
  45538. 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);
  45539. }
  45540. limitScalar = limit.assertInt$1("limit");
  45541. if (limitScalar < 1)
  45542. throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  45543. return A.SassNumber_SassNumber($.$get$_random0().nextInt$1(limitScalar) + 1, null);
  45544. },
  45545. $signature: 11
  45546. };
  45547. A._div_closure.prototype = {
  45548. call$1($arguments) {
  45549. var t1 = J.getInterceptor$asx($arguments),
  45550. number1 = t1.$index($arguments, 0),
  45551. number2 = t1.$index($arguments, 1);
  45552. if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber)) {
  45553. t1 = A.EvaluationContext_current();
  45554. t1.warn$2(0, string$.math_d, null);
  45555. }
  45556. return number1.dividedBy$1(number2);
  45557. },
  45558. $signature: 4
  45559. };
  45560. A._numberFunction_closure.prototype = {
  45561. call$1($arguments) {
  45562. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  45563. t1 = this.transform.call$1(number._number$_value),
  45564. t2 = number.get$numeratorUnits(number);
  45565. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  45566. },
  45567. $signature: 11
  45568. };
  45569. A.global_closure26.prototype = {
  45570. call$1($arguments) {
  45571. return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  45572. },
  45573. $signature: 19
  45574. };
  45575. A.global_closure27.prototype = {
  45576. call$1($arguments) {
  45577. return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
  45578. },
  45579. $signature: 18
  45580. };
  45581. A.global_closure28.prototype = {
  45582. call$1($arguments) {
  45583. var value = J.$index$asx($arguments, 0);
  45584. if (value instanceof A.SassArgumentList)
  45585. return new A.SassString("arglist", false);
  45586. if (value instanceof A.SassBoolean)
  45587. return new A.SassString("bool", false);
  45588. if (value instanceof A.SassColor)
  45589. return new A.SassString("color", false);
  45590. if (value instanceof A.SassList)
  45591. return new A.SassString("list", false);
  45592. if (value instanceof A.SassMap)
  45593. return new A.SassString("map", false);
  45594. if (value.$eq(0, B.C__SassNull))
  45595. return new A.SassString("null", false);
  45596. if (value instanceof A.SassNumber)
  45597. return new A.SassString("number", false);
  45598. if (value instanceof A.SassFunction)
  45599. return new A.SassString("function", false);
  45600. if (value instanceof A.SassCalculation)
  45601. return new A.SassString("calculation", false);
  45602. return new A.SassString("string", false);
  45603. },
  45604. $signature: 18
  45605. };
  45606. A.global_closure29.prototype = {
  45607. call$1($arguments) {
  45608. var t1, t2, t3, t4,
  45609. argumentList = J.$index$asx($arguments, 0);
  45610. if (argumentList instanceof A.SassArgumentList) {
  45611. t1 = type$.Value;
  45612. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  45613. for (argumentList._wereKeywordsAccessed = true, t3 = argumentList._keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  45614. t4 = t3.get$current(t3);
  45615. t2.$indexSet(0, new A.SassString(t4.key, false), t4.value);
  45616. }
  45617. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  45618. } else
  45619. throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
  45620. },
  45621. $signature: 36
  45622. };
  45623. A.local_closure.prototype = {
  45624. call$1($arguments) {
  45625. return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  45626. },
  45627. $signature: 18
  45628. };
  45629. A.local_closure0.prototype = {
  45630. call$1($arguments) {
  45631. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  45632. return A.SassList$(new A.MappedListIterable(t1, new A.local__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_rXA, false);
  45633. },
  45634. $signature: 22
  45635. };
  45636. A.local__closure.prototype = {
  45637. call$1(argument) {
  45638. if (argument instanceof A.Value)
  45639. return argument;
  45640. return new A.SassString(J.toString$0$(argument), false);
  45641. },
  45642. $signature: 300
  45643. };
  45644. A._nest_closure.prototype = {
  45645. call$1($arguments) {
  45646. var t1 = {},
  45647. selectors = J.$index$asx($arguments, 0).get$asList();
  45648. if (selectors.length === 0)
  45649. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  45650. t1.first = true;
  45651. 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();
  45652. },
  45653. $signature: 22
  45654. };
  45655. A._nest__closure.prototype = {
  45656. call$1(selector) {
  45657. var t1 = this._box_0,
  45658. result = A.SassApiValue_assertSelector(selector, !t1.first, null);
  45659. t1.first = false;
  45660. return result;
  45661. },
  45662. $signature: 182
  45663. };
  45664. A._nest__closure0.prototype = {
  45665. call$2($parent, child) {
  45666. return child.resolveParentSelectors$1($parent);
  45667. },
  45668. $signature: 181
  45669. };
  45670. A._append_closure.prototype = {
  45671. call$1($arguments) {
  45672. var selectors = J.$index$asx($arguments, 0).get$asList();
  45673. if (selectors.length === 0)
  45674. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  45675. 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();
  45676. },
  45677. $signature: 22
  45678. };
  45679. A._append__closure.prototype = {
  45680. call$1(selector) {
  45681. return A.SassApiValue_assertSelector(selector, false, null);
  45682. },
  45683. $signature: 182
  45684. };
  45685. A._append__closure0.prototype = {
  45686. call$2($parent, child) {
  45687. var t1 = child.components,
  45688. t2 = this.span;
  45689. 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);
  45690. },
  45691. $signature: 181
  45692. };
  45693. A._append___closure.prototype = {
  45694. call$1(complex) {
  45695. var t1, component, newCompound, t2, t3;
  45696. if (complex.leadingCombinators.length !== 0)
  45697. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", null));
  45698. t1 = complex.components;
  45699. component = B.JSArray_methods.get$first(t1);
  45700. newCompound = A._prependParent(component.selector);
  45701. if (newCompound == null)
  45702. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", null));
  45703. t2 = this.span;
  45704. t3 = A._setArrayType([new A.ComplexSelectorComponent(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator), t2)], type$.JSArray_ComplexSelectorComponent);
  45705. B.JSArray_methods.addAll$1(t3, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
  45706. return A.ComplexSelector$(B.List_empty1, t3, t2, false);
  45707. },
  45708. $signature: 53
  45709. };
  45710. A._extend_closure.prototype = {
  45711. call$1($arguments) {
  45712. var target, source,
  45713. _s8_ = "selector",
  45714. _s8_0 = "extendee",
  45715. _s8_1 = "extender",
  45716. t1 = J.getInterceptor$asx($arguments),
  45717. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  45718. selector.assertNotBogus$1$name(_s8_);
  45719. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  45720. target.assertNotBogus$1$name(_s8_0);
  45721. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s8_1);
  45722. source.assertNotBogus$1$name(_s8_1);
  45723. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_allTargets_allTargets, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
  45724. },
  45725. $signature: 22
  45726. };
  45727. A._replace_closure.prototype = {
  45728. call$1($arguments) {
  45729. var target, source,
  45730. _s8_ = "selector",
  45731. _s8_0 = "original",
  45732. _s11_ = "replacement",
  45733. t1 = J.getInterceptor$asx($arguments),
  45734. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  45735. selector.assertNotBogus$1$name(_s8_);
  45736. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  45737. target.assertNotBogus$1$name(_s8_0);
  45738. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s11_);
  45739. source.assertNotBogus$1$name(_s11_);
  45740. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_replace_replace, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
  45741. },
  45742. $signature: 22
  45743. };
  45744. A._unify_closure.prototype = {
  45745. call$1($arguments) {
  45746. var selector2, result,
  45747. _s9_ = "selector1",
  45748. _s9_0 = "selector2",
  45749. t1 = J.getInterceptor$asx($arguments),
  45750. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s9_);
  45751. selector1.assertNotBogus$1$name(_s9_);
  45752. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s9_0);
  45753. selector2.assertNotBogus$1$name(_s9_0);
  45754. result = selector1.unify$1(selector2);
  45755. return result == null ? B.C__SassNull : result.get$asSassList();
  45756. },
  45757. $signature: 4
  45758. };
  45759. A._isSuperselector_closure.prototype = {
  45760. call$1($arguments) {
  45761. var selector2,
  45762. t1 = J.getInterceptor$asx($arguments),
  45763. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, "super");
  45764. selector1.assertNotBogus$1$name("super");
  45765. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, "sub");
  45766. selector2.assertNotBogus$1$name("sub");
  45767. return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
  45768. },
  45769. $signature: 19
  45770. };
  45771. A._simpleSelectors_closure.prototype = {
  45772. call$1($arguments) {
  45773. var t1 = A.SassApiValue_assertCompoundSelector(J.$index$asx($arguments, 0), "selector").components;
  45774. return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_rXA, false);
  45775. },
  45776. $signature: 22
  45777. };
  45778. A._simpleSelectors__closure.prototype = {
  45779. call$1(simple) {
  45780. return new A.SassString(A.serializeSelector(simple, true), false);
  45781. },
  45782. $signature: 307
  45783. };
  45784. A._parse_closure.prototype = {
  45785. call$1($arguments) {
  45786. return A.SassApiValue_assertSelector(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  45787. },
  45788. $signature: 22
  45789. };
  45790. A.module_closure.prototype = {
  45791. call$1($arguments) {
  45792. var limit, t2, chunks, i, lastEnd, match, t3,
  45793. t1 = J.getInterceptor$asx($arguments),
  45794. string = t1.$index($arguments, 0).assertString$1("string"),
  45795. separator = t1.$index($arguments, 1).assertString$1("separator");
  45796. t1 = t1.$index($arguments, 2).get$realNull();
  45797. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  45798. if (limit != null && limit < 1)
  45799. throw A.wrapException(A.SassScriptException$("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  45800. t1 = string._string$_text;
  45801. if (t1.length === 0)
  45802. return B.SassList_Sof0;
  45803. else {
  45804. t2 = separator._string$_text;
  45805. if (t2.length === 0)
  45806. 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);
  45807. }
  45808. chunks = A._setArrayType([], type$.JSArray_String);
  45809. 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();) {
  45810. match = t2.__js_helper$_current;
  45811. t3 = match.start;
  45812. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  45813. lastEnd = t3 + match.pattern.length;
  45814. ++i;
  45815. if (i === limit)
  45816. break;
  45817. }
  45818. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  45819. return A.SassList$(new A.MappedListIterable(chunks, new A.module__closure0(string), type$.MappedListIterable_String_Value), B.ListSeparator_rXA, true);
  45820. },
  45821. $signature: 22
  45822. };
  45823. A.module__closure.prototype = {
  45824. call$1(rune) {
  45825. return new A.SassString(A.Primitives_stringFromCharCode(rune), this.string._hasQuotes);
  45826. },
  45827. $signature: 308
  45828. };
  45829. A.module__closure0.prototype = {
  45830. call$1(chunk) {
  45831. return new A.SassString(chunk, this.string._hasQuotes);
  45832. },
  45833. $signature: 312
  45834. };
  45835. A._unquote_closure.prototype = {
  45836. call$1($arguments) {
  45837. var string = J.$index$asx($arguments, 0).assertString$1("string");
  45838. if (!string._hasQuotes)
  45839. return string;
  45840. return new A.SassString(string._string$_text, false);
  45841. },
  45842. $signature: 18
  45843. };
  45844. A._quote_closure.prototype = {
  45845. call$1($arguments) {
  45846. var string = J.$index$asx($arguments, 0).assertString$1("string");
  45847. if (string._hasQuotes)
  45848. return string;
  45849. return new A.SassString(string._string$_text, true);
  45850. },
  45851. $signature: 18
  45852. };
  45853. A._length_closure.prototype = {
  45854. call$1($arguments) {
  45855. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength(), null);
  45856. },
  45857. $signature: 11
  45858. };
  45859. A._insert_closure.prototype = {
  45860. call$1($arguments) {
  45861. var indexInt, codeUnitIndex, _s5_ = "index",
  45862. t1 = J.getInterceptor$asx($arguments),
  45863. string = t1.$index($arguments, 0).assertString$1("string"),
  45864. insert = t1.$index($arguments, 1).assertString$1("insert"),
  45865. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  45866. index.assertNoUnits$1(_s5_);
  45867. indexInt = index.assertInt$1(_s5_);
  45868. if (indexInt < 0)
  45869. indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
  45870. t1 = string._string$_text;
  45871. codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
  45872. return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
  45873. },
  45874. $signature: 18
  45875. };
  45876. A._index_closure.prototype = {
  45877. call$1($arguments) {
  45878. var t1 = J.getInterceptor$asx($arguments),
  45879. t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
  45880. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
  45881. if (codeUnitIndex === -1)
  45882. return B.C__SassNull;
  45883. return A.SassNumber_SassNumber(A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex) + 1, null);
  45884. },
  45885. $signature: 4
  45886. };
  45887. A._slice_closure.prototype = {
  45888. call$1($arguments) {
  45889. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  45890. _s8_ = "start-at",
  45891. t1 = J.getInterceptor$asx($arguments),
  45892. string = t1.$index($arguments, 0).assertString$1("string"),
  45893. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  45894. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  45895. start.assertNoUnits$1(_s8_);
  45896. end.assertNoUnits$1("end-at");
  45897. lengthInCodepoints = string.get$_sassLength();
  45898. endInt = end.assertInt$0();
  45899. if (endInt === 0)
  45900. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  45901. startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
  45902. endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
  45903. if (endCodepoint === lengthInCodepoints)
  45904. --endCodepoint;
  45905. if (endCodepoint < startCodepoint)
  45906. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  45907. t1 = string._string$_text;
  45908. return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
  45909. },
  45910. $signature: 18
  45911. };
  45912. A._toUpperCase_closure.prototype = {
  45913. call$1($arguments) {
  45914. var t1, t2, i, t3, t4,
  45915. string = J.$index$asx($arguments, 0).assertString$1("string");
  45916. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  45917. t4 = B.JSString_methods._codeUnitAt$1(t1, i);
  45918. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  45919. }
  45920. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  45921. },
  45922. $signature: 18
  45923. };
  45924. A._toLowerCase_closure.prototype = {
  45925. call$1($arguments) {
  45926. var t1, t2, i, t3, t4,
  45927. string = J.$index$asx($arguments, 0).assertString$1("string");
  45928. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  45929. t4 = B.JSString_methods._codeUnitAt$1(t1, i);
  45930. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  45931. }
  45932. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  45933. },
  45934. $signature: 18
  45935. };
  45936. A._uniqueId_closure.prototype = {
  45937. call$1($arguments) {
  45938. var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
  45939. $._previousUniqueId = t1;
  45940. if (t1 > Math.pow(36, 6))
  45941. $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
  45942. return new A.SassString("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId(), 36), 6, "0"), false);
  45943. },
  45944. $signature: 18
  45945. };
  45946. A.ImportCache.prototype = {
  45947. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  45948. var relativeResult, _this = this,
  45949. t1 = self.process;
  45950. if (t1 == null)
  45951. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && _this._importers.length === 0;
  45952. else
  45953. t1 = false;
  45954. if (t1)
  45955. throw A.wrapException(string$.Custom);
  45956. if (baseImporter != null) {
  45957. 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));
  45958. if (relativeResult != null)
  45959. return relativeResult;
  45960. }
  45961. return _this._canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure0(_this, url, forImport));
  45962. },
  45963. canonicalize$3$baseImporter$baseUrl($receiver, url, baseImporter, baseUrl) {
  45964. return this.canonicalize$4$baseImporter$baseUrl$forImport($receiver, url, baseImporter, baseUrl, false);
  45965. },
  45966. _canonicalize$3(importer, url, forImport) {
  45967. var t1, result;
  45968. if (forImport) {
  45969. t1 = type$.nullable_Object;
  45970. result = A.runZoned(new A.ImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
  45971. } else
  45972. result = importer.canonicalize$1(0, url);
  45973. if ((result == null ? null : result.get$scheme()) === "")
  45974. 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);
  45975. return result;
  45976. },
  45977. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  45978. return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl, quiet));
  45979. },
  45980. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  45981. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  45982. },
  45983. importCanonical$2(importer, canonicalUrl) {
  45984. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, null, false);
  45985. },
  45986. humanize$1(canonicalUrl) {
  45987. var t2, url,
  45988. t1 = this._canonicalizeCache;
  45989. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri);
  45990. t2 = t1.$ti;
  45991. 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());
  45992. if (url == null)
  45993. return canonicalUrl;
  45994. t1 = $.$get$url();
  45995. return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
  45996. },
  45997. sourceMapUrl$1(_, canonicalUrl) {
  45998. var t1 = this._resultsCache.$index(0, canonicalUrl);
  45999. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  46000. return t1 == null ? canonicalUrl : t1;
  46001. },
  46002. clearCanonicalize$1(url) {
  46003. var t3, t4, _i,
  46004. t1 = this._canonicalizeCache,
  46005. t2 = type$.Tuple2_Uri_bool;
  46006. t1.remove$1(0, new A.Tuple2(url, false, t2));
  46007. t1.remove$1(0, new A.Tuple2(url, true, t2));
  46008. t2 = A._setArrayType([], type$.JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri);
  46009. for (t1 = this._relativeCanonicalizeCache, t3 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t3.moveNext$0();) {
  46010. t4 = t3.__js_helper$_current;
  46011. if (t4.item1.$eq(0, url))
  46012. t2.push(t4);
  46013. }
  46014. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  46015. t1.remove$1(0, t2[_i]);
  46016. },
  46017. clearImport$1(canonicalUrl) {
  46018. this._resultsCache.remove$1(0, canonicalUrl);
  46019. this._importCache.remove$1(0, canonicalUrl);
  46020. }
  46021. };
  46022. A.ImportCache_canonicalize_closure.prototype = {
  46023. call$0() {
  46024. var canonicalUrl, _this = this,
  46025. t1 = _this.baseUrl,
  46026. resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
  46027. if (resolvedUrl == null)
  46028. resolvedUrl = _this.url;
  46029. t1 = _this.baseImporter;
  46030. canonicalUrl = _this.$this._canonicalize$3(t1, resolvedUrl, _this.forImport);
  46031. if (canonicalUrl == null)
  46032. return null;
  46033. return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri);
  46034. },
  46035. $signature: 77
  46036. };
  46037. A.ImportCache_canonicalize_closure0.prototype = {
  46038. call$0() {
  46039. var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
  46040. 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) {
  46041. importer = t2[_i];
  46042. canonicalUrl = t1._canonicalize$3(importer, t4, t5);
  46043. if (canonicalUrl != null)
  46044. return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri);
  46045. }
  46046. return null;
  46047. },
  46048. $signature: 77
  46049. };
  46050. A.ImportCache__canonicalize_closure.prototype = {
  46051. call$0() {
  46052. return this.importer.canonicalize$1(0, this.url);
  46053. },
  46054. $signature: 180
  46055. };
  46056. A.ImportCache_importCanonical_closure.prototype = {
  46057. call$0() {
  46058. var t2, t3, t4, t5, _this = this,
  46059. t1 = _this.canonicalUrl,
  46060. result = _this.importer.load$1(0, t1);
  46061. if (result == null)
  46062. return null;
  46063. t2 = _this.$this;
  46064. t2._resultsCache.$indexSet(0, t1, result);
  46065. t3 = result.contents;
  46066. t4 = result.syntax;
  46067. t5 = _this.originalUrl;
  46068. t1 = t5 == null ? t1 : t5.resolveUri$1(t1);
  46069. return A.Stylesheet_Stylesheet$parse(t3, t4, _this.quiet ? $.$get$Logger_quiet() : t2._logger, t1);
  46070. },
  46071. $signature: 79
  46072. };
  46073. A.ImportCache_humanize_closure.prototype = {
  46074. call$1(tuple) {
  46075. return tuple.item2.$eq(0, this.canonicalUrl);
  46076. },
  46077. $signature: 317
  46078. };
  46079. A.ImportCache_humanize_closure0.prototype = {
  46080. call$1(tuple) {
  46081. return tuple.item3;
  46082. },
  46083. $signature: 318
  46084. };
  46085. A.ImportCache_humanize_closure1.prototype = {
  46086. call$1(url) {
  46087. return url.get$path(url).length;
  46088. },
  46089. $signature: 95
  46090. };
  46091. A.Importer.prototype = {
  46092. modificationTime$1(url) {
  46093. return new A.DateTime(Date.now(), false);
  46094. },
  46095. couldCanonicalize$2(url, canonicalUrl) {
  46096. return true;
  46097. }
  46098. };
  46099. A.AsyncImporter.prototype = {};
  46100. A.FilesystemImporter.prototype = {
  46101. canonicalize$1(_, url) {
  46102. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  46103. return null;
  46104. return A.NullableExtension_andThen(A.resolveImportPath(A.join(this._loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null)), new A.FilesystemImporter_canonicalize_closure());
  46105. },
  46106. load$1(_, url) {
  46107. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
  46108. t1 = A.readFile(path),
  46109. t2 = A.Syntax_forPath(path),
  46110. t3 = url.get$scheme();
  46111. if (t3 === "")
  46112. A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
  46113. return new A.ImporterResult(t1, url, t2);
  46114. },
  46115. modificationTime$1(url) {
  46116. return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  46117. },
  46118. couldCanonicalize$2(url, canonicalUrl) {
  46119. var t1, t2, t3, basename, canonicalBasename;
  46120. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  46121. return false;
  46122. if (canonicalUrl.get$scheme() !== "file")
  46123. return false;
  46124. t1 = $.$get$url();
  46125. t2 = url.get$path(url);
  46126. t3 = t1.style;
  46127. basename = A.ParsedPath_ParsedPath$parse(t2, t3).get$basename();
  46128. canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t3).get$basename();
  46129. if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
  46130. canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
  46131. return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
  46132. },
  46133. toString$0(_) {
  46134. return this._loadPath;
  46135. }
  46136. };
  46137. A.FilesystemImporter_canonicalize_closure.prototype = {
  46138. call$1(resolved) {
  46139. var t2, t0, _null = null,
  46140. t1 = self.process;
  46141. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  46142. t1 = self.process;
  46143. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  46144. } else
  46145. t1 = true;
  46146. if (t1) {
  46147. t1 = $.$get$context();
  46148. t2 = A._realCasePath(A.absolute(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  46149. t0 = t2;
  46150. t2 = t1;
  46151. t1 = t0;
  46152. } else {
  46153. t1 = $.$get$context();
  46154. t2 = t1.canonicalize$1(0, resolved);
  46155. t0 = t2;
  46156. t2 = t1;
  46157. t1 = t0;
  46158. }
  46159. return t2.toUri$1(t1);
  46160. },
  46161. $signature: 179
  46162. };
  46163. A.NoOpImporter.prototype = {};
  46164. A.ImporterResult.prototype = {
  46165. get$sourceMapUrl(_) {
  46166. return this._sourceMapUrl;
  46167. }
  46168. };
  46169. A.resolveImportPath_closure.prototype = {
  46170. call$0() {
  46171. return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  46172. },
  46173. $signature: 43
  46174. };
  46175. A.resolveImportPath_closure0.prototype = {
  46176. call$0() {
  46177. return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
  46178. },
  46179. $signature: 43
  46180. };
  46181. A._tryPathAsDirectory_closure.prototype = {
  46182. call$0() {
  46183. return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
  46184. },
  46185. $signature: 43
  46186. };
  46187. A._exactlyOne_closure.prototype = {
  46188. call$1(path) {
  46189. var t1 = $.$get$context();
  46190. return " " + t1.prettyUri$1(t1.toUri$1(path));
  46191. },
  46192. $signature: 5
  46193. };
  46194. A.InterpolationBuffer.prototype = {
  46195. writeCharCode$1(character) {
  46196. this._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(character);
  46197. return null;
  46198. },
  46199. addInterpolation$1(interpolation) {
  46200. var first, t1, _this = this,
  46201. toAdd = interpolation.contents;
  46202. if (toAdd.length === 0)
  46203. return;
  46204. first = B.JSArray_methods.get$first(toAdd);
  46205. if (typeof first == "string") {
  46206. _this._interpolation_buffer$_text._contents += first;
  46207. toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
  46208. }
  46209. _this._flushText$0();
  46210. t1 = _this._interpolation_buffer$_contents;
  46211. B.JSArray_methods.addAll$1(t1, toAdd);
  46212. if (typeof B.JSArray_methods.get$last(t1) == "string")
  46213. _this._interpolation_buffer$_text._contents += A.S(t1.pop());
  46214. },
  46215. _flushText$0() {
  46216. var t1 = this._interpolation_buffer$_text,
  46217. t2 = t1._contents;
  46218. if (t2.length === 0)
  46219. return;
  46220. this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  46221. t1._contents = "";
  46222. },
  46223. interpolation$1(span) {
  46224. var t1 = A.List_List$of(this._interpolation_buffer$_contents, true, type$.Object),
  46225. t2 = this._interpolation_buffer$_text._contents;
  46226. if (t2.length !== 0)
  46227. t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  46228. return A.Interpolation$(t1, span);
  46229. },
  46230. toString$0(_) {
  46231. var t1, t2, _i, t3, element;
  46232. for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  46233. element = t1[_i];
  46234. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  46235. }
  46236. t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
  46237. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46238. }
  46239. };
  46240. A.InterpolationMap.prototype = {
  46241. mapException$1(error) {
  46242. var t3, t4, _this = this,
  46243. target = error.get$span(error),
  46244. source = _this.mapSpan$1(target),
  46245. startIndex = _this._indexInContents$1(target.get$start(target)),
  46246. endIndex = _this._indexInContents$1(target.get$end(target)),
  46247. t1 = _this._interpolation.contents,
  46248. t2 = error._span_exception$_message;
  46249. if (!A.SubListIterable$(t1, startIndex, null, A._arrayInstanceType(t1)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure()))
  46250. return new A.SourceSpanFormatException(error.get$source(), t2, source);
  46251. else {
  46252. t1 = type$.SourceSpan;
  46253. t3 = type$.String;
  46254. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t1, t3);
  46255. error.get$source();
  46256. return new A.MultiSourceSpanFormatException("", A.ConstantMap_ConstantMap$from(t4, t1, t3), t2, source);
  46257. }
  46258. },
  46259. mapSpan$1(target) {
  46260. var t2, t3, _this = this,
  46261. start = _this._mapLocation$1(target.get$start(target)),
  46262. end = _this._mapLocation$1(target.get$end(target)),
  46263. t1 = type$.FileSpan;
  46264. if (t1._is(start)) {
  46265. if (t1._is(end))
  46266. return start.expand$1(0, end);
  46267. t1 = _this._interpolation.span;
  46268. return t1.get$file(t1).span$2(0, _this._expandInterpolationSpanLeft$1(start.get$start(start)), type$.FileLocation._as(end).offset);
  46269. } else {
  46270. t2 = type$.FileLocation;
  46271. t3 = _this._interpolation.span;
  46272. if (t1._is(end))
  46273. return t3.get$file(t3).span$2(0, t2._as(start).offset, _this._expandInterpolationSpanRight$1(end.get$end(end)));
  46274. else
  46275. return t3.get$file(t3).span$2(0, t2._as(start).offset, t2._as(end).offset);
  46276. }
  46277. },
  46278. _mapLocation$1(target) {
  46279. var t4, previousLocation, _this = this,
  46280. index = _this._indexInContents$1(target),
  46281. t1 = _this._interpolation,
  46282. t2 = t1.contents,
  46283. chunk = t2[index],
  46284. t3 = type$.Expression;
  46285. if (t3._is(chunk))
  46286. return chunk.get$span(chunk);
  46287. t4 = index === 0;
  46288. t1 = t1.span;
  46289. if (t4)
  46290. previousLocation = t1.get$start(t1);
  46291. else {
  46292. t1 = t1.get$file(t1);
  46293. t2 = t3._as(t2[index - 1]);
  46294. t2 = t2.get$span(t2);
  46295. previousLocation = A.FileLocation$_(t1, _this._expandInterpolationSpanRight$1(t2.get$end(t2)));
  46296. }
  46297. t1 = t4 ? 0 : _this._targetLocations[index - 1].get$offset();
  46298. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  46299. },
  46300. _indexInContents$1(target) {
  46301. var t1, t2, t3, i;
  46302. for (t1 = this._targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  46303. if (t3 < t1[i].get$offset())
  46304. return i;
  46305. return this._interpolation.contents.length - 1;
  46306. },
  46307. _expandInterpolationSpanLeft$1(start) {
  46308. var i0, prev, char,
  46309. source = start.file._decodedChars,
  46310. i = start.offset - 1;
  46311. for (; i >= 0;) {
  46312. i0 = i - 1;
  46313. prev = source[i];
  46314. if (prev === 123) {
  46315. if (source[i0] === 35) {
  46316. i = i0;
  46317. break;
  46318. }
  46319. i = i0;
  46320. } else if (prev === 47) {
  46321. i = i0 - 1;
  46322. if (source[i0] === 42)
  46323. for (; true;) {
  46324. i0 = i - 1;
  46325. if (source[i] !== 42) {
  46326. i = i0;
  46327. continue;
  46328. }
  46329. i = i0;
  46330. do {
  46331. i0 = i - 1;
  46332. char = source[i];
  46333. if (char === 42) {
  46334. i = i0;
  46335. continue;
  46336. } else
  46337. break;
  46338. } while (true);
  46339. if (char === 47) {
  46340. i = i0;
  46341. break;
  46342. }
  46343. i = i0;
  46344. }
  46345. } else
  46346. i = i0;
  46347. }
  46348. return i;
  46349. },
  46350. _expandInterpolationSpanRight$1(end) {
  46351. var t1, i0, next, second, t2, char,
  46352. source = end.file._decodedChars,
  46353. i = end.offset;
  46354. for (t1 = source.length; i < t1;) {
  46355. i0 = i + 1;
  46356. next = source[i];
  46357. if (next === 125) {
  46358. i = i0;
  46359. break;
  46360. }
  46361. if (next === 47) {
  46362. i = i0 + 1;
  46363. second = source[i0];
  46364. if (second === 47) {
  46365. while (true) {
  46366. i0 = i + 1;
  46367. t2 = source[i];
  46368. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  46369. break;
  46370. i = i0;
  46371. }
  46372. i = i0;
  46373. } else if (second === 42)
  46374. for (; true;) {
  46375. i0 = i + 1;
  46376. if (source[i] !== 42) {
  46377. i = i0;
  46378. continue;
  46379. }
  46380. i = i0;
  46381. do {
  46382. i0 = i + 1;
  46383. char = source[i];
  46384. if (char === 42) {
  46385. i = i0;
  46386. continue;
  46387. } else
  46388. break;
  46389. } while (true);
  46390. if (char === 47) {
  46391. i = i0;
  46392. break;
  46393. }
  46394. i = i0;
  46395. }
  46396. } else
  46397. i = i0;
  46398. }
  46399. return i;
  46400. }
  46401. };
  46402. A.InterpolationMap_mapException_closure.prototype = {
  46403. call$1($content) {
  46404. return type$.Expression._is($content);
  46405. },
  46406. $signature: 69
  46407. };
  46408. A._realCasePath_helper.prototype = {
  46409. call$1(path) {
  46410. var dirname = $.$get$context().dirname$1(path);
  46411. if (dirname === path)
  46412. return path;
  46413. return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(this, dirname, path));
  46414. },
  46415. $signature: 5
  46416. };
  46417. A._realCasePath_helper_closure.prototype = {
  46418. call$0() {
  46419. var matches, t2, exception,
  46420. realDirname = this.helper.call$1(this.dirname),
  46421. t1 = this.path,
  46422. basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
  46423. try {
  46424. matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
  46425. t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
  46426. return t2;
  46427. } catch (exception) {
  46428. if (A.unwrapException(exception) instanceof A.FileSystemException)
  46429. return t1;
  46430. else
  46431. throw exception;
  46432. }
  46433. },
  46434. $signature: 31
  46435. };
  46436. A._realCasePath_helper__closure.prototype = {
  46437. call$1(realPath) {
  46438. return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  46439. },
  46440. $signature: 8
  46441. };
  46442. A.FileSystemException.prototype = {
  46443. toString$0(_) {
  46444. var t1 = $.$get$context();
  46445. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  46446. },
  46447. get$message(receiver) {
  46448. return this.message;
  46449. }
  46450. };
  46451. A._readFile_closure.prototype = {
  46452. call$0() {
  46453. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  46454. },
  46455. $signature: 92
  46456. };
  46457. A.writeFile_closure.prototype = {
  46458. call$0() {
  46459. return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
  46460. },
  46461. $signature: 0
  46462. };
  46463. A.deleteFile_closure.prototype = {
  46464. call$0() {
  46465. return J.unlinkSync$1$x(A.fs(), this.path);
  46466. },
  46467. $signature: 0
  46468. };
  46469. A.readStdin_closure.prototype = {
  46470. call$1(result) {
  46471. this._box_0.contents = result;
  46472. this.completer.complete$1(result);
  46473. },
  46474. $signature: 126
  46475. };
  46476. A.readStdin_closure0.prototype = {
  46477. call$1(chunk) {
  46478. this.sink.add$1(0, type$.List_int._as(chunk));
  46479. },
  46480. call$0() {
  46481. return this.call$1(null);
  46482. },
  46483. "call*": "call$1",
  46484. $requiredArgCount: 0,
  46485. $defaultValues() {
  46486. return [null];
  46487. },
  46488. $signature: 74
  46489. };
  46490. A.readStdin_closure1.prototype = {
  46491. call$1(_) {
  46492. this.sink.close$0(0);
  46493. },
  46494. call$0() {
  46495. return this.call$1(null);
  46496. },
  46497. "call*": "call$1",
  46498. $requiredArgCount: 0,
  46499. $defaultValues() {
  46500. return [null];
  46501. },
  46502. $signature: 74
  46503. };
  46504. A.readStdin_closure2.prototype = {
  46505. call$1(e) {
  46506. A.printError("Failed to read from stdin");
  46507. A.printError(e);
  46508. e.toString;
  46509. this.completer.completeError$1(e);
  46510. },
  46511. call$0() {
  46512. return this.call$1(null);
  46513. },
  46514. "call*": "call$1",
  46515. $requiredArgCount: 0,
  46516. $defaultValues() {
  46517. return [null];
  46518. },
  46519. $signature: 74
  46520. };
  46521. A.fileExists_closure.prototype = {
  46522. call$0() {
  46523. var error, systemError, exception,
  46524. t1 = this.path;
  46525. if (!J.existsSync$1$x(A.fs(), t1))
  46526. return false;
  46527. try {
  46528. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  46529. return t1;
  46530. } catch (exception) {
  46531. error = A.unwrapException(exception);
  46532. systemError = type$.JsSystemError._as(error);
  46533. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  46534. return false;
  46535. throw exception;
  46536. }
  46537. },
  46538. $signature: 27
  46539. };
  46540. A.dirExists_closure.prototype = {
  46541. call$0() {
  46542. var error, systemError, exception,
  46543. t1 = this.path;
  46544. if (!J.existsSync$1$x(A.fs(), t1))
  46545. return false;
  46546. try {
  46547. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  46548. return t1;
  46549. } catch (exception) {
  46550. error = A.unwrapException(exception);
  46551. systemError = type$.JsSystemError._as(error);
  46552. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  46553. return false;
  46554. throw exception;
  46555. }
  46556. },
  46557. $signature: 27
  46558. };
  46559. A.ensureDir_closure.prototype = {
  46560. call$0() {
  46561. var error, systemError, exception, t1;
  46562. try {
  46563. J.mkdirSync$1$x(A.fs(), this.path);
  46564. } catch (exception) {
  46565. error = A.unwrapException(exception);
  46566. systemError = type$.JsSystemError._as(error);
  46567. if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
  46568. return;
  46569. if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
  46570. throw exception;
  46571. t1 = this.path;
  46572. A.ensureDir($.$get$context().dirname$1(t1));
  46573. J.mkdirSync$1$x(A.fs(), t1);
  46574. }
  46575. },
  46576. $signature: 0
  46577. };
  46578. A.listDir_closure.prototype = {
  46579. call$0() {
  46580. var t1 = this.path;
  46581. if (!this.recursive)
  46582. 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());
  46583. else
  46584. return new A.listDir_closure_list().call$1(t1);
  46585. },
  46586. $signature: 178
  46587. };
  46588. A.listDir__closure.prototype = {
  46589. call$1(child) {
  46590. return A.join(this.path, A._asString(child), null);
  46591. },
  46592. $signature: 80
  46593. };
  46594. A.listDir__closure0.prototype = {
  46595. call$1(child) {
  46596. return !A.dirExists(child);
  46597. },
  46598. $signature: 8
  46599. };
  46600. A.listDir_closure_list.prototype = {
  46601. call$1($parent) {
  46602. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
  46603. },
  46604. $signature: 177
  46605. };
  46606. A.listDir__list_closure.prototype = {
  46607. call$1(child) {
  46608. var path = A.join(this.parent, A._asString(child), null);
  46609. return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  46610. },
  46611. $signature: 137
  46612. };
  46613. A.modificationTime_closure.prototype = {
  46614. call$0() {
  46615. var t2,
  46616. t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
  46617. if (Math.abs(t1) <= 864e13)
  46618. t2 = false;
  46619. else
  46620. t2 = true;
  46621. if (t2)
  46622. A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + A.S(t1), null));
  46623. A.checkNotNullable(false, "isUtc", type$.bool);
  46624. return new A.DateTime(t1, false);
  46625. },
  46626. $signature: 173
  46627. };
  46628. A.watchDir_closure.prototype = {
  46629. call$2(path, _) {
  46630. var t1 = this._box_0.controller;
  46631. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
  46632. },
  46633. call$1(path) {
  46634. return this.call$2(path, null);
  46635. },
  46636. "call*": "call$2",
  46637. $requiredArgCount: 1,
  46638. $defaultValues() {
  46639. return [null];
  46640. },
  46641. $signature: 171
  46642. };
  46643. A.watchDir_closure0.prototype = {
  46644. call$2(path, _) {
  46645. var t1 = this._box_0.controller;
  46646. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
  46647. },
  46648. call$1(path) {
  46649. return this.call$2(path, null);
  46650. },
  46651. "call*": "call$2",
  46652. $requiredArgCount: 1,
  46653. $defaultValues() {
  46654. return [null];
  46655. },
  46656. $signature: 171
  46657. };
  46658. A.watchDir_closure1.prototype = {
  46659. call$1(path) {
  46660. var t1 = this._box_0.controller;
  46661. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
  46662. },
  46663. $signature: 126
  46664. };
  46665. A.watchDir_closure2.prototype = {
  46666. call$1(error) {
  46667. var t1 = this._box_0.controller;
  46668. return t1 == null ? null : t1.addError$1(error);
  46669. },
  46670. $signature: 112
  46671. };
  46672. A.watchDir_closure3.prototype = {
  46673. call$0() {
  46674. var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
  46675. this._box_0.controller = controller;
  46676. this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
  46677. },
  46678. $signature: 1
  46679. };
  46680. A.watchDir__closure.prototype = {
  46681. call$0() {
  46682. J.close$0$x(this.watcher);
  46683. },
  46684. $signature: 1
  46685. };
  46686. A._QuietLogger.prototype = {
  46687. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  46688. },
  46689. warn$1($receiver, message) {
  46690. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  46691. },
  46692. warn$2$span($receiver, message, span) {
  46693. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  46694. },
  46695. debug$2(_, message, span) {
  46696. }
  46697. };
  46698. A.DeprecationHandlingLogger.prototype = {
  46699. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  46700. this._inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  46701. },
  46702. warn$3$span$trace($receiver, message, span, trace) {
  46703. return this.warn$4$deprecation$span$trace($receiver, message, false, span, trace);
  46704. },
  46705. warn$2$span($receiver, message, span) {
  46706. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  46707. },
  46708. warn$2$trace($receiver, message, trace) {
  46709. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  46710. },
  46711. warnForDeprecation$4$span$trace(deprecation, message, span, trace) {
  46712. var t1, t2, count, _this = this;
  46713. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  46714. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20depre;
  46715. t1 = span == null;
  46716. if (!t1 && trace != null)
  46717. throw A.wrapException(A.SassRuntimeException$(message, span, trace, null));
  46718. if (t1)
  46719. throw A.wrapException(A.SassScriptException$(message, null));
  46720. throw A.wrapException(A.SassException$(message, span, null));
  46721. }
  46722. if (deprecation.isFuture && !_this.futureDeprecations.contains$1(0, deprecation))
  46723. return;
  46724. if (_this.limitRepetition) {
  46725. t1 = _this._warningCounts;
  46726. t2 = t1.$index(0, deprecation);
  46727. count = (t2 == null ? 0 : t2) + 1;
  46728. t1.$indexSet(0, deprecation, count);
  46729. if (count > 5)
  46730. return;
  46731. }
  46732. _this._inner.warn$4$deprecation$span$trace(0, message, true, span, trace);
  46733. },
  46734. debug$2(_, message, span) {
  46735. return this._inner.debug$2(0, message, span);
  46736. },
  46737. summarize$1$node(node) {
  46738. var t2, total,
  46739. t1 = this._warningCounts;
  46740. t1 = t1.get$values(t1);
  46741. t2 = A._instanceType(t1);
  46742. 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>")));
  46743. if (total > 0) {
  46744. t1 = node ? "" : string$.x0aRun_i;
  46745. this._inner.warn$1(0, "" + total + string$.x20repet + t1);
  46746. }
  46747. }
  46748. };
  46749. A.DeprecationHandlingLogger_summarize_closure.prototype = {
  46750. call$1(count) {
  46751. return count > 5;
  46752. },
  46753. $signature: 51
  46754. };
  46755. A.DeprecationHandlingLogger_summarize_closure0.prototype = {
  46756. call$1(count) {
  46757. return count - 5;
  46758. },
  46759. $signature: 170
  46760. };
  46761. A.StderrLogger.prototype = {
  46762. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  46763. var t2,
  46764. result = new A.StringBuffer(""),
  46765. t1 = this.color;
  46766. if (t1) {
  46767. t2 = result._contents = "" + "\x1b[33m\x1b[1m";
  46768. t2 = result._contents = (deprecation ? result._contents = t2 + "Deprecation " : t2) + "Warning\x1b[0m";
  46769. } else
  46770. t2 = result._contents = (deprecation ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
  46771. if (span == null)
  46772. t1 = result._contents = t2 + (": " + message + "\n");
  46773. else if (trace != null) {
  46774. t1 = t2 + (": " + message + "\n\n" + span.highlight$1$color(t1) + "\n");
  46775. result._contents = t1;
  46776. } else {
  46777. t1 = t2 + (" on " + span.message$2$color(0, "\n" + message, t1) + "\n");
  46778. result._contents = t1;
  46779. }
  46780. if (trace != null)
  46781. result._contents = t1 + (A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  46782. A.printError(result);
  46783. },
  46784. warn$1($receiver, message) {
  46785. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  46786. },
  46787. warn$3$span$trace($receiver, message, span, trace) {
  46788. return this.warn$4$deprecation$span$trace($receiver, message, false, span, trace);
  46789. },
  46790. warn$2$span($receiver, message, span) {
  46791. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  46792. },
  46793. warn$2$trace($receiver, message, trace) {
  46794. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  46795. },
  46796. debug$2(_, message, span) {
  46797. var url, t3,
  46798. t1 = span.file,
  46799. t2 = span._file$_start;
  46800. if (A.FileLocation$_(t1, t2).file.url == null)
  46801. url = "-";
  46802. else {
  46803. t3 = A.FileLocation$_(t1, t2);
  46804. url = $.$get$context().prettyUri$1(t3.file.url);
  46805. }
  46806. t1 = A.FileLocation$_(t1, t2);
  46807. t1 = t1.file.getLine$1(t1.offset);
  46808. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  46809. t2 = "" + (url + ":" + (t1 + 1) + " ") + t2 + (": " + message);
  46810. A.printError(t2.charCodeAt(0) == 0 ? t2 : t2);
  46811. }
  46812. };
  46813. A.TrackingLogger.prototype = {
  46814. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  46815. this._emittedWarning = true;
  46816. this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  46817. },
  46818. warn$3$span$trace($receiver, message, span, trace) {
  46819. return this.warn$4$deprecation$span$trace($receiver, message, false, span, trace);
  46820. },
  46821. warn$2$span($receiver, message, span) {
  46822. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  46823. },
  46824. warn$2$trace($receiver, message, trace) {
  46825. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  46826. },
  46827. debug$2(_, message, span) {
  46828. this._emittedDebug = true;
  46829. this._tracking$_logger.debug$2(0, message, span);
  46830. }
  46831. };
  46832. A.BuiltInModule.prototype = {
  46833. get$upstream() {
  46834. return B.List_empty7;
  46835. },
  46836. get$variableNodes() {
  46837. return B.Map_empty1;
  46838. },
  46839. get$extensionStore() {
  46840. return B.C_EmptyExtensionStore;
  46841. },
  46842. get$css(_) {
  46843. return new A.CssStylesheet(B.List_empty3, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  46844. },
  46845. get$transitivelyContainsCss() {
  46846. return false;
  46847. },
  46848. get$transitivelyContainsExtensions() {
  46849. return false;
  46850. },
  46851. setVariable$3($name, value, nodeWithSpan) {
  46852. if (!this.variables.containsKey$1($name))
  46853. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  46854. throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable.", null));
  46855. },
  46856. variableIdentity$1($name) {
  46857. return this;
  46858. },
  46859. cloneCss$0() {
  46860. return this;
  46861. },
  46862. $isModule: 1,
  46863. get$url(receiver) {
  46864. return this.url;
  46865. },
  46866. get$functions(receiver) {
  46867. return this.functions;
  46868. },
  46869. get$mixins() {
  46870. return this.mixins;
  46871. },
  46872. get$variables() {
  46873. return this.variables;
  46874. }
  46875. };
  46876. A.ForwardedModuleView.prototype = {
  46877. get$url(_) {
  46878. var t1 = this._forwarded_view$_inner;
  46879. return t1.get$url(t1);
  46880. },
  46881. get$upstream() {
  46882. return this._forwarded_view$_inner.get$upstream();
  46883. },
  46884. get$extensionStore() {
  46885. return this._forwarded_view$_inner.get$extensionStore();
  46886. },
  46887. get$css(_) {
  46888. var t1 = this._forwarded_view$_inner;
  46889. return t1.get$css(t1);
  46890. },
  46891. get$transitivelyContainsCss() {
  46892. return this._forwarded_view$_inner.get$transitivelyContainsCss();
  46893. },
  46894. get$transitivelyContainsExtensions() {
  46895. return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
  46896. },
  46897. setVariable$3($name, value, nodeWithSpan) {
  46898. var prefix,
  46899. _s19_ = "Undefined variable.",
  46900. t1 = this._rule,
  46901. shownVariables = t1.shownVariables,
  46902. hiddenVariables = t1.hiddenVariables;
  46903. if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
  46904. throw A.wrapException(A.SassScriptException$(_s19_, null));
  46905. else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
  46906. throw A.wrapException(A.SassScriptException$(_s19_, null));
  46907. prefix = t1.prefix;
  46908. if (prefix != null) {
  46909. if (!B.JSString_methods.startsWith$1($name, prefix))
  46910. throw A.wrapException(A.SassScriptException$(_s19_, null));
  46911. $name = B.JSString_methods.substring$1($name, prefix.length);
  46912. }
  46913. return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
  46914. },
  46915. variableIdentity$1($name) {
  46916. var prefix = this._rule.prefix;
  46917. if (prefix != null)
  46918. $name = B.JSString_methods.substring$1($name, prefix.length);
  46919. return this._forwarded_view$_inner.variableIdentity$1($name);
  46920. },
  46921. $eq(_, other) {
  46922. if (other == null)
  46923. return false;
  46924. return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
  46925. },
  46926. get$hashCode(_) {
  46927. var t1 = this._forwarded_view$_inner;
  46928. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
  46929. },
  46930. cloneCss$0() {
  46931. return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
  46932. },
  46933. toString$0(_) {
  46934. return "forwarded " + this._forwarded_view$_inner.toString$0(0);
  46935. },
  46936. $isModule: 1,
  46937. get$variables() {
  46938. return this.variables;
  46939. },
  46940. get$variableNodes() {
  46941. return this.variableNodes;
  46942. },
  46943. get$functions(receiver) {
  46944. return this.functions;
  46945. },
  46946. get$mixins() {
  46947. return this.mixins;
  46948. }
  46949. };
  46950. A.ShadowedModuleView.prototype = {
  46951. get$url(_) {
  46952. var t1 = this._shadowed_view$_inner;
  46953. return t1.get$url(t1);
  46954. },
  46955. get$upstream() {
  46956. return this._shadowed_view$_inner.get$upstream();
  46957. },
  46958. get$extensionStore() {
  46959. return this._shadowed_view$_inner.get$extensionStore();
  46960. },
  46961. get$css(_) {
  46962. var t1 = this._shadowed_view$_inner;
  46963. return t1.get$css(t1);
  46964. },
  46965. get$transitivelyContainsCss() {
  46966. return this._shadowed_view$_inner.get$transitivelyContainsCss();
  46967. },
  46968. get$transitivelyContainsExtensions() {
  46969. return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
  46970. },
  46971. setVariable$3($name, value, nodeWithSpan) {
  46972. if (!this.variables.containsKey$1($name))
  46973. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  46974. else
  46975. return this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
  46976. },
  46977. variableIdentity$1($name) {
  46978. return this._shadowed_view$_inner.variableIdentity$1($name);
  46979. },
  46980. $eq(_, other) {
  46981. var t1, t2, _this = this;
  46982. if (other == null)
  46983. return false;
  46984. if (other instanceof A.ShadowedModuleView)
  46985. if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
  46986. t1 = _this.variables;
  46987. t1 = t1.get$keys(t1);
  46988. t2 = other.variables;
  46989. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  46990. t1 = _this.functions;
  46991. t1 = t1.get$keys(t1);
  46992. t2 = other.functions;
  46993. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  46994. t1 = _this.mixins;
  46995. t1 = t1.get$keys(t1);
  46996. t2 = other.mixins;
  46997. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  46998. t1 = t2;
  46999. } else
  47000. t1 = false;
  47001. } else
  47002. t1 = false;
  47003. } else
  47004. t1 = false;
  47005. else
  47006. t1 = false;
  47007. return t1;
  47008. },
  47009. get$hashCode(_) {
  47010. var t1 = this._shadowed_view$_inner;
  47011. return t1.get$hashCode(t1);
  47012. },
  47013. cloneCss$0() {
  47014. var _this = this;
  47015. return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  47016. },
  47017. toString$0(_) {
  47018. return "shadowed " + this._shadowed_view$_inner.toString$0(0);
  47019. },
  47020. $isModule: 1,
  47021. get$variables() {
  47022. return this.variables;
  47023. },
  47024. get$variableNodes() {
  47025. return this.variableNodes;
  47026. },
  47027. get$functions(receiver) {
  47028. return this.functions;
  47029. },
  47030. get$mixins() {
  47031. return this.mixins;
  47032. }
  47033. };
  47034. A.JSArray0.prototype = {};
  47035. A.Chokidar.prototype = {};
  47036. A.ChokidarOptions.prototype = {};
  47037. A.ChokidarWatcher.prototype = {};
  47038. A.JSFunction.prototype = {};
  47039. A.NodeImporterResult.prototype = {};
  47040. A.RenderContext.prototype = {};
  47041. A.RenderContextOptions.prototype = {};
  47042. A.RenderContextResult.prototype = {};
  47043. A.RenderContextResultStats.prototype = {};
  47044. A.JSClass.prototype = {};
  47045. A.JSUrl.prototype = {};
  47046. A._PropertyDescriptor.prototype = {};
  47047. A.AtRootQueryParser.prototype = {
  47048. parse$0() {
  47049. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
  47050. }
  47051. };
  47052. A.AtRootQueryParser_parse_closure.prototype = {
  47053. call$0() {
  47054. var include, atRules,
  47055. t1 = this.$this,
  47056. t2 = t1.scanner;
  47057. t2.expectChar$1(40);
  47058. t1.whitespace$0();
  47059. include = t1.scanIdentifier$1("with");
  47060. if (!include)
  47061. t1.expectIdentifier$2$name("without", '"with" or "without"');
  47062. t1.whitespace$0();
  47063. t2.expectChar$1(58);
  47064. t1.whitespace$0();
  47065. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  47066. do {
  47067. atRules.add$1(0, t1.identifier$0().toLowerCase());
  47068. t1.whitespace$0();
  47069. } while (t1.lookingAtIdentifier$0());
  47070. t2.expectChar$1(41);
  47071. t2.expectDone$0();
  47072. return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  47073. },
  47074. $signature: 341
  47075. };
  47076. A._disallowedFunctionNames_closure.prototype = {
  47077. call$1($function) {
  47078. return $function.name;
  47079. },
  47080. $signature: 342
  47081. };
  47082. A.CssParser.prototype = {
  47083. get$plainCss() {
  47084. return true;
  47085. },
  47086. silentComment$0() {
  47087. var t1 = this.scanner,
  47088. t2 = t1._string_scanner$_position;
  47089. this.super$Parser$silentComment();
  47090. this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  47091. },
  47092. atRule$2$root(child, root) {
  47093. var $name, urlStart, next, url, urlSpan, modifiers, t2, _this = this,
  47094. t1 = _this.scanner,
  47095. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47096. t1.expectChar$1(64);
  47097. $name = _this.interpolatedIdentifier$0();
  47098. _this.whitespace$0();
  47099. switch ($name.get$asPlain()) {
  47100. case "at-root":
  47101. case "content":
  47102. case "debug":
  47103. case "each":
  47104. case "error":
  47105. case "extend":
  47106. case "for":
  47107. case "function":
  47108. case "if":
  47109. case "include":
  47110. case "mixin":
  47111. case "return":
  47112. case "warn":
  47113. case "while":
  47114. _this.almostAnyValue$0();
  47115. _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
  47116. break;
  47117. case "import":
  47118. urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47119. next = t1.peekChar$0();
  47120. url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression(_this.interpolatedString$0().asInterpolation$1$static(true), false);
  47121. urlSpan = t1.spanFrom$1(urlStart);
  47122. _this.whitespace$0();
  47123. modifiers = _this.tryImportModifiers$0();
  47124. _this.expectStatementSeparator$1("@import rule");
  47125. t2 = A._setArrayType([new A.StaticImport(A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(urlStart))], type$.JSArray_Import);
  47126. t1 = t1.spanFrom$1(start);
  47127. return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
  47128. case "media":
  47129. return _this.mediaRule$1(start);
  47130. case "-moz-document":
  47131. return _this.mozDocumentRule$2(start, $name);
  47132. case "supports":
  47133. return _this.supportsRule$1(start);
  47134. default:
  47135. return _this.unknownAtRule$2(start, $name);
  47136. }
  47137. },
  47138. identifierLike$0() {
  47139. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  47140. t1 = _this.scanner,
  47141. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  47142. identifier = _this.interpolatedIdentifier$0(),
  47143. plain = identifier.get$asPlain(),
  47144. lower = plain.toLowerCase(),
  47145. specialFunction = _this.trySpecialFunction$2(lower, start);
  47146. if (specialFunction != null)
  47147. return specialFunction;
  47148. t2 = t1._string_scanner$_position;
  47149. if (!t1.scanChar$1(40))
  47150. return new A.StringExpression(identifier, false);
  47151. allowEmptySecondArg = lower === "var";
  47152. $arguments = A._setArrayType([], type$.JSArray_Expression);
  47153. if (!t1.scanChar$1(41)) {
  47154. do {
  47155. _this.whitespace$0();
  47156. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  47157. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  47158. t4 = t3.offset;
  47159. t4 = A._FileSpan$(t3.file, t4, t4);
  47160. $arguments.push(new A.StringExpression(A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), t4), false));
  47161. break;
  47162. }
  47163. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  47164. _this.whitespace$0();
  47165. } while (t1.scanChar$1(44));
  47166. t1.expectChar$1(41);
  47167. }
  47168. if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
  47169. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  47170. t3 = A.Interpolation$(A._setArrayType([new A.StringExpression(identifier, false)], type$.JSArray_Object), identifier.span);
  47171. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  47172. t4 = type$.Expression;
  47173. 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));
  47174. },
  47175. namespacedExpression$2(namespace, start) {
  47176. var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
  47177. this.error$2(0, string$.Modulen, expression.get$span(expression));
  47178. }
  47179. };
  47180. A.KeyframeSelectorParser.prototype = {
  47181. parse$0() {
  47182. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
  47183. },
  47184. _percentage$0() {
  47185. var t3, next,
  47186. t1 = this.scanner,
  47187. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  47188. second = t1.peekChar$0();
  47189. if (!A.isDigit(second) && second !== 46)
  47190. t1.error$1(0, "Expected number.");
  47191. while (true) {
  47192. t3 = t1.peekChar$0();
  47193. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  47194. break;
  47195. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  47196. }
  47197. if (t1.peekChar$0() === 46) {
  47198. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  47199. while (true) {
  47200. t3 = t1.peekChar$0();
  47201. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  47202. break;
  47203. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  47204. }
  47205. }
  47206. if (this.scanIdentChar$1(101)) {
  47207. t2 += A.Primitives_stringFromCharCode(101);
  47208. next = t1.peekChar$0();
  47209. if (next === 43 || next === 45)
  47210. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  47211. if (!A.isDigit(t1.peekChar$0()))
  47212. t1.error$1(0, "Expected digit.");
  47213. while (true) {
  47214. t3 = t1.peekChar$0();
  47215. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  47216. break;
  47217. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  47218. }
  47219. }
  47220. t1.expectChar$1(37);
  47221. t2 += A.Primitives_stringFromCharCode(37);
  47222. return t2.charCodeAt(0) == 0 ? t2 : t2;
  47223. }
  47224. };
  47225. A.KeyframeSelectorParser_parse_closure.prototype = {
  47226. call$0() {
  47227. var selectors = A._setArrayType([], type$.JSArray_String),
  47228. t1 = this.$this,
  47229. t2 = t1.scanner;
  47230. do {
  47231. t1.whitespace$0();
  47232. if (t1.lookingAtIdentifier$0())
  47233. if (t1.scanIdentifier$1("from"))
  47234. selectors.push("from");
  47235. else {
  47236. t1.expectIdentifier$2$name("to", '"to" or "from"');
  47237. selectors.push("to");
  47238. }
  47239. else
  47240. selectors.push(t1._percentage$0());
  47241. t1.whitespace$0();
  47242. } while (t2.scanChar$1(44));
  47243. t2.expectDone$0();
  47244. return selectors;
  47245. },
  47246. $signature: 127
  47247. };
  47248. A.MediaQueryParser.prototype = {
  47249. parse$0() {
  47250. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
  47251. },
  47252. _mediaQuery$0() {
  47253. var conditions, conjunction, identifier1, identifier2, type, modifier, _this = this, _s3_ = "and", _null = null;
  47254. if (_this.scanner.peekChar$0() === 40) {
  47255. conditions = A._setArrayType([_this._mediaInParens$0()], type$.JSArray_String);
  47256. _this.whitespace$0();
  47257. if (_this.scanIdentifier$1(_s3_)) {
  47258. _this.expectWhitespace$0();
  47259. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1(_s3_));
  47260. conjunction = true;
  47261. } else if (_this.scanIdentifier$1("or")) {
  47262. _this.expectWhitespace$0();
  47263. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1("or"));
  47264. conjunction = false;
  47265. } else
  47266. conjunction = true;
  47267. return A.CssMediaQuery$condition(conditions, conjunction);
  47268. }
  47269. identifier1 = _this.identifier$0();
  47270. if (A.equalsIgnoreCase(identifier1, "not")) {
  47271. _this.expectWhitespace$0();
  47272. if (!_this.lookingAtIdentifier$0())
  47273. return A.CssMediaQuery$condition(A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), _null);
  47274. }
  47275. _this.whitespace$0();
  47276. if (!_this.lookingAtIdentifier$0())
  47277. return A.CssMediaQuery$type(identifier1, _null, _null);
  47278. identifier2 = _this.identifier$0();
  47279. if (A.equalsIgnoreCase(identifier2, _s3_)) {
  47280. _this.expectWhitespace$0();
  47281. type = identifier1;
  47282. modifier = _null;
  47283. } else {
  47284. _this.whitespace$0();
  47285. if (_this.scanIdentifier$1(_s3_))
  47286. _this.expectWhitespace$0();
  47287. else
  47288. return A.CssMediaQuery$type(identifier2, _null, identifier1);
  47289. type = identifier2;
  47290. modifier = identifier1;
  47291. }
  47292. if (_this.scanIdentifier$1("not")) {
  47293. _this.expectWhitespace$0();
  47294. return A.CssMediaQuery$type(type, A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  47295. }
  47296. return A.CssMediaQuery$type(type, _this._mediaLogicSequence$1(_s3_), modifier);
  47297. },
  47298. _mediaLogicSequence$1(operator) {
  47299. var t1, t2, _this = this,
  47300. result = A._setArrayType([], type$.JSArray_String);
  47301. for (t1 = _this.scanner; true;) {
  47302. t1.expectChar$2$name(40, "media condition in parentheses");
  47303. t2 = _this.declarationValue$0();
  47304. t1.expectChar$1(41);
  47305. result.push("(" + t2 + ")");
  47306. _this.whitespace$0();
  47307. if (!_this.scanIdentifier$1(operator))
  47308. return result;
  47309. _this.expectWhitespace$0();
  47310. }
  47311. },
  47312. _mediaInParens$0() {
  47313. var t2,
  47314. t1 = this.scanner;
  47315. t1.expectChar$2$name(40, "media condition in parentheses");
  47316. t2 = this.declarationValue$0();
  47317. t1.expectChar$1(41);
  47318. return "(" + t2 + ")";
  47319. }
  47320. };
  47321. A.MediaQueryParser_parse_closure.prototype = {
  47322. call$0() {
  47323. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
  47324. t1 = this.$this,
  47325. t2 = t1.scanner;
  47326. do {
  47327. t1.whitespace$0();
  47328. queries.push(t1._mediaQuery$0());
  47329. t1.whitespace$0();
  47330. } while (t2.scanChar$1(44));
  47331. t2.expectDone$0();
  47332. return queries;
  47333. },
  47334. $signature: 343
  47335. };
  47336. A.Parser.prototype = {
  47337. _parseIdentifier$0() {
  47338. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
  47339. },
  47340. _isVariableDeclarationLike$0() {
  47341. var _this = this,
  47342. t1 = _this.scanner;
  47343. if (!t1.scanChar$1(36))
  47344. return false;
  47345. if (!_this.lookingAtIdentifier$0())
  47346. return false;
  47347. _this.identifier$0();
  47348. _this.whitespace$0();
  47349. return t1.scanChar$1(58);
  47350. },
  47351. whitespace$0() {
  47352. do
  47353. this.whitespaceWithoutComments$0();
  47354. while (this.scanComment$0());
  47355. },
  47356. whitespaceWithoutComments$0() {
  47357. var t3,
  47358. t1 = this.scanner,
  47359. t2 = t1.string.length;
  47360. while (true) {
  47361. if (t1._string_scanner$_position !== t2) {
  47362. t3 = t1.peekChar$0();
  47363. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  47364. } else
  47365. t3 = false;
  47366. if (!t3)
  47367. break;
  47368. t1.readChar$0();
  47369. }
  47370. },
  47371. spaces$0() {
  47372. var t3,
  47373. t1 = this.scanner,
  47374. t2 = t1.string.length;
  47375. while (true) {
  47376. if (t1._string_scanner$_position !== t2) {
  47377. t3 = t1.peekChar$0();
  47378. t3 = t3 === 32 || t3 === 9;
  47379. } else
  47380. t3 = false;
  47381. if (!t3)
  47382. break;
  47383. t1.readChar$0();
  47384. }
  47385. },
  47386. scanComment$0() {
  47387. var next,
  47388. t1 = this.scanner;
  47389. if (t1.peekChar$0() !== 47)
  47390. return false;
  47391. next = t1.peekChar$1(1);
  47392. if (next === 47) {
  47393. this.silentComment$0();
  47394. return true;
  47395. } else if (next === 42) {
  47396. this.loudComment$0();
  47397. return true;
  47398. } else
  47399. return false;
  47400. },
  47401. expectWhitespace$0() {
  47402. var t2, t3,
  47403. t1 = this.scanner;
  47404. if (t1._string_scanner$_position !== t1.string.length) {
  47405. t2 = t1.peekChar$0();
  47406. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  47407. t2 = t3;
  47408. } else
  47409. t2 = true;
  47410. if (t2)
  47411. t1.error$1(0, "Expected whitespace.");
  47412. this.whitespace$0();
  47413. },
  47414. silentComment$0() {
  47415. var t2, t3,
  47416. t1 = this.scanner;
  47417. t1.expect$1("//");
  47418. t2 = t1.string.length;
  47419. while (true) {
  47420. if (t1._string_scanner$_position !== t2) {
  47421. t3 = t1.peekChar$0();
  47422. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  47423. } else
  47424. t3 = false;
  47425. if (!t3)
  47426. break;
  47427. t1.readChar$0();
  47428. }
  47429. },
  47430. loudComment$0() {
  47431. var next,
  47432. t1 = this.scanner;
  47433. t1.expect$1("/*");
  47434. for (; true;) {
  47435. if (t1.readChar$0() !== 42)
  47436. continue;
  47437. do
  47438. next = t1.readChar$0();
  47439. while (next === 42);
  47440. if (next === 47)
  47441. break;
  47442. }
  47443. },
  47444. identifier$2$normalize$unit(normalize, unit) {
  47445. var t2, first, _this = this,
  47446. _s20_ = "Expected identifier.",
  47447. text = new A.StringBuffer(""),
  47448. t1 = _this.scanner;
  47449. if (t1.scanChar$1(45)) {
  47450. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  47451. if (t1.scanChar$1(45)) {
  47452. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  47453. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  47454. t1 = text._contents;
  47455. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47456. }
  47457. } else
  47458. t2 = "";
  47459. first = t1.peekChar$0();
  47460. if (first == null)
  47461. t1.error$1(0, _s20_);
  47462. else if (normalize && first === 95) {
  47463. t1.readChar$0();
  47464. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  47465. } else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
  47466. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  47467. else if (first === 92)
  47468. text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
  47469. else
  47470. t1.error$1(0, _s20_);
  47471. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  47472. t1 = text._contents;
  47473. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47474. },
  47475. identifier$0() {
  47476. return this.identifier$2$normalize$unit(false, false);
  47477. },
  47478. identifier$1$normalize(normalize) {
  47479. return this.identifier$2$normalize$unit(normalize, false);
  47480. },
  47481. identifier$1$unit(unit) {
  47482. return this.identifier$2$normalize$unit(false, unit);
  47483. },
  47484. _identifierBody$3$normalize$unit(text, normalize, unit) {
  47485. var t1, next, second, t2;
  47486. for (t1 = this.scanner; true;) {
  47487. next = t1.peekChar$0();
  47488. if (next == null)
  47489. break;
  47490. else if (unit && next === 45) {
  47491. second = t1.peekChar$1(1);
  47492. if (second != null)
  47493. if (second !== 46)
  47494. t2 = second >= 48 && second <= 57;
  47495. else
  47496. t2 = true;
  47497. else
  47498. t2 = false;
  47499. if (t2)
  47500. break;
  47501. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47502. } else if (normalize && next === 95) {
  47503. t1.readChar$0();
  47504. text._contents += A.Primitives_stringFromCharCode(45);
  47505. } else {
  47506. if (next !== 95) {
  47507. if (!(next >= 97 && next <= 122))
  47508. t2 = next >= 65 && next <= 90;
  47509. else
  47510. t2 = true;
  47511. t2 = t2 || next >= 128;
  47512. } else
  47513. t2 = true;
  47514. if (!t2)
  47515. t2 = next >= 48 && next <= 57 || next === 45;
  47516. else
  47517. t2 = true;
  47518. if (t2)
  47519. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47520. else if (next === 92)
  47521. text._contents += A.S(this.escape$0());
  47522. else
  47523. break;
  47524. }
  47525. }
  47526. },
  47527. _identifierBody$1(text) {
  47528. return this._identifierBody$3$normalize$unit(text, false, false);
  47529. },
  47530. string$0() {
  47531. var buffer, next, t2,
  47532. t1 = this.scanner,
  47533. quote = t1.readChar$0();
  47534. if (quote !== 39 && quote !== 34)
  47535. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  47536. buffer = new A.StringBuffer("");
  47537. for (; true;) {
  47538. next = t1.peekChar$0();
  47539. if (next === quote) {
  47540. t1.readChar$0();
  47541. break;
  47542. } else if (next == null || next === 10 || next === 13 || next === 12)
  47543. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  47544. else if (next === 92) {
  47545. t2 = t1.peekChar$1(1);
  47546. if (t2 === 10 || t2 === 13 || t2 === 12) {
  47547. t1.readChar$0();
  47548. t1.readChar$0();
  47549. } else
  47550. buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  47551. } else
  47552. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47553. }
  47554. t1 = buffer._contents;
  47555. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47556. },
  47557. declarationValue$1$allowEmpty(allowEmpty) {
  47558. var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
  47559. buffer = new A.StringBuffer(""),
  47560. brackets = A._setArrayType([], type$.JSArray_int);
  47561. $label0$1:
  47562. for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
  47563. next = t1.peekChar$0();
  47564. switch (next) {
  47565. case 92:
  47566. buffer._contents += A.S(_this.escape$1$identifierStart(true));
  47567. wroteNewline = false;
  47568. break;
  47569. case 34:
  47570. case 39:
  47571. start = t1._string_scanner$_position;
  47572. t2.call$0();
  47573. end = t1._string_scanner$_position;
  47574. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  47575. wroteNewline = false;
  47576. break;
  47577. case 47:
  47578. if (t1.peekChar$1(1) === 42) {
  47579. t3 = _this.get$loudComment();
  47580. start = t1._string_scanner$_position;
  47581. t3.call$0();
  47582. end = t1._string_scanner$_position;
  47583. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  47584. } else
  47585. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47586. wroteNewline = false;
  47587. break;
  47588. case 32:
  47589. case 9:
  47590. if (!wroteNewline) {
  47591. t3 = t1.peekChar$1(1);
  47592. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  47593. } else
  47594. t3 = true;
  47595. if (t3)
  47596. buffer._contents += A.Primitives_stringFromCharCode(32);
  47597. t1.readChar$0();
  47598. break;
  47599. case 10:
  47600. case 13:
  47601. case 12:
  47602. t3 = t1.peekChar$1(-1);
  47603. if (!(t3 === 10 || t3 === 13 || t3 === 12))
  47604. buffer._contents += "\n";
  47605. t1.readChar$0();
  47606. wroteNewline = true;
  47607. break;
  47608. case 40:
  47609. case 123:
  47610. case 91:
  47611. next.toString;
  47612. buffer._contents += A.Primitives_stringFromCharCode(next);
  47613. brackets.push(A.opposite(t1.readChar$0()));
  47614. wroteNewline = false;
  47615. break;
  47616. case 41:
  47617. case 125:
  47618. case 93:
  47619. if (brackets.length === 0)
  47620. break $label0$1;
  47621. next.toString;
  47622. buffer._contents += A.Primitives_stringFromCharCode(next);
  47623. t1.expectChar$1(brackets.pop());
  47624. wroteNewline = false;
  47625. break;
  47626. case 59:
  47627. if (brackets.length === 0)
  47628. break $label0$1;
  47629. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47630. break;
  47631. case 117:
  47632. case 85:
  47633. url = _this.tryUrl$0();
  47634. if (url != null)
  47635. buffer._contents += url;
  47636. else
  47637. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47638. wroteNewline = false;
  47639. break;
  47640. default:
  47641. if (next == null)
  47642. break $label0$1;
  47643. if (_this.lookingAtIdentifier$0())
  47644. buffer._contents += _this.identifier$0();
  47645. else
  47646. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47647. wroteNewline = false;
  47648. break;
  47649. }
  47650. }
  47651. if (brackets.length !== 0)
  47652. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  47653. if (!allowEmpty && buffer._contents.length === 0)
  47654. t1.error$1(0, "Expected token.");
  47655. t1 = buffer._contents;
  47656. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47657. },
  47658. declarationValue$0() {
  47659. return this.declarationValue$1$allowEmpty(false);
  47660. },
  47661. tryUrl$0() {
  47662. var buffer, next, t2, _this = this,
  47663. t1 = _this.scanner,
  47664. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47665. if (!_this.scanIdentifier$1("url"))
  47666. return null;
  47667. if (!t1.scanChar$1(40)) {
  47668. t1.set$state(start);
  47669. return null;
  47670. }
  47671. _this.whitespace$0();
  47672. buffer = new A.StringBuffer("");
  47673. buffer._contents = "" + "url(";
  47674. for (; true;) {
  47675. next = t1.peekChar$0();
  47676. if (next == null)
  47677. break;
  47678. else if (next === 92)
  47679. buffer._contents += A.S(_this.escape$0());
  47680. else {
  47681. if (next !== 37)
  47682. if (next !== 38)
  47683. if (next !== 35)
  47684. t2 = next >= 42 && next <= 126 || next >= 128;
  47685. else
  47686. t2 = true;
  47687. else
  47688. t2 = true;
  47689. else
  47690. t2 = true;
  47691. if (t2)
  47692. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47693. else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
  47694. _this.whitespace$0();
  47695. if (t1.peekChar$0() !== 41)
  47696. break;
  47697. } else if (next === 41) {
  47698. t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47699. return t2.charCodeAt(0) == 0 ? t2 : t2;
  47700. } else
  47701. break;
  47702. }
  47703. }
  47704. t1.set$state(start);
  47705. return null;
  47706. },
  47707. variableName$0() {
  47708. this.scanner.expectChar$1(36);
  47709. return this.identifier$1$normalize(true);
  47710. },
  47711. escape$1$identifierStart(identifierStart) {
  47712. var value, first, i, next, t2, exception,
  47713. _s25_ = "Expected escape sequence.",
  47714. t1 = this.scanner,
  47715. start = t1._string_scanner$_position;
  47716. t1.expectChar$1(92);
  47717. value = 0;
  47718. first = t1.peekChar$0();
  47719. if (first == null)
  47720. t1.error$1(0, _s25_);
  47721. else if (first === 10 || first === 13 || first === 12)
  47722. t1.error$1(0, _s25_);
  47723. else if (A.isHex(first)) {
  47724. for (i = 0; i < 6; ++i) {
  47725. next = t1.peekChar$0();
  47726. if (next == null || !A.isHex(next))
  47727. break;
  47728. value *= 16;
  47729. value += A.asHex(t1.readChar$0());
  47730. }
  47731. this.scanCharIf$1(A.character__isWhitespace$closure());
  47732. } else
  47733. value = t1.readChar$0();
  47734. if (identifierStart) {
  47735. t2 = value;
  47736. t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128;
  47737. } else {
  47738. t2 = value;
  47739. t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128 || A.isDigit(t2) || t2 === 45;
  47740. }
  47741. if (t2)
  47742. try {
  47743. t2 = A.Primitives_stringFromCharCode(value);
  47744. return t2;
  47745. } catch (exception) {
  47746. if (type$.RangeError._is(A.unwrapException(exception)))
  47747. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  47748. else
  47749. throw exception;
  47750. }
  47751. else {
  47752. if (!(value <= 31))
  47753. if (!J.$eq$(value, 127))
  47754. t1 = identifierStart && A.isDigit(value);
  47755. else
  47756. t1 = true;
  47757. else
  47758. t1 = true;
  47759. if (t1) {
  47760. t1 = "" + A.Primitives_stringFromCharCode(92);
  47761. if (value > 15)
  47762. t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  47763. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
  47764. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47765. } else
  47766. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  47767. }
  47768. },
  47769. escape$0() {
  47770. return this.escape$1$identifierStart(false);
  47771. },
  47772. scanCharIf$1(condition) {
  47773. var t1 = this.scanner;
  47774. if (!condition.call$1(t1.peekChar$0()))
  47775. return false;
  47776. t1.readChar$0();
  47777. return true;
  47778. },
  47779. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  47780. var t3,
  47781. t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
  47782. t2 = this.scanner,
  47783. next = t2.peekChar$0();
  47784. if (next != null && t1.call$1(next)) {
  47785. t2.readChar$0();
  47786. return true;
  47787. } else if (next === 92) {
  47788. t3 = t2._string_scanner$_position;
  47789. if (t1.call$1(A.consumeEscapedCharacter(t2)))
  47790. return true;
  47791. t2.set$state(new A._SpanScannerState(t2, t3));
  47792. }
  47793. return false;
  47794. },
  47795. scanIdentChar$1(char) {
  47796. return this.scanIdentChar$2$caseSensitive(char, false);
  47797. },
  47798. expectIdentChar$1(letter) {
  47799. var t1;
  47800. if (this.scanIdentChar$2$caseSensitive(letter, false))
  47801. return;
  47802. t1 = this.scanner;
  47803. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  47804. },
  47805. lookingAtIdentifier$1($forward) {
  47806. var t1, first, second;
  47807. if ($forward == null)
  47808. $forward = 0;
  47809. t1 = this.scanner;
  47810. first = t1.peekChar$1($forward);
  47811. if (first == null)
  47812. return false;
  47813. if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
  47814. return true;
  47815. if (first !== 45)
  47816. return false;
  47817. second = t1.peekChar$1($forward + 1);
  47818. if (second == null)
  47819. return false;
  47820. return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
  47821. },
  47822. lookingAtIdentifier$0() {
  47823. return this.lookingAtIdentifier$1(null);
  47824. },
  47825. lookingAtIdentifierBody$0() {
  47826. var t1,
  47827. next = this.scanner.peekChar$0();
  47828. if (next != null)
  47829. t1 = next === 95 || A.isAlphabetic0(next) || next >= 128 || A.isDigit(next) || next === 45 || next === 92;
  47830. else
  47831. t1 = false;
  47832. return t1;
  47833. },
  47834. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  47835. var t1, t2, _this = this;
  47836. if (!_this.lookingAtIdentifier$0())
  47837. return false;
  47838. t1 = _this.scanner;
  47839. t2 = t1._string_scanner$_position;
  47840. if (_this._consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  47841. return true;
  47842. else {
  47843. t1.set$state(new A._SpanScannerState(t1, t2));
  47844. return false;
  47845. }
  47846. },
  47847. scanIdentifier$1(text) {
  47848. return this.scanIdentifier$2$caseSensitive(text, false);
  47849. },
  47850. _consumeIdentifier$2(text, caseSensitive) {
  47851. var t1, t2, t3;
  47852. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  47853. t3 = t1.__internal$_current;
  47854. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  47855. return false;
  47856. }
  47857. return true;
  47858. },
  47859. expectIdentifier$2$name(text, $name) {
  47860. var t1, start, t2, t3, t4, t5, t6;
  47861. if ($name == null)
  47862. $name = '"' + text + '"';
  47863. t1 = this.scanner;
  47864. start = t1._string_scanner$_position;
  47865. 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();) {
  47866. t6 = t2.__internal$_current;
  47867. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t5._as(t6) : t6, false))
  47868. continue;
  47869. t1.error$2$position(0, t4, start);
  47870. }
  47871. if (!this.lookingAtIdentifierBody$0())
  47872. return;
  47873. t1.error$2$position(0, t3, start);
  47874. },
  47875. expectIdentifier$1(text) {
  47876. return this.expectIdentifier$2$name(text, null);
  47877. },
  47878. rawText$1(consumer) {
  47879. var t1 = this.scanner,
  47880. start = t1._string_scanner$_position;
  47881. consumer.call$0();
  47882. return t1.substring$1(0, start);
  47883. },
  47884. spanFrom$1(state) {
  47885. var span = this.scanner.spanFrom$1(state);
  47886. if (this._interpolationMap != null)
  47887. return new A.LazyFileSpan(new A.Parser_spanFrom_closure(this, span));
  47888. return span;
  47889. },
  47890. error$3(_, message, span, trace) {
  47891. var exception = new A.StringScannerException(this.scanner.string, message, span);
  47892. if (trace == null)
  47893. throw A.wrapException(exception);
  47894. else
  47895. A.throwWithTrace(exception, trace);
  47896. },
  47897. error$2($receiver, message, span) {
  47898. return this.error$3($receiver, message, span, null);
  47899. },
  47900. withErrorMessage$1$2(message, callback) {
  47901. var error, stackTrace, t1, exception;
  47902. try {
  47903. t1 = callback.call$0();
  47904. return t1;
  47905. } catch (exception) {
  47906. t1 = A.unwrapException(exception);
  47907. if (type$.SourceSpanFormatException._is(t1)) {
  47908. error = t1;
  47909. stackTrace = A.getTraceFromException(exception);
  47910. t1 = J.get$span$z(error);
  47911. A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
  47912. } else
  47913. throw exception;
  47914. }
  47915. },
  47916. withErrorMessage$2(message, callback) {
  47917. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  47918. },
  47919. wrapSpanFormatException$1$1(callback) {
  47920. var error, stackTrace, map, error0, stackTrace0, span, error1, stackTrace1, span0, secondarySpans, t1, entry, t2, exception, t3, _this = this,
  47921. _s8_ = "expected";
  47922. try {
  47923. try {
  47924. t2 = callback.call$0();
  47925. return t2;
  47926. } catch (exception) {
  47927. t2 = A.unwrapException(exception);
  47928. if (type$.SourceSpanFormatException._is(t2)) {
  47929. error = t2;
  47930. stackTrace = A.getTraceFromException(exception);
  47931. map = _this._interpolationMap;
  47932. if (map == null)
  47933. throw exception;
  47934. A.throwWithTrace(map.mapException$1(error), stackTrace);
  47935. } else
  47936. throw exception;
  47937. }
  47938. } catch (exception) {
  47939. t2 = A.unwrapException(exception);
  47940. if (type$.SourceSpanFormatException._is(t2)) {
  47941. error0 = t2;
  47942. stackTrace0 = A.getTraceFromException(exception);
  47943. span = J.get$span$z(error0);
  47944. if (A.startsWithIgnoreCase(error0._span_exception$_message, _s8_))
  47945. span = _this._adjustExceptionSpan$1(span);
  47946. t1 = error0._span_exception$_message;
  47947. t2 = span;
  47948. A.throwWithTrace(new A.SassFormatException(B.Set_empty, t1, t2), stackTrace0);
  47949. } else if (type$.MultiSourceSpanFormatException._is(t2)) {
  47950. error1 = t2;
  47951. stackTrace1 = A.getTraceFromException(exception);
  47952. span0 = J.get$span$z(error1);
  47953. t2 = type$.FileSpan;
  47954. t3 = type$.String;
  47955. secondarySpans = error1.get$secondarySpans().cast$2$0(0, t2, t3);
  47956. if (A.startsWithIgnoreCase(error1._span_exception$_message, _s8_)) {
  47957. span0 = _this._adjustExceptionSpan$1(span0);
  47958. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  47959. for (t2 = J.get$entries$z(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  47960. entry = t2.get$current(t2);
  47961. J.$indexSet$ax(t1, _this._adjustExceptionSpan$1(entry.key), entry.value);
  47962. }
  47963. secondarySpans = t1;
  47964. }
  47965. A.throwWithTrace(A.MultiSpanSassFormatException$(error1._span_exception$_message, span0, error1.get$primaryLabel(), secondarySpans, null), stackTrace1);
  47966. } else
  47967. throw exception;
  47968. }
  47969. },
  47970. wrapSpanFormatException$1(callback) {
  47971. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  47972. },
  47973. _adjustExceptionSpan$1(span) {
  47974. var start, t1;
  47975. if (span.get$length(span) > 0)
  47976. return span;
  47977. start = this._firstNewlineBefore$1(span.get$start(span));
  47978. if (start.$eq(0, span.get$start(span)))
  47979. t1 = span;
  47980. else {
  47981. t1 = start.offset;
  47982. t1 = A._FileSpan$(start.file, t1, t1);
  47983. }
  47984. return t1;
  47985. },
  47986. _firstNewlineBefore$1($location) {
  47987. var lastNewline, codeUnit,
  47988. t1 = $location.file,
  47989. t2 = $location.offset,
  47990. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  47991. index = t2 - 1;
  47992. for (lastNewline = null; index >= 0;) {
  47993. codeUnit = B.JSString_methods.codeUnitAt$1(text, index);
  47994. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  47995. if (lastNewline == null)
  47996. t1 = $location;
  47997. else {
  47998. t2 = new A.FileLocation(t1, lastNewline);
  47999. t2.FileLocation$_$2(t1, lastNewline);
  48000. t1 = t2;
  48001. }
  48002. return t1;
  48003. }
  48004. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  48005. lastNewline = index;
  48006. --index;
  48007. }
  48008. return $location;
  48009. }
  48010. };
  48011. A.Parser__parseIdentifier_closure.prototype = {
  48012. call$0() {
  48013. var t1 = this.$this,
  48014. result = t1.identifier$0();
  48015. t1.scanner.expectDone$0();
  48016. return result;
  48017. },
  48018. $signature: 31
  48019. };
  48020. A.Parser_scanIdentChar_matches.prototype = {
  48021. call$1(actual) {
  48022. var t1 = this.char;
  48023. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
  48024. },
  48025. $signature: 51
  48026. };
  48027. A.Parser_spanFrom_closure.prototype = {
  48028. call$0() {
  48029. return this.$this._interpolationMap.mapSpan$1(this.span);
  48030. },
  48031. $signature: 25
  48032. };
  48033. A.SassParser.prototype = {
  48034. get$currentIndentation() {
  48035. return this._currentIndentation;
  48036. },
  48037. get$indented() {
  48038. return true;
  48039. },
  48040. styleRuleSelector$0() {
  48041. var t4,
  48042. t1 = this.scanner,
  48043. t2 = t1._string_scanner$_position,
  48044. t3 = new A.StringBuffer(""),
  48045. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  48046. do {
  48047. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  48048. t4 = t3._contents += A.Primitives_stringFromCharCode(10);
  48049. } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character__isNewline$closure()));
  48050. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  48051. },
  48052. expectStatementSeparator$1($name) {
  48053. var t1, _this = this;
  48054. if (!_this.atEndOfStatement$0())
  48055. _this._expectNewline$0();
  48056. if (_this._peekIndentation$0() <= _this._currentIndentation)
  48057. return;
  48058. t1 = $name == null ? "here" : "beneath a " + $name;
  48059. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._nextIndentationEnd.position);
  48060. },
  48061. expectStatementSeparator$0() {
  48062. return this.expectStatementSeparator$1(null);
  48063. },
  48064. atEndOfStatement$0() {
  48065. var next = this.scanner.peekChar$0();
  48066. return next == null || next === 10 || next === 13 || next === 12;
  48067. },
  48068. lookingAtChildren$0() {
  48069. return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
  48070. },
  48071. importArgument$0() {
  48072. var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
  48073. t1 = _this.scanner;
  48074. switch (t1.peekChar$0()) {
  48075. case 117:
  48076. case 85:
  48077. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48078. if (_this.scanIdentifier$1("url"))
  48079. if (t1.scanChar$1(40)) {
  48080. t1.set$state(start);
  48081. return _this.super$StylesheetParser$importArgument();
  48082. } else
  48083. t1.set$state(start);
  48084. break;
  48085. case 39:
  48086. case 34:
  48087. return _this.super$StylesheetParser$importArgument();
  48088. }
  48089. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48090. next = t1.peekChar$0();
  48091. while (true) {
  48092. if (next != null)
  48093. if (next !== 44)
  48094. if (next !== 59)
  48095. t2 = !(next === 10 || next === 13 || next === 12);
  48096. else
  48097. t2 = false;
  48098. else
  48099. t2 = false;
  48100. else
  48101. t2 = false;
  48102. if (!t2)
  48103. break;
  48104. t1.readChar$0();
  48105. next = t1.peekChar$0();
  48106. }
  48107. url = t1.substring$1(0, start.position);
  48108. span = t1.spanFrom$1(start);
  48109. if (_this.isPlainImportUrl$1(url))
  48110. return new A.StaticImport(A.Interpolation$(A._setArrayType([A.serializeValue(new A.SassString(url, true), true, true)], type$.JSArray_Object), span), null, span);
  48111. else
  48112. try {
  48113. t1 = _this.parseImportUrl$1(url);
  48114. return new A.DynamicImport(t1, span);
  48115. } catch (exception) {
  48116. t1 = A.unwrapException(exception);
  48117. if (type$.FormatException._is(t1)) {
  48118. innerError = t1;
  48119. stackTrace = A.getTraceFromException(exception);
  48120. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  48121. } else
  48122. throw exception;
  48123. }
  48124. },
  48125. scanElse$1(ifIndentation) {
  48126. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  48127. if (_this._peekIndentation$0() !== ifIndentation)
  48128. return false;
  48129. t1 = _this.scanner;
  48130. t2 = t1._string_scanner$_position;
  48131. startIndentation = _this._currentIndentation;
  48132. startNextIndentation = _this._nextIndentation;
  48133. startNextIndentationEnd = _this._nextIndentationEnd;
  48134. _this._readIndentation$0();
  48135. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  48136. return true;
  48137. t1.set$state(new A._SpanScannerState(t1, t2));
  48138. _this._currentIndentation = startIndentation;
  48139. _this._nextIndentation = startNextIndentation;
  48140. _this._nextIndentationEnd = startNextIndentationEnd;
  48141. return false;
  48142. },
  48143. children$1(_, child) {
  48144. var children = A._setArrayType([], type$.JSArray_Statement);
  48145. this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
  48146. return children;
  48147. },
  48148. statements$1(statement) {
  48149. var statements, t2, child,
  48150. t1 = this.scanner,
  48151. first = t1.peekChar$0();
  48152. if (first === 9 || first === 32)
  48153. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  48154. statements = A._setArrayType([], type$.JSArray_Statement);
  48155. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  48156. child = this._child$1(statement);
  48157. if (child != null)
  48158. statements.push(child);
  48159. this._readIndentation$0();
  48160. }
  48161. return statements;
  48162. },
  48163. _child$1(child) {
  48164. var _this = this,
  48165. t1 = _this.scanner;
  48166. switch (t1.peekChar$0()) {
  48167. case 13:
  48168. case 10:
  48169. case 12:
  48170. return null;
  48171. case 36:
  48172. return _this.variableDeclarationWithoutNamespace$0();
  48173. case 47:
  48174. switch (t1.peekChar$1(1)) {
  48175. case 47:
  48176. return _this._silentComment$0();
  48177. case 42:
  48178. return _this._loudComment$0();
  48179. default:
  48180. return child.call$0();
  48181. }
  48182. default:
  48183. return child.call$0();
  48184. }
  48185. },
  48186. _silentComment$0() {
  48187. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  48188. t1 = _this.scanner,
  48189. t2 = t1._string_scanner$_position;
  48190. t1.expect$1("//");
  48191. buffer = new A.StringBuffer("");
  48192. parentIndentation = _this._currentIndentation;
  48193. t3 = t1.string.length;
  48194. t4 = 1 + parentIndentation;
  48195. t5 = 2 + parentIndentation;
  48196. $label0$0:
  48197. do {
  48198. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  48199. for (i = commentPrefix.length; true;) {
  48200. t6 = buffer._contents += commentPrefix;
  48201. for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
  48202. t6 += A.Primitives_stringFromCharCode(32);
  48203. buffer._contents = t6;
  48204. }
  48205. while (true) {
  48206. if (t1._string_scanner$_position !== t3) {
  48207. t7 = t1.peekChar$0();
  48208. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  48209. } else
  48210. t7 = false;
  48211. if (!t7)
  48212. break;
  48213. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  48214. buffer._contents = t6;
  48215. }
  48216. buffer._contents = t6 + "\n";
  48217. if (_this._peekIndentation$0() < parentIndentation)
  48218. break $label0$0;
  48219. if (_this._peekIndentation$0() === parentIndentation) {
  48220. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  48221. _this._readIndentation$0();
  48222. break;
  48223. }
  48224. _this._readIndentation$0();
  48225. }
  48226. } while (t1.scan$1("//"));
  48227. t3 = buffer._contents;
  48228. return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  48229. },
  48230. _loudComment$0() {
  48231. var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
  48232. t1 = _this.scanner,
  48233. t2 = t1._string_scanner$_position;
  48234. t1.expect$1("/*");
  48235. t3 = new A.StringBuffer("");
  48236. t4 = A._setArrayType([], type$.JSArray_Object);
  48237. buffer = new A.InterpolationBuffer(t3, t4);
  48238. t3._contents = "" + "/*";
  48239. parentIndentation = _this._currentIndentation;
  48240. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  48241. if (first) {
  48242. beginningOfComment = t1._string_scanner$_position;
  48243. _this.spaces$0();
  48244. t7 = t1.peekChar$0();
  48245. if (t7 === 10 || t7 === 13 || t7 === 12) {
  48246. _this._readIndentation$0();
  48247. t3._contents += A.Primitives_stringFromCharCode(32);
  48248. } else {
  48249. end = t1._string_scanner$_position;
  48250. t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  48251. }
  48252. } else {
  48253. t7 = t3._contents += "\n";
  48254. t3._contents = t7 + " * ";
  48255. }
  48256. for (i = 3; i < _this._currentIndentation - parentIndentation; ++i)
  48257. t3._contents += A.Primitives_stringFromCharCode(32);
  48258. $label0$1:
  48259. for (; t1._string_scanner$_position !== t6;)
  48260. switch (t1.peekChar$0()) {
  48261. case 10:
  48262. case 13:
  48263. case 12:
  48264. break $label0$1;
  48265. case 35:
  48266. if (t1.peekChar$1(1) === 123) {
  48267. t7 = _this.singleInterpolation$0();
  48268. buffer._flushText$0();
  48269. t4.push(t7);
  48270. } else
  48271. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  48272. break;
  48273. default:
  48274. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  48275. break;
  48276. }
  48277. if (_this._peekIndentation$0() <= parentIndentation)
  48278. break;
  48279. for (; _this._lookingAtDoubleNewline$0();) {
  48280. _this._expectNewline$0();
  48281. t7 = t3._contents += "\n";
  48282. t3._contents = t7 + " *";
  48283. }
  48284. _this._readIndentation$0();
  48285. }
  48286. t4 = t3._contents;
  48287. if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
  48288. t3._contents += " */";
  48289. return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  48290. },
  48291. whitespaceWithoutComments$0() {
  48292. var t1, t2, next;
  48293. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  48294. next = t1.peekChar$0();
  48295. if (next !== 9 && next !== 32)
  48296. break;
  48297. t1.readChar$0();
  48298. }
  48299. },
  48300. loudComment$0() {
  48301. var next,
  48302. t1 = this.scanner;
  48303. t1.expect$1("/*");
  48304. for (; true;) {
  48305. next = t1.readChar$0();
  48306. if (next === 10 || next === 13 || next === 12)
  48307. t1.error$1(0, "expected */.");
  48308. if (next !== 42)
  48309. continue;
  48310. do
  48311. next = t1.readChar$0();
  48312. while (next === 42);
  48313. if (next === 47)
  48314. break;
  48315. }
  48316. },
  48317. _expectNewline$0() {
  48318. var t1 = this.scanner;
  48319. switch (t1.peekChar$0()) {
  48320. case 59:
  48321. t1.error$1(0, string$.semico);
  48322. break;
  48323. case 13:
  48324. t1.readChar$0();
  48325. if (t1.peekChar$0() === 10)
  48326. t1.readChar$0();
  48327. return;
  48328. case 10:
  48329. case 12:
  48330. t1.readChar$0();
  48331. return;
  48332. default:
  48333. t1.error$1(0, "expected newline.");
  48334. }
  48335. },
  48336. _lookingAtDoubleNewline$0() {
  48337. var nextChar,
  48338. t1 = this.scanner;
  48339. switch (t1.peekChar$0()) {
  48340. case 13:
  48341. nextChar = t1.peekChar$1(1);
  48342. if (nextChar === 10) {
  48343. t1 = t1.peekChar$1(2);
  48344. return t1 === 10 || t1 === 13 || t1 === 12;
  48345. }
  48346. return nextChar === 13 || nextChar === 12;
  48347. case 10:
  48348. case 12:
  48349. t1 = t1.peekChar$1(1);
  48350. return t1 === 10 || t1 === 13 || t1 === 12;
  48351. default:
  48352. return false;
  48353. }
  48354. },
  48355. _whileIndentedLower$1(body) {
  48356. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  48357. parentIndentation = _this._currentIndentation;
  48358. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
  48359. indentation = _this._readIndentation$0();
  48360. if (childIndentation == null)
  48361. childIndentation = indentation;
  48362. if (childIndentation !== indentation) {
  48363. t3 = t1._string_scanner$_position;
  48364. t4 = t2.getColumn$1(t3);
  48365. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  48366. }
  48367. body.call$0();
  48368. }
  48369. },
  48370. _readIndentation$0() {
  48371. var t1, _this = this,
  48372. currentIndentation = _this._nextIndentation;
  48373. if (currentIndentation == null)
  48374. currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
  48375. _this._currentIndentation = currentIndentation;
  48376. t1 = _this._nextIndentationEnd;
  48377. t1.toString;
  48378. _this.scanner.set$state(t1);
  48379. _this._nextIndentationEnd = _this._nextIndentation = null;
  48380. return currentIndentation;
  48381. },
  48382. _peekIndentation$0() {
  48383. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
  48384. cached = _this._nextIndentation;
  48385. if (cached != null)
  48386. return cached;
  48387. t1 = _this.scanner;
  48388. t2 = t1._string_scanner$_position;
  48389. t3 = t1.string.length;
  48390. if (t2 === t3) {
  48391. _this._nextIndentation = 0;
  48392. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  48393. return 0;
  48394. }
  48395. start = new A._SpanScannerState(t1, t2);
  48396. if (!_this.scanCharIf$1(A.character__isNewline$closure()))
  48397. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  48398. containsTab = A._Cell$();
  48399. containsSpace = A._Cell$();
  48400. nextIndentation = A._Cell$();
  48401. t2 = nextIndentation.__late_helper$_name;
  48402. do {
  48403. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  48404. nextIndentation.__late_helper$_value = 0;
  48405. for (; true;) {
  48406. next = t1.peekChar$0();
  48407. if (next === 32)
  48408. containsSpace.__late_helper$_value = true;
  48409. else if (next === 9)
  48410. containsTab.__late_helper$_value = true;
  48411. else
  48412. break;
  48413. t4 = nextIndentation.__late_helper$_value;
  48414. if (t4 === nextIndentation)
  48415. A.throwExpression(A.LateError$localNI(t2));
  48416. nextIndentation.__late_helper$_value = t4 + 1;
  48417. t1.readChar$0();
  48418. }
  48419. t4 = t1._string_scanner$_position;
  48420. if (t4 === t3) {
  48421. _this._nextIndentation = 0;
  48422. _this._nextIndentationEnd = new A._SpanScannerState(t1, t4);
  48423. t1.set$state(start);
  48424. return 0;
  48425. }
  48426. } while (_this.scanCharIf$1(A.character__isNewline$closure()));
  48427. t2 = containsTab._readLocal$0();
  48428. t3 = containsSpace._readLocal$0();
  48429. if (t2) {
  48430. if (t3) {
  48431. t2 = t1._string_scanner$_position;
  48432. t3 = t1._sourceFile;
  48433. t4 = t3.getColumn$1(t2);
  48434. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  48435. } else if (_this._spaces === true) {
  48436. t2 = t1._string_scanner$_position;
  48437. t3 = t1._sourceFile;
  48438. t4 = t3.getColumn$1(t2);
  48439. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  48440. }
  48441. } else if (t3 && _this._spaces === false) {
  48442. t2 = t1._string_scanner$_position;
  48443. t3 = t1._sourceFile;
  48444. t4 = t3.getColumn$1(t2);
  48445. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  48446. }
  48447. _this._nextIndentation = nextIndentation._readLocal$0();
  48448. if (nextIndentation._readLocal$0() > 0)
  48449. if (_this._spaces == null)
  48450. _this._spaces = containsSpace._readLocal$0();
  48451. _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48452. t1.set$state(start);
  48453. return nextIndentation._readLocal$0();
  48454. }
  48455. };
  48456. A.SassParser_children_closure.prototype = {
  48457. call$0() {
  48458. var parsedChild = this.$this._child$1(this.child);
  48459. if (parsedChild != null)
  48460. this.children.push(parsedChild);
  48461. },
  48462. $signature: 0
  48463. };
  48464. A.ScssParser.prototype = {
  48465. get$indented() {
  48466. return false;
  48467. },
  48468. get$currentIndentation() {
  48469. return 0;
  48470. },
  48471. styleRuleSelector$0() {
  48472. return this.almostAnyValue$0();
  48473. },
  48474. expectStatementSeparator$1($name) {
  48475. var t1, next;
  48476. this.whitespaceWithoutComments$0();
  48477. t1 = this.scanner;
  48478. if (t1._string_scanner$_position === t1.string.length)
  48479. return;
  48480. next = t1.peekChar$0();
  48481. if (next === 59 || next === 125)
  48482. return;
  48483. t1.expectChar$1(59);
  48484. },
  48485. expectStatementSeparator$0() {
  48486. return this.expectStatementSeparator$1(null);
  48487. },
  48488. atEndOfStatement$0() {
  48489. var next = this.scanner.peekChar$0();
  48490. return next == null || next === 59 || next === 125 || next === 123;
  48491. },
  48492. lookingAtChildren$0() {
  48493. return this.scanner.peekChar$0() === 123;
  48494. },
  48495. scanElse$1(ifIndentation) {
  48496. var t3, _this = this,
  48497. t1 = _this.scanner,
  48498. t2 = t1._string_scanner$_position;
  48499. _this.whitespace$0();
  48500. t3 = t1._string_scanner$_position;
  48501. if (t1.scanChar$1(64)) {
  48502. if (_this.scanIdentifier$2$caseSensitive("else", true))
  48503. return true;
  48504. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  48505. A.WarnForDeprecation_warnForDeprecation(_this.logger, B.Deprecation_JAZ, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3)), null);
  48506. t1.set$position(t1._string_scanner$_position - 2);
  48507. return true;
  48508. }
  48509. }
  48510. t1.set$state(new A._SpanScannerState(t1, t2));
  48511. return false;
  48512. },
  48513. children$1(_, child) {
  48514. var children, _this = this,
  48515. t1 = _this.scanner;
  48516. t1.expectChar$1(123);
  48517. _this.whitespaceWithoutComments$0();
  48518. children = A._setArrayType([], type$.JSArray_Statement);
  48519. for (; true;)
  48520. switch (t1.peekChar$0()) {
  48521. case 36:
  48522. children.push(_this.variableDeclarationWithoutNamespace$0());
  48523. break;
  48524. case 47:
  48525. switch (t1.peekChar$1(1)) {
  48526. case 47:
  48527. children.push(_this._scss$_silentComment$0());
  48528. _this.whitespaceWithoutComments$0();
  48529. break;
  48530. case 42:
  48531. children.push(_this._scss$_loudComment$0());
  48532. _this.whitespaceWithoutComments$0();
  48533. break;
  48534. default:
  48535. children.push(child.call$0());
  48536. break;
  48537. }
  48538. break;
  48539. case 59:
  48540. t1.readChar$0();
  48541. _this.whitespaceWithoutComments$0();
  48542. break;
  48543. case 125:
  48544. t1.expectChar$1(125);
  48545. return children;
  48546. default:
  48547. children.push(child.call$0());
  48548. break;
  48549. }
  48550. },
  48551. statements$1(statement) {
  48552. var t1, t2, child, _this = this,
  48553. statements = A._setArrayType([], type$.JSArray_Statement);
  48554. _this.whitespaceWithoutComments$0();
  48555. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  48556. switch (t1.peekChar$0()) {
  48557. case 36:
  48558. statements.push(_this.variableDeclarationWithoutNamespace$0());
  48559. break;
  48560. case 47:
  48561. switch (t1.peekChar$1(1)) {
  48562. case 47:
  48563. statements.push(_this._scss$_silentComment$0());
  48564. _this.whitespaceWithoutComments$0();
  48565. break;
  48566. case 42:
  48567. statements.push(_this._scss$_loudComment$0());
  48568. _this.whitespaceWithoutComments$0();
  48569. break;
  48570. default:
  48571. child = statement.call$0();
  48572. if (child != null)
  48573. statements.push(child);
  48574. break;
  48575. }
  48576. break;
  48577. case 59:
  48578. t1.readChar$0();
  48579. _this.whitespaceWithoutComments$0();
  48580. break;
  48581. default:
  48582. child = statement.call$0();
  48583. if (child != null)
  48584. statements.push(child);
  48585. break;
  48586. }
  48587. return statements;
  48588. },
  48589. _scss$_silentComment$0() {
  48590. var t2, t3, _this = this,
  48591. t1 = _this.scanner,
  48592. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48593. t1.expect$1("//");
  48594. t2 = t1.string.length;
  48595. do {
  48596. while (true) {
  48597. if (t1._string_scanner$_position !== t2) {
  48598. t3 = t1.readChar$0();
  48599. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  48600. } else
  48601. t3 = false;
  48602. if (!t3)
  48603. break;
  48604. }
  48605. if (t1._string_scanner$_position === t2)
  48606. break;
  48607. _this.spaces$0();
  48608. } while (t1.scan$1("//"));
  48609. if (_this.get$plainCss())
  48610. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  48611. return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  48612. },
  48613. _scss$_loudComment$0() {
  48614. var t3, t4, buffer, t5, endPosition, t6, result,
  48615. t1 = this.scanner,
  48616. t2 = t1._string_scanner$_position;
  48617. t1.expect$1("/*");
  48618. t3 = new A.StringBuffer("");
  48619. t4 = A._setArrayType([], type$.JSArray_Object);
  48620. buffer = new A.InterpolationBuffer(t3, t4);
  48621. t3._contents = "" + "/*";
  48622. for (; true;)
  48623. switch (t1.peekChar$0()) {
  48624. case 35:
  48625. if (t1.peekChar$1(1) === 123) {
  48626. t5 = this.singleInterpolation$0();
  48627. buffer._flushText$0();
  48628. t4.push(t5);
  48629. } else
  48630. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  48631. break;
  48632. case 42:
  48633. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  48634. if (t1.peekChar$0() !== 47)
  48635. break;
  48636. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  48637. endPosition = t1._string_scanner$_position;
  48638. t5 = t1._sourceFile;
  48639. t6 = new A._SpanScannerState(t1, t2).position;
  48640. t1 = new A._FileSpan(t5, t6, endPosition);
  48641. t1._FileSpan$3(t5, t6, endPosition);
  48642. t6 = type$.Object;
  48643. t5 = A.List_List$of(t4, true, t6);
  48644. t2 = t3._contents;
  48645. if (t2.length !== 0)
  48646. t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  48647. result = A.List_List$from(t5, false, t6);
  48648. result.fixed$length = Array;
  48649. result.immutable$list = Array;
  48650. t2 = new A.Interpolation(result, t1);
  48651. t2.Interpolation$2(t5, t1);
  48652. return new A.LoudComment(t2);
  48653. case 13:
  48654. t1.readChar$0();
  48655. if (t1.peekChar$0() !== 10)
  48656. t3._contents += A.Primitives_stringFromCharCode(10);
  48657. break;
  48658. case 12:
  48659. t1.readChar$0();
  48660. t3._contents += A.Primitives_stringFromCharCode(10);
  48661. break;
  48662. default:
  48663. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  48664. break;
  48665. }
  48666. }
  48667. };
  48668. A.SelectorParser.prototype = {
  48669. parse$0() {
  48670. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
  48671. },
  48672. parseCompoundSelector$0() {
  48673. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
  48674. },
  48675. _selectorList$0() {
  48676. var t4, t5, lineBreak, _this = this,
  48677. t1 = _this.scanner,
  48678. t2 = t1._string_scanner$_position,
  48679. t3 = t1._sourceFile,
  48680. previousLine = t3.getLine$1(t2),
  48681. components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
  48682. _this.whitespace$0();
  48683. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  48684. _this.whitespace$0();
  48685. if (t1.peekChar$0() === 44)
  48686. continue;
  48687. t5 = t1._string_scanner$_position;
  48688. if (t5 === t4)
  48689. break;
  48690. lineBreak = t3.getLine$1(t5) !== previousLine;
  48691. if (lineBreak)
  48692. previousLine = t3.getLine$1(t1._string_scanner$_position);
  48693. components.push(_this._complexSelector$1$lineBreak(lineBreak));
  48694. }
  48695. return A.SelectorList$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  48696. },
  48697. _complexSelector$1$lineBreak(lineBreak) {
  48698. var t4, t5, lastCompound, initialCombinators, next, t6, result, _this = this,
  48699. t1 = _this.scanner,
  48700. t2 = t1._string_scanner$_position,
  48701. componentStart = new A._SpanScannerState(t1, t2),
  48702. t3 = type$.JSArray_CssValue_Combinator,
  48703. combinators = A._setArrayType([], t3),
  48704. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  48705. $label0$1:
  48706. for (t4 = B.Set_6O95k._map, t5 = type$.CssValue_Combinator, lastCompound = null, initialCombinators = null; true;) {
  48707. _this.whitespace$0();
  48708. next = t1.peekChar$0();
  48709. switch (next) {
  48710. case 43:
  48711. t6 = t1._string_scanner$_position;
  48712. t1.readChar$0();
  48713. combinators.push(new A.CssValue(B.Combinator_4QF, _this.spanFrom$1(new A._SpanScannerState(t1, t6)), t5));
  48714. break;
  48715. case 62:
  48716. t6 = t1._string_scanner$_position;
  48717. t1.readChar$0();
  48718. combinators.push(new A.CssValue(B.Combinator_Cht, _this.spanFrom$1(new A._SpanScannerState(t1, t6)), t5));
  48719. break;
  48720. case 126:
  48721. t6 = t1._string_scanner$_position;
  48722. t1.readChar$0();
  48723. combinators.push(new A.CssValue(B.Combinator_Htt, _this.spanFrom$1(new A._SpanScannerState(t1, t6)), t5));
  48724. break;
  48725. default:
  48726. if (next != null)
  48727. t6 = !t4.containsKey$1(next) && !_this.lookingAtIdentifier$0();
  48728. else
  48729. t6 = true;
  48730. if (t6)
  48731. break $label0$1;
  48732. if (lastCompound != null) {
  48733. t6 = _this.spanFrom$1(componentStart);
  48734. result = A.List_List$from(combinators, false, t5);
  48735. result.fixed$length = Array;
  48736. result.immutable$list = Array;
  48737. components.push(new A.ComplexSelectorComponent(lastCompound, result, t6));
  48738. } else if (combinators.length !== 0) {
  48739. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48740. initialCombinators = combinators;
  48741. }
  48742. lastCompound = _this._compoundSelector$0();
  48743. combinators = A._setArrayType([], t3);
  48744. if (t1.peekChar$0() === 38)
  48745. t1.error$1(0, string$.x22x26__ma);
  48746. break;
  48747. }
  48748. }
  48749. if (lastCompound != null) {
  48750. t3 = _this.spanFrom$1(componentStart);
  48751. components.push(new A.ComplexSelectorComponent(lastCompound, A.List_List$unmodifiable(combinators, t5), t3));
  48752. } else if (combinators.length !== 0)
  48753. initialCombinators = combinators;
  48754. else
  48755. t1.error$1(0, "expected selector.");
  48756. t3 = initialCombinators == null ? B.List_empty1 : initialCombinators;
  48757. return A.ComplexSelector$(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  48758. },
  48759. _complexSelector$0() {
  48760. return this._complexSelector$1$lineBreak(false);
  48761. },
  48762. _compoundSelector$0() {
  48763. var t3, _this = this,
  48764. t1 = _this.scanner,
  48765. t2 = t1._string_scanner$_position,
  48766. components = A._setArrayType([_this._simpleSelector$0()], type$.JSArray_SimpleSelector);
  48767. while (true) {
  48768. t3 = t1.peekChar$0();
  48769. if (!(t3 === 42 || t3 === 91 || t3 === 46 || t3 === 35 || t3 === 37 || t3 === 58))
  48770. break;
  48771. components.push(_this._simpleSelector$1$allowParent(false));
  48772. }
  48773. return A.CompoundSelector$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  48774. },
  48775. _simpleSelector$1$allowParent(allowParent) {
  48776. var t2, $name, text, t3, suffix, _this = this,
  48777. t1 = _this.scanner,
  48778. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48779. if (allowParent == null)
  48780. allowParent = _this._allowParent;
  48781. switch (t1.peekChar$0()) {
  48782. case 91:
  48783. return _this._attributeSelector$0();
  48784. case 46:
  48785. t2 = t1._string_scanner$_position;
  48786. t1.expectChar$1(46);
  48787. return new A.ClassSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  48788. case 35:
  48789. t2 = t1._string_scanner$_position;
  48790. t1.expectChar$1(35);
  48791. return new A.IDSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  48792. case 37:
  48793. t2 = t1._string_scanner$_position;
  48794. t1.expectChar$1(37);
  48795. $name = _this.identifier$0();
  48796. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  48797. if (!_this._allowPlaceholder)
  48798. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  48799. return new A.PlaceholderSelector($name, t2);
  48800. case 58:
  48801. return _this._pseudoSelector$0();
  48802. case 38:
  48803. t2 = t1._string_scanner$_position;
  48804. t1.expectChar$1(38);
  48805. if (_this.lookingAtIdentifierBody$0()) {
  48806. text = new A.StringBuffer("");
  48807. _this._identifierBody$1(text);
  48808. if (text._contents.length === 0)
  48809. t1.error$1(0, "Expected identifier body.");
  48810. t3 = text._contents;
  48811. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  48812. } else
  48813. suffix = null;
  48814. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  48815. if (!allowParent)
  48816. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  48817. return new A.ParentSelector(suffix, t2);
  48818. default:
  48819. return _this._typeOrUniversalSelector$0();
  48820. }
  48821. },
  48822. _simpleSelector$0() {
  48823. return this._simpleSelector$1$allowParent(null);
  48824. },
  48825. _attributeSelector$0() {
  48826. var $name, operator, next, value, modifier, _this = this, _null = null,
  48827. t1 = _this.scanner,
  48828. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48829. t1.expectChar$1(91);
  48830. _this.whitespace$0();
  48831. $name = _this._attributeName$0();
  48832. _this.whitespace$0();
  48833. if (t1.scanChar$1(93))
  48834. return new A.AttributeSelector($name, _null, _null, _null, _this.spanFrom$1(start));
  48835. operator = _this._attributeOperator$0();
  48836. _this.whitespace$0();
  48837. next = t1.peekChar$0();
  48838. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  48839. _this.whitespace$0();
  48840. next = t1.peekChar$0();
  48841. modifier = next != null && A.isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  48842. t1.expectChar$1(93);
  48843. return new A.AttributeSelector($name, operator, value, modifier, _this.spanFrom$1(start));
  48844. },
  48845. _attributeName$0() {
  48846. var nameOrNamespace, _this = this,
  48847. t1 = _this.scanner;
  48848. if (t1.scanChar$1(42)) {
  48849. t1.expectChar$1(124);
  48850. return new A.QualifiedName(_this.identifier$0(), "*");
  48851. }
  48852. if (t1.scanChar$1(124))
  48853. return new A.QualifiedName(_this.identifier$0(), "");
  48854. nameOrNamespace = _this.identifier$0();
  48855. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  48856. return new A.QualifiedName(nameOrNamespace, null);
  48857. t1.readChar$0();
  48858. return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
  48859. },
  48860. _attributeOperator$0() {
  48861. var t1 = this.scanner,
  48862. t2 = t1._string_scanner$_position;
  48863. switch (t1.readChar$0()) {
  48864. case 61:
  48865. return B.AttributeOperator_ES6;
  48866. case 126:
  48867. t1.expectChar$1(61);
  48868. return B.AttributeOperator_r60;
  48869. case 124:
  48870. t1.expectChar$1(61);
  48871. return B.AttributeOperator_ivT;
  48872. case 94:
  48873. t1.expectChar$1(61);
  48874. return B.AttributeOperator_eot;
  48875. case 36:
  48876. t1.expectChar$1(61);
  48877. return B.AttributeOperator_BGd;
  48878. case 42:
  48879. t1.expectChar$1(61);
  48880. return B.AttributeOperator_8aB;
  48881. default:
  48882. t1.error$2$position(0, 'Expected "]".', t2);
  48883. }
  48884. },
  48885. _pseudoSelector$0() {
  48886. var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
  48887. t1 = _this.scanner,
  48888. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48889. t1.expectChar$1(58);
  48890. element = t1.scanChar$1(58);
  48891. $name = _this.identifier$0();
  48892. if (!t1.scanChar$1(40))
  48893. return A.PseudoSelector$($name, _this.spanFrom$1(start), _null, element, _null);
  48894. _this.whitespace$0();
  48895. unvendored = A.unvendor($name);
  48896. if (element)
  48897. if ($._selectorPseudoElements.contains$1(0, unvendored)) {
  48898. selector = _this._selectorList$0();
  48899. argument = _null;
  48900. } else {
  48901. argument = _this.declarationValue$1$allowEmpty(true);
  48902. selector = _null;
  48903. }
  48904. else if ($._selectorPseudoClasses.contains$1(0, unvendored)) {
  48905. selector = _this._selectorList$0();
  48906. argument = _null;
  48907. } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  48908. argument = _this._aNPlusB$0();
  48909. _this.whitespace$0();
  48910. t2 = t1.peekChar$1(-1);
  48911. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  48912. _this.expectIdentifier$1("of");
  48913. argument += " of";
  48914. _this.whitespace$0();
  48915. selector = _this._selectorList$0();
  48916. } else
  48917. selector = _null;
  48918. } else {
  48919. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  48920. selector = _null;
  48921. }
  48922. t1.expectChar$1(41);
  48923. return A.PseudoSelector$($name, _this.spanFrom$1(start), argument, element, selector);
  48924. },
  48925. _aNPlusB$0() {
  48926. var t2, first, t3, next, last, _this = this,
  48927. t1 = _this.scanner;
  48928. switch (t1.peekChar$0()) {
  48929. case 101:
  48930. case 69:
  48931. _this.expectIdentifier$1("even");
  48932. return "even";
  48933. case 111:
  48934. case 79:
  48935. _this.expectIdentifier$1("odd");
  48936. return "odd";
  48937. case 43:
  48938. case 45:
  48939. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  48940. break;
  48941. default:
  48942. t2 = "";
  48943. }
  48944. first = t1.peekChar$0();
  48945. if (first != null && A.isDigit(first)) {
  48946. while (true) {
  48947. t3 = t1.peekChar$0();
  48948. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  48949. break;
  48950. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  48951. }
  48952. _this.whitespace$0();
  48953. if (!_this.scanIdentChar$1(110))
  48954. return t2.charCodeAt(0) == 0 ? t2 : t2;
  48955. } else
  48956. _this.expectIdentChar$1(110);
  48957. t2 += A.Primitives_stringFromCharCode(110);
  48958. _this.whitespace$0();
  48959. next = t1.peekChar$0();
  48960. if (next !== 43 && next !== 45)
  48961. return t2.charCodeAt(0) == 0 ? t2 : t2;
  48962. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  48963. _this.whitespace$0();
  48964. last = t1.peekChar$0();
  48965. if (last == null || !A.isDigit(last))
  48966. t1.error$1(0, "Expected a number.");
  48967. while (true) {
  48968. t3 = t1.peekChar$0();
  48969. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  48970. break;
  48971. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  48972. }
  48973. return t2.charCodeAt(0) == 0 ? t2 : t2;
  48974. },
  48975. _typeOrUniversalSelector$0() {
  48976. var nameOrNamespace, _this = this,
  48977. t1 = _this.scanner,
  48978. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  48979. first = t1.peekChar$0();
  48980. if (first === 42) {
  48981. t1.readChar$0();
  48982. if (!t1.scanChar$1(124))
  48983. return new A.UniversalSelector(null, _this.spanFrom$1(start));
  48984. if (t1.scanChar$1(42))
  48985. return new A.UniversalSelector("*", _this.spanFrom$1(start));
  48986. else
  48987. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), "*"), _this.spanFrom$1(start));
  48988. } else if (first === 124) {
  48989. t1.readChar$0();
  48990. if (t1.scanChar$1(42))
  48991. return new A.UniversalSelector("", _this.spanFrom$1(start));
  48992. else
  48993. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), ""), _this.spanFrom$1(start));
  48994. }
  48995. nameOrNamespace = _this.identifier$0();
  48996. if (!t1.scanChar$1(124))
  48997. return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null), _this.spanFrom$1(start));
  48998. else if (t1.scanChar$1(42))
  48999. return new A.UniversalSelector(nameOrNamespace, _this.spanFrom$1(start));
  49000. else
  49001. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  49002. }
  49003. };
  49004. A.SelectorParser_parse_closure.prototype = {
  49005. call$0() {
  49006. var t1 = this.$this,
  49007. selector = t1._selectorList$0();
  49008. t1 = t1.scanner;
  49009. if (t1._string_scanner$_position !== t1.string.length)
  49010. t1.error$1(0, "expected selector.");
  49011. return selector;
  49012. },
  49013. $signature: 345
  49014. };
  49015. A.SelectorParser_parseCompoundSelector_closure.prototype = {
  49016. call$0() {
  49017. var t1 = this.$this,
  49018. compound = t1._compoundSelector$0();
  49019. t1 = t1.scanner;
  49020. if (t1._string_scanner$_position !== t1.string.length)
  49021. t1.error$1(0, "expected selector.");
  49022. return compound;
  49023. },
  49024. $signature: 346
  49025. };
  49026. A.StylesheetParser.prototype = {
  49027. parse$0() {
  49028. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
  49029. },
  49030. parseArgumentDeclaration$0() {
  49031. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure(this), type$.ArgumentDeclaration);
  49032. },
  49033. parseVariableDeclaration$0() {
  49034. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration);
  49035. },
  49036. parseUseRule$0() {
  49037. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule);
  49038. },
  49039. _parseSingleProduction$1$1(production, $T) {
  49040. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
  49041. },
  49042. _statement$1$root(root) {
  49043. var t2, _this = this,
  49044. t1 = _this.scanner;
  49045. switch (t1.peekChar$0()) {
  49046. case 64:
  49047. return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
  49048. case 43:
  49049. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  49050. return _this._styleRule$0();
  49051. _this._isUseAllowed = false;
  49052. t2 = t1._string_scanner$_position;
  49053. t1.readChar$0();
  49054. return _this._includeRule$1(new A._SpanScannerState(t1, t2));
  49055. case 61:
  49056. if (!_this.get$indented())
  49057. return _this._styleRule$0();
  49058. _this._isUseAllowed = false;
  49059. t2 = t1._string_scanner$_position;
  49060. t1.readChar$0();
  49061. _this.whitespace$0();
  49062. return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
  49063. case 125:
  49064. t1.error$2$length(0, 'unmatched "}".', 1);
  49065. break;
  49066. default:
  49067. return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
  49068. }
  49069. },
  49070. _statement$0() {
  49071. return this._statement$1$root(false);
  49072. },
  49073. _variableDeclarationWithNamespace$0() {
  49074. var t1 = this.scanner,
  49075. t2 = t1._string_scanner$_position,
  49076. namespace = this.identifier$0();
  49077. t1.expectChar$1(46);
  49078. return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  49079. },
  49080. variableDeclarationWithoutNamespace$2(namespace, start_) {
  49081. var t1, start, $name, t2, value, flagStart, t3, $self, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this, _null = null,
  49082. _s97_ = string$.x21defau,
  49083. _s96_ = string$.x21globas,
  49084. precedingComment = _this.lastSilentComment;
  49085. _this.lastSilentComment = null;
  49086. if (start_ == null) {
  49087. t1 = _this.scanner;
  49088. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49089. } else
  49090. start = start_;
  49091. $name = _this.variableName$0();
  49092. t1 = namespace != null;
  49093. if (t1)
  49094. _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
  49095. if (_this.get$plainCss())
  49096. _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
  49097. _this.whitespace$0();
  49098. t2 = _this.scanner;
  49099. t2.expectChar$1(58);
  49100. _this.whitespace$0();
  49101. value = _this._expression$0();
  49102. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  49103. for (t3 = t2.string, $self = _this.logger, guarded = false, global = false; t2.scanChar$1(33);) {
  49104. flag = _this.identifier$0();
  49105. if (flag === "default") {
  49106. if (guarded) {
  49107. endPosition = t2._string_scanner$_position;
  49108. t4 = t2._sourceFile;
  49109. t5 = flagStart.position;
  49110. t6 = new A._FileSpan(t4, t5, endPosition);
  49111. t6._FileSpan$3(t4, t5, endPosition);
  49112. if ($self instanceof A.DeprecationHandlingLogger)
  49113. $self.warnForDeprecation$4$span$trace(B.Deprecation_Auo, _s97_, t6, _null);
  49114. else
  49115. $self.warn$4$deprecation$span$trace(0, _s97_, true, t6, _null);
  49116. }
  49117. guarded = true;
  49118. } else if (flag === "global") {
  49119. if (t1) {
  49120. endPosition = t2._string_scanner$_position;
  49121. t4 = t2._sourceFile;
  49122. t5 = flagStart.position;
  49123. t6 = new A._FileSpan(t4, t5, endPosition);
  49124. t6._FileSpan$3(t4, t5, endPosition);
  49125. A.throwExpression(new A.StringScannerException(t3, string$.x21globai, t6));
  49126. } else if (global) {
  49127. endPosition = t2._string_scanner$_position;
  49128. t4 = t2._sourceFile;
  49129. t5 = flagStart.position;
  49130. t6 = new A._FileSpan(t4, t5, endPosition);
  49131. t6._FileSpan$3(t4, t5, endPosition);
  49132. if ($self instanceof A.DeprecationHandlingLogger)
  49133. $self.warnForDeprecation$4$span$trace(B.Deprecation_Auo, _s96_, t6, _null);
  49134. else
  49135. $self.warn$4$deprecation$span$trace(0, _s96_, true, t6, _null);
  49136. }
  49137. global = true;
  49138. } else {
  49139. endPosition = t2._string_scanner$_position;
  49140. t4 = t2._sourceFile;
  49141. t5 = flagStart.position;
  49142. t6 = new A._FileSpan(t4, t5, endPosition);
  49143. t6._FileSpan$3(t4, t5, endPosition);
  49144. A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
  49145. }
  49146. _this.whitespace$0();
  49147. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  49148. }
  49149. _this.expectStatementSeparator$1("variable declaration");
  49150. declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  49151. if (global)
  49152. _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
  49153. return declaration;
  49154. },
  49155. variableDeclarationWithoutNamespace$0() {
  49156. return this.variableDeclarationWithoutNamespace$2(null, null);
  49157. },
  49158. _variableDeclarationOrStyleRule$0() {
  49159. var t1, t2, variableOrInterpolation, t3, _this = this;
  49160. if (_this.get$plainCss())
  49161. return _this._styleRule$0();
  49162. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  49163. return _this._styleRule$0();
  49164. if (!_this.lookingAtIdentifier$0())
  49165. return _this._styleRule$0();
  49166. t1 = _this.scanner;
  49167. t2 = t1._string_scanner$_position;
  49168. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  49169. if (variableOrInterpolation instanceof A.VariableDeclaration)
  49170. return variableOrInterpolation;
  49171. else {
  49172. t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  49173. t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  49174. return _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
  49175. }
  49176. },
  49177. _declarationOrStyleRule$0() {
  49178. var t1, t2, declarationOrBuffer, _this = this;
  49179. if (_this.get$plainCss() && _this._inStyleRule && !_this._stylesheet$_inUnknownAtRule)
  49180. return _this._propertyOrVariableDeclaration$0();
  49181. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  49182. return _this._styleRule$0();
  49183. t1 = _this.scanner;
  49184. t2 = t1._string_scanner$_position;
  49185. declarationOrBuffer = _this._declarationOrBuffer$0();
  49186. return type$.Statement._is(declarationOrBuffer) ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  49187. },
  49188. _declarationOrBuffer$0() {
  49189. var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
  49190. t2 = _this.scanner,
  49191. start = new A._SpanScannerState(t2, t2._string_scanner$_position),
  49192. nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
  49193. first = t2.peekChar$0();
  49194. if (first !== 58)
  49195. if (first !== 42)
  49196. if (first !== 46)
  49197. t3 = first === 35 && t2.peekChar$1(1) !== 123;
  49198. else
  49199. t3 = true;
  49200. else
  49201. t3 = true;
  49202. else
  49203. t3 = true;
  49204. if (t3) {
  49205. t3 = t2.readChar$0();
  49206. nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(t3);
  49207. t3 = _this.rawText$1(_this.get$whitespace());
  49208. nameBuffer._interpolation_buffer$_text._contents += t3;
  49209. startsWithPunctuation = true;
  49210. } else
  49211. startsWithPunctuation = false;
  49212. if (!_this._lookingAtInterpolatedIdentifier$0())
  49213. return nameBuffer;
  49214. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
  49215. if (variableOrInterpolation instanceof A.VariableDeclaration)
  49216. return variableOrInterpolation;
  49217. else
  49218. nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  49219. _this._isUseAllowed = false;
  49220. if (t2.matches$1("/*")) {
  49221. t3 = _this.rawText$1(_this.get$loudComment());
  49222. nameBuffer._interpolation_buffer$_text._contents += t3;
  49223. }
  49224. midBuffer = new A.StringBuffer("");
  49225. t3 = _this.get$whitespace();
  49226. midBuffer._contents += _this.rawText$1(t3);
  49227. t4 = t2._string_scanner$_position;
  49228. if (!t2.scanChar$1(58)) {
  49229. if (midBuffer._contents.length !== 0)
  49230. nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(32);
  49231. return nameBuffer;
  49232. }
  49233. midBuffer._contents += A.Primitives_stringFromCharCode(58);
  49234. $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
  49235. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  49236. t1 = _this._interpolatedDeclarationValue$0();
  49237. _this.expectStatementSeparator$1("custom property");
  49238. return A.Declaration$($name, new A.StringExpression(t1, false), t2.spanFrom$1(start));
  49239. }
  49240. if (t2.scanChar$1(58)) {
  49241. t1 = nameBuffer;
  49242. t2 = t1._interpolation_buffer$_text;
  49243. t2._contents += A.S(midBuffer);
  49244. t2._contents += A.Primitives_stringFromCharCode(58);
  49245. return t1;
  49246. } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
  49247. t1 = nameBuffer;
  49248. t1._interpolation_buffer$_text._contents += A.S(midBuffer);
  49249. return t1;
  49250. }
  49251. postColonWhitespace = _this.rawText$1(t3);
  49252. if (_this.lookingAtChildren$0())
  49253. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure($name));
  49254. midBuffer._contents += postColonWhitespace;
  49255. couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
  49256. beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
  49257. t3 = t1.value = null;
  49258. try {
  49259. t3 = t1.value = _this._expression$0();
  49260. if (_this.lookingAtChildren$0()) {
  49261. if (couldBeSelector)
  49262. _this.expectStatementSeparator$0();
  49263. } else if (!_this.atEndOfStatement$0())
  49264. _this.expectStatementSeparator$0();
  49265. } catch (exception) {
  49266. if (type$.FormatException._is(A.unwrapException(exception))) {
  49267. if (!couldBeSelector)
  49268. throw exception;
  49269. t2.set$state(beforeDeclaration);
  49270. additional = _this.almostAnyValue$0();
  49271. if (!_this.get$indented() && t2.peekChar$0() === 59)
  49272. throw exception;
  49273. nameBuffer._interpolation_buffer$_text._contents += A.S(midBuffer);
  49274. nameBuffer.addInterpolation$1(additional);
  49275. return nameBuffer;
  49276. } else
  49277. throw exception;
  49278. }
  49279. if (_this.lookingAtChildren$0())
  49280. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure0(t1, $name));
  49281. else {
  49282. _this.expectStatementSeparator$0();
  49283. return A.Declaration$($name, t3, t2.spanFrom$1(start));
  49284. }
  49285. },
  49286. _variableDeclarationOrInterpolation$0() {
  49287. var t1, start, identifier, t2, buffer, _this = this;
  49288. if (!_this.lookingAtIdentifier$0())
  49289. return _this.interpolatedIdentifier$0();
  49290. t1 = _this.scanner;
  49291. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49292. identifier = _this.identifier$0();
  49293. if (t1.matches$1(".$")) {
  49294. t1.readChar$0();
  49295. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  49296. } else {
  49297. t2 = new A.StringBuffer("");
  49298. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  49299. t2._contents = "" + identifier;
  49300. if (_this._lookingAtInterpolatedIdentifierBody$0())
  49301. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  49302. return buffer.interpolation$1(t1.spanFrom$1(start));
  49303. }
  49304. },
  49305. _styleRule$2(buffer, start_) {
  49306. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  49307. _this._isUseAllowed = false;
  49308. if (start_ == null) {
  49309. t2 = _this.scanner;
  49310. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  49311. } else
  49312. start = start_;
  49313. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  49314. if (buffer != null) {
  49315. buffer.addInterpolation$1(interpolation);
  49316. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  49317. } else
  49318. t2 = interpolation;
  49319. if (t2.contents.length === 0)
  49320. _this.scanner.error$1(0, 'expected "}".');
  49321. wasInStyleRule = _this._inStyleRule;
  49322. _this._inStyleRule = true;
  49323. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
  49324. },
  49325. _styleRule$0() {
  49326. return this._styleRule$2(null, null);
  49327. },
  49328. _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  49329. var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
  49330. _s48_ = string$.Nested,
  49331. t1 = {},
  49332. t2 = _this.scanner,
  49333. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  49334. t1.name = null;
  49335. first = t2.peekChar$0();
  49336. if (first !== 58)
  49337. if (first !== 42)
  49338. if (first !== 46)
  49339. t3 = first === 35 && t2.peekChar$1(1) !== 123;
  49340. else
  49341. t3 = true;
  49342. else
  49343. t3 = true;
  49344. else
  49345. t3 = true;
  49346. if (t3) {
  49347. t3 = new A.StringBuffer("");
  49348. nameBuffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  49349. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  49350. t3._contents += _this.rawText$1(_this.get$whitespace());
  49351. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  49352. t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
  49353. } else if (!_this.get$plainCss()) {
  49354. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  49355. if (variableOrInterpolation instanceof A.VariableDeclaration)
  49356. return variableOrInterpolation;
  49357. else {
  49358. type$.Interpolation._as(variableOrInterpolation);
  49359. t1.name = variableOrInterpolation;
  49360. }
  49361. t3 = variableOrInterpolation;
  49362. } else {
  49363. $name = _this.interpolatedIdentifier$0();
  49364. t1.name = $name;
  49365. t3 = $name;
  49366. }
  49367. _this.whitespace$0();
  49368. t2.expectChar$1(58);
  49369. if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
  49370. t1 = _this._interpolatedDeclarationValue$0();
  49371. _this.expectStatementSeparator$1("custom property");
  49372. return A.Declaration$(t3, new A.StringExpression(t1, false), t2.spanFrom$1(start));
  49373. }
  49374. _this.whitespace$0();
  49375. if (_this.lookingAtChildren$0()) {
  49376. if (_this.get$plainCss())
  49377. t2.error$1(0, _s48_);
  49378. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure(t1));
  49379. }
  49380. value = _this._expression$0();
  49381. if (_this.lookingAtChildren$0()) {
  49382. if (_this.get$plainCss())
  49383. t2.error$1(0, _s48_);
  49384. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure0(t1, value));
  49385. } else {
  49386. _this.expectStatementSeparator$0();
  49387. return A.Declaration$(t3, value, t2.spanFrom$1(start));
  49388. }
  49389. },
  49390. _propertyOrVariableDeclaration$0() {
  49391. return this._propertyOrVariableDeclaration$1$parseCustomProperties(true);
  49392. },
  49393. _declarationChild$0() {
  49394. if (this.scanner.peekChar$0() === 64)
  49395. return this._declarationAtRule$0();
  49396. return this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
  49397. },
  49398. atRule$2$root(child, root) {
  49399. var $name, wasUseAllowed, value, optional, _this = this,
  49400. t1 = _this.scanner,
  49401. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49402. t1.expectChar$2$name(64, "@-rule");
  49403. $name = _this.interpolatedIdentifier$0();
  49404. _this.whitespace$0();
  49405. wasUseAllowed = _this._isUseAllowed;
  49406. _this._isUseAllowed = false;
  49407. switch ($name.get$asPlain()) {
  49408. case "at-root":
  49409. return _this._atRootRule$1(start);
  49410. case "content":
  49411. return _this._contentRule$1(start);
  49412. case "debug":
  49413. return _this._debugRule$1(start);
  49414. case "each":
  49415. return _this._eachRule$2(start, child);
  49416. case "else":
  49417. return _this._disallowedAtRule$1(start);
  49418. case "error":
  49419. return _this._errorRule$1(start);
  49420. case "extend":
  49421. if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
  49422. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  49423. value = _this.almostAnyValue$0();
  49424. optional = t1.scanChar$1(33);
  49425. if (optional)
  49426. _this.expectIdentifier$1("optional");
  49427. _this.expectStatementSeparator$1("@extend rule");
  49428. return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
  49429. case "for":
  49430. return _this._forRule$2(start, child);
  49431. case "forward":
  49432. _this._isUseAllowed = wasUseAllowed;
  49433. if (!root)
  49434. _this._disallowedAtRule$1(start);
  49435. return _this._forwardRule$1(start);
  49436. case "function":
  49437. return _this._functionRule$1(start);
  49438. case "if":
  49439. return _this._ifRule$2(start, child);
  49440. case "import":
  49441. return _this._importRule$1(start);
  49442. case "include":
  49443. return _this._includeRule$1(start);
  49444. case "media":
  49445. return _this.mediaRule$1(start);
  49446. case "mixin":
  49447. return _this._mixinRule$1(start);
  49448. case "-moz-document":
  49449. return _this.mozDocumentRule$2(start, $name);
  49450. case "return":
  49451. return _this._disallowedAtRule$1(start);
  49452. case "supports":
  49453. return _this.supportsRule$1(start);
  49454. case "use":
  49455. _this._isUseAllowed = wasUseAllowed;
  49456. if (!root)
  49457. _this._disallowedAtRule$1(start);
  49458. return _this._useRule$1(start);
  49459. case "warn":
  49460. return _this._warnRule$1(start);
  49461. case "while":
  49462. return _this._whileRule$2(start, child);
  49463. default:
  49464. return _this.unknownAtRule$2(start, $name);
  49465. }
  49466. },
  49467. _declarationAtRule$0() {
  49468. var _this = this,
  49469. t1 = _this.scanner,
  49470. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49471. switch (_this._plainAtRuleName$0()) {
  49472. case "content":
  49473. return _this._contentRule$1(start);
  49474. case "debug":
  49475. return _this._debugRule$1(start);
  49476. case "each":
  49477. return _this._eachRule$2(start, _this.get$_declarationChild());
  49478. case "else":
  49479. return _this._disallowedAtRule$1(start);
  49480. case "error":
  49481. return _this._errorRule$1(start);
  49482. case "for":
  49483. return _this._forRule$2(start, _this.get$_declarationChild());
  49484. case "if":
  49485. return _this._ifRule$2(start, _this.get$_declarationChild());
  49486. case "include":
  49487. return _this._includeRule$1(start);
  49488. case "warn":
  49489. return _this._warnRule$1(start);
  49490. case "while":
  49491. return _this._whileRule$2(start, _this.get$_declarationChild());
  49492. default:
  49493. return _this._disallowedAtRule$1(start);
  49494. }
  49495. },
  49496. _functionChild$0() {
  49497. var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, value, _this = this,
  49498. t1 = _this.scanner;
  49499. if (t1.peekChar$0() !== 64) {
  49500. state = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49501. try {
  49502. t2 = _this._variableDeclarationWithNamespace$0();
  49503. return t2;
  49504. } catch (exception) {
  49505. t2 = A.unwrapException(exception);
  49506. t3 = type$.SourceSpanFormatException;
  49507. if (t3._is(t2)) {
  49508. variableDeclarationError = t2;
  49509. stackTrace = A.getTraceFromException(exception);
  49510. t1.set$state(state);
  49511. statement = null;
  49512. try {
  49513. statement = _this._declarationOrStyleRule$0();
  49514. } catch (exception) {
  49515. if (t3._is(A.unwrapException(exception)))
  49516. throw A.wrapException(variableDeclarationError);
  49517. else
  49518. throw exception;
  49519. }
  49520. t2 = statement instanceof A.StyleRule ? "style rules" : "declarations";
  49521. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  49522. } else
  49523. throw exception;
  49524. }
  49525. }
  49526. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49527. switch (_this._plainAtRuleName$0()) {
  49528. case "debug":
  49529. return _this._debugRule$1(start);
  49530. case "each":
  49531. return _this._eachRule$2(start, _this.get$_functionChild());
  49532. case "else":
  49533. return _this._disallowedAtRule$1(start);
  49534. case "error":
  49535. return _this._errorRule$1(start);
  49536. case "for":
  49537. return _this._forRule$2(start, _this.get$_functionChild());
  49538. case "if":
  49539. return _this._ifRule$2(start, _this.get$_functionChild());
  49540. case "return":
  49541. value = _this._expression$0();
  49542. _this.expectStatementSeparator$1("@return rule");
  49543. return new A.ReturnRule(value, t1.spanFrom$1(start));
  49544. case "warn":
  49545. return _this._warnRule$1(start);
  49546. case "while":
  49547. return _this._whileRule$2(start, _this.get$_functionChild());
  49548. default:
  49549. return _this._disallowedAtRule$1(start);
  49550. }
  49551. },
  49552. _plainAtRuleName$0() {
  49553. this.scanner.expectChar$2$name(64, "@-rule");
  49554. var $name = this.identifier$0();
  49555. this.whitespace$0();
  49556. return $name;
  49557. },
  49558. _atRootRule$1(start) {
  49559. var t2, t3, t4, buffer, t5, query, _this = this,
  49560. t1 = _this.scanner;
  49561. if (t1.peekChar$0() === 40) {
  49562. t2 = t1._string_scanner$_position;
  49563. t3 = new A.StringBuffer("");
  49564. t4 = A._setArrayType([], type$.JSArray_Object);
  49565. buffer = new A.InterpolationBuffer(t3, t4);
  49566. t1.expectChar$1(40);
  49567. t3._contents += A.Primitives_stringFromCharCode(40);
  49568. _this.whitespace$0();
  49569. t5 = _this._expression$0();
  49570. buffer._flushText$0();
  49571. t4.push(t5);
  49572. if (t1.scanChar$1(58)) {
  49573. _this.whitespace$0();
  49574. t3._contents += A.Primitives_stringFromCharCode(58);
  49575. t3._contents += A.Primitives_stringFromCharCode(32);
  49576. t5 = _this._expression$0();
  49577. buffer._flushText$0();
  49578. t4.push(t5);
  49579. }
  49580. t1.expectChar$1(41);
  49581. _this.whitespace$0();
  49582. t3._contents += A.Primitives_stringFromCharCode(41);
  49583. query = buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  49584. _this.whitespace$0();
  49585. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(query));
  49586. } else if (_this.lookingAtChildren$0())
  49587. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
  49588. else
  49589. return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
  49590. },
  49591. _contentRule$1(start) {
  49592. var t1, $arguments, t2, t3, _this = this;
  49593. if (!_this._stylesheet$_inMixin)
  49594. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  49595. _this.whitespace$0();
  49596. t1 = _this.scanner;
  49597. if (t1.peekChar$0() === 40)
  49598. $arguments = _this._argumentInvocation$1$mixin(true);
  49599. else {
  49600. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  49601. t3 = t2.offset;
  49602. $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
  49603. }
  49604. _this.expectStatementSeparator$1("@content rule");
  49605. return new A.ContentRule($arguments, t1.spanFrom$1(start));
  49606. },
  49607. _debugRule$1(start) {
  49608. var value = this._expression$0();
  49609. this.expectStatementSeparator$1("@debug rule");
  49610. return new A.DebugRule(value, this.scanner.spanFrom$1(start));
  49611. },
  49612. _eachRule$2(start, child) {
  49613. var variables, t1, _this = this,
  49614. wasInControlDirective = _this._inControlDirective;
  49615. _this._inControlDirective = true;
  49616. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  49617. _this.whitespace$0();
  49618. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  49619. _this.whitespace$0();
  49620. t1.expectChar$1(36);
  49621. variables.push(_this.identifier$1$normalize(true));
  49622. _this.whitespace$0();
  49623. }
  49624. _this.expectIdentifier$1("in");
  49625. _this.whitespace$0();
  49626. return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this._expression$0()));
  49627. },
  49628. _errorRule$1(start) {
  49629. var value = this._expression$0();
  49630. this.expectStatementSeparator$1("@error rule");
  49631. return new A.ErrorRule(value, this.scanner.spanFrom$1(start));
  49632. },
  49633. _functionRule$1(start) {
  49634. var $name, $arguments, _this = this,
  49635. precedingComment = _this.lastSilentComment;
  49636. _this.lastSilentComment = null;
  49637. $name = _this.identifier$1$normalize(true);
  49638. _this.whitespace$0();
  49639. $arguments = _this._argumentDeclaration$0();
  49640. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  49641. _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
  49642. else if (_this._inControlDirective)
  49643. _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
  49644. switch (A.unvendor($name)) {
  49645. case "calc":
  49646. case "element":
  49647. case "expression":
  49648. case "url":
  49649. case "and":
  49650. case "or":
  49651. case "not":
  49652. case "clamp":
  49653. _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
  49654. break;
  49655. }
  49656. _this.whitespace$0();
  49657. return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, $arguments, precedingComment));
  49658. },
  49659. _forRule$2(start, child) {
  49660. var variable, from, _this = this, t1 = {},
  49661. wasInControlDirective = _this._inControlDirective;
  49662. _this._inControlDirective = true;
  49663. variable = _this.variableName$0();
  49664. _this.whitespace$0();
  49665. _this.expectIdentifier$1("from");
  49666. _this.whitespace$0();
  49667. t1.exclusive = null;
  49668. from = _this._expression$1$until(new A.StylesheetParser__forRule_closure(t1, _this));
  49669. if (t1.exclusive == null)
  49670. _this.scanner.error$1(0, 'Expected "to" or "through".');
  49671. _this.whitespace$0();
  49672. return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this._expression$0()));
  49673. },
  49674. _forwardRule$1(start) {
  49675. var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
  49676. url = _this._urlString$0();
  49677. _this.whitespace$0();
  49678. if (_this.scanIdentifier$1("as")) {
  49679. _this.whitespace$0();
  49680. prefix = _this.identifier$1$normalize(true);
  49681. _this.scanner.expectChar$1(42);
  49682. _this.whitespace$0();
  49683. } else
  49684. prefix = _null;
  49685. if (_this.scanIdentifier$1("show")) {
  49686. members = _this._memberList$0();
  49687. shownMixinsAndFunctions = members.item1;
  49688. shownVariables = members.item2;
  49689. hiddenVariables = _null;
  49690. hiddenMixinsAndFunctions = hiddenVariables;
  49691. } else {
  49692. if (_this.scanIdentifier$1("hide")) {
  49693. members = _this._memberList$0();
  49694. hiddenMixinsAndFunctions = members.item1;
  49695. hiddenVariables = members.item2;
  49696. } else {
  49697. hiddenVariables = _null;
  49698. hiddenMixinsAndFunctions = hiddenVariables;
  49699. }
  49700. shownVariables = _null;
  49701. shownMixinsAndFunctions = shownVariables;
  49702. }
  49703. configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
  49704. _this.expectStatementSeparator$1("@forward rule");
  49705. span = _this.scanner.spanFrom$1(start);
  49706. if (!_this._isUseAllowed)
  49707. _this.error$2(0, string$.x40forwa, span);
  49708. if (shownMixinsAndFunctions != null) {
  49709. shownVariables.toString;
  49710. t1 = type$.String;
  49711. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  49712. t3 = type$.UnmodifiableSetView_String;
  49713. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  49714. t4 = configuration == null ? B.List_empty9 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  49715. return new A.ForwardRule(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  49716. } else if (hiddenMixinsAndFunctions != null) {
  49717. hiddenVariables.toString;
  49718. t1 = type$.String;
  49719. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  49720. t3 = type$.UnmodifiableSetView_String;
  49721. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  49722. t4 = configuration == null ? B.List_empty9 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  49723. return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  49724. } else
  49725. return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty9 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  49726. },
  49727. _memberList$0() {
  49728. var _this = this,
  49729. t1 = type$.String,
  49730. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  49731. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49732. t1 = _this.scanner;
  49733. do {
  49734. _this.whitespace$0();
  49735. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
  49736. _this.whitespace$0();
  49737. } while (t1.scanChar$1(44));
  49738. return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
  49739. },
  49740. _ifRule$2(start, child) {
  49741. var condition, children, clauses, lastClause, span, _this = this,
  49742. ifIndentation = _this.get$currentIndentation(),
  49743. wasInControlDirective = _this._inControlDirective;
  49744. _this._inControlDirective = true;
  49745. condition = _this._expression$0();
  49746. children = _this.children$1(0, child);
  49747. _this.whitespaceWithoutComments$0();
  49748. clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
  49749. while (true) {
  49750. if (!_this.scanElse$1(ifIndentation)) {
  49751. lastClause = null;
  49752. break;
  49753. }
  49754. _this.whitespace$0();
  49755. if (_this.scanIdentifier$1("if")) {
  49756. _this.whitespace$0();
  49757. clauses.push(A.IfClause$(_this._expression$0(), _this.children$1(0, child)));
  49758. } else {
  49759. lastClause = A.ElseClause$(_this.children$1(0, child));
  49760. break;
  49761. }
  49762. }
  49763. _this._inControlDirective = wasInControlDirective;
  49764. span = _this.scanner.spanFrom$1(start);
  49765. _this.whitespaceWithoutComments$0();
  49766. return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
  49767. },
  49768. _importRule$1(start) {
  49769. var argument, t3, _this = this,
  49770. imports = A._setArrayType([], type$.JSArray_Import),
  49771. t1 = _this.scanner,
  49772. t2 = _this.logger;
  49773. do {
  49774. _this.whitespace$0();
  49775. argument = _this.importArgument$0();
  49776. t3 = argument instanceof A.DynamicImport;
  49777. if (t3)
  49778. A.WarnForDeprecation_warnForDeprecation(t2, B.Deprecation_B8J, string$.Sass__, argument.span, null);
  49779. if ((_this._inControlDirective || _this._stylesheet$_inMixin) && t3)
  49780. _this._disallowedAtRule$1(start);
  49781. imports.push(argument);
  49782. _this.whitespace$0();
  49783. } while (t1.scanChar$1(44));
  49784. _this.expectStatementSeparator$1("@import rule");
  49785. t1 = t1.spanFrom$1(start);
  49786. return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
  49787. },
  49788. importArgument$0() {
  49789. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  49790. t1 = _this.scanner,
  49791. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  49792. next = t1.peekChar$0();
  49793. if (next === 117 || next === 85) {
  49794. url = _this.dynamicUrl$0();
  49795. _this.whitespace$0();
  49796. modifiers = _this.tryImportModifiers$0();
  49797. return new A.StaticImport(A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
  49798. }
  49799. url = _this.string$0();
  49800. urlSpan = t1.spanFrom$1(start);
  49801. _this.whitespace$0();
  49802. modifiers = _this.tryImportModifiers$0();
  49803. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  49804. t2 = urlSpan;
  49805. 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));
  49806. } else
  49807. try {
  49808. t1 = _this.parseImportUrl$1(url);
  49809. return new A.DynamicImport(t1, urlSpan);
  49810. } catch (exception) {
  49811. t1 = A.unwrapException(exception);
  49812. if (type$.FormatException._is(t1)) {
  49813. innerError = t1;
  49814. stackTrace = A.getTraceFromException(exception);
  49815. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  49816. } else
  49817. throw exception;
  49818. }
  49819. },
  49820. parseImportUrl$1(url) {
  49821. var t1 = $.$get$windows();
  49822. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  49823. return t1.toUri$1(url).toString$0(0);
  49824. A.Uri_parse(url);
  49825. return url;
  49826. },
  49827. isPlainImportUrl$1(url) {
  49828. var first;
  49829. if (url.length < 5)
  49830. return false;
  49831. if (B.JSString_methods.endsWith$1(url, ".css"))
  49832. return true;
  49833. first = B.JSString_methods._codeUnitAt$1(url, 0);
  49834. if (first === 47)
  49835. return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
  49836. if (first !== 104)
  49837. return false;
  49838. return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  49839. },
  49840. tryImportModifiers$0() {
  49841. var t1, start, t2, t3, buffer, identifier, t4, $name, query, endPosition, t5, result, _this = this;
  49842. if (!_this._lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  49843. return null;
  49844. t1 = _this.scanner;
  49845. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49846. t2 = new A.StringBuffer("");
  49847. t3 = A._setArrayType([], type$.JSArray_Object);
  49848. buffer = new A.InterpolationBuffer(t2, t3);
  49849. for (; true;)
  49850. if (_this._lookingAtInterpolatedIdentifier$0()) {
  49851. if (!(t3.length === 0 && t2._contents.length === 0))
  49852. t2._contents += A.Primitives_stringFromCharCode(32);
  49853. identifier = _this.interpolatedIdentifier$0();
  49854. buffer.addInterpolation$1(identifier);
  49855. t4 = identifier.get$asPlain();
  49856. $name = t4 == null ? null : t4.toLowerCase();
  49857. if ($name !== "and" && t1.scanChar$1(40)) {
  49858. if ($name === "supports") {
  49859. query = _this._importSupportsQuery$0();
  49860. t4 = !(query instanceof A.SupportsDeclaration);
  49861. if (t4)
  49862. t2._contents += A.Primitives_stringFromCharCode(40);
  49863. buffer._flushText$0();
  49864. t3.push(new A.SupportsExpression(query));
  49865. if (t4)
  49866. t2._contents += A.Primitives_stringFromCharCode(41);
  49867. } else {
  49868. t2._contents += A.Primitives_stringFromCharCode(40);
  49869. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
  49870. t2._contents += A.Primitives_stringFromCharCode(41);
  49871. }
  49872. t1.expectChar$1(41);
  49873. _this.whitespace$0();
  49874. } else {
  49875. _this.whitespace$0();
  49876. if (t1.scanChar$1(44)) {
  49877. t2._contents += ", ";
  49878. buffer.addInterpolation$1(_this._mediaQueryList$0());
  49879. endPosition = t1._string_scanner$_position;
  49880. t4 = t1._sourceFile;
  49881. t5 = start.position;
  49882. t1 = new A._FileSpan(t4, t5, endPosition);
  49883. t1._FileSpan$3(t4, t5, endPosition);
  49884. t5 = type$.Object;
  49885. t4 = A.List_List$of(t3, true, t5);
  49886. t3 = t2._contents;
  49887. if (t3.length !== 0)
  49888. t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  49889. result = A.List_List$from(t4, false, t5);
  49890. result.fixed$length = Array;
  49891. result.immutable$list = Array;
  49892. t2 = new A.Interpolation(result, t1);
  49893. t2.Interpolation$2(t4, t1);
  49894. return t2;
  49895. }
  49896. }
  49897. } else if (t1.peekChar$0() === 40) {
  49898. if (!(t3.length === 0 && t2._contents.length === 0))
  49899. t2._contents += A.Primitives_stringFromCharCode(32);
  49900. buffer.addInterpolation$1(_this._mediaQueryList$0());
  49901. endPosition = t1._string_scanner$_position;
  49902. t1 = t1._sourceFile;
  49903. t4 = start.position;
  49904. t5 = new A._FileSpan(t1, t4, endPosition);
  49905. t5._FileSpan$3(t1, t4, endPosition);
  49906. t4 = type$.Object;
  49907. t3 = A.List_List$of(t3, true, t4);
  49908. t1 = t2._contents;
  49909. if (t1.length !== 0)
  49910. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  49911. result = A.List_List$from(t3, false, t4);
  49912. result.fixed$length = Array;
  49913. result.immutable$list = Array;
  49914. t1 = new A.Interpolation(result, t5);
  49915. t1.Interpolation$2(t3, t5);
  49916. return t1;
  49917. } else {
  49918. endPosition = t1._string_scanner$_position;
  49919. t1 = t1._sourceFile;
  49920. t4 = start.position;
  49921. t5 = new A._FileSpan(t1, t4, endPosition);
  49922. t5._FileSpan$3(t1, t4, endPosition);
  49923. t4 = type$.Object;
  49924. t3 = A.List_List$of(t3, true, t4);
  49925. t1 = t2._contents;
  49926. if (t1.length !== 0)
  49927. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  49928. result = A.List_List$from(t3, false, t4);
  49929. result.fixed$length = Array;
  49930. result.immutable$list = Array;
  49931. t1 = new A.Interpolation(result, t5);
  49932. t1.Interpolation$2(t3, t5);
  49933. return t1;
  49934. }
  49935. },
  49936. _importSupportsQuery$0() {
  49937. var t1, t2, $function, $name, _this = this;
  49938. if (_this.scanIdentifier$1("not")) {
  49939. _this.whitespace$0();
  49940. t1 = _this.scanner;
  49941. t2 = t1._string_scanner$_position;
  49942. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  49943. } else {
  49944. t1 = _this.scanner;
  49945. if (t1.peekChar$0() === 40)
  49946. return _this._supportsCondition$0();
  49947. else {
  49948. $function = _this._tryImportSupportsFunction$0();
  49949. if ($function != null)
  49950. return $function;
  49951. t2 = t1._string_scanner$_position;
  49952. $name = _this._expression$0();
  49953. t1.expectChar$1(58);
  49954. return _this._supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
  49955. }
  49956. }
  49957. },
  49958. _tryImportSupportsFunction$0() {
  49959. var t1, start, $name, value, _this = this;
  49960. if (!_this._lookingAtInterpolatedIdentifier$0())
  49961. return null;
  49962. t1 = _this.scanner;
  49963. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49964. $name = _this.interpolatedIdentifier$0();
  49965. if (!t1.scanChar$1(40)) {
  49966. t1.set$state(start);
  49967. return null;
  49968. }
  49969. value = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  49970. t1.expectChar$1(41);
  49971. return new A.SupportsFunction($name, value, t1.spanFrom$1(start));
  49972. },
  49973. _includeRule$1(start) {
  49974. var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
  49975. $name = _this.identifier$0(),
  49976. t1 = _this.scanner;
  49977. if (t1.scanChar$1(46)) {
  49978. name0 = _this._publicIdentifier$0();
  49979. namespace = $name;
  49980. $name = name0;
  49981. } else {
  49982. $name = A.stringReplaceAllUnchecked($name, "_", "-");
  49983. namespace = _null;
  49984. }
  49985. _this.whitespace$0();
  49986. if (t1.peekChar$0() === 40)
  49987. $arguments = _this._argumentInvocation$1$mixin(true);
  49988. else {
  49989. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  49990. t3 = t2.offset;
  49991. $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
  49992. }
  49993. _this.whitespace$0();
  49994. if (_this.scanIdentifier$1("using")) {
  49995. _this.whitespace$0();
  49996. contentArguments = _this._argumentDeclaration$0();
  49997. _this.whitespace$0();
  49998. } else
  49999. contentArguments = _null;
  50000. t2 = contentArguments == null;
  50001. if (!t2 || _this.lookingAtChildren$0()) {
  50002. if (t2) {
  50003. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  50004. t3 = t2.offset;
  50005. contentArguments_ = new A.ArgumentDeclaration(B.List_empty11, _null, A._FileSpan$(t2.file, t3, t3));
  50006. } else
  50007. contentArguments_ = contentArguments;
  50008. wasInContentBlock = _this._inContentBlock;
  50009. _this._inContentBlock = true;
  50010. $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentArguments_));
  50011. _this._inContentBlock = wasInContentBlock;
  50012. } else {
  50013. _this.expectStatementSeparator$0();
  50014. $content = _null;
  50015. }
  50016. t1 = t1.spanFrom$2(start, start);
  50017. t2 = $content == null ? $arguments : $content;
  50018. return new A.IncludeRule(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
  50019. },
  50020. mediaRule$1(start) {
  50021. return this._withChildren$3(this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(this._mediaQueryList$0()));
  50022. },
  50023. _mixinRule$1(start) {
  50024. var $name, t1, $arguments, t2, t3, _this = this,
  50025. precedingComment = _this.lastSilentComment;
  50026. _this.lastSilentComment = null;
  50027. $name = _this.identifier$1$normalize(true);
  50028. _this.whitespace$0();
  50029. t1 = _this.scanner;
  50030. if (t1.peekChar$0() === 40)
  50031. $arguments = _this._argumentDeclaration$0();
  50032. else {
  50033. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  50034. t3 = t2.offset;
  50035. $arguments = new A.ArgumentDeclaration(B.List_empty11, null, A._FileSpan$(t2.file, t3, t3));
  50036. }
  50037. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  50038. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  50039. else if (_this._inControlDirective)
  50040. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  50041. _this.whitespace$0();
  50042. _this._stylesheet$_inMixin = true;
  50043. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, $arguments, precedingComment));
  50044. },
  50045. mozDocumentRule$2(start, $name) {
  50046. var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
  50047. t1 = _this.scanner,
  50048. t2 = t1._string_scanner$_position,
  50049. t3 = new A.StringBuffer(""),
  50050. t4 = A._setArrayType([], type$.JSArray_Object),
  50051. buffer = new A.InterpolationBuffer(t3, t4);
  50052. _box_0.needsDeprecationWarning = false;
  50053. for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
  50054. if (t1.peekChar$0() === 35) {
  50055. t7 = _this.singleInterpolation$0();
  50056. buffer._flushText$0();
  50057. t4.push(t7);
  50058. _box_0.needsDeprecationWarning = true;
  50059. } else {
  50060. t7 = t1._string_scanner$_position;
  50061. identifier = _this.identifier$0();
  50062. switch (identifier) {
  50063. case "url":
  50064. case "url-prefix":
  50065. case "domain":
  50066. contents = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
  50067. if (contents != null)
  50068. buffer.addInterpolation$1(contents);
  50069. else {
  50070. t1.expectChar$1(40);
  50071. _this.whitespace$0();
  50072. argument = _this.interpolatedString$0();
  50073. t1.expectChar$1(41);
  50074. t3._contents += identifier;
  50075. t3._contents += A.Primitives_stringFromCharCode(40);
  50076. buffer.addInterpolation$1(argument.asInterpolation$0());
  50077. t3._contents += A.Primitives_stringFromCharCode(41);
  50078. }
  50079. t7 = t3._contents;
  50080. trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
  50081. 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("")'))
  50082. _box_0.needsDeprecationWarning = true;
  50083. break;
  50084. case "regexp":
  50085. t3._contents += "regexp(";
  50086. t1.expectChar$1(40);
  50087. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  50088. t1.expectChar$1(41);
  50089. t3._contents += A.Primitives_stringFromCharCode(41);
  50090. _box_0.needsDeprecationWarning = true;
  50091. break;
  50092. default:
  50093. endPosition = t1._string_scanner$_position;
  50094. t8 = t1._sourceFile;
  50095. t9 = new A._FileSpan(t8, t7, endPosition);
  50096. t9._FileSpan$3(t8, t7, endPosition);
  50097. A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
  50098. }
  50099. }
  50100. _this.whitespace$0();
  50101. if (!t1.scanChar$1(44))
  50102. break;
  50103. t3._contents += A.Primitives_stringFromCharCode(44);
  50104. start0 = t1._string_scanner$_position;
  50105. t5.call$0();
  50106. end = t1._string_scanner$_position;
  50107. t3._contents += B.JSString_methods.substring$2(t6, start0, end);
  50108. }
  50109. 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)))));
  50110. },
  50111. supportsRule$1(start) {
  50112. var _this = this,
  50113. condition = _this._supportsCondition$0();
  50114. _this.whitespace$0();
  50115. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
  50116. },
  50117. _useRule$1(start) {
  50118. var namespace, configuration, span, t1, _this = this,
  50119. _s9_ = "@use rule",
  50120. url = _this._urlString$0();
  50121. _this.whitespace$0();
  50122. namespace = _this._useNamespace$2(url, start);
  50123. _this.whitespace$0();
  50124. configuration = _this._stylesheet$_configuration$0();
  50125. _this.expectStatementSeparator$1(_s9_);
  50126. span = _this.scanner.spanFrom$1(start);
  50127. if (!_this._isUseAllowed)
  50128. _this.error$2(0, string$.x40use_r, span);
  50129. _this.expectStatementSeparator$1(_s9_);
  50130. t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty9 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  50131. t1.UseRule$4$configuration(url, namespace, span, configuration);
  50132. return t1;
  50133. },
  50134. _useNamespace$2(url, start) {
  50135. var namespace, basename, dot, t1, exception, _this = this;
  50136. if (_this.scanIdentifier$1("as")) {
  50137. _this.whitespace$0();
  50138. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  50139. }
  50140. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  50141. dot = B.JSString_methods.indexOf$1(basename, ".");
  50142. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  50143. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  50144. try {
  50145. t1 = A.SpanScanner$(namespace, null);
  50146. t1 = new A.Parser(t1, _this.logger, null)._parseIdentifier$0();
  50147. return t1;
  50148. } catch (exception) {
  50149. if (type$.SassFormatException._is(A.unwrapException(exception)))
  50150. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  50151. else
  50152. throw exception;
  50153. }
  50154. },
  50155. _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
  50156. var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
  50157. if (!_this.scanIdentifier$1("with"))
  50158. return null;
  50159. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  50160. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
  50161. _this.whitespace$0();
  50162. t1 = _this.scanner;
  50163. t1.expectChar$1(40);
  50164. for (t2 = t1.string; true;) {
  50165. _this.whitespace$0();
  50166. t3 = t1._string_scanner$_position;
  50167. t1.expectChar$1(36);
  50168. $name = _this.identifier$1$normalize(true);
  50169. _this.whitespace$0();
  50170. t1.expectChar$1(58);
  50171. _this.whitespace$0();
  50172. expression = _this.expressionUntilComma$0();
  50173. t4 = t1._string_scanner$_position;
  50174. if (allowGuarded && t1.scanChar$1(33))
  50175. if (_this.identifier$0() === "default") {
  50176. _this.whitespace$0();
  50177. guarded = true;
  50178. } else {
  50179. endPosition = t1._string_scanner$_position;
  50180. t5 = t1._sourceFile;
  50181. t6 = new A._FileSpan(t5, t4, endPosition);
  50182. t6._FileSpan$3(t5, t4, endPosition);
  50183. A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
  50184. guarded = false;
  50185. }
  50186. else
  50187. guarded = false;
  50188. endPosition = t1._string_scanner$_position;
  50189. t4 = t1._sourceFile;
  50190. span = new A._FileSpan(t4, t3, endPosition);
  50191. span._FileSpan$3(t4, t3, endPosition);
  50192. if (variableNames.contains$1(0, $name))
  50193. A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
  50194. variableNames.add$1(0, $name);
  50195. configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
  50196. if (!t1.scanChar$1(44))
  50197. break;
  50198. _this.whitespace$0();
  50199. if (!_this._lookingAtExpression$0())
  50200. break;
  50201. }
  50202. t1.expectChar$1(41);
  50203. return configuration;
  50204. },
  50205. _stylesheet$_configuration$0() {
  50206. return this._stylesheet$_configuration$1$allowGuarded(false);
  50207. },
  50208. _warnRule$1(start) {
  50209. var value = this._expression$0();
  50210. this.expectStatementSeparator$1("@warn rule");
  50211. return new A.WarnRule(value, this.scanner.spanFrom$1(start));
  50212. },
  50213. _whileRule$2(start, child) {
  50214. var _this = this,
  50215. wasInControlDirective = _this._inControlDirective;
  50216. _this._inControlDirective = true;
  50217. return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this._expression$0()));
  50218. },
  50219. unknownAtRule$2(start, $name) {
  50220. var t2, t3, rule, _this = this, t1 = {},
  50221. wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
  50222. _this._stylesheet$_inUnknownAtRule = true;
  50223. t1.value = null;
  50224. t2 = _this.scanner;
  50225. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
  50226. if (_this.lookingAtChildren$0())
  50227. rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
  50228. else {
  50229. _this.expectStatementSeparator$0();
  50230. rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
  50231. }
  50232. _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
  50233. return rule;
  50234. },
  50235. _disallowedAtRule$1(start) {
  50236. this.almostAnyValue$0();
  50237. this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
  50238. },
  50239. _argumentDeclaration$0() {
  50240. var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
  50241. t1 = _this.scanner,
  50242. t2 = t1._string_scanner$_position;
  50243. t1.expectChar$1(40);
  50244. _this.whitespace$0();
  50245. $arguments = A._setArrayType([], type$.JSArray_Argument);
  50246. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  50247. t3 = t1.string;
  50248. while (true) {
  50249. if (!(t1.peekChar$0() === 36)) {
  50250. restArgument = null;
  50251. break;
  50252. }
  50253. t4 = t1._string_scanner$_position;
  50254. t1.expectChar$1(36);
  50255. $name = _this.identifier$1$normalize(true);
  50256. _this.whitespace$0();
  50257. if (t1.scanChar$1(58)) {
  50258. _this.whitespace$0();
  50259. defaultValue = _this.expressionUntilComma$0();
  50260. } else {
  50261. if (t1.scanChar$1(46)) {
  50262. t1.expectChar$1(46);
  50263. t1.expectChar$1(46);
  50264. _this.whitespace$0();
  50265. restArgument = $name;
  50266. break;
  50267. }
  50268. defaultValue = null;
  50269. }
  50270. endPosition = t1._string_scanner$_position;
  50271. t5 = t1._sourceFile;
  50272. t6 = new A._FileSpan(t5, t4, endPosition);
  50273. t6._FileSpan$3(t5, t4, endPosition);
  50274. $arguments.push(new A.Argument($name, defaultValue, t6));
  50275. if (!named.add$1(0, $name))
  50276. A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
  50277. if (!t1.scanChar$1(44)) {
  50278. restArgument = null;
  50279. break;
  50280. }
  50281. _this.whitespace$0();
  50282. }
  50283. t1.expectChar$1(41);
  50284. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  50285. return new A.ArgumentDeclaration(A.List_List$unmodifiable($arguments, type$.Argument), restArgument, t1);
  50286. },
  50287. _argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  50288. var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, result, _this = this, _null = null,
  50289. t1 = _this.scanner,
  50290. t2 = t1._string_scanner$_position;
  50291. t1.expectChar$1(40);
  50292. _this.whitespace$0();
  50293. positional = A._setArrayType([], type$.JSArray_Expression);
  50294. t3 = type$.String;
  50295. t4 = type$.Expression;
  50296. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  50297. t5 = !mixin;
  50298. t6 = t1.string;
  50299. rest = _null;
  50300. while (true) {
  50301. if (!_this._lookingAtExpression$0()) {
  50302. keywordRest = _null;
  50303. break;
  50304. }
  50305. expression = _this.expressionUntilComma$1$singleEquals(t5);
  50306. _this.whitespace$0();
  50307. if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
  50308. _this.whitespace$0();
  50309. t7 = expression.name;
  50310. if (named.containsKey$1(t7))
  50311. A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
  50312. named.$indexSet(0, t7, _this.expressionUntilComma$1$singleEquals(t5));
  50313. } else if (t1.scanChar$1(46)) {
  50314. t1.expectChar$1(46);
  50315. t1.expectChar$1(46);
  50316. if (rest != null) {
  50317. _this.whitespace$0();
  50318. keywordRest = expression;
  50319. break;
  50320. }
  50321. rest = expression;
  50322. } else if (named.__js_helper$_length !== 0)
  50323. A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
  50324. else
  50325. positional.push(expression);
  50326. _this.whitespace$0();
  50327. if (!t1.scanChar$1(44)) {
  50328. keywordRest = _null;
  50329. break;
  50330. }
  50331. _this.whitespace$0();
  50332. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  50333. t5 = t1._sourceFile;
  50334. t6 = t1._string_scanner$_position;
  50335. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  50336. t7 = new A._FileSpan(t5, t6, t6);
  50337. t7._FileSpan$3(t5, t6, t6);
  50338. t6 = A._setArrayType([""], type$.JSArray_Object);
  50339. result = A.List_List$from(t6, false, type$.Object);
  50340. result.fixed$length = Array;
  50341. result.immutable$list = Array;
  50342. t5 = new A.Interpolation(result, t7);
  50343. t5.Interpolation$2(t6, t7);
  50344. positional.push(new A.StringExpression(t5, false));
  50345. keywordRest = _null;
  50346. break;
  50347. }
  50348. }
  50349. t1.expectChar$1(41);
  50350. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  50351. return new A.ArgumentInvocation(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  50352. },
  50353. _argumentInvocation$0() {
  50354. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  50355. },
  50356. _argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  50357. return this._argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  50358. },
  50359. _argumentInvocation$1$mixin(mixin) {
  50360. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  50361. },
  50362. _expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
  50363. var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
  50364. _s20_ = "Expected expression.",
  50365. _box_0 = {},
  50366. t1 = until != null;
  50367. if (t1 && until.call$0())
  50368. _this.scanner.error$1(0, _s20_);
  50369. if (bracketList) {
  50370. t2 = _this.scanner;
  50371. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  50372. t2.expectChar$1(91);
  50373. _this.whitespace$0();
  50374. if (t2.scanChar$1(93)) {
  50375. t1 = A._setArrayType([], type$.JSArray_Expression);
  50376. t2 = t2.spanFrom$1(beforeBracket);
  50377. return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  50378. }
  50379. } else
  50380. beforeBracket = null;
  50381. t2 = _this.scanner;
  50382. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  50383. wasInParentheses = _this._inParentheses;
  50384. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  50385. _box_0.allowSlash = true;
  50386. _box_0.singleExpression_ = _this._singleExpression$0();
  50387. resetState = new A.StylesheetParser__expression_resetState(_box_0, _this, start);
  50388. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation(_box_0, _this);
  50389. resolveOperations = new A.StylesheetParser__expression_resolveOperations(_box_0, resolveOneOperation);
  50390. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
  50391. addOperator = new A.StylesheetParser__expression_addOperator(_box_0, _this, resolveOneOperation);
  50392. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
  50393. $label0$0:
  50394. for (t3 = type$.JSArray_Expression; true;) {
  50395. _this.whitespace$0();
  50396. if (t1 && until.call$0())
  50397. break $label0$0;
  50398. first = t2.peekChar$0();
  50399. switch (first) {
  50400. case 40:
  50401. addSingleExpression.call$1(_this._parentheses$0());
  50402. break;
  50403. case 91:
  50404. addSingleExpression.call$1(_this._expression$1$bracketList(true));
  50405. break;
  50406. case 36:
  50407. addSingleExpression.call$1(_this._variable$0());
  50408. break;
  50409. case 38:
  50410. addSingleExpression.call$1(_this._selector$0());
  50411. break;
  50412. case 39:
  50413. case 34:
  50414. addSingleExpression.call$1(_this.interpolatedString$0());
  50415. break;
  50416. case 35:
  50417. addSingleExpression.call$1(_this._hashExpression$0());
  50418. break;
  50419. case 61:
  50420. t2.readChar$0();
  50421. if (singleEquals && t2.peekChar$0() !== 61)
  50422. addOperator.call$1(B.BinaryOperator_2jN);
  50423. else {
  50424. t2.expectChar$1(61);
  50425. addOperator.call$1(B.BinaryOperator_ql5);
  50426. }
  50427. break;
  50428. case 33:
  50429. next = t2.peekChar$1(1);
  50430. if (next === 61) {
  50431. t2.readChar$0();
  50432. t2.readChar$0();
  50433. addOperator.call$1(B.BinaryOperator_ViB);
  50434. } else {
  50435. if (next != null)
  50436. if ((next | 32) !== 105)
  50437. t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
  50438. else
  50439. t4 = true;
  50440. else
  50441. t4 = true;
  50442. if (t4)
  50443. addSingleExpression.call$1(_this._importantExpression$0());
  50444. else
  50445. break $label0$0;
  50446. }
  50447. break;
  50448. case 60:
  50449. t2.readChar$0();
  50450. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_kpg : B.BinaryOperator_U8c);
  50451. break;
  50452. case 62:
  50453. t2.readChar$0();
  50454. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_7Tg : B.BinaryOperator_cIH);
  50455. break;
  50456. case 42:
  50457. t2.readChar$0();
  50458. addOperator.call$1(B.BinaryOperator_qN2);
  50459. break;
  50460. case 43:
  50461. if (_box_0.singleExpression_ == null)
  50462. addSingleExpression.call$1(_this._unaryOperation$0());
  50463. else {
  50464. t2.readChar$0();
  50465. addOperator.call$1(B.BinaryOperator_anB);
  50466. }
  50467. break;
  50468. case 45:
  50469. next = t2.peekChar$1(1);
  50470. if (next != null && next >= 48 && next <= 57 || next === 46)
  50471. if (_box_0.singleExpression_ != null) {
  50472. t4 = t2.peekChar$1(-1);
  50473. t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
  50474. } else
  50475. t4 = true;
  50476. else
  50477. t4 = false;
  50478. if (t4)
  50479. addSingleExpression.call$1(_this._number$0());
  50480. else if (_this._lookingAtInterpolatedIdentifier$0())
  50481. addSingleExpression.call$1(_this.identifierLike$0());
  50482. else if (_box_0.singleExpression_ == null)
  50483. addSingleExpression.call$1(_this._unaryOperation$0());
  50484. else {
  50485. t2.readChar$0();
  50486. addOperator.call$1(B.BinaryOperator_olz);
  50487. }
  50488. break;
  50489. case 47:
  50490. if (_box_0.singleExpression_ == null)
  50491. addSingleExpression.call$1(_this._unaryOperation$0());
  50492. else {
  50493. t2.readChar$0();
  50494. addOperator.call$1(B.BinaryOperator_t8B);
  50495. }
  50496. break;
  50497. case 37:
  50498. t2.readChar$0();
  50499. addOperator.call$1(B.BinaryOperator_OTG);
  50500. break;
  50501. case 48:
  50502. case 49:
  50503. case 50:
  50504. case 51:
  50505. case 52:
  50506. case 53:
  50507. case 54:
  50508. case 55:
  50509. case 56:
  50510. case 57:
  50511. addSingleExpression.call$1(_this._number$0());
  50512. break;
  50513. case 46:
  50514. if (t2.peekChar$1(1) === 46)
  50515. break $label0$0;
  50516. addSingleExpression.call$1(_this._number$0());
  50517. break;
  50518. case 97:
  50519. if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
  50520. addOperator.call$1(B.BinaryOperator_SNp);
  50521. else
  50522. addSingleExpression.call$1(_this.identifierLike$0());
  50523. break;
  50524. case 111:
  50525. if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
  50526. addOperator.call$1(B.BinaryOperator_M6L);
  50527. else
  50528. addSingleExpression.call$1(_this.identifierLike$0());
  50529. break;
  50530. case 117:
  50531. case 85:
  50532. if (t2.peekChar$1(1) === 43)
  50533. addSingleExpression.call$1(_this._unicodeRange$0());
  50534. else
  50535. addSingleExpression.call$1(_this.identifierLike$0());
  50536. break;
  50537. case 98:
  50538. case 99:
  50539. case 100:
  50540. case 101:
  50541. case 102:
  50542. case 103:
  50543. case 104:
  50544. case 105:
  50545. case 106:
  50546. case 107:
  50547. case 108:
  50548. case 109:
  50549. case 110:
  50550. case 112:
  50551. case 113:
  50552. case 114:
  50553. case 115:
  50554. case 116:
  50555. case 118:
  50556. case 119:
  50557. case 120:
  50558. case 121:
  50559. case 122:
  50560. case 65:
  50561. case 66:
  50562. case 67:
  50563. case 68:
  50564. case 69:
  50565. case 70:
  50566. case 71:
  50567. case 72:
  50568. case 73:
  50569. case 74:
  50570. case 75:
  50571. case 76:
  50572. case 77:
  50573. case 78:
  50574. case 79:
  50575. case 80:
  50576. case 81:
  50577. case 82:
  50578. case 83:
  50579. case 84:
  50580. case 86:
  50581. case 87:
  50582. case 88:
  50583. case 89:
  50584. case 90:
  50585. case 95:
  50586. case 92:
  50587. addSingleExpression.call$1(_this.identifierLike$0());
  50588. break;
  50589. case 44:
  50590. if (_this._inParentheses) {
  50591. _this._inParentheses = false;
  50592. if (_box_0.allowSlash) {
  50593. resetState.call$0();
  50594. break;
  50595. }
  50596. }
  50597. commaExpressions = _box_0.commaExpressions_;
  50598. if (commaExpressions == null)
  50599. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
  50600. if (_box_0.singleExpression_ == null)
  50601. t2.error$1(0, _s20_);
  50602. resolveSpaceExpressions.call$0();
  50603. t4 = _box_0.singleExpression_;
  50604. t4.toString;
  50605. commaExpressions.push(t4);
  50606. t2.readChar$0();
  50607. _box_0.allowSlash = true;
  50608. _box_0.singleExpression_ = null;
  50609. break;
  50610. default:
  50611. if (first != null && first >= 128) {
  50612. addSingleExpression.call$1(_this.identifierLike$0());
  50613. break;
  50614. } else
  50615. break $label0$0;
  50616. }
  50617. }
  50618. if (bracketList)
  50619. t2.expectChar$1(93);
  50620. commaExpressions = _box_0.commaExpressions_;
  50621. spaceExpressions = _box_0.spaceExpressions_;
  50622. if (commaExpressions != null) {
  50623. resolveSpaceExpressions.call$0();
  50624. _this._inParentheses = wasInParentheses;
  50625. singleExpression = _box_0.singleExpression_;
  50626. if (singleExpression != null)
  50627. commaExpressions.push(singleExpression);
  50628. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  50629. return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_rXA, bracketList, t1);
  50630. } else if (bracketList && spaceExpressions != null) {
  50631. resolveOperations.call$0();
  50632. t1 = _box_0.singleExpression_;
  50633. t1.toString;
  50634. spaceExpressions.push(t1);
  50635. beforeBracket.toString;
  50636. t2 = t2.spanFrom$1(beforeBracket);
  50637. return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_EVt, true, t2);
  50638. } else {
  50639. resolveSpaceExpressions.call$0();
  50640. if (bracketList) {
  50641. t1 = _box_0.singleExpression_;
  50642. t1.toString;
  50643. t3 = A._setArrayType([t1], t3);
  50644. beforeBracket.toString;
  50645. t2 = t2.spanFrom$1(beforeBracket);
  50646. _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t3, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  50647. }
  50648. t1 = _box_0.singleExpression_;
  50649. t1.toString;
  50650. return t1;
  50651. }
  50652. },
  50653. _expression$0() {
  50654. return this._expression$3$bracketList$singleEquals$until(false, false, null);
  50655. },
  50656. _expression$2$singleEquals$until(singleEquals, until) {
  50657. return this._expression$3$bracketList$singleEquals$until(false, singleEquals, until);
  50658. },
  50659. _expression$1$bracketList(bracketList) {
  50660. return this._expression$3$bracketList$singleEquals$until(bracketList, false, null);
  50661. },
  50662. _expression$1$until(until) {
  50663. return this._expression$3$bracketList$singleEquals$until(false, false, until);
  50664. },
  50665. expressionUntilComma$1$singleEquals(singleEquals) {
  50666. return this._expression$2$singleEquals$until(singleEquals, new A.StylesheetParser_expressionUntilComma_closure(this));
  50667. },
  50668. expressionUntilComma$0() {
  50669. return this.expressionUntilComma$1$singleEquals(false);
  50670. },
  50671. _isSlashOperand$1(expression) {
  50672. var t1;
  50673. if (!(expression instanceof A.NumberExpression))
  50674. if (!(expression instanceof A.CalculationExpression))
  50675. t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
  50676. else
  50677. t1 = true;
  50678. else
  50679. t1 = true;
  50680. return t1;
  50681. },
  50682. _singleExpression$0() {
  50683. var next, _this = this,
  50684. t1 = _this.scanner,
  50685. first = t1.peekChar$0();
  50686. switch (first) {
  50687. case 40:
  50688. return _this._parentheses$0();
  50689. case 47:
  50690. return _this._unaryOperation$0();
  50691. case 46:
  50692. return _this._number$0();
  50693. case 91:
  50694. return _this._expression$1$bracketList(true);
  50695. case 36:
  50696. return _this._variable$0();
  50697. case 38:
  50698. return _this._selector$0();
  50699. case 39:
  50700. case 34:
  50701. return _this.interpolatedString$0();
  50702. case 35:
  50703. return _this._hashExpression$0();
  50704. case 43:
  50705. next = t1.peekChar$1(1);
  50706. return A.isDigit(next) || next === 46 ? _this._number$0() : _this._unaryOperation$0();
  50707. case 45:
  50708. return _this._minusExpression$0();
  50709. case 33:
  50710. return _this._importantExpression$0();
  50711. case 117:
  50712. case 85:
  50713. if (t1.peekChar$1(1) === 43)
  50714. return _this._unicodeRange$0();
  50715. else
  50716. return _this.identifierLike$0();
  50717. case 48:
  50718. case 49:
  50719. case 50:
  50720. case 51:
  50721. case 52:
  50722. case 53:
  50723. case 54:
  50724. case 55:
  50725. case 56:
  50726. case 57:
  50727. return _this._number$0();
  50728. case 97:
  50729. case 98:
  50730. case 99:
  50731. case 100:
  50732. case 101:
  50733. case 102:
  50734. case 103:
  50735. case 104:
  50736. case 105:
  50737. case 106:
  50738. case 107:
  50739. case 108:
  50740. case 109:
  50741. case 110:
  50742. case 111:
  50743. case 112:
  50744. case 113:
  50745. case 114:
  50746. case 115:
  50747. case 116:
  50748. case 118:
  50749. case 119:
  50750. case 120:
  50751. case 121:
  50752. case 122:
  50753. case 65:
  50754. case 66:
  50755. case 67:
  50756. case 68:
  50757. case 69:
  50758. case 70:
  50759. case 71:
  50760. case 72:
  50761. case 73:
  50762. case 74:
  50763. case 75:
  50764. case 76:
  50765. case 77:
  50766. case 78:
  50767. case 79:
  50768. case 80:
  50769. case 81:
  50770. case 82:
  50771. case 83:
  50772. case 84:
  50773. case 86:
  50774. case 87:
  50775. case 88:
  50776. case 89:
  50777. case 90:
  50778. case 95:
  50779. case 92:
  50780. return _this.identifierLike$0();
  50781. default:
  50782. if (first != null && first >= 128)
  50783. return _this.identifierLike$0();
  50784. t1.error$1(0, "Expected expression.");
  50785. }
  50786. },
  50787. _parentheses$0() {
  50788. var wasInParentheses, start, first, expressions, t1, t2, _this = this;
  50789. if (_this.get$plainCss())
  50790. _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
  50791. wasInParentheses = _this._inParentheses;
  50792. _this._inParentheses = true;
  50793. try {
  50794. t1 = _this.scanner;
  50795. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  50796. t1.expectChar$1(40);
  50797. _this.whitespace$0();
  50798. if (!_this._lookingAtExpression$0()) {
  50799. t1.expectChar$1(41);
  50800. t2 = A._setArrayType([], type$.JSArray_Expression);
  50801. t1 = t1.spanFrom$1(start);
  50802. t2 = A.List_List$unmodifiable(t2, type$.Expression);
  50803. return new A.ListExpression(t2, B.ListSeparator_undecided_null_undecided, false, t1);
  50804. }
  50805. first = _this.expressionUntilComma$0();
  50806. if (t1.scanChar$1(58)) {
  50807. _this.whitespace$0();
  50808. t1 = _this._stylesheet$_map$2(first, start);
  50809. return t1;
  50810. }
  50811. if (!t1.scanChar$1(44)) {
  50812. t1.expectChar$1(41);
  50813. t1 = t1.spanFrom$1(start);
  50814. return new A.ParenthesizedExpression(first, t1);
  50815. }
  50816. _this.whitespace$0();
  50817. expressions = A._setArrayType([first], type$.JSArray_Expression);
  50818. for (; true;) {
  50819. if (!_this._lookingAtExpression$0())
  50820. break;
  50821. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  50822. if (!t1.scanChar$1(44))
  50823. break;
  50824. _this.whitespace$0();
  50825. }
  50826. t1.expectChar$1(41);
  50827. t1 = t1.spanFrom$1(start);
  50828. t2 = A.List_List$unmodifiable(expressions, type$.Expression);
  50829. return new A.ListExpression(t2, B.ListSeparator_rXA, false, t1);
  50830. } finally {
  50831. _this._inParentheses = wasInParentheses;
  50832. }
  50833. },
  50834. _stylesheet$_map$2(first, start) {
  50835. var t2, key, _this = this,
  50836. t1 = type$.Tuple2_Expression_Expression,
  50837. pairs = A._setArrayType([new A.Tuple2(first, _this.expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression);
  50838. for (t2 = _this.scanner; t2.scanChar$1(44);) {
  50839. _this.whitespace$0();
  50840. if (!_this._lookingAtExpression$0())
  50841. break;
  50842. key = _this.expressionUntilComma$0();
  50843. t2.expectChar$1(58);
  50844. _this.whitespace$0();
  50845. pairs.push(new A.Tuple2(key, _this.expressionUntilComma$0(), t1));
  50846. }
  50847. t2.expectChar$1(41);
  50848. t2 = t2.spanFrom$1(start);
  50849. return new A.MapExpression(A.List_List$unmodifiable(pairs, t1), t2);
  50850. },
  50851. _hashExpression$0() {
  50852. var start, first, t2, identifier, buffer, _this = this,
  50853. t1 = _this.scanner;
  50854. if (t1.peekChar$1(1) === 123)
  50855. return _this.identifierLike$0();
  50856. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  50857. t1.expectChar$1(35);
  50858. first = t1.peekChar$0();
  50859. if (first != null && A.isDigit(first))
  50860. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  50861. t2 = t1._string_scanner$_position;
  50862. identifier = _this.interpolatedIdentifier$0();
  50863. if (_this._isHexColor$1(identifier)) {
  50864. t1.set$state(new A._SpanScannerState(t1, t2));
  50865. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  50866. }
  50867. t2 = new A.StringBuffer("");
  50868. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  50869. t2._contents += A.Primitives_stringFromCharCode(35);
  50870. buffer.addInterpolation$1(identifier);
  50871. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  50872. },
  50873. _hexColorContents$1(start) {
  50874. var red, green, blue, alpha, digit4, t2, t3, _this = this,
  50875. digit1 = _this._hexDigit$0(),
  50876. digit2 = _this._hexDigit$0(),
  50877. digit3 = _this._hexDigit$0(),
  50878. t1 = _this.scanner;
  50879. if (!A.isHex(t1.peekChar$0())) {
  50880. red = (digit1 << 4 >>> 0) + digit1;
  50881. green = (digit2 << 4 >>> 0) + digit2;
  50882. blue = (digit3 << 4 >>> 0) + digit3;
  50883. alpha = null;
  50884. } else {
  50885. digit4 = _this._hexDigit$0();
  50886. t2 = digit1 << 4 >>> 0;
  50887. t3 = digit3 << 4 >>> 0;
  50888. if (!A.isHex(t1.peekChar$0())) {
  50889. red = t2 + digit1;
  50890. green = (digit2 << 4 >>> 0) + digit2;
  50891. blue = t3 + digit3;
  50892. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  50893. } else {
  50894. red = t2 + digit2;
  50895. green = t3 + digit4;
  50896. blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
  50897. alpha = A.isHex(t1.peekChar$0()) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : null;
  50898. }
  50899. }
  50900. return A.SassColor$rgbInternal(red, green, blue, alpha, alpha == null ? new A.SpanColorFormat(t1.spanFrom$1(start)) : null);
  50901. },
  50902. _isHexColor$1(interpolation) {
  50903. var t1,
  50904. plain = interpolation.get$asPlain();
  50905. if (plain == null)
  50906. return false;
  50907. t1 = plain.length;
  50908. if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
  50909. return false;
  50910. t1 = new A.CodeUnits(plain);
  50911. return t1.every$1(t1, A.character__isHex$closure());
  50912. },
  50913. _hexDigit$0() {
  50914. var t1 = this.scanner,
  50915. char = t1.peekChar$0();
  50916. if (char == null || !A.isHex(char))
  50917. t1.error$1(0, "Expected hex digit.");
  50918. return A.asHex(t1.readChar$0());
  50919. },
  50920. _minusExpression$0() {
  50921. var _this = this,
  50922. next = _this.scanner.peekChar$1(1);
  50923. if (A.isDigit(next) || next === 46)
  50924. return _this._number$0();
  50925. if (_this._lookingAtInterpolatedIdentifier$0())
  50926. return _this.identifierLike$0();
  50927. return _this._unaryOperation$0();
  50928. },
  50929. _importantExpression$0() {
  50930. var t1 = this.scanner,
  50931. t2 = t1._string_scanner$_position;
  50932. t1.readChar$0();
  50933. this.whitespace$0();
  50934. this.expectIdentifier$1("important");
  50935. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  50936. return new A.StringExpression(A.Interpolation$(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
  50937. },
  50938. _unaryOperation$0() {
  50939. var _this = this,
  50940. t1 = _this.scanner,
  50941. t2 = t1._string_scanner$_position,
  50942. operator = _this._unaryOperatorFor$1(t1.readChar$0());
  50943. if (operator == null)
  50944. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  50945. else if (_this.get$plainCss() && operator !== B.UnaryOperator_Ix1)
  50946. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  50947. _this.whitespace$0();
  50948. return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  50949. },
  50950. _unaryOperatorFor$1(character) {
  50951. switch (character) {
  50952. case 43:
  50953. return B.UnaryOperator_gg4;
  50954. case 45:
  50955. return B.UnaryOperator_TLI;
  50956. case 47:
  50957. return B.UnaryOperator_Ix1;
  50958. default:
  50959. return null;
  50960. }
  50961. },
  50962. _number$0() {
  50963. var number, unit, _this = this,
  50964. t1 = _this.scanner,
  50965. t2 = t1._string_scanner$_position,
  50966. first = t1.peekChar$0(),
  50967. t3 = first !== 43;
  50968. if (!t3 || first === 45)
  50969. t1.readChar$0();
  50970. if (t1.peekChar$0() !== 46)
  50971. _this._consumeNaturalNumber$0();
  50972. _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  50973. _this._tryExponent$0();
  50974. number = A.double_parse(t1.substring$1(0, t2));
  50975. if (t1.scanChar$1(37))
  50976. unit = "%";
  50977. else {
  50978. if (_this.lookingAtIdentifier$0())
  50979. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  50980. else
  50981. t3 = false;
  50982. unit = t3 ? _this.identifier$1$unit(true) : null;
  50983. }
  50984. return new A.NumberExpression(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  50985. },
  50986. _consumeNaturalNumber$0() {
  50987. var t2,
  50988. t1 = this.scanner;
  50989. if (!A.isDigit(t1.readChar$0()))
  50990. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  50991. while (true) {
  50992. t2 = t1.peekChar$0();
  50993. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  50994. break;
  50995. t1.readChar$0();
  50996. }
  50997. },
  50998. _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  50999. var t2,
  51000. t1 = this.scanner;
  51001. if (t1.peekChar$0() !== 46)
  51002. return;
  51003. if (!A.isDigit(t1.peekChar$1(1))) {
  51004. if (allowTrailingDot)
  51005. return;
  51006. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  51007. }
  51008. t1.readChar$0();
  51009. while (true) {
  51010. t2 = t1.peekChar$0();
  51011. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  51012. break;
  51013. t1.readChar$0();
  51014. }
  51015. },
  51016. _tryExponent$0() {
  51017. var next, t2,
  51018. t1 = this.scanner,
  51019. first = t1.peekChar$0();
  51020. if (first !== 101 && first !== 69)
  51021. return;
  51022. next = t1.peekChar$1(1);
  51023. if (!A.isDigit(next) && next !== 45 && next !== 43)
  51024. return;
  51025. t1.readChar$0();
  51026. if (next === 43 || next === 45)
  51027. t1.readChar$0();
  51028. if (!A.isDigit(t1.peekChar$0()))
  51029. t1.error$1(0, "Expected digit.");
  51030. while (true) {
  51031. t2 = t1.peekChar$0();
  51032. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  51033. break;
  51034. t1.readChar$0();
  51035. }
  51036. },
  51037. _unicodeRange$0() {
  51038. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  51039. _s26_ = "Expected at most 6 digits.",
  51040. t1 = _this.scanner,
  51041. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  51042. _this.expectIdentChar$1(117);
  51043. t1.expectChar$1(43);
  51044. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
  51045. ++firstRangeLength;
  51046. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  51047. ++firstRangeLength;
  51048. if (firstRangeLength === 0)
  51049. t1.error$1(0, 'Expected hex digit or "?".');
  51050. else if (firstRangeLength > 6)
  51051. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  51052. else if (hasQuestionMark) {
  51053. t2 = t1.substring$1(0, start.position);
  51054. t1 = t1.spanFrom$1(start);
  51055. return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  51056. }
  51057. if (t1.scanChar$1(45)) {
  51058. t2 = t1._string_scanner$_position;
  51059. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
  51060. ++secondRangeLength;
  51061. if (secondRangeLength === 0)
  51062. t1.error$1(0, "Expected hex digit.");
  51063. else if (secondRangeLength > 6)
  51064. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  51065. }
  51066. if (_this._lookingAtInterpolatedIdentifierBody$0())
  51067. t1.error$1(0, "Expected end of identifier.");
  51068. t2 = t1.substring$1(0, start.position);
  51069. t1 = t1.spanFrom$1(start);
  51070. return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  51071. },
  51072. _variable$0() {
  51073. var _this = this,
  51074. t1 = _this.scanner,
  51075. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  51076. $name = _this.variableName$0();
  51077. if (_this.get$plainCss())
  51078. _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
  51079. return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
  51080. },
  51081. _selector$0() {
  51082. var t1, start, _this = this;
  51083. if (_this.get$plainCss())
  51084. _this.scanner.error$2$length(0, string$.The_pa, 1);
  51085. t1 = _this.scanner;
  51086. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  51087. t1.expectChar$1(38);
  51088. if (t1.scanChar$1(38)) {
  51089. _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
  51090. t1.set$position(t1._string_scanner$_position - 1);
  51091. }
  51092. return new A.SelectorExpression(t1.spanFrom$1(start));
  51093. },
  51094. interpolatedString$0() {
  51095. var t3, t4, buffer, next, second, t5,
  51096. t1 = this.scanner,
  51097. t2 = t1._string_scanner$_position,
  51098. quote = t1.readChar$0();
  51099. if (quote !== 39 && quote !== 34)
  51100. t1.error$2$position(0, "Expected string.", t2);
  51101. t3 = new A.StringBuffer("");
  51102. t4 = A._setArrayType([], type$.JSArray_Object);
  51103. buffer = new A.InterpolationBuffer(t3, t4);
  51104. for (; true;) {
  51105. next = t1.peekChar$0();
  51106. if (next === quote) {
  51107. t1.readChar$0();
  51108. break;
  51109. } else if (next == null || next === 10 || next === 13 || next === 12)
  51110. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  51111. else if (next === 92) {
  51112. second = t1.peekChar$1(1);
  51113. if (second === 10 || second === 13 || second === 12) {
  51114. t1.readChar$0();
  51115. t1.readChar$0();
  51116. if (second === 13)
  51117. t1.scanChar$1(10);
  51118. } else
  51119. t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  51120. } else if (next === 35)
  51121. if (t1.peekChar$1(1) === 123) {
  51122. t5 = this.singleInterpolation$0();
  51123. buffer._flushText$0();
  51124. t4.push(t5);
  51125. } else
  51126. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51127. else
  51128. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51129. }
  51130. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  51131. },
  51132. identifierLike$0() {
  51133. var invocation, expression, color, specialFunction, _this = this,
  51134. t1 = _this.scanner,
  51135. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  51136. identifier = _this.interpolatedIdentifier$0(),
  51137. plain = identifier.get$asPlain(),
  51138. lower = A._Cell$(),
  51139. t2 = plain == null,
  51140. t3 = !t2;
  51141. if (t3) {
  51142. if (plain === "if" && t1.peekChar$0() === 40) {
  51143. invocation = _this._argumentInvocation$0();
  51144. return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
  51145. } else if (plain === "not") {
  51146. _this.whitespace$0();
  51147. expression = _this._singleExpression$0();
  51148. return new A.UnaryOperationExpression(B.UnaryOperator_not_not_not, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  51149. }
  51150. lower.__late_helper$_value = plain.toLowerCase();
  51151. if (t1.peekChar$0() !== 40) {
  51152. switch (plain) {
  51153. case "false":
  51154. return new A.BooleanExpression(false, identifier.span);
  51155. case "null":
  51156. return new A.NullExpression(identifier.span);
  51157. case "true":
  51158. return new A.BooleanExpression(true, identifier.span);
  51159. }
  51160. color = $.$get$colorsByName().$index(0, lower._readLocal$0());
  51161. if (color != null) {
  51162. t1 = identifier.span;
  51163. 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);
  51164. }
  51165. }
  51166. specialFunction = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  51167. if (specialFunction != null)
  51168. return specialFunction;
  51169. }
  51170. switch (t1.peekChar$0()) {
  51171. case 46:
  51172. if (t1.peekChar$1(1) === 46)
  51173. return new A.StringExpression(identifier, false);
  51174. t1.readChar$0();
  51175. if (t3)
  51176. return _this.namespacedExpression$2(plain, start);
  51177. _this.error$2(0, string$.Interpn, identifier.span);
  51178. break;
  51179. case 40:
  51180. if (t2)
  51181. return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
  51182. else
  51183. return new A.FunctionExpression(null, plain, _this._argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var")), t1.spanFrom$1(start));
  51184. default:
  51185. return new A.StringExpression(identifier, false);
  51186. }
  51187. },
  51188. namespacedExpression$2(namespace, start) {
  51189. var $name, _this = this,
  51190. t1 = _this.scanner;
  51191. if (t1.peekChar$0() === 36) {
  51192. $name = _this.variableName$0();
  51193. _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
  51194. return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
  51195. }
  51196. return new A.FunctionExpression(namespace, _this._publicIdentifier$0(), _this._argumentInvocation$0(), t1.spanFrom$1(start));
  51197. },
  51198. trySpecialFunction$2($name, start) {
  51199. var t2, buffer, next, t3, _this = this, _null = null,
  51200. t1 = _this.scanner,
  51201. calculation = t1.peekChar$0() === 40 ? _this._tryCalculation$2($name, start) : _null;
  51202. if (calculation != null)
  51203. return calculation;
  51204. switch (A.unvendor($name)) {
  51205. case "calc":
  51206. case "element":
  51207. case "expression":
  51208. if (!t1.scanChar$1(40))
  51209. return _null;
  51210. t2 = new A.StringBuffer("");
  51211. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  51212. t2._contents = "" + $name;
  51213. t2._contents += A.Primitives_stringFromCharCode(40);
  51214. break;
  51215. case "progid":
  51216. if (!t1.scanChar$1(58))
  51217. return _null;
  51218. t2 = new A.StringBuffer("");
  51219. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  51220. t2._contents = "" + $name;
  51221. t2._contents += A.Primitives_stringFromCharCode(58);
  51222. next = t1.peekChar$0();
  51223. while (true) {
  51224. if (next != null) {
  51225. if (!(next >= 97 && next <= 122))
  51226. t3 = next >= 65 && next <= 90;
  51227. else
  51228. t3 = true;
  51229. t3 = t3 || next === 46;
  51230. } else
  51231. t3 = false;
  51232. if (!t3)
  51233. break;
  51234. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51235. next = t1.peekChar$0();
  51236. }
  51237. t1.expectChar$1(40);
  51238. t2._contents += A.Primitives_stringFromCharCode(40);
  51239. break;
  51240. case "url":
  51241. return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
  51242. default:
  51243. return _null;
  51244. }
  51245. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
  51246. t1.expectChar$1(41);
  51247. buffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(41);
  51248. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  51249. },
  51250. _tryCalculation$2($name, start) {
  51251. var beforeArguments, $arguments, t1, exception, t2, _this = this;
  51252. switch ($name) {
  51253. case "calc":
  51254. $arguments = _this._calculationArguments$1(1);
  51255. t1 = _this.scanner.spanFrom$1(start);
  51256. return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
  51257. case "min":
  51258. case "max":
  51259. t1 = _this.scanner;
  51260. beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
  51261. $arguments = null;
  51262. try {
  51263. $arguments = _this._calculationArguments$0();
  51264. } catch (exception) {
  51265. if (type$.FormatException._is(A.unwrapException(exception))) {
  51266. t1.set$state(beforeArguments);
  51267. return null;
  51268. } else
  51269. throw exception;
  51270. }
  51271. t2 = $arguments;
  51272. t1 = t1.spanFrom$1(start);
  51273. return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments(t2), t1);
  51274. case "clamp":
  51275. $arguments = _this._calculationArguments$1(3);
  51276. t1 = _this.scanner.spanFrom$1(start);
  51277. return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
  51278. default:
  51279. return null;
  51280. }
  51281. },
  51282. _calculationArguments$1(maxArgs) {
  51283. var interpolation, $arguments, t2, _this = this,
  51284. t1 = _this.scanner;
  51285. t1.expectChar$1(40);
  51286. interpolation = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
  51287. if (interpolation != null) {
  51288. t1.expectChar$1(41);
  51289. return A._setArrayType([interpolation], type$.JSArray_Expression);
  51290. }
  51291. _this.whitespace$0();
  51292. $arguments = A._setArrayType([_this._calculationSum$0()], type$.JSArray_Expression);
  51293. t2 = maxArgs != null;
  51294. while (true) {
  51295. if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
  51296. break;
  51297. _this.whitespace$0();
  51298. $arguments.push(_this._calculationSum$0());
  51299. }
  51300. t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
  51301. return $arguments;
  51302. },
  51303. _calculationArguments$0() {
  51304. return this._calculationArguments$1(null);
  51305. },
  51306. _calculationSum$0() {
  51307. var t1, next, t2, t3, _this = this,
  51308. sum = _this._calculationProduct$0();
  51309. for (t1 = _this.scanner; true;) {
  51310. next = t1.peekChar$0();
  51311. t2 = next === 43;
  51312. if (t2 || next === 45) {
  51313. t3 = t1.peekChar$1(-1);
  51314. if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
  51315. t3 = t1.peekChar$1(1);
  51316. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  51317. } else
  51318. t3 = true;
  51319. if (t3)
  51320. t1.error$1(0, string$.x22x2b__an);
  51321. t1.readChar$0();
  51322. _this.whitespace$0();
  51323. t2 = t2 ? B.BinaryOperator_anB : B.BinaryOperator_olz;
  51324. sum = new A.BinaryOperationExpression(t2, sum, _this._calculationProduct$0(), false);
  51325. } else
  51326. return sum;
  51327. }
  51328. },
  51329. _calculationProduct$0() {
  51330. var t1, next, t2, _this = this,
  51331. product = _this._calculationValue$0();
  51332. for (t1 = _this.scanner; true;) {
  51333. _this.whitespace$0();
  51334. next = t1.peekChar$0();
  51335. t2 = next === 42;
  51336. if (t2 || next === 47) {
  51337. t1.readChar$0();
  51338. _this.whitespace$0();
  51339. t2 = t2 ? B.BinaryOperator_qN2 : B.BinaryOperator_t8B;
  51340. product = new A.BinaryOperationExpression(t2, product, _this._calculationValue$0(), false);
  51341. } else
  51342. return product;
  51343. }
  51344. },
  51345. _calculationValue$0() {
  51346. var t2, value, start, ident, lowerCase, calculation, _this = this,
  51347. t1 = _this.scanner,
  51348. next = t1.peekChar$0();
  51349. if (next === 43 || next === 46 || A.isDigit(next))
  51350. return _this._number$0();
  51351. else if (next === 36)
  51352. return _this._variable$0();
  51353. else if (next === 40) {
  51354. t2 = t1._string_scanner$_position;
  51355. t1.readChar$0();
  51356. value = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
  51357. if (value == null) {
  51358. _this.whitespace$0();
  51359. value = _this._calculationSum$0();
  51360. }
  51361. _this.whitespace$0();
  51362. t1.expectChar$1(41);
  51363. return new A.ParenthesizedExpression(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  51364. } else if (_this.lookingAtIdentifier$0()) {
  51365. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  51366. ident = _this.identifier$0();
  51367. if (t1.scanChar$1(46))
  51368. return _this.namespacedExpression$2(ident, start);
  51369. if (t1.peekChar$0() !== 40)
  51370. return new A.StringExpression(A.Interpolation$(A._setArrayType([ident], type$.JSArray_Object), t1.spanFrom$1(start)), false);
  51371. lowerCase = ident.toLowerCase();
  51372. calculation = _this._tryCalculation$2(lowerCase, start);
  51373. if (calculation != null)
  51374. return calculation;
  51375. else if (lowerCase === "if")
  51376. return new A.IfExpression(_this._argumentInvocation$0(), t1.spanFrom$1(start));
  51377. else
  51378. return new A.FunctionExpression(null, ident, _this._argumentInvocation$0(), t1.spanFrom$1(start));
  51379. } else if (next === 45)
  51380. return _this._number$0();
  51381. else
  51382. t1.error$1(0, string$.Expectn);
  51383. },
  51384. _containsCalculationInterpolation$0() {
  51385. var t2, parens, next, target, t3, _null = null,
  51386. _s64_ = string$.The_gi,
  51387. _s17_ = "Invalid position ",
  51388. brackets = A._setArrayType([], type$.JSArray_int),
  51389. t1 = this.scanner,
  51390. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  51391. for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
  51392. next = t1.peekChar$0();
  51393. switch (next) {
  51394. case 92:
  51395. target = 1;
  51396. break;
  51397. case 47:
  51398. target = 2;
  51399. break;
  51400. case 39:
  51401. case 34:
  51402. target = 3;
  51403. break;
  51404. case 35:
  51405. target = 4;
  51406. break;
  51407. case 40:
  51408. target = 5;
  51409. break;
  51410. case 123:
  51411. case 91:
  51412. target = 6;
  51413. break;
  51414. case 41:
  51415. target = 7;
  51416. break;
  51417. case 125:
  51418. case 93:
  51419. target = 8;
  51420. break;
  51421. default:
  51422. target = 9;
  51423. break;
  51424. }
  51425. c$0:
  51426. for (; true;)
  51427. switch (target) {
  51428. case 1:
  51429. t1.readChar$0();
  51430. t1.readChar$0();
  51431. break c$0;
  51432. case 2:
  51433. if (!this.scanComment$0())
  51434. t1.readChar$0();
  51435. break c$0;
  51436. case 3:
  51437. this.interpolatedString$0();
  51438. break c$0;
  51439. case 4:
  51440. if (parens === 0 && t1.peekChar$1(1) === 123) {
  51441. if (start._scanner !== t1)
  51442. A.throwExpression(A.ArgumentError$(_s64_, _null));
  51443. t3 = start.position;
  51444. if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
  51445. A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
  51446. t1._string_scanner$_position = t3;
  51447. t1._lastMatch = null;
  51448. return true;
  51449. }
  51450. t1.readChar$0();
  51451. break c$0;
  51452. case 5:
  51453. ++parens;
  51454. target = 6;
  51455. continue c$0;
  51456. case 6:
  51457. next.toString;
  51458. brackets.push(A.opposite(next));
  51459. t1.readChar$0();
  51460. break c$0;
  51461. case 7:
  51462. --parens;
  51463. target = 8;
  51464. continue c$0;
  51465. case 8:
  51466. if (brackets.length === 0 || brackets.pop() !== next) {
  51467. if (start._scanner !== t1)
  51468. A.throwExpression(A.ArgumentError$(_s64_, _null));
  51469. t3 = start.position;
  51470. if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
  51471. A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
  51472. t1._string_scanner$_position = t3;
  51473. t1._lastMatch = null;
  51474. return false;
  51475. }
  51476. t1.readChar$0();
  51477. break c$0;
  51478. case 9:
  51479. t1.readChar$0();
  51480. break c$0;
  51481. }
  51482. }
  51483. t1.set$state(start);
  51484. return false;
  51485. },
  51486. _tryUrlContents$2$name(start, $name) {
  51487. var t3, t4, buffer, next, t5, endPosition, result, _this = this,
  51488. t1 = _this.scanner,
  51489. t2 = t1._string_scanner$_position;
  51490. if (!t1.scanChar$1(40))
  51491. return null;
  51492. _this.whitespaceWithoutComments$0();
  51493. t3 = new A.StringBuffer("");
  51494. t4 = A._setArrayType([], type$.JSArray_Object);
  51495. buffer = new A.InterpolationBuffer(t3, t4);
  51496. t3._contents = "" + ($name == null ? "url" : $name);
  51497. t3._contents += A.Primitives_stringFromCharCode(40);
  51498. for (; true;) {
  51499. next = t1.peekChar$0();
  51500. if (next == null)
  51501. break;
  51502. else if (next === 92)
  51503. t3._contents += A.S(_this.escape$0());
  51504. else {
  51505. if (next !== 33)
  51506. if (next !== 37)
  51507. if (next !== 38)
  51508. t5 = next >= 42 && next <= 126 || next >= 128;
  51509. else
  51510. t5 = true;
  51511. else
  51512. t5 = true;
  51513. else
  51514. t5 = true;
  51515. if (t5)
  51516. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51517. else if (next === 35)
  51518. if (t1.peekChar$1(1) === 123) {
  51519. t5 = _this.singleInterpolation$0();
  51520. buffer._flushText$0();
  51521. t4.push(t5);
  51522. } else
  51523. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51524. else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
  51525. _this.whitespaceWithoutComments$0();
  51526. if (t1.peekChar$0() !== 41)
  51527. break;
  51528. } else if (next === 41) {
  51529. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51530. endPosition = t1._string_scanner$_position;
  51531. t2 = t1._sourceFile;
  51532. t5 = start.position;
  51533. t1 = new A._FileSpan(t2, t5, endPosition);
  51534. t1._FileSpan$3(t2, t5, endPosition);
  51535. t5 = type$.Object;
  51536. t2 = A.List_List$of(t4, true, t5);
  51537. t4 = t3._contents;
  51538. if (t4.length !== 0)
  51539. t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
  51540. result = A.List_List$from(t2, false, t5);
  51541. result.fixed$length = Array;
  51542. result.immutable$list = Array;
  51543. t3 = new A.Interpolation(result, t1);
  51544. t3.Interpolation$2(t2, t1);
  51545. return t3;
  51546. } else
  51547. break;
  51548. }
  51549. }
  51550. t1.set$state(new A._SpanScannerState(t1, t2));
  51551. return null;
  51552. },
  51553. _tryUrlContents$1(start) {
  51554. return this._tryUrlContents$2$name(start, null);
  51555. },
  51556. dynamicUrl$0() {
  51557. var contents, _this = this,
  51558. t1 = _this.scanner,
  51559. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  51560. _this.expectIdentifier$1("url");
  51561. contents = _this._tryUrlContents$1(start);
  51562. if (contents != null)
  51563. return new A.StringExpression(contents, false);
  51564. return new A.InterpolatedFunctionExpression(A.Interpolation$(A._setArrayType(["url"], type$.JSArray_Object), t1.spanFrom$1(start)), _this._argumentInvocation$0(), t1.spanFrom$1(start));
  51565. },
  51566. almostAnyValue$1$omitComments(omitComments) {
  51567. var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
  51568. t1 = _this.scanner,
  51569. t2 = t1._string_scanner$_position,
  51570. t3 = new A.StringBuffer(""),
  51571. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  51572. $label0$1:
  51573. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
  51574. next = t1.peekChar$0();
  51575. switch (next) {
  51576. case 92:
  51577. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51578. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51579. break;
  51580. case 34:
  51581. case 39:
  51582. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  51583. break;
  51584. case 47:
  51585. commentStart = t1._string_scanner$_position;
  51586. if (_this.scanComment$0()) {
  51587. if (t6) {
  51588. end = t1._string_scanner$_position;
  51589. t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
  51590. }
  51591. } else
  51592. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51593. break;
  51594. case 35:
  51595. if (t1.peekChar$1(1) === 123)
  51596. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  51597. else
  51598. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51599. break;
  51600. case 13:
  51601. case 10:
  51602. case 12:
  51603. if (_this.get$indented())
  51604. break $label0$1;
  51605. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51606. break;
  51607. case 33:
  51608. case 59:
  51609. case 123:
  51610. case 125:
  51611. break $label0$1;
  51612. case 117:
  51613. case 85:
  51614. t7 = t1._string_scanner$_position;
  51615. if (!_this.scanIdentifier$1("url")) {
  51616. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51617. break;
  51618. }
  51619. contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t7));
  51620. if (contents == null) {
  51621. if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
  51622. A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
  51623. t1._string_scanner$_position = t7;
  51624. t1._lastMatch = null;
  51625. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51626. } else
  51627. buffer.addInterpolation$1(contents);
  51628. break;
  51629. default:
  51630. if (next == null)
  51631. break $label0$1;
  51632. if (_this.lookingAtIdentifier$0())
  51633. t3._contents += _this.identifier$0();
  51634. else
  51635. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51636. break;
  51637. }
  51638. }
  51639. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  51640. },
  51641. almostAnyValue$0() {
  51642. return this.almostAnyValue$1$omitComments(false);
  51643. },
  51644. _interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
  51645. var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
  51646. t1 = _this.scanner,
  51647. t2 = t1._string_scanner$_position,
  51648. t3 = new A.StringBuffer(""),
  51649. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object)),
  51650. brackets = A._setArrayType([], type$.JSArray_int);
  51651. $label0$1:
  51652. for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
  51653. next = t1.peekChar$0();
  51654. switch (next) {
  51655. case 92:
  51656. t3._contents += A.S(_this.escape$1$identifierStart(true));
  51657. wroteNewline = false;
  51658. break;
  51659. case 34:
  51660. case 39:
  51661. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  51662. wroteNewline = false;
  51663. break;
  51664. case 47:
  51665. if (t1.peekChar$1(1) === 42) {
  51666. t8 = _this.get$loudComment();
  51667. start = t1._string_scanner$_position;
  51668. t8.call$0();
  51669. end = t1._string_scanner$_position;
  51670. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  51671. } else
  51672. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51673. wroteNewline = false;
  51674. break;
  51675. case 35:
  51676. if (t1.peekChar$1(1) === 123)
  51677. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  51678. else
  51679. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51680. wroteNewline = false;
  51681. break;
  51682. case 32:
  51683. case 9:
  51684. if (!wroteNewline) {
  51685. t8 = t1.peekChar$1(1);
  51686. t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
  51687. } else
  51688. t8 = true;
  51689. if (t8)
  51690. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51691. else
  51692. t1.readChar$0();
  51693. break;
  51694. case 10:
  51695. case 13:
  51696. case 12:
  51697. if (_this.get$indented())
  51698. break $label0$1;
  51699. t8 = t1.peekChar$1(-1);
  51700. if (!(t8 === 10 || t8 === 13 || t8 === 12))
  51701. t3._contents += "\n";
  51702. t1.readChar$0();
  51703. wroteNewline = true;
  51704. break;
  51705. case 40:
  51706. case 123:
  51707. case 91:
  51708. next.toString;
  51709. t3._contents += A.Primitives_stringFromCharCode(next);
  51710. brackets.push(A.opposite(t1.readChar$0()));
  51711. wroteNewline = false;
  51712. break;
  51713. case 41:
  51714. case 125:
  51715. case 93:
  51716. if (brackets.length === 0)
  51717. break $label0$1;
  51718. next.toString;
  51719. t3._contents += A.Primitives_stringFromCharCode(next);
  51720. t1.expectChar$1(brackets.pop());
  51721. wroteNewline = false;
  51722. break;
  51723. case 59:
  51724. if (t7 && brackets.length === 0)
  51725. break $label0$1;
  51726. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51727. wroteNewline = false;
  51728. break;
  51729. case 58:
  51730. if (t6 && brackets.length === 0)
  51731. break $label0$1;
  51732. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51733. wroteNewline = false;
  51734. break;
  51735. case 117:
  51736. case 85:
  51737. t8 = t1._string_scanner$_position;
  51738. if (!_this.scanIdentifier$1("url")) {
  51739. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51740. wroteNewline = false;
  51741. break;
  51742. }
  51743. contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t8));
  51744. if (contents == null) {
  51745. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  51746. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  51747. t1._string_scanner$_position = t8;
  51748. t1._lastMatch = null;
  51749. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51750. } else
  51751. buffer.addInterpolation$1(contents);
  51752. wroteNewline = false;
  51753. break;
  51754. default:
  51755. if (next == null)
  51756. break $label0$1;
  51757. if (_this.lookingAtIdentifier$0())
  51758. t3._contents += _this.identifier$0();
  51759. else
  51760. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51761. wroteNewline = false;
  51762. break;
  51763. }
  51764. }
  51765. if (brackets.length !== 0)
  51766. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  51767. if (!allowEmpty && buffer._interpolation_buffer$_contents.length === 0 && t3._contents.length === 0)
  51768. t1.error$1(0, "Expected token.");
  51769. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  51770. },
  51771. _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  51772. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
  51773. },
  51774. _interpolatedDeclarationValue$0() {
  51775. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
  51776. },
  51777. _interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
  51778. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
  51779. },
  51780. interpolatedIdentifier$0() {
  51781. var first, _this = this,
  51782. _s20_ = "Expected identifier.",
  51783. t1 = _this.scanner,
  51784. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  51785. t2 = new A.StringBuffer(""),
  51786. t3 = A._setArrayType([], type$.JSArray_Object),
  51787. buffer = new A.InterpolationBuffer(t2, t3);
  51788. if (t1.scanChar$1(45)) {
  51789. t2._contents += A.Primitives_stringFromCharCode(45);
  51790. if (t1.scanChar$1(45)) {
  51791. t2._contents += A.Primitives_stringFromCharCode(45);
  51792. _this._interpolatedIdentifierBody$1(buffer);
  51793. return buffer.interpolation$1(t1.spanFrom$1(start));
  51794. }
  51795. }
  51796. first = t1.peekChar$0();
  51797. if (first == null)
  51798. t1.error$1(0, _s20_);
  51799. else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
  51800. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51801. else if (first === 92)
  51802. t2._contents += A.S(_this.escape$1$identifierStart(true));
  51803. else if (first === 35 && t1.peekChar$1(1) === 123) {
  51804. t2 = _this.singleInterpolation$0();
  51805. buffer._flushText$0();
  51806. t3.push(t2);
  51807. } else
  51808. t1.error$1(0, _s20_);
  51809. _this._interpolatedIdentifierBody$1(buffer);
  51810. return buffer.interpolation$1(t1.spanFrom$1(start));
  51811. },
  51812. _interpolatedIdentifierBody$1(buffer) {
  51813. var t1, t2, t3, next, t4;
  51814. for (t1 = buffer._interpolation_buffer$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer$_text; true;) {
  51815. next = t2.peekChar$0();
  51816. if (next == null)
  51817. break;
  51818. else {
  51819. if (next !== 95)
  51820. if (next !== 45) {
  51821. if (!(next >= 97 && next <= 122))
  51822. t4 = next >= 65 && next <= 90;
  51823. else
  51824. t4 = true;
  51825. if (!t4)
  51826. t4 = next >= 48 && next <= 57;
  51827. else
  51828. t4 = true;
  51829. t4 = t4 || next >= 128;
  51830. } else
  51831. t4 = true;
  51832. else
  51833. t4 = true;
  51834. if (t4)
  51835. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  51836. else if (next === 92)
  51837. t3._contents += A.S(this.escape$0());
  51838. else if (next === 35 && t2.peekChar$1(1) === 123) {
  51839. t4 = this.singleInterpolation$0();
  51840. buffer._flushText$0();
  51841. t1.push(t4);
  51842. } else
  51843. break;
  51844. }
  51845. }
  51846. },
  51847. singleInterpolation$0() {
  51848. var contents, _this = this,
  51849. t1 = _this.scanner,
  51850. t2 = t1._string_scanner$_position;
  51851. t1.expect$1("#{");
  51852. _this.whitespace$0();
  51853. contents = _this._expression$0();
  51854. t1.expectChar$1(125);
  51855. if (_this.get$plainCss())
  51856. _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  51857. return contents;
  51858. },
  51859. _mediaQueryList$0() {
  51860. var _this = this,
  51861. t1 = _this.scanner,
  51862. t2 = t1._string_scanner$_position,
  51863. t3 = new A.StringBuffer(""),
  51864. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  51865. for (; true;) {
  51866. _this.whitespace$0();
  51867. _this._stylesheet$_mediaQuery$1(buffer);
  51868. _this.whitespace$0();
  51869. if (!t1.scanChar$1(44))
  51870. break;
  51871. t3._contents += A.Primitives_stringFromCharCode(44);
  51872. t3._contents += A.Primitives_stringFromCharCode(32);
  51873. }
  51874. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  51875. },
  51876. _stylesheet$_mediaQuery$1(buffer) {
  51877. var identifier1, t1, identifier2, _this = this, _s3_ = "and";
  51878. if (_this.scanner.peekChar$0() === 40) {
  51879. _this._stylesheet$_mediaInParens$1(buffer);
  51880. _this.whitespace$0();
  51881. if (_this.scanIdentifier$1(_s3_)) {
  51882. buffer._interpolation_buffer$_text._contents += " and ";
  51883. _this.expectWhitespace$0();
  51884. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  51885. } else if (_this.scanIdentifier$1("or")) {
  51886. buffer._interpolation_buffer$_text._contents += " or ";
  51887. _this.expectWhitespace$0();
  51888. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  51889. }
  51890. return;
  51891. }
  51892. identifier1 = _this.interpolatedIdentifier$0();
  51893. if (A.equalsIgnoreCase(identifier1.get$asPlain(), "not")) {
  51894. _this.expectWhitespace$0();
  51895. if (!_this._lookingAtInterpolatedIdentifier$0()) {
  51896. buffer._interpolation_buffer$_text._contents += "not ";
  51897. _this._mediaOrInterp$1(buffer);
  51898. return;
  51899. }
  51900. }
  51901. _this.whitespace$0();
  51902. buffer.addInterpolation$1(identifier1);
  51903. if (!_this._lookingAtInterpolatedIdentifier$0())
  51904. return;
  51905. t1 = buffer._interpolation_buffer$_text;
  51906. t1._contents += A.Primitives_stringFromCharCode(32);
  51907. identifier2 = _this.interpolatedIdentifier$0();
  51908. if (A.equalsIgnoreCase(identifier2.get$asPlain(), _s3_)) {
  51909. _this.expectWhitespace$0();
  51910. t1._contents += " and ";
  51911. } else {
  51912. _this.whitespace$0();
  51913. buffer.addInterpolation$1(identifier2);
  51914. if (_this.scanIdentifier$1(_s3_)) {
  51915. _this.expectWhitespace$0();
  51916. t1._contents += " and ";
  51917. } else
  51918. return;
  51919. }
  51920. if (_this.scanIdentifier$1("not")) {
  51921. _this.expectWhitespace$0();
  51922. t1._contents += "not ";
  51923. _this._mediaOrInterp$1(buffer);
  51924. return;
  51925. }
  51926. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  51927. return;
  51928. },
  51929. _stylesheet$_mediaLogicSequence$2(buffer, operator) {
  51930. var t1, t2, _this = this;
  51931. for (t1 = buffer._interpolation_buffer$_text; true;) {
  51932. _this._mediaOrInterp$1(buffer);
  51933. _this.whitespace$0();
  51934. if (!_this.scanIdentifier$1(operator))
  51935. return;
  51936. _this.expectWhitespace$0();
  51937. t2 = t1._contents += A.Primitives_stringFromCharCode(32);
  51938. t1._contents = t2 + operator;
  51939. t1._contents += A.Primitives_stringFromCharCode(32);
  51940. }
  51941. },
  51942. _mediaOrInterp$1(buffer) {
  51943. var interpolation;
  51944. if (this.scanner.peekChar$0() === 35) {
  51945. interpolation = this.singleInterpolation$0();
  51946. buffer.addInterpolation$1(A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation)));
  51947. } else
  51948. this._stylesheet$_mediaInParens$1(buffer);
  51949. },
  51950. _stylesheet$_mediaInParens$1(buffer) {
  51951. var t2, t3, t4, next, t5, _this = this,
  51952. t1 = _this.scanner;
  51953. t1.expectChar$2$name(40, "media condition in parentheses");
  51954. t2 = buffer._interpolation_buffer$_text;
  51955. t2._contents += A.Primitives_stringFromCharCode(40);
  51956. _this.whitespace$0();
  51957. if (t1.peekChar$0() === 40) {
  51958. _this._stylesheet$_mediaInParens$1(buffer);
  51959. _this.whitespace$0();
  51960. if (_this.scanIdentifier$1("and")) {
  51961. t2._contents += " and ";
  51962. _this.expectWhitespace$0();
  51963. _this._stylesheet$_mediaLogicSequence$2(buffer, "and");
  51964. } else if (_this.scanIdentifier$1("or")) {
  51965. t2._contents += " or ";
  51966. _this.expectWhitespace$0();
  51967. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  51968. }
  51969. } else if (_this.scanIdentifier$1("not")) {
  51970. t2._contents += "not ";
  51971. _this.expectWhitespace$0();
  51972. _this._mediaOrInterp$1(buffer);
  51973. } else {
  51974. t3 = _this._expressionUntilComparison$0();
  51975. buffer._flushText$0();
  51976. t4 = buffer._interpolation_buffer$_contents;
  51977. t4.push(t3);
  51978. if (t1.scanChar$1(58)) {
  51979. _this.whitespace$0();
  51980. t2._contents += A.Primitives_stringFromCharCode(58);
  51981. t2._contents += A.Primitives_stringFromCharCode(32);
  51982. t3 = _this._expression$0();
  51983. buffer._flushText$0();
  51984. t4.push(t3);
  51985. } else {
  51986. next = t1.peekChar$0();
  51987. t3 = next !== 60;
  51988. if (!t3 || next === 62 || next === 61) {
  51989. t2._contents += A.Primitives_stringFromCharCode(32);
  51990. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51991. if ((!t3 || next === 62) && t1.scanChar$1(61))
  51992. t2._contents += A.Primitives_stringFromCharCode(61);
  51993. t2._contents += A.Primitives_stringFromCharCode(32);
  51994. _this.whitespace$0();
  51995. t5 = _this._expressionUntilComparison$0();
  51996. buffer._flushText$0();
  51997. t4.push(t5);
  51998. if (!t3 || next === 62) {
  51999. next.toString;
  52000. t3 = t1.scanChar$1(next);
  52001. } else
  52002. t3 = false;
  52003. if (t3) {
  52004. t2._contents += A.Primitives_stringFromCharCode(32);
  52005. t2._contents += A.Primitives_stringFromCharCode(next);
  52006. if (t1.scanChar$1(61))
  52007. t2._contents += A.Primitives_stringFromCharCode(61);
  52008. t2._contents += A.Primitives_stringFromCharCode(32);
  52009. _this.whitespace$0();
  52010. t3 = _this._expressionUntilComparison$0();
  52011. buffer._flushText$0();
  52012. t4.push(t3);
  52013. }
  52014. }
  52015. }
  52016. }
  52017. t1.expectChar$1(41);
  52018. _this.whitespace$0();
  52019. t2._contents += A.Primitives_stringFromCharCode(41);
  52020. },
  52021. _expressionUntilComparison$0() {
  52022. return this._expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure(this));
  52023. },
  52024. _supportsCondition$0() {
  52025. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  52026. t1 = _this.scanner,
  52027. t2 = t1._string_scanner$_position;
  52028. if (_this.scanIdentifier$1("not")) {
  52029. _this.whitespace$0();
  52030. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  52031. }
  52032. condition = _this._supportsConditionInParens$0();
  52033. _this.whitespace$0();
  52034. for (operator = null; _this.lookingAtIdentifier$0();) {
  52035. if (operator != null)
  52036. _this.expectIdentifier$1(operator);
  52037. else if (_this.scanIdentifier$1("or"))
  52038. operator = "or";
  52039. else {
  52040. _this.expectIdentifier$1("and");
  52041. operator = "and";
  52042. }
  52043. _this.whitespace$0();
  52044. right = _this._supportsConditionInParens$0();
  52045. endPosition = t1._string_scanner$_position;
  52046. t3 = t1._sourceFile;
  52047. t4 = new A._FileSpan(t3, t2, endPosition);
  52048. t4._FileSpan$3(t3, t2, endPosition);
  52049. condition = new A.SupportsOperation(condition, right, operator, t4);
  52050. lowerOperator = operator.toLowerCase();
  52051. if (lowerOperator !== "and" && lowerOperator !== "or")
  52052. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  52053. _this.whitespace$0();
  52054. }
  52055. return condition;
  52056. },
  52057. _supportsConditionInParens$0() {
  52058. var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
  52059. t1 = _this.scanner,
  52060. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  52061. if (_this._lookingAtInterpolatedIdentifier$0()) {
  52062. identifier0 = _this.interpolatedIdentifier$0();
  52063. t2 = identifier0.get$asPlain();
  52064. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  52065. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  52066. if (t1.scanChar$1(40)) {
  52067. $arguments = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  52068. t1.expectChar$1(41);
  52069. return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
  52070. } else {
  52071. t2 = identifier0.contents;
  52072. if (t2.length !== 1 || !type$.Expression._is(B.JSArray_methods.get$first(t2)))
  52073. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  52074. else
  52075. return new A.SupportsInterpolation(type$.Expression._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
  52076. }
  52077. }
  52078. t1.expectChar$1(40);
  52079. _this.whitespace$0();
  52080. if (_this.scanIdentifier$1("not")) {
  52081. _this.whitespace$0();
  52082. condition = _this._supportsConditionInParens$0();
  52083. t1.expectChar$1(41);
  52084. return new A.SupportsNegation(condition, t1.spanFrom$1(start));
  52085. } else if (t1.peekChar$0() === 40) {
  52086. condition = _this._supportsCondition$0();
  52087. t1.expectChar$1(41);
  52088. return condition;
  52089. }
  52090. $name = null;
  52091. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  52092. wasInParentheses = _this._inParentheses;
  52093. try {
  52094. $name = _this._expression$0();
  52095. t1.expectChar$1(58);
  52096. } catch (exception) {
  52097. if (type$.FormatException._is(A.unwrapException(exception))) {
  52098. t1.set$state(nameStart);
  52099. _this._inParentheses = wasInParentheses;
  52100. identifier = _this.interpolatedIdentifier$0();
  52101. operation = _this._trySupportsOperation$2(identifier, nameStart);
  52102. if (operation != null) {
  52103. t1.expectChar$1(41);
  52104. return operation;
  52105. }
  52106. t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  52107. t2.addInterpolation$1(identifier);
  52108. t2.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
  52109. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  52110. if (t1.peekChar$0() === 58)
  52111. throw exception;
  52112. t1.expectChar$1(41);
  52113. return new A.SupportsAnything(contents, t1.spanFrom$1(start));
  52114. } else
  52115. throw exception;
  52116. }
  52117. declaration = _this._supportsDeclarationValue$2($name, start);
  52118. t1.expectChar$1(41);
  52119. return declaration;
  52120. },
  52121. _supportsDeclarationValue$2($name, start) {
  52122. var value, _this = this;
  52123. if ($name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
  52124. value = new A.StringExpression(_this._interpolatedDeclarationValue$0(), false);
  52125. else {
  52126. _this.whitespace$0();
  52127. value = _this._expression$0();
  52128. }
  52129. return new A.SupportsDeclaration($name, value, _this.scanner.spanFrom$1(start));
  52130. },
  52131. _trySupportsOperation$2(interpolation, start) {
  52132. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  52133. t1 = interpolation.contents;
  52134. if (t1.length !== 1)
  52135. return _null;
  52136. expression = B.JSArray_methods.get$first(t1);
  52137. if (!type$.Expression._is(expression))
  52138. return _null;
  52139. t1 = _this.scanner;
  52140. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  52141. _this.whitespace$0();
  52142. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  52143. if (operator != null)
  52144. _this.expectIdentifier$1(operator);
  52145. else if (_this.scanIdentifier$1("and"))
  52146. operator = "and";
  52147. else {
  52148. if (!_this.scanIdentifier$1("or")) {
  52149. if (beforeWhitespace._scanner !== t1)
  52150. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  52151. t2 = beforeWhitespace.position;
  52152. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  52153. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  52154. t1._string_scanner$_position = t2;
  52155. return t1._lastMatch = null;
  52156. }
  52157. operator = "or";
  52158. }
  52159. _this.whitespace$0();
  52160. right = _this._supportsConditionInParens$0();
  52161. t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
  52162. endPosition = t1._string_scanner$_position;
  52163. t5 = t1._sourceFile;
  52164. t6 = new A._FileSpan(t5, t2, endPosition);
  52165. t6._FileSpan$3(t5, t2, endPosition);
  52166. operation = new A.SupportsOperation(t4, right, operator, t6);
  52167. lowerOperator = operator.toLowerCase();
  52168. if (lowerOperator !== "and" && lowerOperator !== "or")
  52169. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  52170. _this.whitespace$0();
  52171. }
  52172. return operation;
  52173. },
  52174. _lookingAtInterpolatedIdentifier$0() {
  52175. var second,
  52176. t1 = this.scanner,
  52177. first = t1.peekChar$0();
  52178. if (first == null)
  52179. return false;
  52180. if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
  52181. return true;
  52182. if (first === 35)
  52183. return t1.peekChar$1(1) === 123;
  52184. if (first !== 45)
  52185. return false;
  52186. second = t1.peekChar$1(1);
  52187. if (second == null)
  52188. return false;
  52189. if (second === 35)
  52190. return t1.peekChar$1(2) === 123;
  52191. return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
  52192. },
  52193. _lookingAtInterpolatedIdentifierBody$0() {
  52194. var t1 = this.scanner,
  52195. first = t1.peekChar$0();
  52196. if (first == null)
  52197. return false;
  52198. if (first === 95 || A.isAlphabetic0(first) || first >= 128 || A.isDigit(first) || first === 45 || first === 92)
  52199. return true;
  52200. return first === 35 && t1.peekChar$1(1) === 123;
  52201. },
  52202. _lookingAtExpression$0() {
  52203. var next,
  52204. t1 = this.scanner,
  52205. character = t1.peekChar$0();
  52206. if (character == null)
  52207. return false;
  52208. if (character === 46)
  52209. return t1.peekChar$1(1) !== 46;
  52210. if (character === 33) {
  52211. next = t1.peekChar$1(1);
  52212. if (next != null)
  52213. if ((next | 32) !== 105)
  52214. t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
  52215. else
  52216. t1 = true;
  52217. else
  52218. t1 = true;
  52219. return t1;
  52220. }
  52221. if (character !== 40)
  52222. if (character !== 47)
  52223. if (character !== 91)
  52224. if (character !== 39)
  52225. if (character !== 34)
  52226. if (character !== 35)
  52227. if (character !== 43)
  52228. if (character !== 45)
  52229. if (character !== 92)
  52230. if (character !== 36)
  52231. if (character !== 38)
  52232. t1 = character === 95 || A.isAlphabetic0(character) || character >= 128 || A.isDigit(character);
  52233. else
  52234. t1 = true;
  52235. else
  52236. t1 = true;
  52237. else
  52238. t1 = true;
  52239. else
  52240. t1 = true;
  52241. else
  52242. t1 = true;
  52243. else
  52244. t1 = true;
  52245. else
  52246. t1 = true;
  52247. else
  52248. t1 = true;
  52249. else
  52250. t1 = true;
  52251. else
  52252. t1 = true;
  52253. else
  52254. t1 = true;
  52255. return t1;
  52256. },
  52257. _withChildren$1$3(child, start, create) {
  52258. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  52259. this.whitespaceWithoutComments$0();
  52260. return result;
  52261. },
  52262. _withChildren$3(child, start, create) {
  52263. return this._withChildren$1$3(child, start, create, type$.dynamic);
  52264. },
  52265. _urlString$0() {
  52266. var innerError, stackTrace, t2, exception,
  52267. t1 = this.scanner,
  52268. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  52269. url = this.string$0();
  52270. try {
  52271. t2 = A.Uri_parse(url);
  52272. return t2;
  52273. } catch (exception) {
  52274. t2 = A.unwrapException(exception);
  52275. if (type$.FormatException._is(t2)) {
  52276. innerError = t2;
  52277. stackTrace = A.getTraceFromException(exception);
  52278. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  52279. } else
  52280. throw exception;
  52281. }
  52282. },
  52283. _publicIdentifier$0() {
  52284. var _this = this,
  52285. t1 = _this.scanner,
  52286. t2 = t1._string_scanner$_position,
  52287. result = _this.identifier$1$normalize(true);
  52288. _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
  52289. return result;
  52290. },
  52291. _assertPublic$2(identifier, span) {
  52292. var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
  52293. if (!(first === 45 || first === 95))
  52294. return;
  52295. this.error$2(0, string$.Privat, span.call$0());
  52296. },
  52297. get$plainCss() {
  52298. return false;
  52299. }
  52300. };
  52301. A.StylesheetParser_parse_closure.prototype = {
  52302. call$0() {
  52303. var statements, t4,
  52304. t1 = this.$this,
  52305. t2 = t1.scanner,
  52306. t3 = t2._string_scanner$_position;
  52307. t2.scanChar$1(65279);
  52308. statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
  52309. t2.expectDone$0();
  52310. t4 = t1._globalVariables;
  52311. t4 = t4.get$values(t4);
  52312. B.JSArray_methods.addAll$1(statements, A.MappedIterable_MappedIterable(t4, new A.StylesheetParser_parse__closure0(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Statement));
  52313. return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
  52314. },
  52315. $signature: 352
  52316. };
  52317. A.StylesheetParser_parse__closure.prototype = {
  52318. call$0() {
  52319. var t1 = this.$this;
  52320. if (t1.scanner.scan$1("@charset")) {
  52321. t1.whitespace$0();
  52322. t1.string$0();
  52323. return null;
  52324. }
  52325. return t1._statement$1$root(true);
  52326. },
  52327. $signature: 353
  52328. };
  52329. A.StylesheetParser_parse__closure0.prototype = {
  52330. call$1(declaration) {
  52331. var t1 = declaration.name,
  52332. t2 = declaration.expression;
  52333. return A.VariableDeclaration$(t1, new A.NullExpression(t2.get$span(t2)), declaration.span, null, false, true, null);
  52334. },
  52335. $signature: 354
  52336. };
  52337. A.StylesheetParser_parseArgumentDeclaration_closure.prototype = {
  52338. call$0() {
  52339. var $arguments,
  52340. t1 = this.$this,
  52341. t2 = t1.scanner;
  52342. t2.expectChar$2$name(64, "@-rule");
  52343. t1.identifier$0();
  52344. t1.whitespace$0();
  52345. t1.identifier$0();
  52346. $arguments = t1._argumentDeclaration$0();
  52347. t1.whitespace$0();
  52348. t2.expectChar$1(123);
  52349. return $arguments;
  52350. },
  52351. $signature: 355
  52352. };
  52353. A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
  52354. call$0() {
  52355. var t1 = this.$this;
  52356. return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
  52357. },
  52358. $signature: 169
  52359. };
  52360. A.StylesheetParser_parseUseRule_closure.prototype = {
  52361. call$0() {
  52362. var t1 = this.$this,
  52363. t2 = t1.scanner,
  52364. t3 = t2._string_scanner$_position;
  52365. t2.expectChar$2$name(64, "@-rule");
  52366. t1.expectIdentifier$1("use");
  52367. t1.whitespace$0();
  52368. return t1._useRule$1(new A._SpanScannerState(t2, t3));
  52369. },
  52370. $signature: 362
  52371. };
  52372. A.StylesheetParser__parseSingleProduction_closure.prototype = {
  52373. call$0() {
  52374. var result = this.production.call$0();
  52375. this.$this.scanner.expectDone$0();
  52376. return result;
  52377. },
  52378. $signature() {
  52379. return this.T._eval$1("0()");
  52380. }
  52381. };
  52382. A.StylesheetParser__statement_closure.prototype = {
  52383. call$0() {
  52384. return this.$this._statement$0();
  52385. },
  52386. $signature: 104
  52387. };
  52388. A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
  52389. call$0() {
  52390. return this.$this.scanner.spanFrom$1(this.start);
  52391. },
  52392. $signature: 25
  52393. };
  52394. A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
  52395. call$0() {
  52396. return this.declaration;
  52397. },
  52398. $signature: 169
  52399. };
  52400. A.StylesheetParser__declarationOrBuffer_closure.prototype = {
  52401. call$2(children, span) {
  52402. return A.Declaration$nested(this.name, children, span, null);
  52403. },
  52404. $signature: 97
  52405. };
  52406. A.StylesheetParser__declarationOrBuffer_closure0.prototype = {
  52407. call$2(children, span) {
  52408. return A.Declaration$nested(this.name, children, span, this._box_0.value);
  52409. },
  52410. $signature: 97
  52411. };
  52412. A.StylesheetParser__styleRule_closure.prototype = {
  52413. call$2(children, span) {
  52414. var _this = this,
  52415. t1 = _this.$this;
  52416. if (t1.get$indented() && children.length === 0)
  52417. t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
  52418. t1._inStyleRule = _this.wasInStyleRule;
  52419. return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  52420. },
  52421. $signature: 364
  52422. };
  52423. A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype = {
  52424. call$2(children, span) {
  52425. return A.Declaration$nested(this._box_0.name, children, span, null);
  52426. },
  52427. $signature: 97
  52428. };
  52429. A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype = {
  52430. call$2(children, span) {
  52431. return A.Declaration$nested(this._box_0.name, children, span, this.value);
  52432. },
  52433. $signature: 97
  52434. };
  52435. A.StylesheetParser__atRootRule_closure.prototype = {
  52436. call$2(children, span) {
  52437. return A.AtRootRule$(children, span, this.query);
  52438. },
  52439. $signature: 165
  52440. };
  52441. A.StylesheetParser__atRootRule_closure0.prototype = {
  52442. call$2(children, span) {
  52443. return A.AtRootRule$(children, span, null);
  52444. },
  52445. $signature: 165
  52446. };
  52447. A.StylesheetParser__eachRule_closure.prototype = {
  52448. call$2(children, span) {
  52449. var _this = this;
  52450. _this.$this._inControlDirective = _this.wasInControlDirective;
  52451. return A.EachRule$(_this.variables, _this.list, children, span);
  52452. },
  52453. $signature: 366
  52454. };
  52455. A.StylesheetParser__functionRule_closure.prototype = {
  52456. call$2(children, span) {
  52457. return A.FunctionRule$(this.name, this.$arguments, children, span, this.precedingComment);
  52458. },
  52459. $signature: 367
  52460. };
  52461. A.StylesheetParser__forRule_closure.prototype = {
  52462. call$0() {
  52463. var t1 = this.$this;
  52464. if (!t1.lookingAtIdentifier$0())
  52465. return false;
  52466. if (t1.scanIdentifier$1("to"))
  52467. return this._box_0.exclusive = true;
  52468. else if (t1.scanIdentifier$1("through")) {
  52469. this._box_0.exclusive = false;
  52470. return true;
  52471. } else
  52472. return false;
  52473. },
  52474. $signature: 27
  52475. };
  52476. A.StylesheetParser__forRule_closure0.prototype = {
  52477. call$2(children, span) {
  52478. var t1, _this = this;
  52479. _this.$this._inControlDirective = _this.wasInControlDirective;
  52480. t1 = _this._box_0.exclusive;
  52481. t1.toString;
  52482. return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
  52483. },
  52484. $signature: 368
  52485. };
  52486. A.StylesheetParser__memberList_closure.prototype = {
  52487. call$0() {
  52488. var t1 = this.$this;
  52489. if (t1.scanner.peekChar$0() === 36)
  52490. this.variables.add$1(0, t1.variableName$0());
  52491. else
  52492. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  52493. },
  52494. $signature: 1
  52495. };
  52496. A.StylesheetParser__includeRule_closure.prototype = {
  52497. call$2(children, span) {
  52498. return A.ContentBlock$(this.contentArguments_, children, span);
  52499. },
  52500. $signature: 369
  52501. };
  52502. A.StylesheetParser_mediaRule_closure.prototype = {
  52503. call$2(children, span) {
  52504. return A.MediaRule$(this.query, children, span);
  52505. },
  52506. $signature: 372
  52507. };
  52508. A.StylesheetParser__mixinRule_closure.prototype = {
  52509. call$2(children, span) {
  52510. var _this = this;
  52511. _this.$this._stylesheet$_inMixin = false;
  52512. return A.MixinRule$(_this.name, _this.$arguments, children, span, _this.precedingComment);
  52513. },
  52514. $signature: 374
  52515. };
  52516. A.StylesheetParser_mozDocumentRule_closure.prototype = {
  52517. call$2(children, span) {
  52518. var _this = this;
  52519. if (_this._box_0.needsDeprecationWarning)
  52520. A.WarnForDeprecation_warnForDeprecation(_this.$this.logger, B.Deprecation_gJ9, string$.x40_moz_, span, null);
  52521. return A.AtRule$(_this.name, span, children, _this.value);
  52522. },
  52523. $signature: 163
  52524. };
  52525. A.StylesheetParser_supportsRule_closure.prototype = {
  52526. call$2(children, span) {
  52527. return A.SupportsRule$(this.condition, children, span);
  52528. },
  52529. $signature: 378
  52530. };
  52531. A.StylesheetParser__whileRule_closure.prototype = {
  52532. call$2(children, span) {
  52533. this.$this._inControlDirective = this.wasInControlDirective;
  52534. return A.WhileRule$(this.condition, children, span);
  52535. },
  52536. $signature: 254
  52537. };
  52538. A.StylesheetParser_unknownAtRule_closure.prototype = {
  52539. call$2(children, span) {
  52540. return A.AtRule$(this.name, span, children, this._box_0.value);
  52541. },
  52542. $signature: 163
  52543. };
  52544. A.StylesheetParser__expression_resetState.prototype = {
  52545. call$0() {
  52546. var t2,
  52547. t1 = this._box_0;
  52548. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  52549. t2 = this.$this;
  52550. t2.scanner.set$state(this.start);
  52551. t1.allowSlash = true;
  52552. t1.singleExpression_ = t2._singleExpression$0();
  52553. },
  52554. $signature: 0
  52555. };
  52556. A.StylesheetParser__expression_resolveOneOperation.prototype = {
  52557. call$0() {
  52558. var t2, t3, t4, t5, t6, t7, _this = this,
  52559. t1 = _this._box_0,
  52560. operator = t1.operators_.pop(),
  52561. left = t1.operands_.pop(),
  52562. right = t1.singleExpression_;
  52563. if (right == null) {
  52564. t2 = _this.$this.scanner;
  52565. t3 = operator.operator.length;
  52566. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  52567. }
  52568. if (t1.allowSlash) {
  52569. t2 = _this.$this;
  52570. t2 = !t2._inParentheses && operator === B.BinaryOperator_t8B && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
  52571. } else
  52572. t2 = false;
  52573. if (t2)
  52574. t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_t8B, left, right, true);
  52575. else {
  52576. t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
  52577. t2 = t1.allowSlash = false;
  52578. if (operator === B.BinaryOperator_anB || operator === B.BinaryOperator_olz) {
  52579. t3 = _this.$this;
  52580. t4 = t3.scanner.string;
  52581. t5 = right.get$span(right);
  52582. t5 = t5.get$start(t5);
  52583. t6 = right.get$span(right);
  52584. t7 = operator.operator;
  52585. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  52586. t2 = left.get$span(left);
  52587. t2 = B.JSString_methods.codeUnitAt$1(t4, t2.get$end(t2).offset);
  52588. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  52589. }
  52590. if (t2) {
  52591. t2 = left.toString$0(0);
  52592. t4 = right.toString$0(0);
  52593. t5 = left.toString$0(0);
  52594. t6 = right.toString$0(0);
  52595. t1 = t1.singleExpression_;
  52596. 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);
  52597. }
  52598. }
  52599. }
  52600. },
  52601. $signature: 0
  52602. };
  52603. A.StylesheetParser__expression_resolveOperations.prototype = {
  52604. call$0() {
  52605. var t1,
  52606. operators = this._box_0.operators_;
  52607. if (operators == null)
  52608. return;
  52609. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  52610. t1.call$0();
  52611. },
  52612. $signature: 0
  52613. };
  52614. A.StylesheetParser__expression_addSingleExpression.prototype = {
  52615. call$1(expression) {
  52616. var t2, spaceExpressions, _this = this,
  52617. t1 = _this._box_0;
  52618. if (t1.singleExpression_ != null) {
  52619. t2 = _this.$this;
  52620. if (t2._inParentheses) {
  52621. t2._inParentheses = false;
  52622. if (t1.allowSlash) {
  52623. _this.resetState.call$0();
  52624. return;
  52625. }
  52626. }
  52627. spaceExpressions = t1.spaceExpressions_;
  52628. if (spaceExpressions == null)
  52629. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
  52630. _this.resolveOperations.call$0();
  52631. t2 = t1.singleExpression_;
  52632. t2.toString;
  52633. spaceExpressions.push(t2);
  52634. t1.allowSlash = true;
  52635. }
  52636. t1.singleExpression_ = expression;
  52637. },
  52638. $signature: 380
  52639. };
  52640. A.StylesheetParser__expression_addOperator.prototype = {
  52641. call$1(operator) {
  52642. var t2, t3, operators, operands, t4, singleExpression,
  52643. t1 = this.$this;
  52644. if (t1.get$plainCss() && operator !== B.BinaryOperator_t8B && operator !== B.BinaryOperator_2jN) {
  52645. t2 = t1.scanner;
  52646. t3 = operator.operator.length;
  52647. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  52648. }
  52649. t2 = this._box_0;
  52650. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_t8B;
  52651. operators = t2.operators_;
  52652. if (operators == null)
  52653. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
  52654. operands = t2.operands_;
  52655. if (operands == null)
  52656. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
  52657. t3 = this.resolveOneOperation;
  52658. t4 = operator.precedence;
  52659. while (true) {
  52660. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  52661. break;
  52662. t3.call$0();
  52663. }
  52664. operators.push(operator);
  52665. singleExpression = t2.singleExpression_;
  52666. if (singleExpression == null) {
  52667. t3 = t1.scanner;
  52668. t4 = operator.operator.length;
  52669. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  52670. }
  52671. operands.push(singleExpression);
  52672. t1.whitespace$0();
  52673. t2.singleExpression_ = t1._singleExpression$0();
  52674. },
  52675. $signature: 383
  52676. };
  52677. A.StylesheetParser__expression_resolveSpaceExpressions.prototype = {
  52678. call$0() {
  52679. var t1, spaceExpressions, singleExpression, t2;
  52680. this.resolveOperations.call$0();
  52681. t1 = this._box_0;
  52682. spaceExpressions = t1.spaceExpressions_;
  52683. if (spaceExpressions != null) {
  52684. singleExpression = t1.singleExpression_;
  52685. if (singleExpression == null)
  52686. this.$this.scanner.error$1(0, "Expected expression.");
  52687. spaceExpressions.push(singleExpression);
  52688. t2 = B.JSArray_methods.get$first(spaceExpressions);
  52689. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  52690. t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_EVt, false, t2);
  52691. t1.spaceExpressions_ = null;
  52692. }
  52693. },
  52694. $signature: 0
  52695. };
  52696. A.StylesheetParser_expressionUntilComma_closure.prototype = {
  52697. call$0() {
  52698. return this.$this.scanner.peekChar$0() === 44;
  52699. },
  52700. $signature: 27
  52701. };
  52702. A.StylesheetParser__unicodeRange_closure.prototype = {
  52703. call$1(char) {
  52704. return char != null && A.isHex(char);
  52705. },
  52706. $signature: 33
  52707. };
  52708. A.StylesheetParser__unicodeRange_closure0.prototype = {
  52709. call$1(char) {
  52710. return char != null && A.isHex(char);
  52711. },
  52712. $signature: 33
  52713. };
  52714. A.StylesheetParser_namespacedExpression_closure.prototype = {
  52715. call$0() {
  52716. return this.$this.scanner.spanFrom$1(this.start);
  52717. },
  52718. $signature: 25
  52719. };
  52720. A.StylesheetParser_trySpecialFunction_closure.prototype = {
  52721. call$1(contents) {
  52722. return new A.StringExpression(contents, false);
  52723. },
  52724. $signature: 390
  52725. };
  52726. A.StylesheetParser__expressionUntilComparison_closure.prototype = {
  52727. call$0() {
  52728. var t1 = this.$this.scanner,
  52729. next = t1.peekChar$0();
  52730. if (next === 61)
  52731. return t1.peekChar$1(1) !== 61;
  52732. return next === 60 || next === 62;
  52733. },
  52734. $signature: 27
  52735. };
  52736. A.StylesheetParser__publicIdentifier_closure.prototype = {
  52737. call$0() {
  52738. return this.$this.scanner.spanFrom$1(this.start);
  52739. },
  52740. $signature: 25
  52741. };
  52742. A.StylesheetGraph.prototype = {
  52743. modifiedSince$3(url, since, baseImporter) {
  52744. var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
  52745. if (node == null)
  52746. return true;
  52747. return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node)._value > since._value;
  52748. },
  52749. _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
  52750. var t1, t2, _this = this,
  52751. tuple = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
  52752. if (tuple == null)
  52753. return null;
  52754. t1 = tuple.item1;
  52755. t2 = tuple.item2;
  52756. _this.addCanonical$3(t1, t2, tuple.item3);
  52757. return _this._nodes.$index(0, t2);
  52758. },
  52759. addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
  52760. var stylesheet, _this = this,
  52761. t1 = _this._nodes;
  52762. if (t1.$index(0, canonicalUrl) != null)
  52763. return B.Set_empty3;
  52764. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
  52765. if (stylesheet == null)
  52766. return B.Set_empty3;
  52767. t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
  52768. return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty3;
  52769. },
  52770. addCanonical$3(importer, canonicalUrl, originalUrl) {
  52771. return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
  52772. },
  52773. _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
  52774. var t6, t7, t8, t9, t10,
  52775. t1 = type$.Uri,
  52776. active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
  52777. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  52778. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  52779. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  52780. t5 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  52781. new A._FindDependenciesVisitor(t2, t3, t4, t5, A.LinkedHashSet_LinkedHashSet$_empty(type$.nullable_String)).visitChildren$1(stylesheet.children);
  52782. t6 = type$.UnmodifiableSetView_Uri;
  52783. t2 = new A.UnmodifiableSetView0(t2, t6);
  52784. t3 = new A.UnmodifiableSetView0(t3, t6);
  52785. t4 = new A.UnmodifiableSetView0(t4, t6);
  52786. t7 = type$.nullable_StylesheetNode;
  52787. t8 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  52788. 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();) {
  52789. t10 = t9.get$current(t9);
  52790. t8.$indexSet(0, t10, this._nodeFor$4(t10, baseImporter, baseUrl, active));
  52791. }
  52792. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  52793. for (t2 = new A.DependencyReport(t2, t3, t4, new A.UnmodifiableSetView0(t5, t6)).imports._base, t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  52794. t3 = t2.get$current(t2);
  52795. t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
  52796. }
  52797. return new A.Tuple2(t8, t1, type$.Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode);
  52798. },
  52799. reload$1(canonicalUrl) {
  52800. var stylesheet, upstream, _this = this,
  52801. node = _this._nodes.$index(0, canonicalUrl);
  52802. if (node == null)
  52803. throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
  52804. _this._transitiveModificationTimes.clear$0(0);
  52805. _this.importCache.clearImport$1(canonicalUrl);
  52806. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
  52807. if (stylesheet == null)
  52808. return false;
  52809. node._stylesheet = stylesheet;
  52810. upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
  52811. node._replaceUpstream$2(upstream.item1, upstream.item2);
  52812. return true;
  52813. },
  52814. _recanonicalizeImports$2(importer, canonicalUrl) {
  52815. var t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this,
  52816. changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  52817. 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();) {
  52818. t5 = t1.get$current(t1);
  52819. newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
  52820. newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
  52821. if (newUpstream.__js_helper$_length !== 0 || newUpstreamImports.__js_helper$_length !== 0) {
  52822. changed.add$1(0, t5);
  52823. 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));
  52824. }
  52825. }
  52826. if (changed._collection$_length !== 0)
  52827. _this._transitiveModificationTimes.clear$0(0);
  52828. return changed;
  52829. },
  52830. _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
  52831. var t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
  52832. map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1),
  52833. newMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.nullable_StylesheetNode);
  52834. map._map.forEach$1(0, new A.StylesheetGraph__recanonicalizeImportsForNode_closure(this, importer, canonicalUrl, node, forImport, newMap));
  52835. return newMap;
  52836. },
  52837. _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
  52838. var importer, canonicalUrl, resolvedUrl, t1, stylesheet, node, _this = this,
  52839. tuple = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
  52840. if (tuple == null)
  52841. return null;
  52842. importer = tuple.item1;
  52843. canonicalUrl = tuple.item2;
  52844. resolvedUrl = tuple.item3;
  52845. t1 = _this._nodes;
  52846. if (t1.containsKey$1(canonicalUrl))
  52847. return t1.$index(0, canonicalUrl);
  52848. if (active.contains$1(0, canonicalUrl))
  52849. return null;
  52850. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(_this, importer, canonicalUrl, resolvedUrl));
  52851. if (stylesheet == null)
  52852. return null;
  52853. active.add$1(0, canonicalUrl);
  52854. node = A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl));
  52855. active.remove$1(0, canonicalUrl);
  52856. t1.$indexSet(0, canonicalUrl, node);
  52857. return node;
  52858. },
  52859. _nodeFor$4(url, baseImporter, baseUrl, active) {
  52860. return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
  52861. },
  52862. _ignoreErrors$1$1(callback) {
  52863. var t1, exception;
  52864. try {
  52865. t1 = callback.call$0();
  52866. return t1;
  52867. } catch (exception) {
  52868. return null;
  52869. }
  52870. },
  52871. _ignoreErrors$1(callback) {
  52872. return this._ignoreErrors$1$1(callback, type$.dynamic);
  52873. }
  52874. };
  52875. A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
  52876. call$1(node) {
  52877. return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
  52878. },
  52879. $signature: 393
  52880. };
  52881. A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
  52882. call$0() {
  52883. var t2, t3, upstreamTime,
  52884. t1 = this.node,
  52885. latest = t1.importer.modificationTime$1(t1.canonicalUrl);
  52886. 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();) {
  52887. t3 = t1._currentIterator;
  52888. t3 = t3.get$current(t3);
  52889. upstreamTime = t3 == null ? new A.DateTime(Date.now(), false) : t2.call$1(t3);
  52890. if (upstreamTime._value > latest._value)
  52891. latest = upstreamTime;
  52892. }
  52893. return latest;
  52894. },
  52895. $signature: 173
  52896. };
  52897. A.StylesheetGraph__add_closure.prototype = {
  52898. call$0() {
  52899. var _this = this;
  52900. return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
  52901. },
  52902. $signature: 77
  52903. };
  52904. A.StylesheetGraph_addCanonical_closure.prototype = {
  52905. call$0() {
  52906. var _this = this;
  52907. return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
  52908. },
  52909. $signature: 79
  52910. };
  52911. A.StylesheetGraph_reload_closure.prototype = {
  52912. call$0() {
  52913. return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
  52914. },
  52915. $signature: 79
  52916. };
  52917. A.StylesheetGraph__recanonicalizeImportsForNode_closure.prototype = {
  52918. call$2(url, upstream) {
  52919. var result, t1, t2, t3, exception, newCanonicalUrl, _this = this;
  52920. if (!_this.importer.couldCanonicalize$2(url, _this.canonicalUrl))
  52921. return;
  52922. t1 = _this.$this;
  52923. t2 = t1.importCache;
  52924. t2.clearCanonicalize$1(url);
  52925. result = null;
  52926. try {
  52927. t3 = _this.node;
  52928. result = t2.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t3.importer, t3.canonicalUrl, _this.forImport);
  52929. } catch (exception) {
  52930. }
  52931. t2 = result;
  52932. newCanonicalUrl = t2 == null ? null : t2.item2;
  52933. if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
  52934. return;
  52935. t1 = result == null ? null : t1._nodes.$index(0, result.item2);
  52936. _this.newMap.$indexSet(0, url, t1);
  52937. },
  52938. $signature: 394
  52939. };
  52940. A.StylesheetGraph__nodeFor_closure.prototype = {
  52941. call$0() {
  52942. var _this = this;
  52943. return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
  52944. },
  52945. $signature: 77
  52946. };
  52947. A.StylesheetGraph__nodeFor_closure0.prototype = {
  52948. call$0() {
  52949. var _this = this;
  52950. return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.resolvedUrl);
  52951. },
  52952. $signature: 79
  52953. };
  52954. A.StylesheetNode.prototype = {
  52955. StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
  52956. var t1, t2;
  52957. 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();) {
  52958. t1 = t2._currentIterator;
  52959. t1 = t1.get$current(t1);
  52960. if (t1 != null)
  52961. t1._downstream.add$1(0, this);
  52962. }
  52963. },
  52964. _replaceUpstream$2(newUpstream, newUpstreamImports) {
  52965. var t3, oldUpstream, newUpstreamSet, _this = this,
  52966. t1 = _this._upstream,
  52967. t2 = type$.nullable_StylesheetNode;
  52968. t1 = A.LinkedHashSet_LinkedHashSet$of(t1.get$values(t1), t2);
  52969. t3 = _this._upstreamImports;
  52970. t1.addAll$1(0, t3.get$values(t3));
  52971. t3 = type$.StylesheetNode;
  52972. oldUpstream = A.SetExtension_removeNull(t1, t3);
  52973. t2 = A.LinkedHashSet_LinkedHashSet$of(newUpstream.get$values(newUpstream), t2);
  52974. t2.addAll$1(0, newUpstreamImports.get$values(newUpstreamImports));
  52975. newUpstreamSet = A.SetExtension_removeNull(t2, t3);
  52976. for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  52977. t1.get$current(t1)._downstream.remove$1(0, _this);
  52978. for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  52979. t1.get$current(t1)._downstream.add$1(0, _this);
  52980. _this._upstream = newUpstream;
  52981. _this._upstreamImports = newUpstreamImports;
  52982. },
  52983. _stylesheet_graph$_remove$0() {
  52984. var t1, t2, t3, t4, _i, url, _this = this;
  52985. 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();) {
  52986. t3 = t1._collection$_current;
  52987. if (t3 == null)
  52988. t3 = t2._as(t3);
  52989. if (t3 == null)
  52990. continue;
  52991. t3._downstream.remove$1(0, _this);
  52992. }
  52993. for (t1 = _this._downstream, t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  52994. t2 = t1.get$current(t1);
  52995. 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) {
  52996. url = t3[_i];
  52997. if (J.$eq$(t2._upstream.$index(0, url), _this)) {
  52998. t2._upstream.$indexSet(0, url, null);
  52999. break;
  53000. }
  53001. }
  53002. 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) {
  53003. url = t3[_i];
  53004. if (J.$eq$(t2._upstreamImports.$index(0, url), _this)) {
  53005. t2._upstreamImports.$indexSet(0, url, null);
  53006. break;
  53007. }
  53008. }
  53009. }
  53010. },
  53011. toString$0(_) {
  53012. var t1 = this._stylesheet.span;
  53013. t1 = A.NullableExtension_andThen(t1.get$sourceUrl(t1), A.path__prettyUri$closure());
  53014. return t1 == null ? "<unknown>" : t1;
  53015. }
  53016. };
  53017. A.Syntax.prototype = {
  53018. _enumToString$0() {
  53019. return "Syntax." + this._name;
  53020. },
  53021. toString$0(_) {
  53022. return this._syntax$_name;
  53023. }
  53024. };
  53025. A.Box.prototype = {
  53026. $eq(_, other) {
  53027. if (other == null)
  53028. return false;
  53029. return this.$ti._is(other) && other._box$_inner === this._box$_inner;
  53030. },
  53031. get$hashCode(_) {
  53032. return A.Primitives_objectHashCode(this._box$_inner);
  53033. }
  53034. };
  53035. A.ModifiableBox.prototype = {};
  53036. A.LazyFileSpan.prototype = {
  53037. get$span(_) {
  53038. var t1 = this._lazy_file_span$_span;
  53039. return t1 == null ? this._lazy_file_span$_span = this._builder.call$0() : t1;
  53040. },
  53041. compareTo$1(_, other) {
  53042. return this.get$span(this).compareTo$1(0, other);
  53043. },
  53044. get$context(_) {
  53045. var t1 = this.get$span(this);
  53046. return t1.get$context(t1);
  53047. },
  53048. get$end(_) {
  53049. var t1 = this.get$span(this);
  53050. return t1.get$end(t1);
  53051. },
  53052. expand$1(_, other) {
  53053. return this.get$span(this).expand$1(0, other);
  53054. },
  53055. get$file(_) {
  53056. var t1 = this.get$span(this);
  53057. return t1.get$file(t1);
  53058. },
  53059. highlight$1$color(color) {
  53060. return this.get$span(this).highlight$1$color(color);
  53061. },
  53062. get$length(_) {
  53063. var t1 = this.get$span(this);
  53064. return t1.get$length(t1);
  53065. },
  53066. message$2$color(_, message, color) {
  53067. return this.get$span(this).message$2$color(0, message, color);
  53068. },
  53069. message$1($receiver, message) {
  53070. return this.message$2$color($receiver, message, null);
  53071. },
  53072. get$sourceUrl(_) {
  53073. var t1 = this.get$span(this);
  53074. return t1.get$sourceUrl(t1);
  53075. },
  53076. get$start(_) {
  53077. var t1 = this.get$span(this);
  53078. return t1.get$start(t1);
  53079. },
  53080. get$text() {
  53081. return this.get$span(this).get$text();
  53082. },
  53083. $isComparable: 1,
  53084. $isFileSpan: 1,
  53085. $isSourceSpan: 1,
  53086. $isSourceSpanWithContext: 1
  53087. };
  53088. A.LimitedMapView.prototype = {
  53089. get$keys(_) {
  53090. return this._limited_map_view$_keys;
  53091. },
  53092. get$length(_) {
  53093. return this._limited_map_view$_keys._collection$_length;
  53094. },
  53095. get$isEmpty(_) {
  53096. return this._limited_map_view$_keys._collection$_length === 0;
  53097. },
  53098. get$isNotEmpty(_) {
  53099. return this._limited_map_view$_keys._collection$_length !== 0;
  53100. },
  53101. $index(_, key) {
  53102. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
  53103. },
  53104. containsKey$1(key) {
  53105. return this._limited_map_view$_keys.contains$1(0, key);
  53106. },
  53107. remove$1(_, key) {
  53108. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
  53109. }
  53110. };
  53111. A.MergedMapView.prototype = {
  53112. get$keys(_) {
  53113. var t1 = this._mapsByKey;
  53114. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  53115. },
  53116. get$length(_) {
  53117. return this._mapsByKey.__js_helper$_length;
  53118. },
  53119. get$isEmpty(_) {
  53120. return this._mapsByKey.__js_helper$_length === 0;
  53121. },
  53122. get$isNotEmpty(_) {
  53123. return this._mapsByKey.__js_helper$_length !== 0;
  53124. },
  53125. MergedMapView$1(maps, $K, $V) {
  53126. var t1, t2, t3, _i, map, t4, t5, t6;
  53127. 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) {
  53128. map = maps[_i];
  53129. if (t3._is(map))
  53130. 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();) {
  53131. t6 = t4.__internal$_current;
  53132. if (t6 == null)
  53133. t6 = t5._as(t6);
  53134. A.setAll(t2, t6.get$keys(t6), t6);
  53135. }
  53136. else
  53137. A.setAll(t2, map.get$keys(map), map);
  53138. }
  53139. },
  53140. $index(_, key) {
  53141. var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  53142. return t1 == null ? null : t1.$index(0, key);
  53143. },
  53144. $indexSet(_, key, value) {
  53145. var child = this._mapsByKey.$index(0, key);
  53146. if (child == null)
  53147. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  53148. child.$indexSet(0, key, value);
  53149. },
  53150. remove$1(_, key) {
  53151. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  53152. },
  53153. containsKey$1(key) {
  53154. return this._mapsByKey.containsKey$1(key);
  53155. }
  53156. };
  53157. A.MultiDirWatcher.prototype = {
  53158. watch$1(_, directory) {
  53159. var t1, t2, t3, t4, isParentOfExistingDir, _i, entry, t5, existingWatcher, t6, future, completer;
  53160. 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) {
  53161. entry = t2[_i];
  53162. t5 = entry.key;
  53163. t5.toString;
  53164. existingWatcher = entry.value;
  53165. if (!isParentOfExistingDir) {
  53166. t6 = $.$get$context();
  53167. t6 = t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_equal || t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_within;
  53168. } else
  53169. t6 = false;
  53170. if (t6) {
  53171. t1 = new A._Future($.Zone__current, type$._Future_void);
  53172. t1._asyncComplete$1(null);
  53173. return t1;
  53174. }
  53175. if ($.$get$context()._isWithinOrEquals$2(directory, t5) === B._PathRelation_within) {
  53176. t1.remove$1(0, t5);
  53177. t4.remove$1(0, existingWatcher);
  53178. isParentOfExistingDir = true;
  53179. }
  53180. }
  53181. future = A.watchDir(directory, this._poll);
  53182. t2 = new A._CompleterStream(type$._CompleterStream_WatchEvent);
  53183. completer = new A.StreamCompleter(t2, type$.StreamCompleter_WatchEvent);
  53184. future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
  53185. t1.$indexSet(0, directory, t2);
  53186. t4.add$1(0, t2);
  53187. return future;
  53188. }
  53189. };
  53190. A.MultiSpan.prototype = {
  53191. get$start(_) {
  53192. var t1 = this._multi_span$_primary;
  53193. return t1.get$start(t1);
  53194. },
  53195. get$end(_) {
  53196. var t1 = this._multi_span$_primary;
  53197. return t1.get$end(t1);
  53198. },
  53199. get$text() {
  53200. return this._multi_span$_primary.get$text();
  53201. },
  53202. get$context(_) {
  53203. var t1 = this._multi_span$_primary;
  53204. return t1.get$context(t1);
  53205. },
  53206. get$file(_) {
  53207. var t1 = this._multi_span$_primary;
  53208. return t1.get$file(t1);
  53209. },
  53210. get$length(_) {
  53211. var t1 = this._multi_span$_primary;
  53212. return t1.get$length(t1);
  53213. },
  53214. get$sourceUrl(_) {
  53215. var t1 = this._multi_span$_primary;
  53216. return t1.get$sourceUrl(t1);
  53217. },
  53218. compareTo$1(_, other) {
  53219. return this._multi_span$_primary.compareTo$1(0, other);
  53220. },
  53221. toString$0(_) {
  53222. return this._multi_span$_primary.toString$0(0);
  53223. },
  53224. expand$1(_, other) {
  53225. return new A.MultiSpan(this._multi_span$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  53226. },
  53227. highlight$1$color(color) {
  53228. var t1 = color === true || false;
  53229. return A.Highlighter$multiple(this._multi_span$_primary, this.primaryLabel, this.secondarySpans, t1, null, null).highlight$0();
  53230. },
  53231. message$2$color(_, message, color) {
  53232. var t1 = J.$eq$(color, true) || typeof color == "string",
  53233. t2 = typeof color == "string" ? color : null;
  53234. return A.SourceSpanExtension_messageMultiple(this._multi_span$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  53235. },
  53236. message$1($receiver, message) {
  53237. return this.message$2$color($receiver, message, null);
  53238. },
  53239. $isComparable: 1,
  53240. $isFileSpan: 1,
  53241. $isSourceSpan: 1,
  53242. $isSourceSpanWithContext: 1
  53243. };
  53244. A.NoSourceMapBuffer.prototype = {
  53245. get$length(_) {
  53246. return this._no_source_map_buffer$_buffer._contents.length;
  53247. },
  53248. forSpan$1$2(span, callback) {
  53249. return callback.call$0();
  53250. },
  53251. forSpan$2(span, callback) {
  53252. return this.forSpan$1$2(span, callback, type$.dynamic);
  53253. },
  53254. write$1(_, object) {
  53255. this._no_source_map_buffer$_buffer._contents += A.S(object);
  53256. return null;
  53257. },
  53258. writeCharCode$1(charCode) {
  53259. this._no_source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  53260. return null;
  53261. },
  53262. toString$0(_) {
  53263. var t1 = this._no_source_map_buffer$_buffer._contents;
  53264. return t1.charCodeAt(0) == 0 ? t1 : t1;
  53265. },
  53266. buildSourceMap$1$prefix(prefix) {
  53267. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  53268. }
  53269. };
  53270. A.PrefixedMapView.prototype = {
  53271. get$keys(_) {
  53272. return new A._PrefixedKeys(this);
  53273. },
  53274. get$length(_) {
  53275. var t1 = this._prefixed_map_view$_map;
  53276. return t1.get$length(t1);
  53277. },
  53278. get$isEmpty(_) {
  53279. var t1 = this._prefixed_map_view$_map;
  53280. return t1.get$isEmpty(t1);
  53281. },
  53282. get$isNotEmpty(_) {
  53283. var t1 = this._prefixed_map_view$_map;
  53284. return t1.get$isNotEmpty(t1);
  53285. },
  53286. $index(_, key) {
  53287. 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;
  53288. },
  53289. containsKey$1(key) {
  53290. 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));
  53291. }
  53292. };
  53293. A._PrefixedKeys.prototype = {
  53294. get$length(_) {
  53295. var t1 = this._view._prefixed_map_view$_map;
  53296. return t1.get$length(t1);
  53297. },
  53298. get$iterator(_) {
  53299. var t1 = this._view._prefixed_map_view$_map;
  53300. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure(this), type$.String);
  53301. return t1.get$iterator(t1);
  53302. },
  53303. contains$1(_, key) {
  53304. return this._view.containsKey$1(key);
  53305. }
  53306. };
  53307. A._PrefixedKeys_iterator_closure.prototype = {
  53308. call$1(key) {
  53309. return this.$this._view._prefix + key;
  53310. },
  53311. $signature: 5
  53312. };
  53313. A.PublicMemberMapView.prototype = {
  53314. get$keys(_) {
  53315. var t1 = this._public_member_map_view$_inner;
  53316. return J.where$1$ax(t1.get$keys(t1), A.utils__isPublic$closure());
  53317. },
  53318. containsKey$1(key) {
  53319. return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
  53320. },
  53321. $index(_, key) {
  53322. if (typeof key == "string" && A.isPublic(key))
  53323. return this._public_member_map_view$_inner.$index(0, key);
  53324. return null;
  53325. }
  53326. };
  53327. A.SourceMapBuffer.prototype = {
  53328. get$_targetLocation() {
  53329. var t1 = this._source_map_buffer$_buffer._contents,
  53330. t2 = this._line;
  53331. return A.SourceLocation$(t1.length, this._column, t2, null);
  53332. },
  53333. get$length(_) {
  53334. return this._source_map_buffer$_buffer._contents.length;
  53335. },
  53336. forSpan$1$2(span, callback) {
  53337. var t1, _this = this,
  53338. wasInSpan = _this._inSpan;
  53339. _this._inSpan = true;
  53340. _this._addEntry$2(span.get$start(span), _this.get$_targetLocation());
  53341. try {
  53342. t1 = callback.call$0();
  53343. return t1;
  53344. } finally {
  53345. _this._inSpan = wasInSpan;
  53346. }
  53347. },
  53348. forSpan$2(span, callback) {
  53349. return this.forSpan$1$2(span, callback, type$.dynamic);
  53350. },
  53351. _addEntry$2(source, target) {
  53352. var entry, t2,
  53353. t1 = this._entries;
  53354. if (t1.length !== 0) {
  53355. entry = B.JSArray_methods.get$last(t1);
  53356. t2 = entry.source;
  53357. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  53358. return;
  53359. if (entry.target.offset === target.offset)
  53360. return;
  53361. }
  53362. t1.push(new A.Entry(source, target, null));
  53363. },
  53364. write$1(_, object) {
  53365. var t1, i,
  53366. string = J.toString$0$(object);
  53367. this._source_map_buffer$_buffer._contents += string;
  53368. for (t1 = string.length, i = 0; i < t1; ++i)
  53369. if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
  53370. this._source_map_buffer$_writeLine$0();
  53371. else
  53372. ++this._column;
  53373. },
  53374. writeCharCode$1(charCode) {
  53375. this._source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  53376. if (charCode === 10)
  53377. this._source_map_buffer$_writeLine$0();
  53378. else
  53379. ++this._column;
  53380. },
  53381. _source_map_buffer$_writeLine$0() {
  53382. var _this = this,
  53383. t1 = _this._entries;
  53384. if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
  53385. t1.pop();
  53386. ++_this._line;
  53387. _this._column = 0;
  53388. if (_this._inSpan)
  53389. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
  53390. },
  53391. toString$0(_) {
  53392. var t1 = this._source_map_buffer$_buffer._contents;
  53393. return t1.charCodeAt(0) == 0 ? t1 : t1;
  53394. },
  53395. buildSourceMap$1$prefix(prefix) {
  53396. var i, t2, prefixColumn, _box_0 = {},
  53397. t1 = prefix.length;
  53398. if (t1 === 0)
  53399. return A.SingleMapping_SingleMapping$fromEntries(this._entries);
  53400. _box_0.prefixColumn = _box_0.prefixLines = 0;
  53401. for (i = 0, t2 = 0; i < t1; ++i)
  53402. if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
  53403. ++_box_0.prefixLines;
  53404. _box_0.prefixColumn = 0;
  53405. t2 = 0;
  53406. } else {
  53407. prefixColumn = t2 + 1;
  53408. _box_0.prefixColumn = prefixColumn;
  53409. t2 = prefixColumn;
  53410. }
  53411. t2 = this._entries;
  53412. 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>")));
  53413. }
  53414. };
  53415. A.SourceMapBuffer_buildSourceMap_closure.prototype = {
  53416. call$1(entry) {
  53417. var t1 = entry.source,
  53418. t2 = entry.target,
  53419. t3 = t2.line,
  53420. t4 = this._box_0,
  53421. t5 = t4.prefixLines;
  53422. t4 = t3 === 0 ? t4.prefixColumn : 0;
  53423. return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
  53424. },
  53425. $signature: 160
  53426. };
  53427. A.UnprefixedMapView.prototype = {
  53428. get$keys(_) {
  53429. return new A._UnprefixedKeys(this);
  53430. },
  53431. $index(_, key) {
  53432. return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
  53433. },
  53434. containsKey$1(key) {
  53435. return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
  53436. },
  53437. remove$1(_, key) {
  53438. return typeof key == "string" ? this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key) : null;
  53439. }
  53440. };
  53441. A._UnprefixedKeys.prototype = {
  53442. get$iterator(_) {
  53443. var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
  53444. 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);
  53445. return t1.get$iterator(t1);
  53446. },
  53447. contains$1(_, key) {
  53448. return this._unprefixed_map_view$_view.containsKey$1(key);
  53449. }
  53450. };
  53451. A._UnprefixedKeys_iterator_closure.prototype = {
  53452. call$1(key) {
  53453. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
  53454. },
  53455. $signature: 8
  53456. };
  53457. A._UnprefixedKeys_iterator_closure0.prototype = {
  53458. call$1(key) {
  53459. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
  53460. },
  53461. $signature: 5
  53462. };
  53463. A.indent_closure.prototype = {
  53464. call$1(line) {
  53465. return B.JSString_methods.$mul(" ", this.indentation) + line;
  53466. },
  53467. $signature: 5
  53468. };
  53469. A.flattenVertically_closure.prototype = {
  53470. call$1(inner) {
  53471. return A.QueueList_QueueList$from(inner, this.T);
  53472. },
  53473. $signature() {
  53474. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  53475. }
  53476. };
  53477. A.flattenVertically_closure0.prototype = {
  53478. call$1(queue) {
  53479. this.result.push(queue.removeFirst$0());
  53480. return queue.get$length(queue) === 0;
  53481. },
  53482. $signature() {
  53483. return this.T._eval$1("bool(QueueList<0>)");
  53484. }
  53485. };
  53486. A.longestCommonSubsequence_backtrack.prototype = {
  53487. call$2(i, j) {
  53488. var selection, t1, _this = this;
  53489. if (i === -1 || j === -1)
  53490. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  53491. selection = _this.selections[i][j];
  53492. if (selection != null) {
  53493. t1 = _this.call$2(i - 1, j - 1);
  53494. J.add$1$ax(t1, selection);
  53495. return t1;
  53496. }
  53497. t1 = _this.lengths;
  53498. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  53499. },
  53500. $signature() {
  53501. return this.T._eval$1("List<0>(int,int)");
  53502. }
  53503. };
  53504. A.mapAddAll2_closure.prototype = {
  53505. call$2(key, inner) {
  53506. var t1 = this.destination,
  53507. innerDestination = t1.$index(0, key);
  53508. if (innerDestination != null)
  53509. innerDestination.addAll$1(0, inner);
  53510. else
  53511. t1.$indexSet(0, key, inner);
  53512. },
  53513. $signature() {
  53514. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  53515. }
  53516. };
  53517. A.Value.prototype = {
  53518. get$isTruthy() {
  53519. return true;
  53520. },
  53521. get$separator(_) {
  53522. return B.ListSeparator_undecided_null_undecided;
  53523. },
  53524. get$hasBrackets() {
  53525. return false;
  53526. },
  53527. get$asList() {
  53528. return A._setArrayType([this], type$.JSArray_Value);
  53529. },
  53530. get$lengthAsList() {
  53531. return 1;
  53532. },
  53533. get$isBlank() {
  53534. return false;
  53535. },
  53536. get$isSpecialNumber() {
  53537. return false;
  53538. },
  53539. get$isVar() {
  53540. return false;
  53541. },
  53542. get$realNull() {
  53543. return this;
  53544. },
  53545. sassIndexToListIndex$2(sassIndex, $name) {
  53546. var t1, t2, index,
  53547. indexValue = sassIndex.assertNumber$1($name);
  53548. if (indexValue.get$hasUnits()) {
  53549. t1 = indexValue.get$unitString();
  53550. t2 = indexValue.unitSuggestion$1($name);
  53551. A.EvaluationContext_current().warn$2(0, "$" + $name + ": Passing a number with unit " + t1 + string$.x20is_de + t2 + string$.x0a_Morex3a, B.Deprecation_8WR);
  53552. }
  53553. index = indexValue.assertInt$1($name);
  53554. if (index === 0)
  53555. throw A.wrapException(A.SassScriptException$("List index may not be 0.", $name));
  53556. if (Math.abs(index) > this.get$lengthAsList())
  53557. throw A.wrapException(A.SassScriptException$("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  53558. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  53559. },
  53560. assertCalculation$1($name) {
  53561. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a calculation.", $name));
  53562. },
  53563. assertColor$1($name) {
  53564. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a color.", $name));
  53565. },
  53566. assertFunction$1($name) {
  53567. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a function reference.", $name));
  53568. },
  53569. assertMap$1($name) {
  53570. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a map.", $name));
  53571. },
  53572. tryMap$0() {
  53573. return null;
  53574. },
  53575. assertNumber$1($name) {
  53576. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a number.", $name));
  53577. },
  53578. assertNumber$0() {
  53579. return this.assertNumber$1(null);
  53580. },
  53581. assertString$1($name) {
  53582. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a string.", $name));
  53583. },
  53584. _selectorString$1($name) {
  53585. var string = this._selectorStringOrNull$0();
  53586. if (string != null)
  53587. return string;
  53588. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + string$.x20is_noa, $name));
  53589. },
  53590. _selectorStringOrNull$0() {
  53591. var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
  53592. if (_this instanceof A.SassString)
  53593. return _this._string$_text;
  53594. if (!(_this instanceof A.SassList))
  53595. return _null;
  53596. t1 = _this._list$_contents;
  53597. t2 = t1.length;
  53598. if (t2 === 0)
  53599. return _null;
  53600. result = A._setArrayType([], type$.JSArray_String);
  53601. t3 = _this._separator;
  53602. switch (t3) {
  53603. case B.ListSeparator_rXA:
  53604. for (_i = 0; _i < t2; ++_i) {
  53605. complex = t1[_i];
  53606. if (complex instanceof A.SassString)
  53607. result.push(complex._string$_text);
  53608. else if (complex instanceof A.SassList && complex._separator === B.ListSeparator_EVt) {
  53609. string = complex._selectorStringOrNull$0();
  53610. if (string == null)
  53611. return _null;
  53612. result.push(string);
  53613. } else
  53614. return _null;
  53615. }
  53616. break;
  53617. case B.ListSeparator_zg9:
  53618. return _null;
  53619. default:
  53620. for (_i = 0; _i < t2; ++_i) {
  53621. compound = t1[_i];
  53622. if (compound instanceof A.SassString)
  53623. result.push(compound._string$_text);
  53624. else
  53625. return _null;
  53626. }
  53627. break;
  53628. }
  53629. return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_rXA ? ", " : " ");
  53630. },
  53631. withListContents$2$separator(contents, separator) {
  53632. var t1 = separator == null ? this.get$separator(this) : separator,
  53633. t2 = this.get$hasBrackets();
  53634. return A.SassList$(contents, t1, t2);
  53635. },
  53636. withListContents$1(contents) {
  53637. return this.withListContents$2$separator(contents, null);
  53638. },
  53639. greaterThan$1(other) {
  53640. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  53641. },
  53642. greaterThanOrEquals$1(other) {
  53643. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  53644. },
  53645. lessThan$1(other) {
  53646. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  53647. },
  53648. lessThanOrEquals$1(other) {
  53649. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  53650. },
  53651. times$1(other) {
  53652. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  53653. },
  53654. modulo$1(other) {
  53655. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  53656. },
  53657. plus$1(other) {
  53658. if (other instanceof A.SassString)
  53659. return new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
  53660. else if (other instanceof A.SassCalculation)
  53661. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  53662. else
  53663. return new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
  53664. },
  53665. minus$1(other) {
  53666. if (other instanceof A.SassCalculation)
  53667. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  53668. else
  53669. return new A.SassString(A.serializeValue(this, false, true) + "-" + A.serializeValue(other, false, true), false);
  53670. },
  53671. dividedBy$1(other) {
  53672. return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
  53673. },
  53674. unaryPlus$0() {
  53675. return new A.SassString("+" + A.serializeValue(this, false, true), false);
  53676. },
  53677. unaryMinus$0() {
  53678. return new A.SassString("-" + A.serializeValue(this, false, true), false);
  53679. },
  53680. unaryNot$0() {
  53681. return B.SassBoolean_false;
  53682. },
  53683. withoutSlash$0() {
  53684. return this;
  53685. },
  53686. toString$0(_) {
  53687. return A.serializeValue(this, true, true);
  53688. }
  53689. };
  53690. A.SassArgumentList.prototype = {};
  53691. A.SassBoolean.prototype = {
  53692. get$isTruthy() {
  53693. return this.value;
  53694. },
  53695. accept$1$1(visitor) {
  53696. return visitor._serialize$_buffer.write$1(0, String(this.value));
  53697. },
  53698. accept$1(visitor) {
  53699. return this.accept$1$1(visitor, type$.dynamic);
  53700. },
  53701. unaryNot$0() {
  53702. return this.value ? B.SassBoolean_false : B.SassBoolean_true;
  53703. }
  53704. };
  53705. A.SassCalculation.prototype = {
  53706. get$isSpecialNumber() {
  53707. return true;
  53708. },
  53709. accept$1$1(visitor) {
  53710. return visitor.visitCalculation$1(this);
  53711. },
  53712. accept$1(visitor) {
  53713. return this.accept$1$1(visitor, type$.dynamic);
  53714. },
  53715. assertCalculation$1($name) {
  53716. return this;
  53717. },
  53718. plus$1(other) {
  53719. if (other instanceof A.SassString)
  53720. return this.super$Value$plus(other);
  53721. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  53722. },
  53723. minus$1(other) {
  53724. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  53725. },
  53726. unaryPlus$0() {
  53727. return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".', null));
  53728. },
  53729. unaryMinus$0() {
  53730. return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".', null));
  53731. },
  53732. $eq(_, other) {
  53733. if (other == null)
  53734. return false;
  53735. return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  53736. },
  53737. get$hashCode(_) {
  53738. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  53739. }
  53740. };
  53741. A.SassCalculation__verifyLength_closure.prototype = {
  53742. call$1(arg) {
  53743. return arg instanceof A.SassString || arg instanceof A.CalculationInterpolation;
  53744. },
  53745. $signature: 69
  53746. };
  53747. A.CalculationOperation.prototype = {
  53748. $eq(_, other) {
  53749. if (other == null)
  53750. return false;
  53751. return other instanceof A.CalculationOperation && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
  53752. },
  53753. get$hashCode(_) {
  53754. return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
  53755. },
  53756. toString$0(_) {
  53757. var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  53758. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  53759. }
  53760. };
  53761. A.CalculationOperator.prototype = {
  53762. _enumToString$0() {
  53763. return "CalculationOperator." + this._name;
  53764. },
  53765. toString$0(_) {
  53766. return this.name;
  53767. }
  53768. };
  53769. A.CalculationInterpolation.prototype = {
  53770. $eq(_, other) {
  53771. if (other == null)
  53772. return false;
  53773. return other instanceof A.CalculationInterpolation && this.value === other.value;
  53774. },
  53775. get$hashCode(_) {
  53776. return B.JSString_methods.get$hashCode(this.value);
  53777. },
  53778. toString$0(_) {
  53779. return this.value;
  53780. }
  53781. };
  53782. A.SassColor.prototype = {
  53783. get$red(_) {
  53784. var t1;
  53785. if (this._red == null)
  53786. this._hslToRgb$0();
  53787. t1 = this._red;
  53788. t1.toString;
  53789. return t1;
  53790. },
  53791. get$green(_) {
  53792. var t1;
  53793. if (this._green == null)
  53794. this._hslToRgb$0();
  53795. t1 = this._green;
  53796. t1.toString;
  53797. return t1;
  53798. },
  53799. get$blue(_) {
  53800. var t1;
  53801. if (this._blue == null)
  53802. this._hslToRgb$0();
  53803. t1 = this._blue;
  53804. t1.toString;
  53805. return t1;
  53806. },
  53807. get$hue(_) {
  53808. var t1;
  53809. if (this._hue == null)
  53810. this._rgbToHsl$0();
  53811. t1 = this._hue;
  53812. t1.toString;
  53813. return t1;
  53814. },
  53815. get$saturation(_) {
  53816. var t1;
  53817. if (this._saturation == null)
  53818. this._rgbToHsl$0();
  53819. t1 = this._saturation;
  53820. t1.toString;
  53821. return t1;
  53822. },
  53823. get$lightness(_) {
  53824. var t1;
  53825. if (this._lightness == null)
  53826. this._rgbToHsl$0();
  53827. t1 = this._lightness;
  53828. t1.toString;
  53829. return t1;
  53830. },
  53831. get$whiteness(_) {
  53832. var _this = this;
  53833. return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  53834. },
  53835. get$blackness(_) {
  53836. var _this = this;
  53837. return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  53838. },
  53839. accept$1$1(visitor) {
  53840. var $name, hexLength, t1, format, t2, opaque, _this = this;
  53841. if (visitor._style === B.OutputStyle_1)
  53842. if (!A.fuzzyEquals(_this._alpha, 1))
  53843. visitor._writeRgb$1(_this);
  53844. else {
  53845. $name = $.$get$namesByColor().$index(0, _this);
  53846. hexLength = visitor._canUseShortHex$1(_this) ? 4 : 7;
  53847. if ($name != null && $name.length <= hexLength)
  53848. visitor._serialize$_buffer.write$1(0, $name);
  53849. else {
  53850. t1 = visitor._serialize$_buffer;
  53851. if (visitor._canUseShortHex$1(_this)) {
  53852. t1.writeCharCode$1(35);
  53853. t1.writeCharCode$1(A.hexCharFor(_this.get$red(_this) & 15));
  53854. t1.writeCharCode$1(A.hexCharFor(_this.get$green(_this) & 15));
  53855. t1.writeCharCode$1(A.hexCharFor(_this.get$blue(_this) & 15));
  53856. } else {
  53857. t1.writeCharCode$1(35);
  53858. visitor._writeHexComponent$1(_this.get$red(_this));
  53859. visitor._writeHexComponent$1(_this.get$green(_this));
  53860. visitor._writeHexComponent$1(_this.get$blue(_this));
  53861. }
  53862. }
  53863. }
  53864. else {
  53865. format = _this.format;
  53866. if (format != null)
  53867. if (format === B._ColorFormatEnum_rgbFunction)
  53868. visitor._writeRgb$1(_this);
  53869. else {
  53870. t1 = visitor._serialize$_buffer;
  53871. if (format === B._ColorFormatEnum_hslFunction) {
  53872. t2 = _this._alpha;
  53873. opaque = A.fuzzyEquals(t2, 1);
  53874. t1.write$1(0, opaque ? "hsl(" : "hsla(");
  53875. visitor._writeNumber$1(_this.get$hue(_this));
  53876. t1.write$1(0, ", ");
  53877. visitor._writeNumber$1(_this.get$saturation(_this));
  53878. t1.writeCharCode$1(37);
  53879. t1.write$1(0, ", ");
  53880. visitor._writeNumber$1(_this.get$lightness(_this));
  53881. t1.writeCharCode$1(37);
  53882. if (!opaque) {
  53883. t1.write$1(0, ", ");
  53884. visitor._writeNumber$1(t2);
  53885. }
  53886. t1.writeCharCode$1(41);
  53887. } else
  53888. t1.write$1(0, type$.SpanColorFormat._as(format)._color$_span.get$text());
  53889. }
  53890. else {
  53891. t1 = $.$get$namesByColor();
  53892. if (t1.containsKey$1(_this) && !A.fuzzyEquals(_this._alpha, 0))
  53893. visitor._serialize$_buffer.write$1(0, t1.$index(0, _this));
  53894. else if (A.fuzzyEquals(_this._alpha, 1)) {
  53895. visitor._serialize$_buffer.writeCharCode$1(35);
  53896. visitor._writeHexComponent$1(_this.get$red(_this));
  53897. visitor._writeHexComponent$1(_this.get$green(_this));
  53898. visitor._writeHexComponent$1(_this.get$blue(_this));
  53899. } else
  53900. visitor._writeRgb$1(_this);
  53901. }
  53902. }
  53903. return null;
  53904. },
  53905. accept$1(visitor) {
  53906. return this.accept$1$1(visitor, type$.dynamic);
  53907. },
  53908. assertColor$1($name) {
  53909. return this;
  53910. },
  53911. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  53912. return A.SassColor$rgb(red, green, blue, alpha == null ? this._alpha : alpha);
  53913. },
  53914. changeRgb$3$blue$green$red(blue, green, red) {
  53915. return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
  53916. },
  53917. changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
  53918. var _this = this, _null = null,
  53919. t1 = hue == null ? _this.get$hue(_this) : hue,
  53920. t2 = saturation == null ? _this.get$saturation(_this) : saturation,
  53921. t3 = lightness == null ? _this.get$lightness(_this) : lightness,
  53922. t4 = alpha == null ? _this._alpha : alpha;
  53923. t1 = B.JSNumber_methods.$mod(t1, 360);
  53924. t2 = A.fuzzyAssertRange(t2, 0, 100, "saturation");
  53925. t3 = A.fuzzyAssertRange(t3, 0, 100, "lightness");
  53926. t4 = A.fuzzyAssertRange(t4, 0, 1, "alpha");
  53927. return new A.SassColor(_null, _null, _null, t1, t2, t3, t4, _null);
  53928. },
  53929. changeHsl$1$saturation(saturation) {
  53930. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
  53931. },
  53932. changeHsl$1$lightness(lightness) {
  53933. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
  53934. },
  53935. changeHsl$1$hue(hue) {
  53936. return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
  53937. },
  53938. changeAlpha$1(alpha) {
  53939. var _this = this;
  53940. return new A.SassColor(_this._red, _this._green, _this._blue, _this._hue, _this._saturation, _this._lightness, A.fuzzyAssertRange(alpha, 0, 1, "alpha"), null);
  53941. },
  53942. plus$1(other) {
  53943. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  53944. return this.super$Value$plus(other);
  53945. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  53946. },
  53947. minus$1(other) {
  53948. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  53949. return this.super$Value$minus(other);
  53950. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  53951. },
  53952. dividedBy$1(other) {
  53953. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  53954. return this.super$Value$dividedBy(other);
  53955. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  53956. },
  53957. $eq(_, other) {
  53958. var _this = this;
  53959. if (other == null)
  53960. return false;
  53961. 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;
  53962. },
  53963. get$hashCode(_) {
  53964. var _this = this;
  53965. 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);
  53966. },
  53967. _rgbToHsl$0() {
  53968. var t2, lightness, _this = this,
  53969. scaledRed = _this.get$red(_this) / 255,
  53970. scaledGreen = _this.get$green(_this) / 255,
  53971. scaledBlue = _this.get$blue(_this) / 255,
  53972. max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
  53973. min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
  53974. delta = max - min,
  53975. t1 = max === min;
  53976. if (t1)
  53977. _this._hue = 0;
  53978. else if (max === scaledRed)
  53979. _this._hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
  53980. else if (max === scaledGreen)
  53981. _this._hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
  53982. else if (max === scaledBlue)
  53983. _this._hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
  53984. t2 = max + min;
  53985. lightness = 50 * t2;
  53986. _this._lightness = lightness;
  53987. if (t1)
  53988. _this._saturation = 0;
  53989. else {
  53990. t1 = 100 * delta;
  53991. if (lightness < 50)
  53992. _this._saturation = t1 / t2;
  53993. else
  53994. _this._saturation = t1 / (2 - max - min);
  53995. }
  53996. },
  53997. _hslToRgb$0() {
  53998. var _this = this,
  53999. scaledHue = _this.get$hue(_this) / 360,
  54000. scaledSaturation = _this.get$saturation(_this) / 100,
  54001. scaledLightness = _this.get$lightness(_this) / 100,
  54002. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  54003. m1 = scaledLightness * 2 - m2;
  54004. _this._red = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue + 0.3333333333333333) * 255);
  54005. _this._green = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue) * 255);
  54006. _this._blue = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue - 0.3333333333333333) * 255);
  54007. }
  54008. };
  54009. A.SassColor_SassColor$hwb_toRgb.prototype = {
  54010. call$1(hue) {
  54011. return A.fuzzyRound((A.SassColor__hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
  54012. },
  54013. $signature: 159
  54014. };
  54015. A._ColorFormatEnum.prototype = {
  54016. toString$0(_) {
  54017. return this._color$_name;
  54018. }
  54019. };
  54020. A.SpanColorFormat.prototype = {};
  54021. A.SassFunction.prototype = {
  54022. accept$1$1(visitor) {
  54023. var t1, t2;
  54024. if (!visitor._inspect)
  54025. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  54026. t1 = visitor._serialize$_buffer;
  54027. t1.write$1(0, "get-function(");
  54028. t2 = this.callable;
  54029. visitor._visitQuotedString$1(t2.get$name(t2));
  54030. t1.writeCharCode$1(41);
  54031. return null;
  54032. },
  54033. accept$1(visitor) {
  54034. return this.accept$1$1(visitor, type$.dynamic);
  54035. },
  54036. assertFunction$1($name) {
  54037. return this;
  54038. },
  54039. $eq(_, other) {
  54040. if (other == null)
  54041. return false;
  54042. return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
  54043. },
  54044. get$hashCode(_) {
  54045. var t1 = this.callable;
  54046. return t1.get$hashCode(t1);
  54047. }
  54048. };
  54049. A.SassList.prototype = {
  54050. get$separator(_) {
  54051. return this._separator;
  54052. },
  54053. get$hasBrackets() {
  54054. return this._hasBrackets;
  54055. },
  54056. get$isBlank() {
  54057. return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
  54058. },
  54059. get$asList() {
  54060. return this._list$_contents;
  54061. },
  54062. get$lengthAsList() {
  54063. return this._list$_contents.length;
  54064. },
  54065. SassList$3$brackets(contents, _separator, brackets) {
  54066. if (this._separator === B.ListSeparator_undecided_null_undecided && this._list$_contents.length > 1)
  54067. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  54068. },
  54069. accept$1$1(visitor) {
  54070. return visitor.visitList$1(this);
  54071. },
  54072. accept$1(visitor) {
  54073. return this.accept$1$1(visitor, type$.dynamic);
  54074. },
  54075. assertMap$1($name) {
  54076. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
  54077. },
  54078. tryMap$0() {
  54079. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
  54080. },
  54081. $eq(_, other) {
  54082. var t1, _this = this;
  54083. if (other == null)
  54084. return false;
  54085. 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)))
  54086. t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
  54087. else
  54088. t1 = true;
  54089. return t1;
  54090. },
  54091. get$hashCode(_) {
  54092. return B.C_ListEquality0.hash$1(this._list$_contents);
  54093. }
  54094. };
  54095. A.SassList_isBlank_closure.prototype = {
  54096. call$1(element) {
  54097. return element.get$isBlank();
  54098. },
  54099. $signature: 61
  54100. };
  54101. A.ListSeparator.prototype = {
  54102. _enumToString$0() {
  54103. return "ListSeparator." + this._name;
  54104. },
  54105. toString$0(_) {
  54106. return this._list$_name;
  54107. }
  54108. };
  54109. A.SassMap.prototype = {
  54110. get$separator(_) {
  54111. var t1 = this._map$_contents;
  54112. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided : B.ListSeparator_rXA;
  54113. },
  54114. get$asList() {
  54115. var result = A._setArrayType([], type$.JSArray_Value);
  54116. this._map$_contents.forEach$1(0, new A.SassMap_asList_closure(result));
  54117. return result;
  54118. },
  54119. get$lengthAsList() {
  54120. var t1 = this._map$_contents;
  54121. return t1.get$length(t1);
  54122. },
  54123. accept$1$1(visitor) {
  54124. return visitor.visitMap$1(this);
  54125. },
  54126. accept$1(visitor) {
  54127. return this.accept$1$1(visitor, type$.dynamic);
  54128. },
  54129. assertMap$1($name) {
  54130. return this;
  54131. },
  54132. tryMap$0() {
  54133. return this;
  54134. },
  54135. $eq(_, other) {
  54136. var t1;
  54137. if (other == null)
  54138. return false;
  54139. if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
  54140. t1 = this._map$_contents;
  54141. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
  54142. } else
  54143. t1 = true;
  54144. return t1;
  54145. },
  54146. get$hashCode(_) {
  54147. var t1 = this._map$_contents;
  54148. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty8) : B.C_MapEquality.hash$1(t1);
  54149. }
  54150. };
  54151. A.SassMap_asList_closure.prototype = {
  54152. call$2(key, value) {
  54153. this.result.push(A.SassList$(A._setArrayType([key, value], type$.JSArray_Value), B.ListSeparator_EVt, false));
  54154. },
  54155. $signature: 49
  54156. };
  54157. A._SassNull.prototype = {
  54158. get$isTruthy() {
  54159. return false;
  54160. },
  54161. get$isBlank() {
  54162. return true;
  54163. },
  54164. get$realNull() {
  54165. return null;
  54166. },
  54167. accept$1$1(visitor) {
  54168. if (visitor._inspect)
  54169. visitor._serialize$_buffer.write$1(0, "null");
  54170. return null;
  54171. },
  54172. accept$1(visitor) {
  54173. return this.accept$1$1(visitor, type$.dynamic);
  54174. },
  54175. unaryNot$0() {
  54176. return B.SassBoolean_true;
  54177. }
  54178. };
  54179. A.SassNumber.prototype = {
  54180. get$unitString() {
  54181. var _this = this;
  54182. return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  54183. },
  54184. accept$1$1(visitor) {
  54185. return visitor.visitNumber$1(this);
  54186. },
  54187. accept$1(visitor) {
  54188. return this.accept$1$1(visitor, type$.dynamic);
  54189. },
  54190. withoutSlash$0() {
  54191. var _this = this;
  54192. return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
  54193. },
  54194. assertNumber$1($name) {
  54195. return this;
  54196. },
  54197. assertNumber$0() {
  54198. return this.assertNumber$1(null);
  54199. },
  54200. assertInt$1($name) {
  54201. var integer = A.fuzzyAsInt(this._number$_value);
  54202. if (integer != null)
  54203. return integer;
  54204. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " is not an int.", $name));
  54205. },
  54206. assertInt$0() {
  54207. return this.assertInt$1(null);
  54208. },
  54209. valueInRange$3(min, max, $name) {
  54210. var _this = this,
  54211. result = A.fuzzyCheckRange(_this._number$_value, min, max);
  54212. if (result != null)
  54213. return result;
  54214. throw A.wrapException(A.SassScriptException$("Expected " + _this.toString$0(0) + " to be within " + min + _this.get$unitString() + " and " + max + _this.get$unitString() + ".", $name));
  54215. },
  54216. valueInRangeWithUnit$4(min, max, $name, unit) {
  54217. var result = A.fuzzyCheckRange(this._number$_value, min, max);
  54218. if (result != null)
  54219. return result;
  54220. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  54221. },
  54222. hasCompatibleUnits$1(other) {
  54223. var _this = this;
  54224. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  54225. return false;
  54226. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  54227. return false;
  54228. return _this.isComparableTo$1(other);
  54229. },
  54230. assertUnit$2(unit, $name) {
  54231. if (this.hasUnit$1(unit))
  54232. return;
  54233. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  54234. },
  54235. assertNoUnits$1($name) {
  54236. if (!this.get$hasUnits())
  54237. return;
  54238. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to have no units.", $name));
  54239. },
  54240. convertValueToMatch$3(other, $name, otherName) {
  54241. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  54242. },
  54243. coerce$3(newNumerators, newDenominators, $name) {
  54244. return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  54245. },
  54246. coerce$2(newNumerators, newDenominators) {
  54247. return this.coerce$3(newNumerators, newDenominators, null);
  54248. },
  54249. coerceValue$3(newNumerators, newDenominators, $name) {
  54250. return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  54251. },
  54252. coerceValueToUnit$2(unit, $name) {
  54253. var t1 = type$.JSArray_String;
  54254. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  54255. },
  54256. coerceValueToUnit$1(unit) {
  54257. return this.coerceValueToUnit$2(unit, null);
  54258. },
  54259. coerceValueToMatch$3(other, $name, otherName) {
  54260. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  54261. },
  54262. coerceValueToMatch$1(other) {
  54263. return this.coerceValueToMatch$3(other, null, null);
  54264. },
  54265. _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  54266. var otherHasUnits, t1, compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
  54267. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  54268. return _this._number$_value;
  54269. otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
  54270. if (coerceUnitless)
  54271. t1 = !_this.get$hasUnits() || !otherHasUnits;
  54272. else
  54273. t1 = false;
  54274. if (t1)
  54275. return _this._number$_value;
  54276. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  54277. _box_0.value = _this._number$_value;
  54278. t1 = _this.get$numeratorUnits(_this);
  54279. oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  54280. for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
  54281. A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(compatibilityException));
  54282. t1 = _this.get$denominatorUnits(_this);
  54283. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  54284. for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
  54285. A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(compatibilityException));
  54286. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  54287. throw A.wrapException(compatibilityException.call$0());
  54288. return _box_0.value;
  54289. },
  54290. _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  54291. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  54292. },
  54293. isComparableTo$1(other) {
  54294. var exception;
  54295. if (!this.get$hasUnits() || !other.get$hasUnits())
  54296. return true;
  54297. try {
  54298. this.greaterThan$1(other);
  54299. return true;
  54300. } catch (exception) {
  54301. if (A.unwrapException(exception) instanceof A.SassScriptException)
  54302. return false;
  54303. else
  54304. throw exception;
  54305. }
  54306. },
  54307. greaterThan$1(other) {
  54308. if (other instanceof A.SassNumber)
  54309. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  54310. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  54311. },
  54312. greaterThanOrEquals$1(other) {
  54313. if (other instanceof A.SassNumber)
  54314. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  54315. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  54316. },
  54317. lessThan$1(other) {
  54318. if (other instanceof A.SassNumber)
  54319. return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  54320. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  54321. },
  54322. lessThanOrEquals$1(other) {
  54323. if (other instanceof A.SassNumber)
  54324. return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  54325. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  54326. },
  54327. modulo$1(other) {
  54328. if (other instanceof A.SassNumber)
  54329. return this.withValue$1(this._coerceUnits$2(other, A.number0__moduloLikeSass$closure()));
  54330. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  54331. },
  54332. plus$1(other) {
  54333. var _this = this;
  54334. if (other instanceof A.SassNumber)
  54335. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
  54336. if (!(other instanceof A.SassColor))
  54337. return _this.super$Value$plus(other);
  54338. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  54339. },
  54340. minus$1(other) {
  54341. var _this = this;
  54342. if (other instanceof A.SassNumber)
  54343. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
  54344. if (!(other instanceof A.SassColor))
  54345. return _this.super$Value$minus(other);
  54346. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  54347. },
  54348. times$1(other) {
  54349. var _this = this;
  54350. if (other instanceof A.SassNumber) {
  54351. if (!other.get$hasUnits())
  54352. return _this.withValue$1(_this._number$_value * other._number$_value);
  54353. return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  54354. }
  54355. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  54356. },
  54357. dividedBy$1(other) {
  54358. var _this = this;
  54359. if (other instanceof A.SassNumber) {
  54360. if (!other.get$hasUnits())
  54361. return _this.withValue$1(_this._number$_value / other._number$_value);
  54362. return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  54363. }
  54364. return _this.super$Value$dividedBy(other);
  54365. },
  54366. unaryPlus$0() {
  54367. return this;
  54368. },
  54369. _coerceUnits$1$2(other, operation) {
  54370. var t1, exception;
  54371. try {
  54372. t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
  54373. return t1;
  54374. } catch (exception) {
  54375. if (A.unwrapException(exception) instanceof A.SassScriptException) {
  54376. this.coerceValueToMatch$1(other);
  54377. throw exception;
  54378. } else
  54379. throw exception;
  54380. }
  54381. },
  54382. _coerceUnits$2(other, operation) {
  54383. return this._coerceUnits$1$2(other, operation, type$.dynamic);
  54384. },
  54385. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  54386. var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
  54387. _box_0.value = value;
  54388. if (_this.get$numeratorUnits(_this).length === 0) {
  54389. if (otherDenominators.length === 0 && !_this._areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
  54390. return A.SassNumber_SassNumber$withUnits(value, _this.get$denominatorUnits(_this), otherNumerators);
  54391. else if (_this.get$denominatorUnits(_this).length === 0)
  54392. return A.SassNumber_SassNumber$withUnits(value, otherDenominators, otherNumerators);
  54393. } else if (otherNumerators.length === 0)
  54394. if (otherDenominators.length === 0)
  54395. return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
  54396. else if (_this.get$denominatorUnits(_this).length === 0 && !_this._areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
  54397. return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
  54398. newNumerators = A._setArrayType([], type$.JSArray_String);
  54399. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  54400. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  54401. numerator = t1[_i];
  54402. A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
  54403. }
  54404. t1 = _this.get$denominatorUnits(_this);
  54405. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  54406. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  54407. numerator = otherNumerators[_i];
  54408. A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
  54409. }
  54410. t1 = _box_0.value;
  54411. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  54412. return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
  54413. },
  54414. _areAnyConvertible$2(units1, units2) {
  54415. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
  54416. },
  54417. _unitString$2(numerators, denominators) {
  54418. var t1;
  54419. if (numerators.length === 0) {
  54420. t1 = denominators.length;
  54421. if (t1 === 0)
  54422. return "no units";
  54423. if (t1 === 1)
  54424. return J.$add$ansx(B.JSArray_methods.get$single(denominators), "^-1");
  54425. return "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
  54426. }
  54427. if (denominators.length === 0)
  54428. return B.JSArray_methods.join$1(numerators, "*");
  54429. return B.JSArray_methods.join$1(numerators, "*") + "/" + B.JSArray_methods.join$1(denominators, "*");
  54430. },
  54431. $eq(_, other) {
  54432. var _this = this;
  54433. if (other == null)
  54434. return false;
  54435. if (other instanceof A.SassNumber) {
  54436. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  54437. return false;
  54438. if (!_this.get$hasUnits())
  54439. return A.fuzzyEquals(_this._number$_value, other._number$_value);
  54440. 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))))
  54441. return false;
  54442. 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)));
  54443. } else
  54444. return false;
  54445. },
  54446. get$hashCode(_) {
  54447. var _this = this,
  54448. t1 = _this.hashCache;
  54449. 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;
  54450. },
  54451. _canonicalizeUnitList$1(units) {
  54452. var type,
  54453. t1 = units.length;
  54454. if (t1 === 0)
  54455. return units;
  54456. if (t1 === 1) {
  54457. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
  54458. if (type == null)
  54459. t1 = units;
  54460. else {
  54461. t1 = B.Map_ws7dy.$index(0, type);
  54462. t1.toString;
  54463. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  54464. }
  54465. return t1;
  54466. }
  54467. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  54468. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), true, t1._eval$1("ListIterable.E"));
  54469. B.JSArray_methods.sort$0(t1);
  54470. return t1;
  54471. },
  54472. _canonicalMultiplier$1(units) {
  54473. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
  54474. },
  54475. canonicalMultiplierForUnit$1(unit) {
  54476. var t1,
  54477. innerMap = B.Map_nfuzN.$index(0, unit);
  54478. if (innerMap == null)
  54479. t1 = 1;
  54480. else {
  54481. t1 = innerMap.get$values(innerMap);
  54482. t1 = 1 / t1.get$first(t1);
  54483. }
  54484. return t1;
  54485. },
  54486. unitSuggestion$2($name, unit) {
  54487. var t2, t3, result, _this = this,
  54488. t1 = _this.get$denominatorUnits(_this);
  54489. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  54490. t2 = _this.get$numeratorUnits(_this);
  54491. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  54492. t3 = unit == null ? "" : " * 1" + unit;
  54493. result = "$" + $name + t1 + t2 + t3;
  54494. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  54495. },
  54496. unitSuggestion$1($name) {
  54497. return this.unitSuggestion$2($name, null);
  54498. }
  54499. };
  54500. A.SassNumber__coerceOrConvertValue_compatibilityException.prototype = {
  54501. call$0() {
  54502. var t2, t3, message, t4, type, unit, _this = this,
  54503. t1 = _this.other;
  54504. if (t1 != null) {
  54505. t2 = _this.$this;
  54506. t3 = t2.toString$0(0) + " and";
  54507. message = new A.StringBuffer(t3);
  54508. t4 = _this.otherName;
  54509. if (t4 != null)
  54510. t3 = message._contents = t3 + (" $" + t4 + ":");
  54511. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  54512. message._contents = t1;
  54513. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  54514. message._contents = t1 + " (one has units and the other doesn't)";
  54515. t1 = message.toString$0(0) + ".";
  54516. t2 = _this.name;
  54517. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  54518. } else if (!_this.otherHasUnits) {
  54519. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  54520. t2 = _this.name;
  54521. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  54522. } else {
  54523. t1 = _this.newNumerators;
  54524. if (t1.length === 1 && _this.newDenominators.length === 0) {
  54525. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
  54526. if (type != null) {
  54527. t1 = _this.$this.toString$0(0);
  54528. 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;
  54529. t3 = B.Map_ws7dy.$index(0, type);
  54530. t3.toString;
  54531. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  54532. t2 = _this.name;
  54533. return new A.SassScriptException(t2 == null ? t3 : "$" + t2 + ": " + t3);
  54534. }
  54535. }
  54536. t2 = _this.newDenominators;
  54537. unit = A.pluralize("unit", t1.length + t2.length, null);
  54538. t3 = _this.$this;
  54539. t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
  54540. t1 = _this.name;
  54541. return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
  54542. }
  54543. },
  54544. $signature: 408
  54545. };
  54546. A.SassNumber__coerceOrConvertValue_closure.prototype = {
  54547. call$1(oldNumerator) {
  54548. var factor = A.conversionFactor(this.newNumerator, oldNumerator);
  54549. if (factor == null)
  54550. return false;
  54551. this._box_0.value *= factor;
  54552. return true;
  54553. },
  54554. $signature: 8
  54555. };
  54556. A.SassNumber__coerceOrConvertValue_closure0.prototype = {
  54557. call$0() {
  54558. return A.throwExpression(this.compatibilityException.call$0());
  54559. },
  54560. $signature: 0
  54561. };
  54562. A.SassNumber__coerceOrConvertValue_closure1.prototype = {
  54563. call$1(oldDenominator) {
  54564. var factor = A.conversionFactor(this.newDenominator, oldDenominator);
  54565. if (factor == null)
  54566. return false;
  54567. this._box_0.value /= factor;
  54568. return true;
  54569. },
  54570. $signature: 8
  54571. };
  54572. A.SassNumber__coerceOrConvertValue_closure2.prototype = {
  54573. call$0() {
  54574. return A.throwExpression(this.compatibilityException.call$0());
  54575. },
  54576. $signature: 0
  54577. };
  54578. A.SassNumber_plus_closure.prototype = {
  54579. call$2(num1, num2) {
  54580. return num1 + num2;
  54581. },
  54582. $signature: 54
  54583. };
  54584. A.SassNumber_minus_closure.prototype = {
  54585. call$2(num1, num2) {
  54586. return num1 - num2;
  54587. },
  54588. $signature: 54
  54589. };
  54590. A.SassNumber_multiplyUnits_closure.prototype = {
  54591. call$1(denominator) {
  54592. var factor = A.conversionFactor(this.numerator, denominator);
  54593. if (factor == null)
  54594. return false;
  54595. this._box_0.value /= factor;
  54596. return true;
  54597. },
  54598. $signature: 8
  54599. };
  54600. A.SassNumber_multiplyUnits_closure0.prototype = {
  54601. call$0() {
  54602. return this.newNumerators.push(this.numerator);
  54603. },
  54604. $signature: 0
  54605. };
  54606. A.SassNumber_multiplyUnits_closure1.prototype = {
  54607. call$1(denominator) {
  54608. var factor = A.conversionFactor(this.numerator, denominator);
  54609. if (factor == null)
  54610. return false;
  54611. this._box_0.value /= factor;
  54612. return true;
  54613. },
  54614. $signature: 8
  54615. };
  54616. A.SassNumber_multiplyUnits_closure2.prototype = {
  54617. call$0() {
  54618. return this.newNumerators.push(this.numerator);
  54619. },
  54620. $signature: 0
  54621. };
  54622. A.SassNumber__areAnyConvertible_closure.prototype = {
  54623. call$1(unit1) {
  54624. var innerMap = B.Map_nfuzN.$index(0, unit1);
  54625. if (innerMap == null)
  54626. return B.JSArray_methods.contains$1(this.units2, unit1);
  54627. return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
  54628. },
  54629. $signature: 8
  54630. };
  54631. A.SassNumber__canonicalizeUnitList_closure.prototype = {
  54632. call$1(unit) {
  54633. var t1,
  54634. type = $.$get$_typesByUnit().$index(0, unit);
  54635. if (type == null)
  54636. t1 = unit;
  54637. else {
  54638. t1 = B.Map_ws7dy.$index(0, type);
  54639. t1.toString;
  54640. t1 = B.JSArray_methods.get$first(t1);
  54641. }
  54642. return t1;
  54643. },
  54644. $signature: 5
  54645. };
  54646. A.SassNumber__canonicalMultiplier_closure.prototype = {
  54647. call$2(multiplier, unit) {
  54648. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  54649. },
  54650. $signature: 157
  54651. };
  54652. A.SassNumber_unitSuggestion_closure.prototype = {
  54653. call$1(unit) {
  54654. return " * 1" + unit;
  54655. },
  54656. $signature: 5
  54657. };
  54658. A.SassNumber_unitSuggestion_closure0.prototype = {
  54659. call$1(unit) {
  54660. return " / 1" + unit;
  54661. },
  54662. $signature: 5
  54663. };
  54664. A.ComplexSassNumber.prototype = {
  54665. get$numeratorUnits(_) {
  54666. return this._numeratorUnits;
  54667. },
  54668. get$denominatorUnits(_) {
  54669. return this._denominatorUnits;
  54670. },
  54671. get$hasUnits() {
  54672. return true;
  54673. },
  54674. hasUnit$1(unit) {
  54675. return false;
  54676. },
  54677. compatibleWithUnit$1(unit) {
  54678. return false;
  54679. },
  54680. hasPossiblyCompatibleUnits$1(other) {
  54681. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  54682. },
  54683. withValue$1(value) {
  54684. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
  54685. },
  54686. withSlash$2(numerator, denominator) {
  54687. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
  54688. }
  54689. };
  54690. A.SingleUnitSassNumber.prototype = {
  54691. get$numeratorUnits(_) {
  54692. return A.List_List$unmodifiable([this._unit], type$.String);
  54693. },
  54694. get$denominatorUnits(_) {
  54695. return B.List_empty;
  54696. },
  54697. get$hasUnits() {
  54698. return true;
  54699. },
  54700. withValue$1(value) {
  54701. return new A.SingleUnitSassNumber(this._unit, value, null);
  54702. },
  54703. withSlash$2(numerator, denominator) {
  54704. return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
  54705. },
  54706. hasUnit$1(unit) {
  54707. return unit === this._unit;
  54708. },
  54709. hasCompatibleUnits$1(other) {
  54710. return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
  54711. },
  54712. hasPossiblyCompatibleUnits$1(other) {
  54713. var t1, knownCompatibilities, otherUnit;
  54714. if (!(other instanceof A.SingleUnitSassNumber))
  54715. return false;
  54716. t1 = $.$get$_knownCompatibilitiesByUnit();
  54717. knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
  54718. if (knownCompatibilities == null)
  54719. return true;
  54720. otherUnit = other._unit.toLowerCase();
  54721. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  54722. },
  54723. compatibleWithUnit$1(unit) {
  54724. return A.conversionFactor(this._unit, unit) != null;
  54725. },
  54726. coerceValueToMatch$1(other) {
  54727. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  54728. return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, null, null) : t1;
  54729. },
  54730. convertValueToMatch$3(other, $name, otherName) {
  54731. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  54732. return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
  54733. },
  54734. coerce$2(newNumerators, newDenominators) {
  54735. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
  54736. return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
  54737. },
  54738. coerceValue$3(newNumerators, newDenominators, $name) {
  54739. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
  54740. return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
  54741. },
  54742. coerceValueToUnit$2(unit, $name) {
  54743. var t1 = this._coerceValueToUnit$1(unit);
  54744. return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
  54745. },
  54746. coerceValueToUnit$1(unit) {
  54747. return this.coerceValueToUnit$2(unit, null);
  54748. },
  54749. _coerceToUnit$1(unit) {
  54750. var t1 = this._unit;
  54751. if (t1 === unit)
  54752. return this;
  54753. return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
  54754. },
  54755. _coerceValueToUnit$1(unit) {
  54756. return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
  54757. },
  54758. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  54759. var mutableOtherDenominators, t1 = {};
  54760. t1.value = value;
  54761. t1.newNumerators = otherNumerators;
  54762. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  54763. A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
  54764. return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
  54765. },
  54766. unaryMinus$0() {
  54767. return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
  54768. },
  54769. $eq(_, other) {
  54770. var factor;
  54771. if (other == null)
  54772. return false;
  54773. if (other instanceof A.SingleUnitSassNumber) {
  54774. factor = A.conversionFactor(other._unit, this._unit);
  54775. return factor != null && A.fuzzyEquals(this._number$_value * factor, other._number$_value);
  54776. } else
  54777. return false;
  54778. },
  54779. get$hashCode(_) {
  54780. var _this = this,
  54781. t1 = _this.hashCache;
  54782. return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
  54783. }
  54784. };
  54785. A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
  54786. call$1(factor) {
  54787. return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
  54788. },
  54789. $signature: 414
  54790. };
  54791. A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
  54792. call$1(factor) {
  54793. return this.$this._number$_value * factor;
  54794. },
  54795. $signature: 32
  54796. };
  54797. A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
  54798. call$1(denominator) {
  54799. var factor = A.conversionFactor(denominator, this.$this._unit);
  54800. if (factor == null)
  54801. return false;
  54802. this._box_0.value *= factor;
  54803. return true;
  54804. },
  54805. $signature: 8
  54806. };
  54807. A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
  54808. call$0() {
  54809. var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
  54810. t2 = this._box_0;
  54811. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  54812. t2.newNumerators = t1;
  54813. },
  54814. $signature: 0
  54815. };
  54816. A.UnitlessSassNumber.prototype = {
  54817. get$numeratorUnits(_) {
  54818. return B.List_empty;
  54819. },
  54820. get$denominatorUnits(_) {
  54821. return B.List_empty;
  54822. },
  54823. get$hasUnits() {
  54824. return false;
  54825. },
  54826. withValue$1(value) {
  54827. return new A.UnitlessSassNumber(value, null);
  54828. },
  54829. withSlash$2(numerator, denominator) {
  54830. return new A.UnitlessSassNumber(this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
  54831. },
  54832. hasUnit$1(unit) {
  54833. return false;
  54834. },
  54835. hasCompatibleUnits$1(other) {
  54836. return other instanceof A.UnitlessSassNumber;
  54837. },
  54838. hasPossiblyCompatibleUnits$1(other) {
  54839. return other instanceof A.UnitlessSassNumber;
  54840. },
  54841. compatibleWithUnit$1(unit) {
  54842. return true;
  54843. },
  54844. coerceValueToMatch$1(other) {
  54845. return this._number$_value;
  54846. },
  54847. convertValueToMatch$3(other, $name, otherName) {
  54848. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
  54849. },
  54850. coerce$2(newNumerators, newDenominators) {
  54851. return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
  54852. },
  54853. coerceValue$3(newNumerators, newDenominators, $name) {
  54854. return this._number$_value;
  54855. },
  54856. coerceValueToUnit$2(unit, $name) {
  54857. return this._number$_value;
  54858. },
  54859. coerceValueToUnit$1(unit) {
  54860. return this.coerceValueToUnit$2(unit, null);
  54861. },
  54862. greaterThan$1(other) {
  54863. var t1, t2;
  54864. if (other instanceof A.SassNumber) {
  54865. t1 = this._number$_value;
  54866. t2 = other._number$_value;
  54867. return t1 > t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  54868. }
  54869. return this.super$SassNumber$greaterThan(other);
  54870. },
  54871. greaterThanOrEquals$1(other) {
  54872. var t1, t2;
  54873. if (other instanceof A.SassNumber) {
  54874. t1 = this._number$_value;
  54875. t2 = other._number$_value;
  54876. return t1 > t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  54877. }
  54878. return this.super$SassNumber$greaterThanOrEquals(other);
  54879. },
  54880. lessThan$1(other) {
  54881. var t1, t2;
  54882. if (other instanceof A.SassNumber) {
  54883. t1 = this._number$_value;
  54884. t2 = other._number$_value;
  54885. return t1 < t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  54886. }
  54887. return this.super$SassNumber$lessThan(other);
  54888. },
  54889. lessThanOrEquals$1(other) {
  54890. var t1, t2;
  54891. if (other instanceof A.SassNumber) {
  54892. t1 = this._number$_value;
  54893. t2 = other._number$_value;
  54894. return t1 < t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  54895. }
  54896. return this.super$SassNumber$lessThanOrEquals(other);
  54897. },
  54898. modulo$1(other) {
  54899. if (other instanceof A.SassNumber)
  54900. return other.withValue$1(A.moduloLikeSass(this._number$_value, other._number$_value));
  54901. return this.super$SassNumber$modulo(other);
  54902. },
  54903. plus$1(other) {
  54904. if (other instanceof A.SassNumber)
  54905. return other.withValue$1(this._number$_value + other._number$_value);
  54906. return this.super$SassNumber$plus(other);
  54907. },
  54908. minus$1(other) {
  54909. if (other instanceof A.SassNumber)
  54910. return other.withValue$1(this._number$_value - other._number$_value);
  54911. return this.super$SassNumber$minus(other);
  54912. },
  54913. times$1(other) {
  54914. if (other instanceof A.SassNumber)
  54915. return other.withValue$1(this._number$_value * other._number$_value);
  54916. return this.super$SassNumber$times(other);
  54917. },
  54918. dividedBy$1(other) {
  54919. var t1, t2;
  54920. if (other instanceof A.SassNumber) {
  54921. t1 = this._number$_value / other._number$_value;
  54922. if (other.get$hasUnits()) {
  54923. t2 = other.get$denominatorUnits(other);
  54924. t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
  54925. t1 = t2;
  54926. } else
  54927. t1 = new A.UnitlessSassNumber(t1, null);
  54928. return t1;
  54929. }
  54930. return this.super$SassNumber$dividedBy(other);
  54931. },
  54932. unaryMinus$0() {
  54933. return new A.UnitlessSassNumber(-this._number$_value, null);
  54934. },
  54935. $eq(_, other) {
  54936. if (other == null)
  54937. return false;
  54938. return other instanceof A.UnitlessSassNumber && A.fuzzyEquals(this._number$_value, other._number$_value);
  54939. },
  54940. get$hashCode(_) {
  54941. var t1 = this.hashCache;
  54942. return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
  54943. }
  54944. };
  54945. A.SassString.prototype = {
  54946. get$_sassLength() {
  54947. var t1, result, _this = this,
  54948. value = _this.__SassString__sassLength_FI;
  54949. if (value === $) {
  54950. t1 = new A.Runes(_this._string$_text);
  54951. result = t1.get$length(t1);
  54952. _this.__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  54953. _this.__SassString__sassLength_FI = result;
  54954. value = result;
  54955. }
  54956. return value;
  54957. },
  54958. get$isSpecialNumber() {
  54959. var t1, t2;
  54960. if (this._hasQuotes)
  54961. return false;
  54962. t1 = this._string$_text;
  54963. if (t1.length < 6)
  54964. return false;
  54965. t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
  54966. if (t2 === 99) {
  54967. t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
  54968. if (t2 === 108) {
  54969. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
  54970. return false;
  54971. if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
  54972. return false;
  54973. if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
  54974. return false;
  54975. return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
  54976. } else if (t2 === 97) {
  54977. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
  54978. return false;
  54979. if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
  54980. return false;
  54981. return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
  54982. } else
  54983. return false;
  54984. } else if (t2 === 118) {
  54985. if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
  54986. return false;
  54987. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
  54988. return false;
  54989. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  54990. } else if (t2 === 101) {
  54991. if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
  54992. return false;
  54993. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
  54994. return false;
  54995. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  54996. } else if (t2 === 109) {
  54997. t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
  54998. if (t2 === 97) {
  54999. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
  55000. return false;
  55001. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  55002. } else if (t2 === 105) {
  55003. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
  55004. return false;
  55005. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  55006. } else
  55007. return false;
  55008. } else
  55009. return false;
  55010. },
  55011. get$isVar() {
  55012. if (this._hasQuotes)
  55013. return false;
  55014. var t1 = this._string$_text;
  55015. if (t1.length < 8)
  55016. return false;
  55017. 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;
  55018. },
  55019. get$isBlank() {
  55020. return !this._hasQuotes && this._string$_text.length === 0;
  55021. },
  55022. accept$1$1(visitor) {
  55023. var t1 = visitor._quote && this._hasQuotes,
  55024. t2 = this._string$_text;
  55025. if (t1)
  55026. visitor._visitQuotedString$1(t2);
  55027. else
  55028. visitor._visitUnquotedString$1(t2);
  55029. return null;
  55030. },
  55031. accept$1(visitor) {
  55032. return this.accept$1$1(visitor, type$.dynamic);
  55033. },
  55034. assertString$1($name) {
  55035. return this;
  55036. },
  55037. plus$1(other) {
  55038. var t1 = this._string$_text,
  55039. t2 = this._hasQuotes;
  55040. if (other instanceof A.SassString)
  55041. return new A.SassString(t1 + other._string$_text, t2);
  55042. else
  55043. return new A.SassString(t1 + A.serializeValue(other, false, true), t2);
  55044. },
  55045. $eq(_, other) {
  55046. if (other == null)
  55047. return false;
  55048. return other instanceof A.SassString && this._string$_text === other._string$_text;
  55049. },
  55050. get$hashCode(_) {
  55051. var t1 = this._hashCache;
  55052. return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
  55053. }
  55054. };
  55055. A.AnySelectorVisitor.prototype = {
  55056. visitComplexSelector$1(complex) {
  55057. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure(this));
  55058. },
  55059. visitCompoundSelector$1(compound) {
  55060. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure(this));
  55061. },
  55062. visitPseudoSelector$1(pseudo) {
  55063. var selector = pseudo.selector;
  55064. return selector == null ? false : this.visitSelectorList$1(selector);
  55065. },
  55066. visitSelectorList$1(list) {
  55067. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  55068. },
  55069. visitAttributeSelector$1(attribute) {
  55070. return false;
  55071. },
  55072. visitClassSelector$1(klass) {
  55073. return false;
  55074. },
  55075. visitIDSelector$1(id) {
  55076. return false;
  55077. },
  55078. visitParentSelector$1($parent) {
  55079. return false;
  55080. },
  55081. visitPlaceholderSelector$1(placeholder) {
  55082. return false;
  55083. },
  55084. visitTypeSelector$1(type) {
  55085. return false;
  55086. },
  55087. visitUniversalSelector$1(universal) {
  55088. return false;
  55089. }
  55090. };
  55091. A.AnySelectorVisitor_visitComplexSelector_closure.prototype = {
  55092. call$1(component) {
  55093. return this.$this.visitCompoundSelector$1(component.selector);
  55094. },
  55095. $signature: 45
  55096. };
  55097. A.AnySelectorVisitor_visitCompoundSelector_closure.prototype = {
  55098. call$1(simple) {
  55099. return simple.accept$1(this.$this);
  55100. },
  55101. $signature: 13
  55102. };
  55103. A._EvaluateVisitor0.prototype = {
  55104. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  55105. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  55106. _s20_ = "$name, $module: null",
  55107. _s9_ = "sass:meta",
  55108. t1 = type$.JSArray_AsyncBuiltInCallable,
  55109. 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),
  55110. metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure18(_this), _s9_)], t1);
  55111. t1 = type$.AsyncBuiltInCallable;
  55112. t2 = A.List_List$of($.$get$global(), true, t1);
  55113. B.JSArray_methods.addAll$1(t2, $.$get$local());
  55114. B.JSArray_methods.addAll$1(t2, metaFunctions);
  55115. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  55116. 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) {
  55117. module = t1[_i];
  55118. t3.$indexSet(0, module.url, module);
  55119. }
  55120. t1 = A._setArrayType([], type$.JSArray_AsyncCallable);
  55121. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
  55122. B.JSArray_methods.addAll$1(t1, metaFunctions);
  55123. for (t2 = t1.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  55124. $function = t1[_i];
  55125. t4 = J.get$name$x($function);
  55126. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  55127. }
  55128. },
  55129. run$2(_, importer, node) {
  55130. return this.run$body$_EvaluateVisitor(0, importer, node);
  55131. },
  55132. run$body$_EvaluateVisitor(_, importer, node) {
  55133. var $async$goto = 0,
  55134. $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
  55135. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  55136. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55137. if ($async$errorCode === 1) {
  55138. $async$currentError = $async$result;
  55139. $async$goto = $async$handler;
  55140. }
  55141. while (true)
  55142. switch ($async$goto) {
  55143. case 0:
  55144. // Function start
  55145. $async$handler = 4;
  55146. t1 = type$.nullable_Object;
  55147. $async$goto = 7;
  55148. return A._asyncAwait(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), $async$run$2);
  55149. case 7:
  55150. // returning from await.
  55151. t1 = $async$result;
  55152. $async$returnValue = t1;
  55153. // goto return
  55154. $async$goto = 1;
  55155. break;
  55156. $async$handler = 2;
  55157. // goto after finally
  55158. $async$goto = 6;
  55159. break;
  55160. case 4:
  55161. // catch
  55162. $async$handler = 3;
  55163. $async$exception = $async$currentError;
  55164. t1 = A.unwrapException($async$exception);
  55165. if (t1 instanceof A.SassException) {
  55166. error = t1;
  55167. stackTrace = A.getTraceFromException($async$exception);
  55168. A.throwWithTrace(error.withLoadedUrls$1($async$self._async_evaluate$_loadedUrls), stackTrace);
  55169. } else
  55170. throw $async$exception;
  55171. // goto after finally
  55172. $async$goto = 6;
  55173. break;
  55174. case 3:
  55175. // uncaught
  55176. // goto rethrow
  55177. $async$goto = 2;
  55178. break;
  55179. case 6:
  55180. // after finally
  55181. case 1:
  55182. // return
  55183. return A._asyncReturn($async$returnValue, $async$completer);
  55184. case 2:
  55185. // rethrow
  55186. return A._asyncRethrow($async$currentError, $async$completer);
  55187. }
  55188. });
  55189. return A._asyncStartSync($async$run$2, $async$completer);
  55190. },
  55191. _async_evaluate$_assertInModule$1$2(value, $name) {
  55192. if (value != null)
  55193. return value;
  55194. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  55195. },
  55196. _async_evaluate$_assertInModule$2(value, $name) {
  55197. return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
  55198. },
  55199. _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  55200. return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  55201. },
  55202. _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  55203. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  55204. },
  55205. _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  55206. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  55207. },
  55208. _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  55209. var $async$goto = 0,
  55210. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  55211. $async$returnValue, $async$self = this, t1, t2, builtInModule;
  55212. var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55213. if ($async$errorCode === 1)
  55214. return A._asyncRethrow($async$result, $async$completer);
  55215. while (true)
  55216. switch ($async$goto) {
  55217. case 0:
  55218. // Function start
  55219. builtInModule = $async$self._async_evaluate$_builtInModules.$index(0, url);
  55220. $async$goto = builtInModule != null ? 3 : 4;
  55221. break;
  55222. case 3:
  55223. // then
  55224. if (configuration instanceof A.ExplicitConfiguration) {
  55225. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  55226. t2 = configuration.nodeWithSpan;
  55227. throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
  55228. }
  55229. $async$goto = 5;
  55230. 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);
  55231. case 5:
  55232. // returning from await.
  55233. // goto return
  55234. $async$goto = 1;
  55235. break;
  55236. case 4:
  55237. // join
  55238. $async$goto = 6;
  55239. 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);
  55240. case 6:
  55241. // returning from await.
  55242. case 1:
  55243. // return
  55244. return A._asyncReturn($async$returnValue, $async$completer);
  55245. }
  55246. });
  55247. return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  55248. },
  55249. _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  55250. return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  55251. },
  55252. _async_evaluate$_execute$2(importer, stylesheet) {
  55253. return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  55254. },
  55255. _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  55256. var $async$goto = 0,
  55257. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
  55258. $async$returnValue, $async$self = this, alreadyLoaded, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, extensionStore, module, t1, url;
  55259. var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55260. if ($async$errorCode === 1)
  55261. return A._asyncRethrow($async$result, $async$completer);
  55262. while (true)
  55263. switch ($async$goto) {
  55264. case 0:
  55265. // Function start
  55266. t1 = stylesheet.span;
  55267. url = t1.get$sourceUrl(t1);
  55268. t1 = $async$self._async_evaluate$_modules;
  55269. alreadyLoaded = t1.$index(0, url);
  55270. if (alreadyLoaded != null) {
  55271. t1 = configuration == null;
  55272. currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
  55273. t2 = $async$self._async_evaluate$_moduleConfigurations.$index(0, url);
  55274. t3 = t2.__originalConfiguration;
  55275. t2 = t3 == null ? t2 : t3;
  55276. t3 = currentConfiguration.__originalConfiguration;
  55277. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  55278. message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
  55279. t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
  55280. existingSpan = t2 == null ? null : J.get$span$z(t2);
  55281. if (t1) {
  55282. t1 = currentConfiguration.nodeWithSpan;
  55283. configurationSpan = t1.get$span(t1);
  55284. } else
  55285. configurationSpan = null;
  55286. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  55287. if (existingSpan != null)
  55288. t1.$indexSet(0, existingSpan, "original load");
  55289. if (configurationSpan != null)
  55290. t1.$indexSet(0, configurationSpan, "configuration");
  55291. throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
  55292. }
  55293. $async$returnValue = alreadyLoaded;
  55294. // goto return
  55295. $async$goto = 1;
  55296. break;
  55297. }
  55298. environment = A.AsyncEnvironment$();
  55299. css = A._Cell$();
  55300. extensionStore = A.ExtensionStore$();
  55301. $async$goto = 3;
  55302. 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);
  55303. case 3:
  55304. // returning from await.
  55305. module = environment.toModule$2(css._readLocal$0(), extensionStore);
  55306. if (url != null) {
  55307. t1.$indexSet(0, url, module);
  55308. $async$self._async_evaluate$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate$_configuration);
  55309. if (nodeWithSpan != null)
  55310. $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  55311. }
  55312. $async$returnValue = module;
  55313. // goto return
  55314. $async$goto = 1;
  55315. break;
  55316. case 1:
  55317. // return
  55318. return A._asyncReturn($async$returnValue, $async$completer);
  55319. }
  55320. });
  55321. return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  55322. },
  55323. _async_evaluate$_addOutOfOrderImports$0() {
  55324. var t1, t2, _this = this, _s5_ = "_root",
  55325. _s13_ = "_endOfImports",
  55326. outOfOrderImports = _this._async_evaluate$_outOfOrderImports;
  55327. if (outOfOrderImports == null)
  55328. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  55329. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  55330. t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListBase.E")), true, type$.ModifiableCssNode);
  55331. B.JSArray_methods.addAll$1(t1, outOfOrderImports);
  55332. t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  55333. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  55334. return t1;
  55335. },
  55336. _async_evaluate$_combineCss$2$clone(root, clone) {
  55337. var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
  55338. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure2())) {
  55339. selectors = root.get$extensionStore().get$simpleSelectors();
  55340. unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure3(selectors)));
  55341. if (unsatisfiedExtension != null)
  55342. _this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  55343. return root.get$css(root);
  55344. }
  55345. sortedModules = _this._async_evaluate$_topologicalModules$1(root);
  55346. if (clone) {
  55347. t1 = sortedModules.$ti._eval$1("MappedListIterable<ListBase.E,Module<AsyncCallable>>");
  55348. sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure4(), t1), true, t1._eval$1("ListIterable.E"));
  55349. }
  55350. _this._async_evaluate$_extendModules$1(sortedModules);
  55351. t1 = type$.JSArray_CssNode;
  55352. imports = A._setArrayType([], t1);
  55353. css = A._setArrayType([], t1);
  55354. for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  55355. t3 = t1.__internal$_current;
  55356. if (t3 == null)
  55357. t3 = t2._as(t3);
  55358. t3 = t3.get$css(t3);
  55359. statements = t3.get$children(t3);
  55360. index = _this._async_evaluate$_indexAfterImports$1(statements);
  55361. t3 = J.getInterceptor$ax(statements);
  55362. B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
  55363. B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
  55364. }
  55365. t1 = B.JSArray_methods.$add(imports, css);
  55366. t2 = root.get$css(root);
  55367. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  55368. },
  55369. _async_evaluate$_combineCss$1(root) {
  55370. return this._async_evaluate$_combineCss$2$clone(root, false);
  55371. },
  55372. _async_evaluate$_extendModules$1(sortedModules) {
  55373. var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
  55374. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  55375. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  55376. for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
  55377. t2 = t1.get$current(t1);
  55378. originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
  55379. unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
  55380. $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
  55381. t3 = t2.get$extensionStore().get$addExtensions();
  55382. if ($self != null)
  55383. t3.call$1($self);
  55384. t3 = t2.get$extensionStore();
  55385. if (t3.get$isEmpty(t3))
  55386. continue;
  55387. for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  55388. upstream = t3[_i];
  55389. url = upstream.get$url(upstream);
  55390. if (url == null)
  55391. continue;
  55392. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure2()), t2.get$extensionStore());
  55393. }
  55394. unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  55395. }
  55396. if (unsatisfiedExtensions._collection$_length !== 0)
  55397. this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  55398. },
  55399. _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
  55400. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  55401. },
  55402. _async_evaluate$_topologicalModules$1(root) {
  55403. var t1 = type$.Module_AsyncCallable,
  55404. sorted = A.QueueList$(null, t1);
  55405. new A._EvaluateVisitor__topologicalModules_visitModule0(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
  55406. return sorted;
  55407. },
  55408. _async_evaluate$_indexAfterImports$1(statements) {
  55409. var t1, t2, t3, lastImport, i, statement;
  55410. for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  55411. statement = t1.$index(statements, i);
  55412. if (t3._is(statement))
  55413. lastImport = i;
  55414. else if (!t2._is(statement))
  55415. break;
  55416. }
  55417. return lastImport + 1;
  55418. },
  55419. visitStylesheet$1(node) {
  55420. return this.visitStylesheet$body$_EvaluateVisitor(node);
  55421. },
  55422. visitStylesheet$body$_EvaluateVisitor(node) {
  55423. var $async$goto = 0,
  55424. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55425. $async$returnValue, $async$self = this, t1, t2, _i;
  55426. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55427. if ($async$errorCode === 1)
  55428. return A._asyncRethrow($async$result, $async$completer);
  55429. while (true)
  55430. switch ($async$goto) {
  55431. case 0:
  55432. // Function start
  55433. t1 = node.children, t2 = t1.length, _i = 0;
  55434. case 3:
  55435. // for condition
  55436. if (!(_i < t2)) {
  55437. // goto after for
  55438. $async$goto = 5;
  55439. break;
  55440. }
  55441. $async$goto = 6;
  55442. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  55443. case 6:
  55444. // returning from await.
  55445. case 4:
  55446. // for update
  55447. ++_i;
  55448. // goto for condition
  55449. $async$goto = 3;
  55450. break;
  55451. case 5:
  55452. // after for
  55453. $async$returnValue = null;
  55454. // goto return
  55455. $async$goto = 1;
  55456. break;
  55457. case 1:
  55458. // return
  55459. return A._asyncReturn($async$returnValue, $async$completer);
  55460. }
  55461. });
  55462. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  55463. },
  55464. visitAtRootRule$1(node) {
  55465. return this.visitAtRootRule$body$_EvaluateVisitor(node);
  55466. },
  55467. visitAtRootRule$body$_EvaluateVisitor(node) {
  55468. var $async$goto = 0,
  55469. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55470. $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, unparsedQuery, query, $parent, included, $async$temp1;
  55471. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55472. if ($async$errorCode === 1)
  55473. return A._asyncRethrow($async$result, $async$completer);
  55474. while (true)
  55475. switch ($async$goto) {
  55476. case 0:
  55477. // Function start
  55478. unparsedQuery = node.query;
  55479. $async$goto = unparsedQuery != null ? 3 : 5;
  55480. break;
  55481. case 3:
  55482. // then
  55483. $async$temp1 = A;
  55484. $async$goto = 6;
  55485. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
  55486. case 6:
  55487. // returning from await.
  55488. $async$result = $async$temp1.AtRootQueryParser$($async$result.item1, $async$self._async_evaluate$_logger, null).parse$0();
  55489. // goto join
  55490. $async$goto = 4;
  55491. break;
  55492. case 5:
  55493. // else
  55494. $async$result = B.AtRootQuery_UsS;
  55495. case 4:
  55496. // join
  55497. query = $async$result;
  55498. $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  55499. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  55500. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
  55501. if (!query.excludes$1($parent))
  55502. included.push($parent);
  55503. grandparent = $parent._parent;
  55504. if (grandparent == null)
  55505. throw A.wrapException(A.StateError$(string$.CssNod));
  55506. }
  55507. root = $async$self._async_evaluate$_trimIncluded$1(included);
  55508. $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
  55509. break;
  55510. case 7:
  55511. // then
  55512. $async$goto = 9;
  55513. 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);
  55514. case 9:
  55515. // returning from await.
  55516. $async$returnValue = null;
  55517. // goto return
  55518. $async$goto = 1;
  55519. break;
  55520. case 8:
  55521. // join
  55522. if (included.length !== 0) {
  55523. innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
  55524. 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) {
  55525. t3 = t1.__internal$_current;
  55526. copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
  55527. copy.addChild$1(outerCopy);
  55528. }
  55529. root.addChild$1(outerCopy);
  55530. } else
  55531. innerCopy = root;
  55532. $async$goto = 10;
  55533. 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);
  55534. case 10:
  55535. // returning from await.
  55536. $async$returnValue = null;
  55537. // goto return
  55538. $async$goto = 1;
  55539. break;
  55540. case 1:
  55541. // return
  55542. return A._asyncReturn($async$returnValue, $async$completer);
  55543. }
  55544. });
  55545. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  55546. },
  55547. _async_evaluate$_trimIncluded$1(nodes) {
  55548. var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
  55549. _s22_ = " to be an ancestor of ";
  55550. if (nodes.length === 0)
  55551. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  55552. $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
  55553. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  55554. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  55555. grandparent = $parent._parent;
  55556. if (grandparent == null)
  55557. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  55558. }
  55559. if (innermostContiguous == null)
  55560. innermostContiguous = i;
  55561. grandparent = $parent._parent;
  55562. if (grandparent == null)
  55563. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  55564. }
  55565. if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
  55566. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  55567. innermostContiguous.toString;
  55568. root = nodes[innermostContiguous];
  55569. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  55570. return root;
  55571. },
  55572. _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
  55573. var _this = this,
  55574. scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
  55575. t1 = query._all || query._at_root_query$_rule;
  55576. if (t1 !== query.include)
  55577. scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
  55578. if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
  55579. scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
  55580. if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
  55581. scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
  55582. return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
  55583. },
  55584. visitContentBlock$1(node) {
  55585. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  55586. },
  55587. visitContentRule$1(node) {
  55588. return this.visitContentRule$body$_EvaluateVisitor(node);
  55589. },
  55590. visitContentRule$body$_EvaluateVisitor(node) {
  55591. var $async$goto = 0,
  55592. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55593. $async$returnValue, $async$self = this, $content;
  55594. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55595. if ($async$errorCode === 1)
  55596. return A._asyncRethrow($async$result, $async$completer);
  55597. while (true)
  55598. switch ($async$goto) {
  55599. case 0:
  55600. // Function start
  55601. $content = $async$self._async_evaluate$_environment._async_environment$_content;
  55602. if ($content == null) {
  55603. $async$returnValue = null;
  55604. // goto return
  55605. $async$goto = 1;
  55606. break;
  55607. }
  55608. $async$goto = 3;
  55609. 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);
  55610. case 3:
  55611. // returning from await.
  55612. $async$returnValue = null;
  55613. // goto return
  55614. $async$goto = 1;
  55615. break;
  55616. case 1:
  55617. // return
  55618. return A._asyncReturn($async$returnValue, $async$completer);
  55619. }
  55620. });
  55621. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  55622. },
  55623. visitDebugRule$1(node) {
  55624. return this.visitDebugRule$body$_EvaluateVisitor(node);
  55625. },
  55626. visitDebugRule$body$_EvaluateVisitor(node) {
  55627. var $async$goto = 0,
  55628. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55629. $async$returnValue, $async$self = this, value, t1;
  55630. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55631. if ($async$errorCode === 1)
  55632. return A._asyncRethrow($async$result, $async$completer);
  55633. while (true)
  55634. switch ($async$goto) {
  55635. case 0:
  55636. // Function start
  55637. $async$goto = 3;
  55638. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  55639. case 3:
  55640. // returning from await.
  55641. value = $async$result;
  55642. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  55643. $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
  55644. $async$returnValue = null;
  55645. // goto return
  55646. $async$goto = 1;
  55647. break;
  55648. case 1:
  55649. // return
  55650. return A._asyncReturn($async$returnValue, $async$completer);
  55651. }
  55652. });
  55653. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  55654. },
  55655. visitDeclaration$1(node) {
  55656. return this.visitDeclaration$body$_EvaluateVisitor(node);
  55657. },
  55658. visitDeclaration$body$_EvaluateVisitor(node) {
  55659. var $async$goto = 0,
  55660. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55661. $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
  55662. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55663. if ($async$errorCode === 1)
  55664. return A._asyncRethrow($async$result, $async$completer);
  55665. while (true)
  55666. switch ($async$goto) {
  55667. case 0:
  55668. // Function start
  55669. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
  55670. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
  55671. if ($async$self._async_evaluate$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  55672. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarw, node.span));
  55673. t1 = node.name;
  55674. $async$goto = 3;
  55675. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
  55676. case 3:
  55677. // returning from await.
  55678. $name = $async$result;
  55679. t2 = $async$self._async_evaluate$_declarationName;
  55680. if (t2 != null)
  55681. $name = new A.CssValue(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  55682. t2 = node.value;
  55683. $async$goto = 4;
  55684. return A._asyncAwait(A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure1($async$self)), $async$visitDeclaration$1);
  55685. case 4:
  55686. // returning from await.
  55687. cssValue = $async$result;
  55688. t3 = cssValue != null;
  55689. if (t3) {
  55690. t4 = cssValue.value;
  55691. t4 = !t4.get$isBlank() || t4.get$asList().length === 0;
  55692. } else
  55693. t4 = false;
  55694. if (t4) {
  55695. t3 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  55696. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  55697. if ($async$self._async_evaluate$_sourceMap) {
  55698. t2 = A.NullableExtension_andThen(t2, $async$self.get$_async_evaluate$_expressionNode());
  55699. t2 = t2 == null ? null : J.get$span$z(t2);
  55700. } else
  55701. t2 = null;
  55702. t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
  55703. } else if (J.startsWith$1$s($name.value, "--") && t3)
  55704. throw A.wrapException($async$self._async_evaluate$_exception$2("Custom property values may not be empty.", cssValue.span));
  55705. children = node.children;
  55706. $async$goto = children != null ? 5 : 6;
  55707. break;
  55708. case 5:
  55709. // then
  55710. oldDeclarationName = $async$self._async_evaluate$_declarationName;
  55711. $async$self._async_evaluate$_declarationName = $name.value;
  55712. $async$goto = 7;
  55713. 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);
  55714. case 7:
  55715. // returning from await.
  55716. $async$self._async_evaluate$_declarationName = oldDeclarationName;
  55717. case 6:
  55718. // join
  55719. $async$returnValue = null;
  55720. // goto return
  55721. $async$goto = 1;
  55722. break;
  55723. case 1:
  55724. // return
  55725. return A._asyncReturn($async$returnValue, $async$completer);
  55726. }
  55727. });
  55728. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  55729. },
  55730. visitEachRule$1(node) {
  55731. return this.visitEachRule$body$_EvaluateVisitor(node);
  55732. },
  55733. visitEachRule$body$_EvaluateVisitor(node) {
  55734. var $async$goto = 0,
  55735. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55736. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
  55737. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55738. if ($async$errorCode === 1)
  55739. return A._asyncRethrow($async$result, $async$completer);
  55740. while (true)
  55741. switch ($async$goto) {
  55742. case 0:
  55743. // Function start
  55744. t1 = node.list;
  55745. $async$goto = 3;
  55746. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  55747. case 3:
  55748. // returning from await.
  55749. list = $async$result;
  55750. nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
  55751. setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure2($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure3($async$self, node, nodeWithSpan);
  55752. $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);
  55753. // goto return
  55754. $async$goto = 1;
  55755. break;
  55756. case 1:
  55757. // return
  55758. return A._asyncReturn($async$returnValue, $async$completer);
  55759. }
  55760. });
  55761. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  55762. },
  55763. _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  55764. var i,
  55765. list = value.get$asList(),
  55766. t1 = variables.length,
  55767. minLength = Math.min(t1, list.length);
  55768. for (i = 0; i < minLength; ++i)
  55769. this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  55770. for (i = minLength; i < t1; ++i)
  55771. this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  55772. },
  55773. visitErrorRule$1(node) {
  55774. return this.visitErrorRule$body$_EvaluateVisitor(node);
  55775. },
  55776. visitErrorRule$body$_EvaluateVisitor(node) {
  55777. var $async$goto = 0,
  55778. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  55779. $async$self = this, $async$temp1, $async$temp2;
  55780. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55781. if ($async$errorCode === 1)
  55782. return A._asyncRethrow($async$result, $async$completer);
  55783. while (true)
  55784. switch ($async$goto) {
  55785. case 0:
  55786. // Function start
  55787. $async$temp1 = A;
  55788. $async$temp2 = J;
  55789. $async$goto = 2;
  55790. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  55791. case 2:
  55792. // returning from await.
  55793. throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
  55794. // implicit return
  55795. return A._asyncReturn(null, $async$completer);
  55796. }
  55797. });
  55798. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  55799. },
  55800. visitExtendRule$1(node) {
  55801. return this.visitExtendRule$body$_EvaluateVisitor(node);
  55802. },
  55803. visitExtendRule$body$_EvaluateVisitor(node) {
  55804. var $async$goto = 0,
  55805. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55806. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, tuple, targetText, targetMap, compound, styleRule;
  55807. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55808. if ($async$errorCode === 1)
  55809. return A._asyncRethrow($async$result, $async$completer);
  55810. while (true)
  55811. switch ($async$goto) {
  55812. case 0:
  55813. // Function start
  55814. styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  55815. if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
  55816. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
  55817. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  55818. complex = t1[_i];
  55819. if (!complex.accept$1(B._IsBogusVisitor_true))
  55820. continue;
  55821. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  55822. complex.accept$1(visitor);
  55823. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  55824. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  55825. $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);
  55826. }
  55827. $async$goto = 3;
  55828. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  55829. case 3:
  55830. // returning from await.
  55831. tuple = $async$result;
  55832. targetText = tuple.item1;
  55833. targetMap = tuple.item2;
  55834. 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) {
  55835. complex = t1[_i];
  55836. if (complex.leadingCombinators.length === 0) {
  55837. t4 = complex.components;
  55838. t4 = t4.length === 1 && B.JSArray_methods.get$first(t4).combinators.length === 0;
  55839. } else
  55840. t4 = false;
  55841. compound = t4 ? B.JSArray_methods.get$first(complex.components).selector : null;
  55842. if (compound == null)
  55843. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, null));
  55844. t4 = compound.components;
  55845. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  55846. if (t5 == null)
  55847. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  55848. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate$_mediaQueries);
  55849. }
  55850. $async$returnValue = null;
  55851. // goto return
  55852. $async$goto = 1;
  55853. break;
  55854. case 1:
  55855. // return
  55856. return A._asyncReturn($async$returnValue, $async$completer);
  55857. }
  55858. });
  55859. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  55860. },
  55861. visitAtRule$1(node) {
  55862. return this.visitAtRule$body$_EvaluateVisitor(node);
  55863. },
  55864. visitAtRule$body$_EvaluateVisitor(node) {
  55865. var $async$goto = 0,
  55866. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55867. $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
  55868. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55869. if ($async$errorCode === 1)
  55870. return A._asyncRethrow($async$result, $async$completer);
  55871. while (true)
  55872. switch ($async$goto) {
  55873. case 0:
  55874. // Function start
  55875. if ($async$self._async_evaluate$_declarationName != null)
  55876. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  55877. $async$goto = 3;
  55878. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  55879. case 3:
  55880. // returning from await.
  55881. $name = $async$result;
  55882. $async$goto = 4;
  55883. return A._asyncAwait(A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self)), $async$visitAtRule$1);
  55884. case 4:
  55885. // returning from await.
  55886. value = $async$result;
  55887. children = node.children;
  55888. if (children == null) {
  55889. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  55890. $async$returnValue = null;
  55891. // goto return
  55892. $async$goto = 1;
  55893. break;
  55894. }
  55895. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  55896. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  55897. if (A.unvendor($name.value) === "keyframes")
  55898. $async$self._async_evaluate$_inKeyframes = true;
  55899. else
  55900. $async$self._async_evaluate$_inUnknownAtRule = true;
  55901. $async$goto = 5;
  55902. 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);
  55903. case 5:
  55904. // returning from await.
  55905. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  55906. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  55907. $async$returnValue = null;
  55908. // goto return
  55909. $async$goto = 1;
  55910. break;
  55911. case 1:
  55912. // return
  55913. return A._asyncReturn($async$returnValue, $async$completer);
  55914. }
  55915. });
  55916. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  55917. },
  55918. visitForRule$1(node) {
  55919. return this.visitForRule$body$_EvaluateVisitor(node);
  55920. },
  55921. visitForRule$body$_EvaluateVisitor(node) {
  55922. var $async$goto = 0,
  55923. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55924. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  55925. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55926. if ($async$errorCode === 1)
  55927. return A._asyncRethrow($async$result, $async$completer);
  55928. while (true)
  55929. switch ($async$goto) {
  55930. case 0:
  55931. // Function start
  55932. t1 = {};
  55933. t2 = node.from;
  55934. t3 = type$.SassNumber;
  55935. $async$goto = 3;
  55936. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
  55937. case 3:
  55938. // returning from await.
  55939. fromNumber = $async$result;
  55940. t4 = node.to;
  55941. $async$goto = 4;
  55942. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
  55943. case 4:
  55944. // returning from await.
  55945. toNumber = $async$result;
  55946. from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
  55947. to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
  55948. direction = from > to ? -1 : 1;
  55949. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  55950. $async$returnValue = null;
  55951. // goto return
  55952. $async$goto = 1;
  55953. break;
  55954. }
  55955. $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);
  55956. // goto return
  55957. $async$goto = 1;
  55958. break;
  55959. case 1:
  55960. // return
  55961. return A._asyncReturn($async$returnValue, $async$completer);
  55962. }
  55963. });
  55964. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  55965. },
  55966. visitForwardRule$1(node) {
  55967. return this.visitForwardRule$body$_EvaluateVisitor(node);
  55968. },
  55969. visitForwardRule$body$_EvaluateVisitor(node) {
  55970. var $async$goto = 0,
  55971. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55972. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  55973. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55974. if ($async$errorCode === 1)
  55975. return A._asyncRethrow($async$result, $async$completer);
  55976. while (true)
  55977. switch ($async$goto) {
  55978. case 0:
  55979. // Function start
  55980. oldConfiguration = $async$self._async_evaluate$_configuration;
  55981. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  55982. t1 = node.configuration;
  55983. t2 = t1.length;
  55984. t3 = node.url;
  55985. $async$goto = t2 !== 0 ? 3 : 5;
  55986. break;
  55987. case 3:
  55988. // then
  55989. $async$goto = 6;
  55990. return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  55991. case 6:
  55992. // returning from await.
  55993. newConfiguration = $async$result;
  55994. $async$goto = 7;
  55995. 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);
  55996. case 7:
  55997. // returning from await.
  55998. t3 = type$.String;
  55999. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  56000. for (_i = 0; _i < t2; ++_i) {
  56001. variable = t1[_i];
  56002. if (!variable.isGuarded)
  56003. t4.add$1(0, variable.name);
  56004. }
  56005. $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  56006. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  56007. for (_i = 0; _i < t2; ++_i)
  56008. t3.add$1(0, t1[_i].name);
  56009. 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) {
  56010. $name = t2[_i];
  56011. if (!t3.contains$1(0, $name))
  56012. if (!t1.get$isEmpty(t1))
  56013. t1.remove$1(0, $name);
  56014. }
  56015. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
  56016. // goto join
  56017. $async$goto = 4;
  56018. break;
  56019. case 5:
  56020. // else
  56021. $async$self._async_evaluate$_configuration = adjustedConfiguration;
  56022. $async$goto = 8;
  56023. return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
  56024. case 8:
  56025. // returning from await.
  56026. $async$self._async_evaluate$_configuration = oldConfiguration;
  56027. case 4:
  56028. // join
  56029. $async$returnValue = null;
  56030. // goto return
  56031. $async$goto = 1;
  56032. break;
  56033. case 1:
  56034. // return
  56035. return A._asyncReturn($async$returnValue, $async$completer);
  56036. }
  56037. });
  56038. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  56039. },
  56040. _async_evaluate$_addForwardConfiguration$2(configuration, node) {
  56041. return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
  56042. },
  56043. _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
  56044. var $async$goto = 0,
  56045. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
  56046. $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  56047. var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56048. if ($async$errorCode === 1)
  56049. return A._asyncRethrow($async$result, $async$completer);
  56050. while (true)
  56051. switch ($async$goto) {
  56052. case 0:
  56053. // Function start
  56054. t1 = configuration._values;
  56055. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  56056. t2 = node.configuration, t3 = t2.length, _i = 0;
  56057. case 3:
  56058. // for condition
  56059. if (!(_i < t3)) {
  56060. // goto after for
  56061. $async$goto = 5;
  56062. break;
  56063. }
  56064. variable = t2[_i];
  56065. if (variable.isGuarded) {
  56066. t4 = variable.name;
  56067. t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
  56068. if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
  56069. newValues.$indexSet(0, t4, t5);
  56070. // goto for update
  56071. $async$goto = 4;
  56072. break;
  56073. }
  56074. }
  56075. t4 = variable.expression;
  56076. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t4);
  56077. $async$temp1 = newValues;
  56078. $async$temp2 = variable.name;
  56079. $async$temp3 = A;
  56080. $async$goto = 6;
  56081. return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate$_addForwardConfiguration$2);
  56082. case 6:
  56083. // returning from await.
  56084. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  56085. case 4:
  56086. // for update
  56087. ++_i;
  56088. // goto for condition
  56089. $async$goto = 3;
  56090. break;
  56091. case 5:
  56092. // after for
  56093. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
  56094. $async$returnValue = new A.ExplicitConfiguration(node, newValues, null);
  56095. // goto return
  56096. $async$goto = 1;
  56097. break;
  56098. } else {
  56099. $async$returnValue = new A.Configuration(newValues, null);
  56100. // goto return
  56101. $async$goto = 1;
  56102. break;
  56103. }
  56104. case 1:
  56105. // return
  56106. return A._asyncReturn($async$returnValue, $async$completer);
  56107. }
  56108. });
  56109. return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
  56110. },
  56111. _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  56112. var t1, t2, t3, t4, _i, $name;
  56113. 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) {
  56114. $name = t2[_i];
  56115. if (except.contains$1(0, $name))
  56116. continue;
  56117. if (!t4.containsKey$1($name))
  56118. if (!t1.get$isEmpty(t1))
  56119. t1.remove$1(0, $name);
  56120. }
  56121. },
  56122. _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  56123. var t1, entry;
  56124. if (!(configuration instanceof A.ExplicitConfiguration))
  56125. return;
  56126. t1 = configuration._values;
  56127. if (t1.get$isEmpty(t1))
  56128. return;
  56129. t1 = t1.get$entries(t1);
  56130. entry = t1.get$first(t1);
  56131. t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
  56132. throw A.wrapException(this._async_evaluate$_exception$2(t1, entry.value.configurationSpan));
  56133. },
  56134. _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
  56135. return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  56136. },
  56137. visitFunctionRule$1(node) {
  56138. return this.visitFunctionRule$body$_EvaluateVisitor(node);
  56139. },
  56140. visitFunctionRule$body$_EvaluateVisitor(node) {
  56141. var $async$goto = 0,
  56142. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56143. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  56144. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56145. if ($async$errorCode === 1)
  56146. return A._asyncRethrow($async$result, $async$completer);
  56147. while (true)
  56148. switch ($async$goto) {
  56149. case 0:
  56150. // Function start
  56151. t1 = $async$self._async_evaluate$_environment;
  56152. t2 = t1.closure$0();
  56153. t3 = $async$self._async_evaluate$_inDependency;
  56154. t4 = t1._async_environment$_functions;
  56155. index = t4.length - 1;
  56156. t5 = node.name;
  56157. t1._async_environment$_functionIndices.$indexSet(0, t5, index);
  56158. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  56159. $async$returnValue = null;
  56160. // goto return
  56161. $async$goto = 1;
  56162. break;
  56163. case 1:
  56164. // return
  56165. return A._asyncReturn($async$returnValue, $async$completer);
  56166. }
  56167. });
  56168. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  56169. },
  56170. visitIfRule$1(node) {
  56171. return this.visitIfRule$body$_EvaluateVisitor(node);
  56172. },
  56173. visitIfRule$body$_EvaluateVisitor(node) {
  56174. var $async$goto = 0,
  56175. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56176. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
  56177. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56178. if ($async$errorCode === 1)
  56179. return A._asyncRethrow($async$result, $async$completer);
  56180. while (true)
  56181. switch ($async$goto) {
  56182. case 0:
  56183. // Function start
  56184. _box_0 = {};
  56185. _box_0.clause = node.lastClause;
  56186. t1 = node.clauses, t2 = t1.length, _i = 0;
  56187. case 3:
  56188. // for condition
  56189. if (!(_i < t2)) {
  56190. // goto after for
  56191. $async$goto = 5;
  56192. break;
  56193. }
  56194. clauseToCheck = t1[_i];
  56195. $async$goto = 6;
  56196. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  56197. case 6:
  56198. // returning from await.
  56199. if ($async$result.get$isTruthy()) {
  56200. _box_0.clause = clauseToCheck;
  56201. // goto after for
  56202. $async$goto = 5;
  56203. break;
  56204. }
  56205. case 4:
  56206. // for update
  56207. ++_i;
  56208. // goto for condition
  56209. $async$goto = 3;
  56210. break;
  56211. case 5:
  56212. // after for
  56213. t1 = _box_0.clause;
  56214. if (t1 == null) {
  56215. $async$returnValue = null;
  56216. // goto return
  56217. $async$goto = 1;
  56218. break;
  56219. }
  56220. $async$goto = 7;
  56221. 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);
  56222. case 7:
  56223. // returning from await.
  56224. $async$returnValue = $async$result;
  56225. // goto return
  56226. $async$goto = 1;
  56227. break;
  56228. case 1:
  56229. // return
  56230. return A._asyncReturn($async$returnValue, $async$completer);
  56231. }
  56232. });
  56233. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  56234. },
  56235. visitImportRule$1(node) {
  56236. return this.visitImportRule$body$_EvaluateVisitor(node);
  56237. },
  56238. visitImportRule$body$_EvaluateVisitor(node) {
  56239. var $async$goto = 0,
  56240. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56241. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  56242. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56243. if ($async$errorCode === 1)
  56244. return A._asyncRethrow($async$result, $async$completer);
  56245. while (true)
  56246. switch ($async$goto) {
  56247. case 0:
  56248. // Function start
  56249. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
  56250. case 3:
  56251. // for condition
  56252. if (!(_i < t2)) {
  56253. // goto after for
  56254. $async$goto = 5;
  56255. break;
  56256. }
  56257. $import = t1[_i];
  56258. $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
  56259. break;
  56260. case 6:
  56261. // then
  56262. $async$goto = 9;
  56263. return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
  56264. case 9:
  56265. // returning from await.
  56266. // goto join
  56267. $async$goto = 7;
  56268. break;
  56269. case 8:
  56270. // else
  56271. $async$goto = 10;
  56272. return A._asyncAwait($async$self._visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  56273. case 10:
  56274. // returning from await.
  56275. case 7:
  56276. // join
  56277. case 4:
  56278. // for update
  56279. ++_i;
  56280. // goto for condition
  56281. $async$goto = 3;
  56282. break;
  56283. case 5:
  56284. // after for
  56285. $async$returnValue = null;
  56286. // goto return
  56287. $async$goto = 1;
  56288. break;
  56289. case 1:
  56290. // return
  56291. return A._asyncReturn($async$returnValue, $async$completer);
  56292. }
  56293. });
  56294. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  56295. },
  56296. _async_evaluate$_visitDynamicImport$1($import) {
  56297. return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
  56298. },
  56299. _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  56300. return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
  56301. },
  56302. _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  56303. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  56304. },
  56305. _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
  56306. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  56307. },
  56308. _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
  56309. var $async$goto = 0,
  56310. $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet),
  56311. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, importCache, parsedUrl, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, $async$exception;
  56312. var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56313. if ($async$errorCode === 1) {
  56314. $async$currentError = $async$result;
  56315. $async$goto = $async$handler;
  56316. }
  56317. while (true)
  56318. switch ($async$goto) {
  56319. case 0:
  56320. // Function start
  56321. baseUrl = baseUrl;
  56322. $async$handler = 4;
  56323. $async$self._async_evaluate$_importSpan = span;
  56324. importCache = $async$self._async_evaluate$_importCache;
  56325. $async$goto = importCache != null ? 7 : 9;
  56326. break;
  56327. case 7:
  56328. // then
  56329. parsedUrl = A.Uri_parse(url);
  56330. if (baseUrl == null) {
  56331. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  56332. baseUrl = t1.get$sourceUrl(t1);
  56333. }
  56334. $async$goto = 10;
  56335. return A._asyncAwait(J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, parsedUrl, $async$self._async_evaluate$_importer, baseUrl, forImport), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  56336. case 10:
  56337. // returning from await.
  56338. tuple = $async$result;
  56339. $async$goto = tuple != null ? 11 : 12;
  56340. break;
  56341. case 11:
  56342. // then
  56343. $async$self._async_evaluate$_loadedUrls.add$1(0, tuple.item2);
  56344. isDependency = $async$self._async_evaluate$_inDependency || tuple.item1 !== $async$self._async_evaluate$_importer;
  56345. t1 = tuple.item1;
  56346. t2 = tuple.item2;
  56347. t3 = tuple.item3;
  56348. t4 = $async$self._async_evaluate$_quietDeps && isDependency;
  56349. $async$goto = 13;
  56350. return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  56351. case 13:
  56352. // returning from await.
  56353. stylesheet = $async$result;
  56354. if (stylesheet != null) {
  56355. t1 = tuple.item1;
  56356. $async$returnValue = new A._LoadedStylesheet0(stylesheet, t1, isDependency);
  56357. $async$next = [1];
  56358. // goto finally
  56359. $async$goto = 5;
  56360. break;
  56361. }
  56362. case 12:
  56363. // join
  56364. // goto join
  56365. $async$goto = 8;
  56366. break;
  56367. case 9:
  56368. // else
  56369. t1 = baseUrl;
  56370. if (t1 == null) {
  56371. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  56372. t1 = t1.get$sourceUrl(t1);
  56373. }
  56374. $async$goto = 14;
  56375. return A._asyncAwait($async$self._async_evaluate$_importLikeNode$3(url, t1, forImport), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  56376. case 14:
  56377. // returning from await.
  56378. result = $async$result;
  56379. if (result != null) {
  56380. t1 = result.stylesheet.span;
  56381. t2 = $async$self._async_evaluate$_loadedUrls;
  56382. A.NullableExtension_andThen(t1.get$sourceUrl(t1), t2.get$add(t2));
  56383. $async$returnValue = result;
  56384. $async$next = [1];
  56385. // goto finally
  56386. $async$goto = 5;
  56387. break;
  56388. }
  56389. case 8:
  56390. // join
  56391. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  56392. throw A.wrapException(string$.x22packa);
  56393. else
  56394. throw A.wrapException("Can't find stylesheet to import.");
  56395. $async$next.push(6);
  56396. // goto finally
  56397. $async$goto = 5;
  56398. break;
  56399. case 4:
  56400. // catch
  56401. $async$handler = 3;
  56402. $async$exception = $async$currentError;
  56403. t1 = A.unwrapException($async$exception);
  56404. if (t1 instanceof A.SassException)
  56405. throw $async$exception;
  56406. else if (t1 instanceof A.ArgumentError) {
  56407. error = t1;
  56408. stackTrace = A.getTraceFromException($async$exception);
  56409. A.throwWithTrace($async$self._async_evaluate$_exception$1(J.toString$0$(error)), stackTrace);
  56410. } else {
  56411. error0 = t1;
  56412. stackTrace0 = A.getTraceFromException($async$exception);
  56413. message = null;
  56414. try {
  56415. message = A._asString(J.get$message$x(error0));
  56416. } catch (exception) {
  56417. message0 = J.toString$0$(error0);
  56418. message = message0;
  56419. }
  56420. A.throwWithTrace($async$self._async_evaluate$_exception$1(message), stackTrace0);
  56421. }
  56422. $async$next.push(6);
  56423. // goto finally
  56424. $async$goto = 5;
  56425. break;
  56426. case 3:
  56427. // uncaught
  56428. $async$next = [2];
  56429. case 5:
  56430. // finally
  56431. $async$handler = 2;
  56432. $async$self._async_evaluate$_importSpan = null;
  56433. // goto the next finally handler
  56434. $async$goto = $async$next.pop();
  56435. break;
  56436. case 6:
  56437. // after finally
  56438. case 1:
  56439. // return
  56440. return A._asyncReturn($async$returnValue, $async$completer);
  56441. case 2:
  56442. // rethrow
  56443. return A._asyncRethrow($async$currentError, $async$completer);
  56444. }
  56445. });
  56446. return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  56447. },
  56448. _async_evaluate$_importLikeNode$3(originalUrl, previous, forImport) {
  56449. return this._importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport);
  56450. },
  56451. _importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport) {
  56452. var $async$goto = 0,
  56453. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet),
  56454. $async$returnValue, $async$self = this, result, isDependency, url, t1, t2;
  56455. var $async$_async_evaluate$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56456. if ($async$errorCode === 1)
  56457. return A._asyncRethrow($async$result, $async$completer);
  56458. while (true)
  56459. switch ($async$goto) {
  56460. case 0:
  56461. // Function start
  56462. result = $async$self._async_evaluate$_nodeImporter.loadRelative$3(originalUrl, previous, forImport);
  56463. isDependency = $async$self._async_evaluate$_inDependency;
  56464. url = result.item2;
  56465. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS_scss;
  56466. t2 = $async$self._async_evaluate$_quietDeps && isDependency ? $.$get$Logger_quiet() : $async$self._async_evaluate$_logger;
  56467. $async$returnValue = new A._LoadedStylesheet0(A.Stylesheet_Stylesheet$parse(result.item1, t1, t2, url), null, isDependency);
  56468. // goto return
  56469. $async$goto = 1;
  56470. break;
  56471. case 1:
  56472. // return
  56473. return A._asyncReturn($async$returnValue, $async$completer);
  56474. }
  56475. });
  56476. return A._asyncStartSync($async$_async_evaluate$_importLikeNode$3, $async$completer);
  56477. },
  56478. _visitStaticImport$1($import) {
  56479. return this._visitStaticImport$body$_EvaluateVisitor($import);
  56480. },
  56481. _visitStaticImport$body$_EvaluateVisitor($import) {
  56482. var $async$goto = 0,
  56483. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  56484. $async$self = this, t1, node, $async$temp1, $async$temp2;
  56485. var $async$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56486. if ($async$errorCode === 1)
  56487. return A._asyncRethrow($async$result, $async$completer);
  56488. while (true)
  56489. switch ($async$goto) {
  56490. case 0:
  56491. // Function start
  56492. $async$temp1 = A;
  56493. $async$goto = 2;
  56494. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_visitStaticImport$1);
  56495. case 2:
  56496. // returning from await.
  56497. $async$temp2 = $async$result;
  56498. $async$goto = 3;
  56499. return A._asyncAwait(A.NullableExtension_andThen($import.modifiers, $async$self.get$_async_evaluate$_interpolationToValue()), $async$_visitStaticImport$1);
  56500. case 3:
  56501. // returning from await.
  56502. node = new $async$temp1.ModifiableCssImport($async$temp2, $async$result, $import.span);
  56503. 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"))
  56504. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
  56505. 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)) {
  56506. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
  56507. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  56508. } else {
  56509. t1 = $async$self._async_evaluate$_outOfOrderImports;
  56510. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
  56511. }
  56512. // implicit return
  56513. return A._asyncReturn(null, $async$completer);
  56514. }
  56515. });
  56516. return A._asyncStartSync($async$_visitStaticImport$1, $async$completer);
  56517. },
  56518. visitIncludeRule$1(node) {
  56519. return this.visitIncludeRule$body$_EvaluateVisitor(node);
  56520. },
  56521. visitIncludeRule$body$_EvaluateVisitor(node) {
  56522. var $async$goto = 0,
  56523. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56524. $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
  56525. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56526. if ($async$errorCode === 1)
  56527. return A._asyncRethrow($async$result, $async$completer);
  56528. while (true)
  56529. switch ($async$goto) {
  56530. case 0:
  56531. // Function start
  56532. mixin = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure3($async$self, node));
  56533. if (mixin == null)
  56534. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", node.span));
  56535. nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure4(node));
  56536. $async$goto = type$.AsyncBuiltInCallable._is(mixin) ? 3 : 5;
  56537. break;
  56538. case 3:
  56539. // then
  56540. if (node.content != null)
  56541. throw A.wrapException($async$self._async_evaluate$_exception$2("Mixin doesn't accept a content block.", node.span));
  56542. $async$goto = 6;
  56543. return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
  56544. case 6:
  56545. // returning from await.
  56546. // goto join
  56547. $async$goto = 4;
  56548. break;
  56549. case 5:
  56550. // else
  56551. $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(mixin) ? 7 : 9;
  56552. break;
  56553. case 7:
  56554. // then
  56555. t1 = node.content;
  56556. if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
  56557. 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()), null));
  56558. $async$goto = 10;
  56559. 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);
  56560. case 10:
  56561. // returning from await.
  56562. // goto join
  56563. $async$goto = 8;
  56564. break;
  56565. case 9:
  56566. // else
  56567. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  56568. case 8:
  56569. // join
  56570. case 4:
  56571. // join
  56572. $async$returnValue = null;
  56573. // goto return
  56574. $async$goto = 1;
  56575. break;
  56576. case 1:
  56577. // return
  56578. return A._asyncReturn($async$returnValue, $async$completer);
  56579. }
  56580. });
  56581. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  56582. },
  56583. visitMixinRule$1(node) {
  56584. return this.visitMixinRule$body$_EvaluateVisitor(node);
  56585. },
  56586. visitMixinRule$body$_EvaluateVisitor(node) {
  56587. var $async$goto = 0,
  56588. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56589. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  56590. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56591. if ($async$errorCode === 1)
  56592. return A._asyncRethrow($async$result, $async$completer);
  56593. while (true)
  56594. switch ($async$goto) {
  56595. case 0:
  56596. // Function start
  56597. t1 = $async$self._async_evaluate$_environment;
  56598. t2 = t1.closure$0();
  56599. t3 = $async$self._async_evaluate$_inDependency;
  56600. t4 = t1._async_environment$_mixins;
  56601. index = t4.length - 1;
  56602. t5 = node.name;
  56603. t1._async_environment$_mixinIndices.$indexSet(0, t5, index);
  56604. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  56605. $async$returnValue = null;
  56606. // goto return
  56607. $async$goto = 1;
  56608. break;
  56609. case 1:
  56610. // return
  56611. return A._asyncReturn($async$returnValue, $async$completer);
  56612. }
  56613. });
  56614. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  56615. },
  56616. visitLoudComment$1(node) {
  56617. return this.visitLoudComment$body$_EvaluateVisitor(node);
  56618. },
  56619. visitLoudComment$body$_EvaluateVisitor(node) {
  56620. var $async$goto = 0,
  56621. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56622. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  56623. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56624. if ($async$errorCode === 1)
  56625. return A._asyncRethrow($async$result, $async$completer);
  56626. while (true)
  56627. switch ($async$goto) {
  56628. case 0:
  56629. // Function start
  56630. if ($async$self._async_evaluate$_inFunction) {
  56631. $async$returnValue = null;
  56632. // goto return
  56633. $async$goto = 1;
  56634. break;
  56635. }
  56636. 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))
  56637. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  56638. t1 = node.text;
  56639. $async$temp1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  56640. $async$temp2 = A;
  56641. $async$goto = 3;
  56642. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
  56643. case 3:
  56644. // returning from await.
  56645. $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment($async$result, t1.span));
  56646. $async$returnValue = null;
  56647. // goto return
  56648. $async$goto = 1;
  56649. break;
  56650. case 1:
  56651. // return
  56652. return A._asyncReturn($async$returnValue, $async$completer);
  56653. }
  56654. });
  56655. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  56656. },
  56657. visitMediaRule$1(node) {
  56658. return this.visitMediaRule$body$_EvaluateVisitor(node);
  56659. },
  56660. visitMediaRule$body$_EvaluateVisitor(node) {
  56661. var $async$goto = 0,
  56662. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56663. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  56664. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56665. if ($async$errorCode === 1)
  56666. return A._asyncRethrow($async$result, $async$completer);
  56667. while (true)
  56668. switch ($async$goto) {
  56669. case 0:
  56670. // Function start
  56671. if ($async$self._async_evaluate$_declarationName != null)
  56672. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  56673. $async$goto = 3;
  56674. return A._asyncAwait($async$self._visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  56675. case 3:
  56676. // returning from await.
  56677. queries = $async$result;
  56678. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
  56679. t1 = mergedQueries == null;
  56680. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  56681. $async$returnValue = null;
  56682. // goto return
  56683. $async$goto = 1;
  56684. break;
  56685. }
  56686. if (t1)
  56687. mergedSources = B.Set_empty1;
  56688. else {
  56689. t2 = $async$self._async_evaluate$_mediaQuerySources;
  56690. t2.toString;
  56691. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  56692. t3 = $async$self._async_evaluate$_mediaQueries;
  56693. t3.toString;
  56694. t2.addAll$1(0, t3);
  56695. t2.addAll$1(0, queries);
  56696. mergedSources = t2;
  56697. }
  56698. t1 = t1 ? queries : mergedQueries;
  56699. $async$goto = 4;
  56700. 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);
  56701. case 4:
  56702. // returning from await.
  56703. $async$returnValue = null;
  56704. // goto return
  56705. $async$goto = 1;
  56706. break;
  56707. case 1:
  56708. // return
  56709. return A._asyncReturn($async$returnValue, $async$completer);
  56710. }
  56711. });
  56712. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  56713. },
  56714. _visitMediaQueries$1(interpolation) {
  56715. return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
  56716. },
  56717. _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
  56718. var $async$goto = 0,
  56719. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
  56720. $async$returnValue, $async$self = this, tuple;
  56721. var $async$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56722. if ($async$errorCode === 1)
  56723. return A._asyncRethrow($async$result, $async$completer);
  56724. while (true)
  56725. switch ($async$goto) {
  56726. case 0:
  56727. // Function start
  56728. $async$goto = 3;
  56729. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_visitMediaQueries$1);
  56730. case 3:
  56731. // returning from await.
  56732. tuple = $async$result;
  56733. $async$returnValue = A.CssMediaQuery_parseList(tuple.item1, tuple.item2, $async$self._async_evaluate$_logger);
  56734. // goto return
  56735. $async$goto = 1;
  56736. break;
  56737. case 1:
  56738. // return
  56739. return A._asyncReturn($async$returnValue, $async$completer);
  56740. }
  56741. });
  56742. return A._asyncStartSync($async$_visitMediaQueries$1, $async$completer);
  56743. },
  56744. _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
  56745. var t1, t2, t3, t4, t5, result,
  56746. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  56747. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
  56748. t4 = t1.get$current(t1);
  56749. for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
  56750. result = t4.merge$1(t5.get$current(t5));
  56751. if (result === B._SingletonCssMediaQueryMergeResult_empty)
  56752. continue;
  56753. if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
  56754. return null;
  56755. queries.push(t3._as(result).query);
  56756. }
  56757. }
  56758. return queries;
  56759. },
  56760. visitReturnRule$1(node) {
  56761. return this.visitReturnRule$body$_EvaluateVisitor(node);
  56762. },
  56763. visitReturnRule$body$_EvaluateVisitor(node) {
  56764. var $async$goto = 0,
  56765. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  56766. $async$returnValue, $async$self = this, t1;
  56767. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56768. if ($async$errorCode === 1)
  56769. return A._asyncRethrow($async$result, $async$completer);
  56770. while (true)
  56771. switch ($async$goto) {
  56772. case 0:
  56773. // Function start
  56774. t1 = node.expression;
  56775. $async$goto = 3;
  56776. return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
  56777. case 3:
  56778. // returning from await.
  56779. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
  56780. // goto return
  56781. $async$goto = 1;
  56782. break;
  56783. case 1:
  56784. // return
  56785. return A._asyncReturn($async$returnValue, $async$completer);
  56786. }
  56787. });
  56788. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  56789. },
  56790. visitSilentComment$1(node) {
  56791. return this.visitSilentComment$body$_EvaluateVisitor(node);
  56792. },
  56793. visitSilentComment$body$_EvaluateVisitor(node) {
  56794. var $async$goto = 0,
  56795. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56796. $async$returnValue;
  56797. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56798. if ($async$errorCode === 1)
  56799. return A._asyncRethrow($async$result, $async$completer);
  56800. while (true)
  56801. switch ($async$goto) {
  56802. case 0:
  56803. // Function start
  56804. $async$returnValue = null;
  56805. // goto return
  56806. $async$goto = 1;
  56807. break;
  56808. case 1:
  56809. // return
  56810. return A._asyncReturn($async$returnValue, $async$completer);
  56811. }
  56812. });
  56813. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  56814. },
  56815. visitStyleRule$1(node) {
  56816. return this.visitStyleRule$body$_EvaluateVisitor(node);
  56817. },
  56818. visitStyleRule$body$_EvaluateVisitor(node) {
  56819. var $async$goto = 0,
  56820. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56821. $async$returnValue, $async$self = this, t1, tuple, selectorText, selectorMap, t2, parsedSelector, rule, oldAtRootExcludingStyleRule, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9;
  56822. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56823. if ($async$errorCode === 1)
  56824. return A._asyncRethrow($async$result, $async$completer);
  56825. while (true)
  56826. switch ($async$goto) {
  56827. case 0:
  56828. // Function start
  56829. if ($async$self._async_evaluate$_declarationName != null)
  56830. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
  56831. t1 = node.selector;
  56832. $async$goto = 3;
  56833. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  56834. case 3:
  56835. // returning from await.
  56836. tuple = $async$result;
  56837. selectorText = tuple.item1;
  56838. selectorMap = tuple.item2;
  56839. $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
  56840. break;
  56841. case 4:
  56842. // then
  56843. $async$goto = 6;
  56844. 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);
  56845. case 6:
  56846. // returning from await.
  56847. $async$returnValue = null;
  56848. // goto return
  56849. $async$goto = 1;
  56850. break;
  56851. case 5:
  56852. // join
  56853. 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);
  56854. t2 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  56855. t2 = t2 == null ? null : t2.originalSelector;
  56856. parsedSelector = t1.resolveParentSelectors$2$implicitParent(t2, !$async$self._async_evaluate$_atRootExcludingStyleRule);
  56857. 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);
  56858. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  56859. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  56860. $async$goto = 7;
  56861. 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);
  56862. case 7:
  56863. // returning from await.
  56864. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  56865. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  56866. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  56867. complex = t1[_i];
  56868. if (!complex.accept$1(B._IsBogusVisitor_true))
  56869. continue;
  56870. if (complex.accept$1(B.C__IsUselessVisitor)) {
  56871. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  56872. complex.accept$1(visitor);
  56873. $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);
  56874. } else if (complex.leadingCombinators.length !== 0) {
  56875. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  56876. complex.accept$1(visitor);
  56877. $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);
  56878. } else {
  56879. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  56880. complex.accept$1(visitor);
  56881. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  56882. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  56883. t8 = A.SpanExtensions_trimRight(complex.span);
  56884. if (t5.get$length(t5) === 0)
  56885. A.throwExpression(A.IterableElementError_noElement());
  56886. t9 = J.get$span$z(t5.$index(0, 0));
  56887. $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);
  56888. }
  56889. }
  56890. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
  56891. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  56892. t1 = !t1.get$isEmpty(t1);
  56893. } else
  56894. t1 = false;
  56895. if (t1) {
  56896. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  56897. t1.get$last(t1).isGroupEnd = true;
  56898. }
  56899. $async$returnValue = null;
  56900. // goto return
  56901. $async$goto = 1;
  56902. break;
  56903. case 1:
  56904. // return
  56905. return A._asyncReturn($async$returnValue, $async$completer);
  56906. }
  56907. });
  56908. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  56909. },
  56910. visitSupportsRule$1(node) {
  56911. return this.visitSupportsRule$body$_EvaluateVisitor(node);
  56912. },
  56913. visitSupportsRule$body$_EvaluateVisitor(node) {
  56914. var $async$goto = 0,
  56915. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56916. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  56917. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56918. if ($async$errorCode === 1)
  56919. return A._asyncRethrow($async$result, $async$completer);
  56920. while (true)
  56921. switch ($async$goto) {
  56922. case 0:
  56923. // Function start
  56924. if ($async$self._async_evaluate$_declarationName != null)
  56925. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  56926. t1 = node.condition;
  56927. $async$temp1 = A;
  56928. $async$temp2 = A;
  56929. $async$goto = 4;
  56930. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  56931. case 4:
  56932. // returning from await.
  56933. $async$goto = 3;
  56934. 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);
  56935. case 3:
  56936. // returning from await.
  56937. $async$returnValue = null;
  56938. // goto return
  56939. $async$goto = 1;
  56940. break;
  56941. case 1:
  56942. // return
  56943. return A._asyncReturn($async$returnValue, $async$completer);
  56944. }
  56945. });
  56946. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  56947. },
  56948. _async_evaluate$_visitSupportsCondition$1(condition) {
  56949. return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
  56950. },
  56951. _visitSupportsCondition$body$_EvaluateVisitor(condition) {
  56952. var $async$goto = 0,
  56953. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  56954. $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, t2, t3, $async$temp1, $async$temp2;
  56955. var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56956. if ($async$errorCode === 1)
  56957. return A._asyncRethrow($async$result, $async$completer);
  56958. while (true)
  56959. switch ($async$goto) {
  56960. case 0:
  56961. // Function start
  56962. $async$goto = condition instanceof A.SupportsOperation ? 3 : 5;
  56963. break;
  56964. case 3:
  56965. // then
  56966. t1 = condition.operator;
  56967. $async$temp1 = A;
  56968. $async$goto = 6;
  56969. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  56970. case 6:
  56971. // returning from await.
  56972. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  56973. $async$temp2 = A;
  56974. $async$goto = 7;
  56975. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  56976. case 7:
  56977. // returning from await.
  56978. $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
  56979. // goto return
  56980. $async$goto = 1;
  56981. break;
  56982. // goto join
  56983. $async$goto = 4;
  56984. break;
  56985. case 5:
  56986. // else
  56987. $async$goto = condition instanceof A.SupportsNegation ? 8 : 10;
  56988. break;
  56989. case 8:
  56990. // then
  56991. $async$temp1 = A;
  56992. $async$goto = 11;
  56993. return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
  56994. case 11:
  56995. // returning from await.
  56996. $async$returnValue = "not " + $async$temp1.S($async$result);
  56997. // goto return
  56998. $async$goto = 1;
  56999. break;
  57000. // goto join
  57001. $async$goto = 9;
  57002. break;
  57003. case 10:
  57004. // else
  57005. $async$goto = condition instanceof A.SupportsInterpolation ? 12 : 14;
  57006. break;
  57007. case 12:
  57008. // then
  57009. $async$goto = 15;
  57010. return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
  57011. case 15:
  57012. // returning from await.
  57013. $async$returnValue = $async$result;
  57014. // goto return
  57015. $async$goto = 1;
  57016. break;
  57017. // goto join
  57018. $async$goto = 13;
  57019. break;
  57020. case 14:
  57021. // else
  57022. $async$goto = condition instanceof A.SupportsDeclaration ? 16 : 18;
  57023. break;
  57024. case 16:
  57025. // then
  57026. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  57027. $async$self._async_evaluate$_inSupportsDeclaration = true;
  57028. $async$temp1 = A;
  57029. $async$goto = 19;
  57030. return A._asyncAwait($async$self._evaluateToCss$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
  57031. case 19:
  57032. // returning from await.
  57033. t1 = $async$temp1.S($async$result);
  57034. t2 = condition.get$isCustomProperty() ? "" : " ";
  57035. $async$temp1 = A;
  57036. $async$goto = 20;
  57037. return A._asyncAwait($async$self._evaluateToCss$1(condition.value), $async$_async_evaluate$_visitSupportsCondition$1);
  57038. case 20:
  57039. // returning from await.
  57040. t3 = $async$temp1.S($async$result);
  57041. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  57042. $async$returnValue = "(" + t1 + ":" + t2 + t3 + ")";
  57043. // goto return
  57044. $async$goto = 1;
  57045. break;
  57046. // goto join
  57047. $async$goto = 17;
  57048. break;
  57049. case 18:
  57050. // else
  57051. $async$goto = condition instanceof A.SupportsFunction ? 21 : 23;
  57052. break;
  57053. case 21:
  57054. // then
  57055. $async$temp1 = A;
  57056. $async$goto = 24;
  57057. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
  57058. case 24:
  57059. // returning from await.
  57060. $async$temp1 = $async$temp1.S($async$result) + "(";
  57061. $async$temp2 = A;
  57062. $async$goto = 25;
  57063. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
  57064. case 25:
  57065. // returning from await.
  57066. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  57067. // goto return
  57068. $async$goto = 1;
  57069. break;
  57070. // goto join
  57071. $async$goto = 22;
  57072. break;
  57073. case 23:
  57074. // else
  57075. $async$goto = condition instanceof A.SupportsAnything ? 26 : 28;
  57076. break;
  57077. case 26:
  57078. // then
  57079. $async$temp1 = A;
  57080. $async$goto = 29;
  57081. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
  57082. case 29:
  57083. // returning from await.
  57084. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  57085. // goto return
  57086. $async$goto = 1;
  57087. break;
  57088. // goto join
  57089. $async$goto = 27;
  57090. break;
  57091. case 28:
  57092. // else
  57093. throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  57094. case 27:
  57095. // join
  57096. case 22:
  57097. // join
  57098. case 17:
  57099. // join
  57100. case 13:
  57101. // join
  57102. case 9:
  57103. // join
  57104. case 4:
  57105. // join
  57106. case 1:
  57107. // return
  57108. return A._asyncReturn($async$returnValue, $async$completer);
  57109. }
  57110. });
  57111. return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
  57112. },
  57113. _async_evaluate$_parenthesize$2(condition, operator) {
  57114. return this._parenthesize$body$_EvaluateVisitor(condition, operator);
  57115. },
  57116. _async_evaluate$_parenthesize$1(condition) {
  57117. return this._async_evaluate$_parenthesize$2(condition, null);
  57118. },
  57119. _parenthesize$body$_EvaluateVisitor(condition, operator) {
  57120. var $async$goto = 0,
  57121. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  57122. $async$returnValue, $async$self = this, t1, $async$temp1;
  57123. var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57124. if ($async$errorCode === 1)
  57125. return A._asyncRethrow($async$result, $async$completer);
  57126. while (true)
  57127. switch ($async$goto) {
  57128. case 0:
  57129. // Function start
  57130. if (!(condition instanceof A.SupportsNegation))
  57131. if (condition instanceof A.SupportsOperation)
  57132. t1 = operator == null || operator !== condition.operator;
  57133. else
  57134. t1 = false;
  57135. else
  57136. t1 = true;
  57137. $async$goto = t1 ? 3 : 5;
  57138. break;
  57139. case 3:
  57140. // then
  57141. $async$temp1 = A;
  57142. $async$goto = 6;
  57143. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  57144. case 6:
  57145. // returning from await.
  57146. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  57147. // goto return
  57148. $async$goto = 1;
  57149. break;
  57150. // goto join
  57151. $async$goto = 4;
  57152. break;
  57153. case 5:
  57154. // else
  57155. $async$goto = 7;
  57156. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  57157. case 7:
  57158. // returning from await.
  57159. $async$returnValue = $async$result;
  57160. // goto return
  57161. $async$goto = 1;
  57162. break;
  57163. case 4:
  57164. // join
  57165. case 1:
  57166. // return
  57167. return A._asyncReturn($async$returnValue, $async$completer);
  57168. }
  57169. });
  57170. return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
  57171. },
  57172. visitVariableDeclaration$1(node) {
  57173. return this.visitVariableDeclaration$body$_EvaluateVisitor(node);
  57174. },
  57175. visitVariableDeclaration$body$_EvaluateVisitor(node) {
  57176. var $async$goto = 0,
  57177. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  57178. $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
  57179. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57180. if ($async$errorCode === 1)
  57181. return A._asyncRethrow($async$result, $async$completer);
  57182. while (true)
  57183. switch ($async$goto) {
  57184. case 0:
  57185. // Function start
  57186. if (node.isGuarded) {
  57187. if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
  57188. t1 = $async$self._async_evaluate$_configuration._values;
  57189. t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
  57190. if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
  57191. $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2($async$self, node, t1));
  57192. $async$returnValue = null;
  57193. // goto return
  57194. $async$goto = 1;
  57195. break;
  57196. }
  57197. }
  57198. value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
  57199. if (value != null && !value.$eq(0, B.C__SassNull)) {
  57200. $async$returnValue = null;
  57201. // goto return
  57202. $async$goto = 1;
  57203. break;
  57204. }
  57205. }
  57206. if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
  57207. 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.";
  57208. $async$self._async_evaluate$_warn$3(t1, node.span, B.Deprecation_hzy);
  57209. }
  57210. t1 = node.expression;
  57211. $async$temp1 = node;
  57212. $async$temp2 = A;
  57213. $async$temp3 = node;
  57214. $async$goto = 3;
  57215. return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
  57216. case 3:
  57217. // returning from await.
  57218. $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)));
  57219. $async$returnValue = null;
  57220. // goto return
  57221. $async$goto = 1;
  57222. break;
  57223. case 1:
  57224. // return
  57225. return A._asyncReturn($async$returnValue, $async$completer);
  57226. }
  57227. });
  57228. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  57229. },
  57230. visitUseRule$1(node) {
  57231. return this.visitUseRule$body$_EvaluateVisitor(node);
  57232. },
  57233. visitUseRule$body$_EvaluateVisitor(node) {
  57234. var $async$goto = 0,
  57235. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  57236. $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  57237. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57238. if ($async$errorCode === 1)
  57239. return A._asyncRethrow($async$result, $async$completer);
  57240. while (true)
  57241. switch ($async$goto) {
  57242. case 0:
  57243. // Function start
  57244. t1 = node.configuration;
  57245. t2 = t1.length;
  57246. $async$goto = t2 !== 0 ? 3 : 5;
  57247. break;
  57248. case 3:
  57249. // then
  57250. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  57251. _i = 0;
  57252. case 6:
  57253. // for condition
  57254. if (!(_i < t2)) {
  57255. // goto after for
  57256. $async$goto = 8;
  57257. break;
  57258. }
  57259. variable = t1[_i];
  57260. t3 = variable.expression;
  57261. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t3);
  57262. $async$temp1 = values;
  57263. $async$temp2 = variable.name;
  57264. $async$temp3 = A;
  57265. $async$goto = 9;
  57266. return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
  57267. case 9:
  57268. // returning from await.
  57269. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  57270. case 7:
  57271. // for update
  57272. ++_i;
  57273. // goto for condition
  57274. $async$goto = 6;
  57275. break;
  57276. case 8:
  57277. // after for
  57278. configuration = new A.ExplicitConfiguration(node, values, null);
  57279. // goto join
  57280. $async$goto = 4;
  57281. break;
  57282. case 5:
  57283. // else
  57284. configuration = B.Configuration_Map_empty_null;
  57285. case 4:
  57286. // join
  57287. $async$goto = 10;
  57288. 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);
  57289. case 10:
  57290. // returning from await.
  57291. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
  57292. $async$returnValue = null;
  57293. // goto return
  57294. $async$goto = 1;
  57295. break;
  57296. case 1:
  57297. // return
  57298. return A._asyncReturn($async$returnValue, $async$completer);
  57299. }
  57300. });
  57301. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  57302. },
  57303. visitWarnRule$1(node) {
  57304. return this.visitWarnRule$body$_EvaluateVisitor(node);
  57305. },
  57306. visitWarnRule$body$_EvaluateVisitor(node) {
  57307. var $async$goto = 0,
  57308. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  57309. $async$returnValue, $async$self = this, value, t1;
  57310. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57311. if ($async$errorCode === 1)
  57312. return A._asyncRethrow($async$result, $async$completer);
  57313. while (true)
  57314. switch ($async$goto) {
  57315. case 0:
  57316. // Function start
  57317. $async$goto = 3;
  57318. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
  57319. case 3:
  57320. // returning from await.
  57321. value = $async$result;
  57322. t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
  57323. $async$self._async_evaluate$_logger.warn$2$trace(0, t1, $async$self._async_evaluate$_stackTrace$1(node.span));
  57324. $async$returnValue = null;
  57325. // goto return
  57326. $async$goto = 1;
  57327. break;
  57328. case 1:
  57329. // return
  57330. return A._asyncReturn($async$returnValue, $async$completer);
  57331. }
  57332. });
  57333. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  57334. },
  57335. visitWhileRule$1(node) {
  57336. return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
  57337. },
  57338. visitBinaryOperationExpression$1(node) {
  57339. return this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(this, node), type$.Value);
  57340. },
  57341. visitValueExpression$1(node) {
  57342. return this.visitValueExpression$body$_EvaluateVisitor(node);
  57343. },
  57344. visitValueExpression$body$_EvaluateVisitor(node) {
  57345. var $async$goto = 0,
  57346. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  57347. $async$returnValue;
  57348. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57349. if ($async$errorCode === 1)
  57350. return A._asyncRethrow($async$result, $async$completer);
  57351. while (true)
  57352. switch ($async$goto) {
  57353. case 0:
  57354. // Function start
  57355. $async$returnValue = node.value;
  57356. // goto return
  57357. $async$goto = 1;
  57358. break;
  57359. case 1:
  57360. // return
  57361. return A._asyncReturn($async$returnValue, $async$completer);
  57362. }
  57363. });
  57364. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  57365. },
  57366. visitVariableExpression$1(node) {
  57367. return this.visitVariableExpression$body$_EvaluateVisitor(node);
  57368. },
  57369. visitVariableExpression$body$_EvaluateVisitor(node) {
  57370. var $async$goto = 0,
  57371. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  57372. $async$returnValue, $async$self = this, result;
  57373. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57374. if ($async$errorCode === 1)
  57375. return A._asyncRethrow($async$result, $async$completer);
  57376. while (true)
  57377. switch ($async$goto) {
  57378. case 0:
  57379. // Function start
  57380. result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
  57381. if (result != null) {
  57382. $async$returnValue = result;
  57383. // goto return
  57384. $async$goto = 1;
  57385. break;
  57386. }
  57387. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
  57388. case 1:
  57389. // return
  57390. return A._asyncReturn($async$returnValue, $async$completer);
  57391. }
  57392. });
  57393. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  57394. },
  57395. visitUnaryOperationExpression$1(node) {
  57396. return this.visitUnaryOperationExpression$body$_EvaluateVisitor(node);
  57397. },
  57398. visitUnaryOperationExpression$body$_EvaluateVisitor(node) {
  57399. var $async$goto = 0,
  57400. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  57401. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  57402. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57403. if ($async$errorCode === 1)
  57404. return A._asyncRethrow($async$result, $async$completer);
  57405. while (true)
  57406. switch ($async$goto) {
  57407. case 0:
  57408. // Function start
  57409. $async$temp1 = node;
  57410. $async$temp2 = A;
  57411. $async$temp3 = node;
  57412. $async$goto = 3;
  57413. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  57414. case 3:
  57415. // returning from await.
  57416. $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
  57417. // goto return
  57418. $async$goto = 1;
  57419. break;
  57420. case 1:
  57421. // return
  57422. return A._asyncReturn($async$returnValue, $async$completer);
  57423. }
  57424. });
  57425. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  57426. },
  57427. visitBooleanExpression$1(node) {
  57428. return this.visitBooleanExpression$body$_EvaluateVisitor(node);
  57429. },
  57430. visitBooleanExpression$body$_EvaluateVisitor(node) {
  57431. var $async$goto = 0,
  57432. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
  57433. $async$returnValue;
  57434. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57435. if ($async$errorCode === 1)
  57436. return A._asyncRethrow($async$result, $async$completer);
  57437. while (true)
  57438. switch ($async$goto) {
  57439. case 0:
  57440. // Function start
  57441. $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
  57442. // goto return
  57443. $async$goto = 1;
  57444. break;
  57445. case 1:
  57446. // return
  57447. return A._asyncReturn($async$returnValue, $async$completer);
  57448. }
  57449. });
  57450. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  57451. },
  57452. visitIfExpression$1(node) {
  57453. return this.visitIfExpression$body$_EvaluateVisitor(node);
  57454. },
  57455. visitIfExpression$body$_EvaluateVisitor(node) {
  57456. var $async$goto = 0,
  57457. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  57458. $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
  57459. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57460. if ($async$errorCode === 1)
  57461. return A._asyncRethrow($async$result, $async$completer);
  57462. while (true)
  57463. switch ($async$goto) {
  57464. case 0:
  57465. // Function start
  57466. $async$goto = 3;
  57467. return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  57468. case 3:
  57469. // returning from await.
  57470. pair = $async$result;
  57471. positional = pair.item1;
  57472. named = pair.item2;
  57473. t1 = J.getInterceptor$asx(positional);
  57474. $async$self._async_evaluate$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
  57475. if (t1.get$length(positional) > 0)
  57476. condition = t1.$index(positional, 0);
  57477. else {
  57478. t2 = named.$index(0, "condition");
  57479. t2.toString;
  57480. condition = t2;
  57481. }
  57482. if (t1.get$length(positional) > 1)
  57483. ifTrue = t1.$index(positional, 1);
  57484. else {
  57485. t2 = named.$index(0, "if-true");
  57486. t2.toString;
  57487. ifTrue = t2;
  57488. }
  57489. if (t1.get$length(positional) > 2)
  57490. ifFalse = t1.$index(positional, 2);
  57491. else {
  57492. t1 = named.$index(0, "if-false");
  57493. t1.toString;
  57494. ifFalse = t1;
  57495. }
  57496. $async$goto = 4;
  57497. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  57498. case 4:
  57499. // returning from await.
  57500. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  57501. $async$goto = 5;
  57502. return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
  57503. case 5:
  57504. // returning from await.
  57505. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
  57506. // goto return
  57507. $async$goto = 1;
  57508. break;
  57509. case 1:
  57510. // return
  57511. return A._asyncReturn($async$returnValue, $async$completer);
  57512. }
  57513. });
  57514. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  57515. },
  57516. visitNullExpression$1(node) {
  57517. return this.visitNullExpression$body$_EvaluateVisitor(node);
  57518. },
  57519. visitNullExpression$body$_EvaluateVisitor(node) {
  57520. var $async$goto = 0,
  57521. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  57522. $async$returnValue;
  57523. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57524. if ($async$errorCode === 1)
  57525. return A._asyncRethrow($async$result, $async$completer);
  57526. while (true)
  57527. switch ($async$goto) {
  57528. case 0:
  57529. // Function start
  57530. $async$returnValue = B.C__SassNull;
  57531. // goto return
  57532. $async$goto = 1;
  57533. break;
  57534. case 1:
  57535. // return
  57536. return A._asyncReturn($async$returnValue, $async$completer);
  57537. }
  57538. });
  57539. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  57540. },
  57541. visitNumberExpression$1(node) {
  57542. return this.visitNumberExpression$body$_EvaluateVisitor(node);
  57543. },
  57544. visitNumberExpression$body$_EvaluateVisitor(node) {
  57545. var $async$goto = 0,
  57546. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  57547. $async$returnValue;
  57548. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57549. if ($async$errorCode === 1)
  57550. return A._asyncRethrow($async$result, $async$completer);
  57551. while (true)
  57552. switch ($async$goto) {
  57553. case 0:
  57554. // Function start
  57555. $async$returnValue = A.SassNumber_SassNumber(node.value, node.unit);
  57556. // goto return
  57557. $async$goto = 1;
  57558. break;
  57559. case 1:
  57560. // return
  57561. return A._asyncReturn($async$returnValue, $async$completer);
  57562. }
  57563. });
  57564. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  57565. },
  57566. visitParenthesizedExpression$1(node) {
  57567. return node.expression.accept$1(this);
  57568. },
  57569. visitCalculationExpression$1(node) {
  57570. return this.visitCalculationExpression$body$_EvaluateVisitor(node);
  57571. },
  57572. visitCalculationExpression$body$_EvaluateVisitor(node) {
  57573. var $async$goto = 0,
  57574. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  57575. $async$returnValue, $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
  57576. var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57577. if ($async$errorCode === 1)
  57578. return A._asyncRethrow($async$result, $async$completer);
  57579. while (true)
  57580. $async$outer:
  57581. switch ($async$goto) {
  57582. case 0:
  57583. // Function start
  57584. t1 = A._setArrayType([], type$.JSArray_Object);
  57585. t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
  57586. case 3:
  57587. // for condition
  57588. if (!(_i < t3)) {
  57589. // goto after for
  57590. $async$goto = 5;
  57591. break;
  57592. }
  57593. argument = t2[_i];
  57594. $async$temp1 = t1;
  57595. $async$goto = 6;
  57596. return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
  57597. case 6:
  57598. // returning from await.
  57599. $async$temp1.push($async$result);
  57600. case 4:
  57601. // for update
  57602. ++_i;
  57603. // goto for condition
  57604. $async$goto = 3;
  57605. break;
  57606. case 5:
  57607. // after for
  57608. $arguments = t1;
  57609. if ($async$self._async_evaluate$_inSupportsDeclaration) {
  57610. $async$returnValue = new A.SassCalculation(t4, A.List_List$unmodifiable($arguments, type$.Object));
  57611. // goto return
  57612. $async$goto = 1;
  57613. break;
  57614. }
  57615. try {
  57616. switch (t4) {
  57617. case "calc":
  57618. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  57619. $async$returnValue = t1;
  57620. // goto return
  57621. $async$goto = 1;
  57622. break $async$outer;
  57623. case "min":
  57624. t1 = A.SassCalculation_min($arguments);
  57625. $async$returnValue = t1;
  57626. // goto return
  57627. $async$goto = 1;
  57628. break $async$outer;
  57629. case "max":
  57630. t1 = A.SassCalculation_max($arguments);
  57631. $async$returnValue = t1;
  57632. // goto return
  57633. $async$goto = 1;
  57634. break $async$outer;
  57635. case "clamp":
  57636. t1 = J.$index$asx($arguments, 0);
  57637. t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
  57638. t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
  57639. $async$returnValue = t1;
  57640. // goto return
  57641. $async$goto = 1;
  57642. break $async$outer;
  57643. default:
  57644. t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
  57645. throw A.wrapException(t1);
  57646. }
  57647. } catch (exception) {
  57648. t1 = A.unwrapException(exception);
  57649. if (t1 instanceof A.SassScriptException) {
  57650. error = t1;
  57651. stackTrace = A.getTraceFromException(exception);
  57652. $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
  57653. A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), stackTrace);
  57654. } else
  57655. throw exception;
  57656. }
  57657. case 1:
  57658. // return
  57659. return A._asyncReturn($async$returnValue, $async$completer);
  57660. }
  57661. });
  57662. return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
  57663. },
  57664. _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  57665. var i, t1, arg, number1, j, number2;
  57666. for (i = 0; t1 = args.length, i < t1; ++i) {
  57667. arg = args[i];
  57668. if (!(arg instanceof A.SassNumber))
  57669. continue;
  57670. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  57671. 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])));
  57672. }
  57673. for (i = 0; i < t1 - 1; ++i) {
  57674. number1 = args[i];
  57675. if (!(number1 instanceof A.SassNumber))
  57676. continue;
  57677. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  57678. number2 = args[j];
  57679. if (!(number2 instanceof A.SassNumber))
  57680. continue;
  57681. if (number1.hasPossiblyCompatibleUnits$1(number2))
  57682. continue;
  57683. throw A.wrapException(A.MultiSpanSassRuntimeException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", J.get$span$z(nodesWithSpans[i]), number1.toString$0(0), A.LinkedHashMap_LinkedHashMap$_literal([J.get$span$z(nodesWithSpans[j]), number2.toString$0(0)], type$.FileSpan, type$.String), this._async_evaluate$_stackTrace$1(J.get$span$z(nodesWithSpans[i])), null));
  57684. }
  57685. }
  57686. },
  57687. _async_evaluate$_visitCalculationValue$2$inMinMax(node, inMinMax) {
  57688. return this._visitCalculationValue$body$_EvaluateVisitor(node, inMinMax);
  57689. },
  57690. _visitCalculationValue$body$_EvaluateVisitor(node, inMinMax) {
  57691. var $async$goto = 0,
  57692. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  57693. $async$returnValue, $async$self = this, inner, result, t1, text, $async$temp1;
  57694. var $async$_async_evaluate$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57695. if ($async$errorCode === 1)
  57696. return A._asyncRethrow($async$result, $async$completer);
  57697. while (true)
  57698. $async$outer:
  57699. switch ($async$goto) {
  57700. case 0:
  57701. // Function start
  57702. $async$goto = node instanceof A.ParenthesizedExpression ? 3 : 5;
  57703. break;
  57704. case 3:
  57705. // then
  57706. inner = node.expression;
  57707. $async$goto = 6;
  57708. return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
  57709. case 6:
  57710. // returning from await.
  57711. result = $async$result;
  57712. if (inner instanceof A.FunctionExpression)
  57713. t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
  57714. else
  57715. t1 = false;
  57716. $async$returnValue = t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
  57717. // goto return
  57718. $async$goto = 1;
  57719. break;
  57720. // goto join
  57721. $async$goto = 4;
  57722. break;
  57723. case 5:
  57724. // else
  57725. $async$goto = node instanceof A.StringExpression ? 7 : 9;
  57726. break;
  57727. case 7:
  57728. // then
  57729. t1 = node.text;
  57730. text = t1.get$asPlain();
  57731. $async$goto = text == null ? 10 : 11;
  57732. break;
  57733. case 10:
  57734. // then
  57735. $async$temp1 = A;
  57736. $async$goto = 12;
  57737. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
  57738. case 12:
  57739. // returning from await.
  57740. $async$returnValue = new $async$temp1.CalculationInterpolation($async$result);
  57741. // goto return
  57742. $async$goto = 1;
  57743. break;
  57744. case 11:
  57745. // join
  57746. switch (text.toLowerCase()) {
  57747. case "pi":
  57748. $async$returnValue = A.SassNumber_SassNumber(3.141592653589793, null);
  57749. // goto return
  57750. $async$goto = 1;
  57751. break $async$outer;
  57752. case "e":
  57753. $async$returnValue = A.SassNumber_SassNumber(2.718281828459045, null);
  57754. // goto return
  57755. $async$goto = 1;
  57756. break $async$outer;
  57757. case "infinity":
  57758. $async$returnValue = A.SassNumber_SassNumber(1 / 0, null);
  57759. // goto return
  57760. $async$goto = 1;
  57761. break $async$outer;
  57762. case "-infinity":
  57763. $async$returnValue = A.SassNumber_SassNumber(-1 / 0, null);
  57764. // goto return
  57765. $async$goto = 1;
  57766. break $async$outer;
  57767. case "nan":
  57768. $async$returnValue = A.SassNumber_SassNumber(0 / 0, null);
  57769. // goto return
  57770. $async$goto = 1;
  57771. break $async$outer;
  57772. default:
  57773. $async$returnValue = new A.SassString(text, false);
  57774. // goto return
  57775. $async$goto = 1;
  57776. break $async$outer;
  57777. }
  57778. // goto join
  57779. $async$goto = 8;
  57780. break;
  57781. case 9:
  57782. // else
  57783. $async$goto = node instanceof A.BinaryOperationExpression ? 13 : 15;
  57784. break;
  57785. case 13:
  57786. // then
  57787. $async$goto = 16;
  57788. 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);
  57789. case 16:
  57790. // returning from await.
  57791. $async$returnValue = $async$result;
  57792. // goto return
  57793. $async$goto = 1;
  57794. break;
  57795. // goto join
  57796. $async$goto = 14;
  57797. break;
  57798. case 15:
  57799. // else
  57800. $async$goto = 17;
  57801. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
  57802. case 17:
  57803. // returning from await.
  57804. result = $async$result;
  57805. if (result instanceof A.SassNumber || result instanceof A.SassCalculation) {
  57806. $async$returnValue = result;
  57807. // goto return
  57808. $async$goto = 1;
  57809. break;
  57810. }
  57811. if (result instanceof A.SassString && !result._hasQuotes) {
  57812. $async$returnValue = result;
  57813. // goto return
  57814. $async$goto = 1;
  57815. break;
  57816. }
  57817. 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)));
  57818. case 14:
  57819. // join
  57820. case 8:
  57821. // join
  57822. case 4:
  57823. // join
  57824. case 1:
  57825. // return
  57826. return A._asyncReturn($async$returnValue, $async$completer);
  57827. }
  57828. });
  57829. return A._asyncStartSync($async$_async_evaluate$_visitCalculationValue$2$inMinMax, $async$completer);
  57830. },
  57831. _async_evaluate$_binaryOperatorToCalculationOperator$1(operator) {
  57832. switch (operator) {
  57833. case B.BinaryOperator_anB:
  57834. return B.CalculationOperator_IyK;
  57835. case B.BinaryOperator_olz:
  57836. return B.CalculationOperator_2bx;
  57837. case B.BinaryOperator_qN2:
  57838. return B.CalculationOperator_jFr;
  57839. case B.BinaryOperator_t8B:
  57840. return B.CalculationOperator_OvN;
  57841. default:
  57842. throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
  57843. }
  57844. },
  57845. visitColorExpression$1(node) {
  57846. return this.visitColorExpression$body$_EvaluateVisitor(node);
  57847. },
  57848. visitColorExpression$body$_EvaluateVisitor(node) {
  57849. var $async$goto = 0,
  57850. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
  57851. $async$returnValue;
  57852. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57853. if ($async$errorCode === 1)
  57854. return A._asyncRethrow($async$result, $async$completer);
  57855. while (true)
  57856. switch ($async$goto) {
  57857. case 0:
  57858. // Function start
  57859. $async$returnValue = node.value;
  57860. // goto return
  57861. $async$goto = 1;
  57862. break;
  57863. case 1:
  57864. // return
  57865. return A._asyncReturn($async$returnValue, $async$completer);
  57866. }
  57867. });
  57868. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  57869. },
  57870. visitListExpression$1(node) {
  57871. return this.visitListExpression$body$_EvaluateVisitor(node);
  57872. },
  57873. visitListExpression$body$_EvaluateVisitor(node) {
  57874. var $async$goto = 0,
  57875. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
  57876. $async$returnValue, $async$self = this, $async$temp1;
  57877. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57878. if ($async$errorCode === 1)
  57879. return A._asyncRethrow($async$result, $async$completer);
  57880. while (true)
  57881. switch ($async$goto) {
  57882. case 0:
  57883. // Function start
  57884. $async$temp1 = A;
  57885. $async$goto = 3;
  57886. return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
  57887. case 3:
  57888. // returning from await.
  57889. $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
  57890. // goto return
  57891. $async$goto = 1;
  57892. break;
  57893. case 1:
  57894. // return
  57895. return A._asyncReturn($async$returnValue, $async$completer);
  57896. }
  57897. });
  57898. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  57899. },
  57900. visitMapExpression$1(node) {
  57901. return this.visitMapExpression$body$_EvaluateVisitor(node);
  57902. },
  57903. visitMapExpression$body$_EvaluateVisitor(node) {
  57904. var $async$goto = 0,
  57905. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
  57906. $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  57907. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57908. if ($async$errorCode === 1)
  57909. return A._asyncRethrow($async$result, $async$completer);
  57910. while (true)
  57911. switch ($async$goto) {
  57912. case 0:
  57913. // Function start
  57914. t1 = type$.Value;
  57915. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  57916. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  57917. t2 = node.pairs, t3 = t2.length, _i = 0;
  57918. case 3:
  57919. // for condition
  57920. if (!(_i < t3)) {
  57921. // goto after for
  57922. $async$goto = 5;
  57923. break;
  57924. }
  57925. pair = t2[_i];
  57926. t4 = pair.item1;
  57927. $async$goto = 6;
  57928. return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
  57929. case 6:
  57930. // returning from await.
  57931. keyValue = $async$result;
  57932. $async$goto = 7;
  57933. return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
  57934. case 7:
  57935. // returning from await.
  57936. valueValue = $async$result;
  57937. if (map.$index(0, keyValue) != null) {
  57938. t1 = keyNodes.$index(0, keyValue);
  57939. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  57940. t1 = J.getInterceptor$z(t4);
  57941. t2 = t1.get$span(t4);
  57942. t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  57943. if (oldValueSpan != null)
  57944. t3.$indexSet(0, oldValueSpan, "first key");
  57945. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate$_stackTrace$1(t1.get$span(t4)), null));
  57946. }
  57947. map.$indexSet(0, keyValue, valueValue);
  57948. keyNodes.$indexSet(0, keyValue, t4);
  57949. case 4:
  57950. // for update
  57951. ++_i;
  57952. // goto for condition
  57953. $async$goto = 3;
  57954. break;
  57955. case 5:
  57956. // after for
  57957. $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  57958. // goto return
  57959. $async$goto = 1;
  57960. break;
  57961. case 1:
  57962. // return
  57963. return A._asyncReturn($async$returnValue, $async$completer);
  57964. }
  57965. });
  57966. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  57967. },
  57968. visitFunctionExpression$1(node) {
  57969. return this.visitFunctionExpression$body$_EvaluateVisitor(node);
  57970. },
  57971. visitFunctionExpression$body$_EvaluateVisitor(node) {
  57972. var $async$goto = 0,
  57973. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  57974. $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
  57975. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57976. if ($async$errorCode === 1)
  57977. return A._asyncRethrow($async$result, $async$completer);
  57978. while (true)
  57979. switch ($async$goto) {
  57980. case 0:
  57981. // Function start
  57982. t1 = {};
  57983. $function = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1($async$self, node));
  57984. t1.$function = $function;
  57985. if ($function == null) {
  57986. if (node.namespace != null)
  57987. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
  57988. t1.$function = new A.PlainCssCallable(node.originalName);
  57989. }
  57990. oldInFunction = $async$self._async_evaluate$_inFunction;
  57991. $async$self._async_evaluate$_inFunction = true;
  57992. $async$goto = 3;
  57993. 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);
  57994. case 3:
  57995. // returning from await.
  57996. result = $async$result;
  57997. $async$self._async_evaluate$_inFunction = oldInFunction;
  57998. $async$returnValue = result;
  57999. // goto return
  58000. $async$goto = 1;
  58001. break;
  58002. case 1:
  58003. // return
  58004. return A._asyncReturn($async$returnValue, $async$completer);
  58005. }
  58006. });
  58007. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  58008. },
  58009. visitInterpolatedFunctionExpression$1(node) {
  58010. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node);
  58011. },
  58012. visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node) {
  58013. var $async$goto = 0,
  58014. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  58015. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  58016. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58017. if ($async$errorCode === 1)
  58018. return A._asyncRethrow($async$result, $async$completer);
  58019. while (true)
  58020. switch ($async$goto) {
  58021. case 0:
  58022. // Function start
  58023. $async$goto = 3;
  58024. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  58025. case 3:
  58026. // returning from await.
  58027. t1 = $async$result;
  58028. oldInFunction = $async$self._async_evaluate$_inFunction;
  58029. $async$self._async_evaluate$_inFunction = true;
  58030. $async$goto = 4;
  58031. 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);
  58032. case 4:
  58033. // returning from await.
  58034. result = $async$result;
  58035. $async$self._async_evaluate$_inFunction = oldInFunction;
  58036. $async$returnValue = result;
  58037. // goto return
  58038. $async$goto = 1;
  58039. break;
  58040. case 1:
  58041. // return
  58042. return A._asyncReturn($async$returnValue, $async$completer);
  58043. }
  58044. });
  58045. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  58046. },
  58047. _async_evaluate$_getFunction$2$namespace($name, namespace) {
  58048. var local = this._async_evaluate$_environment.getFunction$2$namespace($name, namespace);
  58049. if (local != null || namespace != null)
  58050. return local;
  58051. return this._async_evaluate$_builtInFunctions.$index(0, $name);
  58052. },
  58053. _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  58054. return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
  58055. },
  58056. _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  58057. var $async$goto = 0,
  58058. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  58059. $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
  58060. var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58061. if ($async$errorCode === 1)
  58062. return A._asyncRethrow($async$result, $async$completer);
  58063. while (true)
  58064. switch ($async$goto) {
  58065. case 0:
  58066. // Function start
  58067. $async$goto = 3;
  58068. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
  58069. case 3:
  58070. // returning from await.
  58071. evaluated = $async$result;
  58072. $name = callable.declaration.name;
  58073. if ($name !== "@content")
  58074. $name += "()";
  58075. oldCallable = $async$self._async_evaluate$_currentCallable;
  58076. $async$self._async_evaluate$_currentCallable = callable;
  58077. $async$goto = 4;
  58078. 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);
  58079. case 4:
  58080. // returning from await.
  58081. result = $async$result;
  58082. $async$self._async_evaluate$_currentCallable = oldCallable;
  58083. $async$returnValue = result;
  58084. // goto return
  58085. $async$goto = 1;
  58086. break;
  58087. case 1:
  58088. // return
  58089. return A._asyncReturn($async$returnValue, $async$completer);
  58090. }
  58091. });
  58092. return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
  58093. },
  58094. _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  58095. return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  58096. },
  58097. _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  58098. var $async$goto = 0,
  58099. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  58100. $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;
  58101. var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58102. if ($async$errorCode === 1) {
  58103. $async$currentError = $async$result;
  58104. $async$goto = $async$handler;
  58105. }
  58106. while (true)
  58107. switch ($async$goto) {
  58108. case 0:
  58109. // Function start
  58110. $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
  58111. break;
  58112. case 3:
  58113. // then
  58114. $async$goto = 6;
  58115. return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
  58116. case 6:
  58117. // returning from await.
  58118. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
  58119. // goto return
  58120. $async$goto = 1;
  58121. break;
  58122. // goto join
  58123. $async$goto = 4;
  58124. break;
  58125. case 5:
  58126. // else
  58127. $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
  58128. break;
  58129. case 7:
  58130. // then
  58131. $async$goto = 10;
  58132. 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);
  58133. case 10:
  58134. // returning from await.
  58135. $async$returnValue = $async$result;
  58136. // goto return
  58137. $async$goto = 1;
  58138. break;
  58139. // goto join
  58140. $async$goto = 8;
  58141. break;
  58142. case 9:
  58143. // else
  58144. $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
  58145. break;
  58146. case 11:
  58147. // then
  58148. t1 = $arguments.named;
  58149. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  58150. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  58151. buffer = new A.StringBuffer(callable.name + "(");
  58152. $async$handler = 15;
  58153. first = true;
  58154. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  58155. case 18:
  58156. // for condition
  58157. if (!(_i < t2)) {
  58158. // goto after for
  58159. $async$goto = 20;
  58160. break;
  58161. }
  58162. argument = t1[_i];
  58163. if (first)
  58164. first = false;
  58165. else
  58166. buffer._contents += ", ";
  58167. $async$temp1 = buffer;
  58168. $async$temp2 = A;
  58169. $async$goto = 21;
  58170. return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
  58171. case 21:
  58172. // returning from await.
  58173. $async$temp1._contents += $async$temp2.S($async$result);
  58174. case 19:
  58175. // for update
  58176. ++_i;
  58177. // goto for condition
  58178. $async$goto = 18;
  58179. break;
  58180. case 20:
  58181. // after for
  58182. restArg = $arguments.rest;
  58183. $async$goto = restArg != null ? 22 : 23;
  58184. break;
  58185. case 22:
  58186. // then
  58187. $async$goto = 24;
  58188. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
  58189. case 24:
  58190. // returning from await.
  58191. rest = $async$result;
  58192. if (!first)
  58193. buffer._contents += ", ";
  58194. buffer._contents += $async$self._async_evaluate$_serialize$2(rest, restArg);
  58195. case 23:
  58196. // join
  58197. $async$handler = 2;
  58198. // goto after finally
  58199. $async$goto = 17;
  58200. break;
  58201. case 15:
  58202. // catch
  58203. $async$handler = 14;
  58204. $async$exception = $async$currentError;
  58205. t1 = A.unwrapException($async$exception);
  58206. if (type$.SassRuntimeException._is(t1)) {
  58207. error = t1;
  58208. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  58209. throw $async$exception;
  58210. throw A.wrapException(A.MultiSpanSassRuntimeException$(error._span_exception$_message, J.get$span$z(error), "value", A.LinkedHashMap_LinkedHashMap$_literal([nodeWithSpan.get$span(nodeWithSpan), "unknown function treated as plain CSS"], type$.FileSpan, type$.String), J.get$trace$z(error), null));
  58211. } else
  58212. throw $async$exception;
  58213. // goto after finally
  58214. $async$goto = 17;
  58215. break;
  58216. case 14:
  58217. // uncaught
  58218. // goto rethrow
  58219. $async$goto = 2;
  58220. break;
  58221. case 17:
  58222. // after finally
  58223. buffer._contents += A.Primitives_stringFromCharCode(41);
  58224. t1 = buffer._contents;
  58225. $async$returnValue = new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  58226. // goto return
  58227. $async$goto = 1;
  58228. break;
  58229. // goto join
  58230. $async$goto = 12;
  58231. break;
  58232. case 13:
  58233. // else
  58234. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  58235. case 12:
  58236. // join
  58237. case 8:
  58238. // join
  58239. case 4:
  58240. // join
  58241. case 1:
  58242. // return
  58243. return A._asyncReturn($async$returnValue, $async$completer);
  58244. case 2:
  58245. // rethrow
  58246. return A._asyncRethrow($async$currentError, $async$completer);
  58247. }
  58248. });
  58249. return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
  58250. },
  58251. _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  58252. return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  58253. },
  58254. _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  58255. var $async$goto = 0,
  58256. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  58257. $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;
  58258. var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58259. if ($async$errorCode === 1) {
  58260. $async$currentError = $async$result;
  58261. $async$goto = $async$handler;
  58262. }
  58263. while (true)
  58264. switch ($async$goto) {
  58265. case 0:
  58266. // Function start
  58267. $async$goto = 3;
  58268. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
  58269. case 3:
  58270. // returning from await.
  58271. evaluated = $async$result;
  58272. oldCallableNode = $async$self._async_evaluate$_callableNode;
  58273. $async$self._async_evaluate$_callableNode = nodeWithSpan;
  58274. namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
  58275. tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
  58276. overload = tuple.item1;
  58277. callback = tuple.item2;
  58278. $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure2(overload, evaluated, namedSet));
  58279. declaredArguments = overload.$arguments;
  58280. i = evaluated.positional.length, t1 = declaredArguments.length;
  58281. case 4:
  58282. // for condition
  58283. if (!(i < t1)) {
  58284. // goto after for
  58285. $async$goto = 6;
  58286. break;
  58287. }
  58288. argument = declaredArguments[i];
  58289. t2 = evaluated.positional;
  58290. t3 = evaluated.named.remove$1(0, argument.name);
  58291. $async$goto = t3 == null ? 7 : 8;
  58292. break;
  58293. case 7:
  58294. // then
  58295. t3 = argument.defaultValue;
  58296. $async$goto = 9;
  58297. return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate$_runBuiltInCallable$3);
  58298. case 9:
  58299. // returning from await.
  58300. t3 = $async$self._async_evaluate$_withoutSlash$2($async$result, t3);
  58301. case 8:
  58302. // join
  58303. t2.push(t3);
  58304. case 5:
  58305. // for update
  58306. ++i;
  58307. // goto for condition
  58308. $async$goto = 4;
  58309. break;
  58310. case 6:
  58311. // after for
  58312. if (overload.restArgument != null) {
  58313. if (evaluated.positional.length > t1) {
  58314. rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
  58315. B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
  58316. } else
  58317. rest = B.List_empty8;
  58318. t1 = evaluated.named;
  58319. argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : evaluated.separator);
  58320. evaluated.positional.push(argumentList);
  58321. } else
  58322. argumentList = null;
  58323. result = null;
  58324. $async$handler = 11;
  58325. $async$goto = 14;
  58326. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(callback, evaluated), type$.Value), $async$_async_evaluate$_runBuiltInCallable$3);
  58327. case 14:
  58328. // returning from await.
  58329. result = $async$result;
  58330. $async$handler = 2;
  58331. // goto after finally
  58332. $async$goto = 13;
  58333. break;
  58334. case 11:
  58335. // catch
  58336. $async$handler = 10;
  58337. $async$exception = $async$currentError;
  58338. t1 = A.unwrapException($async$exception);
  58339. if (t1 instanceof A.SassException)
  58340. throw $async$exception;
  58341. else {
  58342. error = t1;
  58343. stackTrace = A.getTraceFromException($async$exception);
  58344. message = null;
  58345. try {
  58346. message = A._asString(J.get$message$x(error));
  58347. } catch (exception) {
  58348. message0 = J.toString$0$(error);
  58349. message = message0;
  58350. }
  58351. A.throwWithTrace($async$self._async_evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace);
  58352. }
  58353. // goto after finally
  58354. $async$goto = 13;
  58355. break;
  58356. case 10:
  58357. // uncaught
  58358. // goto rethrow
  58359. $async$goto = 2;
  58360. break;
  58361. case 13:
  58362. // after finally
  58363. $async$self._async_evaluate$_callableNode = oldCallableNode;
  58364. if (argumentList == null) {
  58365. $async$returnValue = result;
  58366. // goto return
  58367. $async$goto = 1;
  58368. break;
  58369. }
  58370. if (evaluated.named.__js_helper$_length === 0) {
  58371. $async$returnValue = result;
  58372. // goto return
  58373. $async$goto = 1;
  58374. break;
  58375. }
  58376. if (argumentList._wereKeywordsAccessed) {
  58377. $async$returnValue = result;
  58378. // goto return
  58379. $async$goto = 1;
  58380. break;
  58381. }
  58382. t1 = evaluated.named;
  58383. t1 = t1.get$keys(t1);
  58384. t1 = A.pluralize("argument", t1.get$length(t1), null);
  58385. t2 = evaluated.named;
  58386. 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)), null));
  58387. case 1:
  58388. // return
  58389. return A._asyncReturn($async$returnValue, $async$completer);
  58390. case 2:
  58391. // rethrow
  58392. return A._asyncRethrow($async$currentError, $async$completer);
  58393. }
  58394. });
  58395. return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
  58396. },
  58397. _async_evaluate$_evaluateArguments$1($arguments) {
  58398. return this._evaluateArguments$body$_EvaluateVisitor($arguments);
  58399. },
  58400. _evaluateArguments$body$_EvaluateVisitor($arguments) {
  58401. var $async$goto = 0,
  58402. $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults),
  58403. $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;
  58404. var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58405. if ($async$errorCode === 1)
  58406. return A._asyncRethrow($async$result, $async$completer);
  58407. while (true)
  58408. switch ($async$goto) {
  58409. case 0:
  58410. // Function start
  58411. positional = A._setArrayType([], type$.JSArray_Value);
  58412. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  58413. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  58414. case 3:
  58415. // for condition
  58416. if (!(_i < t2)) {
  58417. // goto after for
  58418. $async$goto = 5;
  58419. break;
  58420. }
  58421. expression = t1[_i];
  58422. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
  58423. $async$temp1 = positional;
  58424. $async$goto = 6;
  58425. return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  58426. case 6:
  58427. // returning from await.
  58428. $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  58429. positionalNodes.push(nodeForSpan);
  58430. case 4:
  58431. // for update
  58432. ++_i;
  58433. // goto for condition
  58434. $async$goto = 3;
  58435. break;
  58436. case 5:
  58437. // after for
  58438. t1 = type$.String;
  58439. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  58440. t2 = type$.AstNode;
  58441. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  58442. t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
  58443. case 7:
  58444. // for condition
  58445. if (!t3.moveNext$0()) {
  58446. // goto after for
  58447. $async$goto = 8;
  58448. break;
  58449. }
  58450. t4 = t3.get$current(t3);
  58451. t5 = t4.value;
  58452. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(t5);
  58453. t4 = t4.key;
  58454. $async$temp1 = named;
  58455. $async$temp2 = t4;
  58456. $async$goto = 9;
  58457. return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  58458. case 9:
  58459. // returning from await.
  58460. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  58461. namedNodes.$indexSet(0, t4, nodeForSpan);
  58462. // goto for condition
  58463. $async$goto = 7;
  58464. break;
  58465. case 8:
  58466. // after for
  58467. restArgs = $arguments.rest;
  58468. if (restArgs == null) {
  58469. $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null_undecided);
  58470. // goto return
  58471. $async$goto = 1;
  58472. break;
  58473. }
  58474. $async$goto = 10;
  58475. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  58476. case 10:
  58477. // returning from await.
  58478. rest = $async$result;
  58479. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
  58480. if (rest instanceof A.SassMap) {
  58481. $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
  58482. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  58483. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  58484. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  58485. namedNodes.addAll$1(0, t3);
  58486. separator = B.ListSeparator_undecided_null_undecided;
  58487. } else if (rest instanceof A.SassList) {
  58488. t3 = rest._list$_contents;
  58489. 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>")));
  58490. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  58491. separator = rest._separator;
  58492. if (rest instanceof A.SassArgumentList) {
  58493. rest._wereKeywordsAccessed = true;
  58494. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
  58495. }
  58496. } else {
  58497. positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
  58498. positionalNodes.push(restNodeForSpan);
  58499. separator = B.ListSeparator_undecided_null_undecided;
  58500. }
  58501. keywordRestArgs = $arguments.keywordRest;
  58502. if (keywordRestArgs == null) {
  58503. $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
  58504. // goto return
  58505. $async$goto = 1;
  58506. break;
  58507. }
  58508. $async$goto = 11;
  58509. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  58510. case 11:
  58511. // returning from await.
  58512. keywordRest = $async$result;
  58513. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
  58514. if (keywordRest instanceof A.SassMap) {
  58515. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
  58516. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  58517. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  58518. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  58519. namedNodes.addAll$1(0, t1);
  58520. $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
  58521. // goto return
  58522. $async$goto = 1;
  58523. break;
  58524. } else
  58525. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  58526. case 1:
  58527. // return
  58528. return A._asyncReturn($async$returnValue, $async$completer);
  58529. }
  58530. });
  58531. return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
  58532. },
  58533. _async_evaluate$_evaluateMacroArguments$1(invocation) {
  58534. return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
  58535. },
  58536. _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
  58537. var $async$goto = 0,
  58538. $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression),
  58539. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  58540. var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58541. if ($async$errorCode === 1)
  58542. return A._asyncRethrow($async$result, $async$completer);
  58543. while (true)
  58544. switch ($async$goto) {
  58545. case 0:
  58546. // Function start
  58547. t1 = invocation.$arguments;
  58548. restArgs_ = t1.rest;
  58549. if (restArgs_ == null) {
  58550. $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  58551. // goto return
  58552. $async$goto = 1;
  58553. break;
  58554. }
  58555. t2 = t1.positional;
  58556. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  58557. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  58558. $async$goto = 3;
  58559. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  58560. case 3:
  58561. // returning from await.
  58562. rest = $async$result;
  58563. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
  58564. if (rest instanceof A.SassMap)
  58565. $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
  58566. else if (rest instanceof A.SassList) {
  58567. t2 = rest._list$_contents;
  58568. 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>")));
  58569. if (rest instanceof A.SassArgumentList) {
  58570. rest._wereKeywordsAccessed = true;
  58571. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
  58572. }
  58573. } else
  58574. positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  58575. keywordRestArgs_ = t1.keywordRest;
  58576. if (keywordRestArgs_ == null) {
  58577. $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  58578. // goto return
  58579. $async$goto = 1;
  58580. break;
  58581. }
  58582. $async$goto = 4;
  58583. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  58584. case 4:
  58585. // returning from await.
  58586. keywordRest = $async$result;
  58587. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
  58588. if (keywordRest instanceof A.SassMap) {
  58589. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  58590. $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  58591. // goto return
  58592. $async$goto = 1;
  58593. break;
  58594. } else
  58595. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  58596. case 1:
  58597. // return
  58598. return A._asyncReturn($async$returnValue, $async$completer);
  58599. }
  58600. });
  58601. return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
  58602. },
  58603. _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  58604. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  58605. },
  58606. _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
  58607. return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  58608. },
  58609. _async_evaluate$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  58610. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0($arguments, positional, named));
  58611. },
  58612. visitSelectorExpression$1(node) {
  58613. return this.visitSelectorExpression$body$_EvaluateVisitor(node);
  58614. },
  58615. visitSelectorExpression$body$_EvaluateVisitor(node) {
  58616. var $async$goto = 0,
  58617. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  58618. $async$returnValue, $async$self = this, t1;
  58619. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58620. if ($async$errorCode === 1)
  58621. return A._asyncRethrow($async$result, $async$completer);
  58622. while (true)
  58623. switch ($async$goto) {
  58624. case 0:
  58625. // Function start
  58626. t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  58627. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  58628. $async$returnValue = t1 == null ? B.C__SassNull : t1;
  58629. // goto return
  58630. $async$goto = 1;
  58631. break;
  58632. case 1:
  58633. // return
  58634. return A._asyncReturn($async$returnValue, $async$completer);
  58635. }
  58636. });
  58637. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  58638. },
  58639. visitStringExpression$1(node) {
  58640. return this.visitStringExpression$body$_EvaluateVisitor(node);
  58641. },
  58642. visitStringExpression$body$_EvaluateVisitor(node) {
  58643. var $async$goto = 0,
  58644. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  58645. $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, $async$temp1;
  58646. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58647. if ($async$errorCode === 1)
  58648. return A._asyncRethrow($async$result, $async$completer);
  58649. while (true)
  58650. switch ($async$goto) {
  58651. case 0:
  58652. // Function start
  58653. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  58654. $async$self._async_evaluate$_inSupportsDeclaration = false;
  58655. $async$temp1 = J;
  58656. $async$goto = 3;
  58657. return A._asyncAwait(A.mapAsync(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure0($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
  58658. case 3:
  58659. // returning from await.
  58660. t1 = $async$temp1.join$0$ax($async$result);
  58661. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  58662. $async$returnValue = new A.SassString(t1, node.hasQuotes);
  58663. // goto return
  58664. $async$goto = 1;
  58665. break;
  58666. case 1:
  58667. // return
  58668. return A._asyncReturn($async$returnValue, $async$completer);
  58669. }
  58670. });
  58671. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  58672. },
  58673. visitSupportsExpression$1(expression) {
  58674. return this.visitSupportsExpression$body$_EvaluateVisitor(expression);
  58675. },
  58676. visitSupportsExpression$body$_EvaluateVisitor(expression) {
  58677. var $async$goto = 0,
  58678. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  58679. $async$returnValue, $async$self = this, $async$temp1;
  58680. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58681. if ($async$errorCode === 1)
  58682. return A._asyncRethrow($async$result, $async$completer);
  58683. while (true)
  58684. switch ($async$goto) {
  58685. case 0:
  58686. // Function start
  58687. $async$temp1 = A;
  58688. $async$goto = 3;
  58689. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  58690. case 3:
  58691. // returning from await.
  58692. $async$returnValue = new $async$temp1.SassString($async$result, false);
  58693. // goto return
  58694. $async$goto = 1;
  58695. break;
  58696. case 1:
  58697. // return
  58698. return A._asyncReturn($async$returnValue, $async$completer);
  58699. }
  58700. });
  58701. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  58702. },
  58703. visitCssAtRule$1(node) {
  58704. return this.visitCssAtRule$body$_EvaluateVisitor(node);
  58705. },
  58706. visitCssAtRule$body$_EvaluateVisitor(node) {
  58707. var $async$goto = 0,
  58708. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58709. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  58710. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58711. if ($async$errorCode === 1)
  58712. return A._asyncRethrow($async$result, $async$completer);
  58713. while (true)
  58714. switch ($async$goto) {
  58715. case 0:
  58716. // Function start
  58717. if ($async$self._async_evaluate$_declarationName != null)
  58718. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  58719. if (node.isChildless) {
  58720. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  58721. // goto return
  58722. $async$goto = 1;
  58723. break;
  58724. }
  58725. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  58726. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  58727. t1 = node.name;
  58728. if (A.unvendor(t1.value) === "keyframes")
  58729. $async$self._async_evaluate$_inKeyframes = true;
  58730. else
  58731. $async$self._async_evaluate$_inUnknownAtRule = true;
  58732. $async$goto = 3;
  58733. 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);
  58734. case 3:
  58735. // returning from await.
  58736. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  58737. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  58738. case 1:
  58739. // return
  58740. return A._asyncReturn($async$returnValue, $async$completer);
  58741. }
  58742. });
  58743. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  58744. },
  58745. visitCssComment$1(node) {
  58746. return this.visitCssComment$body$_EvaluateVisitor(node);
  58747. },
  58748. visitCssComment$body$_EvaluateVisitor(node) {
  58749. var $async$goto = 0,
  58750. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58751. $async$self = this;
  58752. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58753. if ($async$errorCode === 1)
  58754. return A._asyncRethrow($async$result, $async$completer);
  58755. while (true)
  58756. switch ($async$goto) {
  58757. case 0:
  58758. // Function start
  58759. 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))
  58760. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  58761. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
  58762. // implicit return
  58763. return A._asyncReturn(null, $async$completer);
  58764. }
  58765. });
  58766. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  58767. },
  58768. visitCssDeclaration$1(node) {
  58769. return this.visitCssDeclaration$body$_EvaluateVisitor(node);
  58770. },
  58771. visitCssDeclaration$body$_EvaluateVisitor(node) {
  58772. var $async$goto = 0,
  58773. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58774. $async$self = this, t1;
  58775. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58776. if ($async$errorCode === 1)
  58777. return A._asyncRethrow($async$result, $async$completer);
  58778. while (true)
  58779. switch ($async$goto) {
  58780. case 0:
  58781. // Function start
  58782. t1 = node.name;
  58783. $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));
  58784. // implicit return
  58785. return A._asyncReturn(null, $async$completer);
  58786. }
  58787. });
  58788. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  58789. },
  58790. visitCssImport$1(node) {
  58791. return this.visitCssImport$body$_EvaluateVisitor(node);
  58792. },
  58793. visitCssImport$body$_EvaluateVisitor(node) {
  58794. var $async$goto = 0,
  58795. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58796. $async$self = this, t1, modifiableNode;
  58797. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58798. if ($async$errorCode === 1)
  58799. return A._asyncRethrow($async$result, $async$completer);
  58800. while (true)
  58801. switch ($async$goto) {
  58802. case 0:
  58803. // Function start
  58804. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  58805. 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"))
  58806. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
  58807. 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)) {
  58808. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
  58809. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  58810. } else {
  58811. t1 = $async$self._async_evaluate$_outOfOrderImports;
  58812. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  58813. }
  58814. // implicit return
  58815. return A._asyncReturn(null, $async$completer);
  58816. }
  58817. });
  58818. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  58819. },
  58820. visitCssKeyframeBlock$1(node) {
  58821. return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
  58822. },
  58823. visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
  58824. var $async$goto = 0,
  58825. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58826. $async$self = this;
  58827. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58828. if ($async$errorCode === 1)
  58829. return A._asyncRethrow($async$result, $async$completer);
  58830. while (true)
  58831. switch ($async$goto) {
  58832. case 0:
  58833. // Function start
  58834. $async$goto = 2;
  58835. 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);
  58836. case 2:
  58837. // returning from await.
  58838. // implicit return
  58839. return A._asyncReturn(null, $async$completer);
  58840. }
  58841. });
  58842. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  58843. },
  58844. visitCssMediaRule$1(node) {
  58845. return this.visitCssMediaRule$body$_EvaluateVisitor(node);
  58846. },
  58847. visitCssMediaRule$body$_EvaluateVisitor(node) {
  58848. var $async$goto = 0,
  58849. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58850. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  58851. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58852. if ($async$errorCode === 1)
  58853. return A._asyncRethrow($async$result, $async$completer);
  58854. while (true)
  58855. switch ($async$goto) {
  58856. case 0:
  58857. // Function start
  58858. if ($async$self._async_evaluate$_declarationName != null)
  58859. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  58860. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
  58861. t1 = mergedQueries == null;
  58862. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  58863. // goto return
  58864. $async$goto = 1;
  58865. break;
  58866. }
  58867. if (t1)
  58868. mergedSources = B.Set_empty1;
  58869. else {
  58870. t2 = $async$self._async_evaluate$_mediaQuerySources;
  58871. t2.toString;
  58872. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  58873. t3 = $async$self._async_evaluate$_mediaQueries;
  58874. t3.toString;
  58875. t2.addAll$1(0, t3);
  58876. t2.addAll$1(0, node.queries);
  58877. mergedSources = t2;
  58878. }
  58879. t1 = t1 ? node.queries : mergedQueries;
  58880. $async$goto = 3;
  58881. 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);
  58882. case 3:
  58883. // returning from await.
  58884. case 1:
  58885. // return
  58886. return A._asyncReturn($async$returnValue, $async$completer);
  58887. }
  58888. });
  58889. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  58890. },
  58891. visitCssStyleRule$1(node) {
  58892. return this.visitCssStyleRule$body$_EvaluateVisitor(node);
  58893. },
  58894. visitCssStyleRule$body$_EvaluateVisitor(node) {
  58895. var $async$goto = 0,
  58896. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58897. $async$self = this, t1, styleRule, t2, t3, t4, originalSelector, rule, oldAtRootExcludingStyleRule;
  58898. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58899. if ($async$errorCode === 1)
  58900. return A._asyncRethrow($async$result, $async$completer);
  58901. while (true)
  58902. switch ($async$goto) {
  58903. case 0:
  58904. // Function start
  58905. if ($async$self._async_evaluate$_declarationName != null)
  58906. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
  58907. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
  58908. styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  58909. t2 = node._style_rule$_selector._box$_inner.value;
  58910. t3 = styleRule == null;
  58911. t4 = t3 ? null : styleRule.originalSelector;
  58912. originalSelector = t2.resolveParentSelectors$2$implicitParent(t4, !t1);
  58913. 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);
  58914. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  58915. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  58916. $async$goto = 2;
  58917. 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);
  58918. case 2:
  58919. // returning from await.
  58920. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  58921. if (t3) {
  58922. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  58923. t1 = !t1.get$isEmpty(t1);
  58924. } else
  58925. t1 = false;
  58926. if (t1) {
  58927. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  58928. t1.get$last(t1).isGroupEnd = true;
  58929. }
  58930. // implicit return
  58931. return A._asyncReturn(null, $async$completer);
  58932. }
  58933. });
  58934. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  58935. },
  58936. visitCssStylesheet$1(node) {
  58937. return this.visitCssStylesheet$body$_EvaluateVisitor(node);
  58938. },
  58939. visitCssStylesheet$body$_EvaluateVisitor(node) {
  58940. var $async$goto = 0,
  58941. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58942. $async$self = this, t1;
  58943. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58944. if ($async$errorCode === 1)
  58945. return A._asyncRethrow($async$result, $async$completer);
  58946. while (true)
  58947. switch ($async$goto) {
  58948. case 0:
  58949. // Function start
  58950. t1 = J.get$iterator$ax(node.get$children(node));
  58951. case 2:
  58952. // for condition
  58953. if (!t1.moveNext$0()) {
  58954. // goto after for
  58955. $async$goto = 3;
  58956. break;
  58957. }
  58958. $async$goto = 4;
  58959. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  58960. case 4:
  58961. // returning from await.
  58962. // goto for condition
  58963. $async$goto = 2;
  58964. break;
  58965. case 3:
  58966. // after for
  58967. // implicit return
  58968. return A._asyncReturn(null, $async$completer);
  58969. }
  58970. });
  58971. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  58972. },
  58973. visitCssSupportsRule$1(node) {
  58974. return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
  58975. },
  58976. visitCssSupportsRule$body$_EvaluateVisitor(node) {
  58977. var $async$goto = 0,
  58978. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58979. $async$self = this;
  58980. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58981. if ($async$errorCode === 1)
  58982. return A._asyncRethrow($async$result, $async$completer);
  58983. while (true)
  58984. switch ($async$goto) {
  58985. case 0:
  58986. // Function start
  58987. if ($async$self._async_evaluate$_declarationName != null)
  58988. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  58989. $async$goto = 2;
  58990. 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);
  58991. case 2:
  58992. // returning from await.
  58993. // implicit return
  58994. return A._asyncReturn(null, $async$completer);
  58995. }
  58996. });
  58997. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  58998. },
  58999. _async_evaluate$_handleReturn$1$2(list, callback) {
  59000. return this._handleReturn$body$_EvaluateVisitor(list, callback);
  59001. },
  59002. _async_evaluate$_handleReturn$2(list, callback) {
  59003. return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
  59004. },
  59005. _handleReturn$body$_EvaluateVisitor(list, callback) {
  59006. var $async$goto = 0,
  59007. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  59008. $async$returnValue, t1, _i, result;
  59009. var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59010. if ($async$errorCode === 1)
  59011. return A._asyncRethrow($async$result, $async$completer);
  59012. while (true)
  59013. switch ($async$goto) {
  59014. case 0:
  59015. // Function start
  59016. t1 = list.length, _i = 0;
  59017. case 3:
  59018. // for condition
  59019. if (!(_i < list.length)) {
  59020. // goto after for
  59021. $async$goto = 5;
  59022. break;
  59023. }
  59024. $async$goto = 6;
  59025. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
  59026. case 6:
  59027. // returning from await.
  59028. result = $async$result;
  59029. if (result != null) {
  59030. $async$returnValue = result;
  59031. // goto return
  59032. $async$goto = 1;
  59033. break;
  59034. }
  59035. case 4:
  59036. // for update
  59037. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  59038. // goto for condition
  59039. $async$goto = 3;
  59040. break;
  59041. case 5:
  59042. // after for
  59043. $async$returnValue = null;
  59044. // goto return
  59045. $async$goto = 1;
  59046. break;
  59047. case 1:
  59048. // return
  59049. return A._asyncReturn($async$returnValue, $async$completer);
  59050. }
  59051. });
  59052. return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
  59053. },
  59054. _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
  59055. return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
  59056. },
  59057. _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
  59058. var $async$goto = 0,
  59059. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  59060. $async$returnValue, $async$self = this, result, oldEnvironment;
  59061. var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59062. if ($async$errorCode === 1)
  59063. return A._asyncRethrow($async$result, $async$completer);
  59064. while (true)
  59065. switch ($async$goto) {
  59066. case 0:
  59067. // Function start
  59068. oldEnvironment = $async$self._async_evaluate$_environment;
  59069. $async$self._async_evaluate$_environment = environment;
  59070. $async$goto = 3;
  59071. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
  59072. case 3:
  59073. // returning from await.
  59074. result = $async$result;
  59075. $async$self._async_evaluate$_environment = oldEnvironment;
  59076. $async$returnValue = result;
  59077. // goto return
  59078. $async$goto = 1;
  59079. break;
  59080. case 1:
  59081. // return
  59082. return A._asyncReturn($async$returnValue, $async$completer);
  59083. }
  59084. });
  59085. return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
  59086. },
  59087. _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  59088. return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
  59089. },
  59090. _async_evaluate$_interpolationToValue$1(interpolation) {
  59091. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  59092. },
  59093. _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  59094. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  59095. },
  59096. _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
  59097. var $async$goto = 0,
  59098. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
  59099. $async$returnValue, $async$self = this, result, t1;
  59100. var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59101. if ($async$errorCode === 1)
  59102. return A._asyncRethrow($async$result, $async$completer);
  59103. while (true)
  59104. switch ($async$goto) {
  59105. case 0:
  59106. // Function start
  59107. $async$goto = 3;
  59108. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
  59109. case 3:
  59110. // returning from await.
  59111. result = $async$result;
  59112. t1 = trim ? A.trimAscii(result, true) : result;
  59113. $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  59114. // goto return
  59115. $async$goto = 1;
  59116. break;
  59117. case 1:
  59118. // return
  59119. return A._asyncReturn($async$returnValue, $async$completer);
  59120. }
  59121. });
  59122. return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
  59123. },
  59124. _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  59125. return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
  59126. },
  59127. _async_evaluate$_performInterpolation$1(interpolation) {
  59128. return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
  59129. },
  59130. _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
  59131. var $async$goto = 0,
  59132. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  59133. $async$returnValue, $async$self = this;
  59134. var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59135. if ($async$errorCode === 1)
  59136. return A._asyncRethrow($async$result, $async$completer);
  59137. while (true)
  59138. switch ($async$goto) {
  59139. case 0:
  59140. // Function start
  59141. $async$goto = 3;
  59142. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, warnForColor), $async$_async_evaluate$_performInterpolation$2$warnForColor);
  59143. case 3:
  59144. // returning from await.
  59145. $async$returnValue = $async$result.item1;
  59146. // goto return
  59147. $async$goto = 1;
  59148. break;
  59149. case 1:
  59150. // return
  59151. return A._asyncReturn($async$returnValue, $async$completer);
  59152. }
  59153. });
  59154. return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
  59155. },
  59156. _async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  59157. return this._performInterpolationWithMap$body$_EvaluateVisitor(interpolation, true);
  59158. },
  59159. _performInterpolationWithMap$body$_EvaluateVisitor(interpolation, warnForColor) {
  59160. var $async$goto = 0,
  59161. $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_String_InterpolationMap),
  59162. $async$returnValue, $async$self = this, tuple, t1, t2;
  59163. var $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59164. if ($async$errorCode === 1)
  59165. return A._asyncRethrow($async$result, $async$completer);
  59166. while (true)
  59167. switch ($async$goto) {
  59168. case 0:
  59169. // Function start
  59170. $async$goto = 3;
  59171. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor);
  59172. case 3:
  59173. // returning from await.
  59174. tuple = $async$result;
  59175. t1 = tuple.item1;
  59176. t2 = tuple.item2;
  59177. t2.toString;
  59178. $async$returnValue = new A.Tuple2(t1, t2, type$.Tuple2_String_InterpolationMap);
  59179. // goto return
  59180. $async$goto = 1;
  59181. break;
  59182. case 1:
  59183. // return
  59184. return A._asyncReturn($async$returnValue, $async$completer);
  59185. }
  59186. });
  59187. return A._asyncStartSync($async$_async_evaluate$_performInterpolationWithMap$2$warnForColor, $async$completer);
  59188. },
  59189. _async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  59190. return this._performInterpolationHelper$body$_EvaluateVisitor(interpolation, true, warnForColor);
  59191. },
  59192. _performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor) {
  59193. var $async$goto = 0,
  59194. $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_String_and_nullable_InterpolationMap),
  59195. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, t8, result0, targetLocations, oldInSupportsDeclaration;
  59196. var $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59197. if ($async$errorCode === 1)
  59198. return A._asyncRethrow($async$result, $async$completer);
  59199. while (true)
  59200. switch ($async$goto) {
  59201. case 0:
  59202. // Function start
  59203. targetLocations = A._setArrayType([], type$.JSArray_SourceLocation);
  59204. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  59205. $async$self._async_evaluate$_inSupportsDeclaration = false;
  59206. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression, t4 = type$.JSArray_Object, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = "";
  59207. case 3:
  59208. // for condition
  59209. if (!(_i < t2)) {
  59210. // goto after for
  59211. $async$goto = 5;
  59212. break;
  59213. }
  59214. value = t1[_i];
  59215. if (!first)
  59216. targetLocations.push(A.SourceLocation$(t7.length, null, null, null));
  59217. if (typeof value == "string") {
  59218. t7 += value;
  59219. // goto for update
  59220. $async$goto = 4;
  59221. break;
  59222. }
  59223. t3._as(value);
  59224. $async$goto = 6;
  59225. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor);
  59226. case 6:
  59227. // returning from await.
  59228. result = $async$result;
  59229. if (warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
  59230. t8 = A._setArrayType([""], t4);
  59231. result0 = A.List_List$from(t8, false, t6);
  59232. result0.fixed$length = Array;
  59233. result0.immutable$list = Array;
  59234. result0 = new A.Interpolation(result0, t5);
  59235. result0.Interpolation$2(t8, t5);
  59236. t8 = $.$get$namesByColor();
  59237. $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));
  59238. }
  59239. t7 += $async$self._async_evaluate$_serialize$3$quote(result, value, false);
  59240. case 4:
  59241. // for update
  59242. ++_i, first = false;
  59243. // goto for condition
  59244. $async$goto = 3;
  59245. break;
  59246. case 5:
  59247. // after for
  59248. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  59249. t1 = A.InterpolationMap$(interpolation, targetLocations);
  59250. $async$returnValue = new A.Tuple2(t7.charCodeAt(0) == 0 ? t7 : t7, t1, type$.Tuple2_of_String_and_nullable_InterpolationMap);
  59251. // goto return
  59252. $async$goto = 1;
  59253. break;
  59254. case 1:
  59255. // return
  59256. return A._asyncReturn($async$returnValue, $async$completer);
  59257. }
  59258. });
  59259. return A._asyncStartSync($async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  59260. },
  59261. _evaluateToCss$2$quote(expression, quote) {
  59262. return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
  59263. },
  59264. _evaluateToCss$1(expression) {
  59265. return this._evaluateToCss$2$quote(expression, true);
  59266. },
  59267. _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
  59268. var $async$goto = 0,
  59269. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  59270. $async$returnValue, $async$self = this;
  59271. var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59272. if ($async$errorCode === 1)
  59273. return A._asyncRethrow($async$result, $async$completer);
  59274. while (true)
  59275. switch ($async$goto) {
  59276. case 0:
  59277. // Function start
  59278. $async$goto = 3;
  59279. return A._asyncAwait(expression.accept$1($async$self), $async$_evaluateToCss$2$quote);
  59280. case 3:
  59281. // returning from await.
  59282. $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
  59283. // goto return
  59284. $async$goto = 1;
  59285. break;
  59286. case 1:
  59287. // return
  59288. return A._asyncReturn($async$returnValue, $async$completer);
  59289. }
  59290. });
  59291. return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
  59292. },
  59293. _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  59294. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
  59295. },
  59296. _async_evaluate$_serialize$2(value, nodeWithSpan) {
  59297. return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  59298. },
  59299. _async_evaluate$_expressionNode$1(expression) {
  59300. var t1;
  59301. if (expression instanceof A.VariableExpression) {
  59302. t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
  59303. return t1 == null ? expression : t1;
  59304. } else
  59305. return expression;
  59306. },
  59307. _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  59308. return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
  59309. },
  59310. _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
  59311. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  59312. },
  59313. _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  59314. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  59315. },
  59316. _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
  59317. var $async$goto = 0,
  59318. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  59319. $async$returnValue, $async$self = this, t1, result;
  59320. var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59321. if ($async$errorCode === 1)
  59322. return A._asyncRethrow($async$result, $async$completer);
  59323. while (true)
  59324. switch ($async$goto) {
  59325. case 0:
  59326. // Function start
  59327. $async$self._async_evaluate$_addChild$2$through(node, through);
  59328. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  59329. $async$self._async_evaluate$__parent = node;
  59330. $async$goto = 3;
  59331. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
  59332. case 3:
  59333. // returning from await.
  59334. result = $async$result;
  59335. $async$self._async_evaluate$__parent = t1;
  59336. $async$returnValue = result;
  59337. // goto return
  59338. $async$goto = 1;
  59339. break;
  59340. case 1:
  59341. // return
  59342. return A._asyncReturn($async$returnValue, $async$completer);
  59343. }
  59344. });
  59345. return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
  59346. },
  59347. _async_evaluate$_addChild$2$through(node, through) {
  59348. var grandparent, t1,
  59349. $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
  59350. if (through != null) {
  59351. for (; through.call$1($parent); $parent = grandparent) {
  59352. grandparent = $parent._parent;
  59353. if (grandparent == null)
  59354. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  59355. }
  59356. if ($parent.get$hasFollowingSibling()) {
  59357. grandparent = $parent._parent;
  59358. t1 = grandparent.children;
  59359. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  59360. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  59361. else {
  59362. $parent = $parent.copyWithoutChildren$0();
  59363. grandparent.addChild$1($parent);
  59364. }
  59365. }
  59366. }
  59367. $parent.addChild$1(node);
  59368. },
  59369. _async_evaluate$_addChild$1(node) {
  59370. return this._async_evaluate$_addChild$2$through(node, null);
  59371. },
  59372. _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
  59373. return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
  59374. },
  59375. _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
  59376. var $async$goto = 0,
  59377. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  59378. $async$returnValue, $async$self = this, result, oldRule;
  59379. var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59380. if ($async$errorCode === 1)
  59381. return A._asyncRethrow($async$result, $async$completer);
  59382. while (true)
  59383. switch ($async$goto) {
  59384. case 0:
  59385. // Function start
  59386. oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  59387. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
  59388. $async$goto = 3;
  59389. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
  59390. case 3:
  59391. // returning from await.
  59392. result = $async$result;
  59393. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
  59394. $async$returnValue = result;
  59395. // goto return
  59396. $async$goto = 1;
  59397. break;
  59398. case 1:
  59399. // return
  59400. return A._asyncReturn($async$returnValue, $async$completer);
  59401. }
  59402. });
  59403. return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
  59404. },
  59405. _async_evaluate$_withMediaQueries$1$3(queries, sources, callback, $T) {
  59406. return this._withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $T);
  59407. },
  59408. _withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $async$type) {
  59409. var $async$goto = 0,
  59410. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  59411. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  59412. var $async$_async_evaluate$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59413. if ($async$errorCode === 1)
  59414. return A._asyncRethrow($async$result, $async$completer);
  59415. while (true)
  59416. switch ($async$goto) {
  59417. case 0:
  59418. // Function start
  59419. oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
  59420. oldSources = $async$self._async_evaluate$_mediaQuerySources;
  59421. $async$self._async_evaluate$_mediaQueries = queries;
  59422. $async$self._async_evaluate$_mediaQuerySources = sources;
  59423. $async$goto = 3;
  59424. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$3);
  59425. case 3:
  59426. // returning from await.
  59427. result = $async$result;
  59428. $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
  59429. $async$self._async_evaluate$_mediaQuerySources = oldSources;
  59430. $async$returnValue = result;
  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$_async_evaluate$_withMediaQueries$1$3, $async$completer);
  59440. },
  59441. _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  59442. return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
  59443. },
  59444. _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
  59445. var $async$goto = 0,
  59446. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  59447. $async$returnValue, $async$self = this, oldMember, result, t1;
  59448. var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59449. if ($async$errorCode === 1)
  59450. return A._asyncRethrow($async$result, $async$completer);
  59451. while (true)
  59452. switch ($async$goto) {
  59453. case 0:
  59454. // Function start
  59455. t1 = $async$self._async_evaluate$_stack;
  59456. t1.push(new A.Tuple2($async$self._async_evaluate$_member, nodeWithSpan, type$.Tuple2_String_AstNode));
  59457. oldMember = $async$self._async_evaluate$_member;
  59458. $async$self._async_evaluate$_member = member;
  59459. $async$goto = 3;
  59460. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
  59461. case 3:
  59462. // returning from await.
  59463. result = $async$result;
  59464. $async$self._async_evaluate$_member = oldMember;
  59465. t1.pop();
  59466. $async$returnValue = result;
  59467. // goto return
  59468. $async$goto = 1;
  59469. break;
  59470. case 1:
  59471. // return
  59472. return A._asyncReturn($async$returnValue, $async$completer);
  59473. }
  59474. });
  59475. return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
  59476. },
  59477. _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
  59478. if (value instanceof A.SassNumber && value.asSlash != null)
  59479. 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);
  59480. return value.withoutSlash$0();
  59481. },
  59482. _async_evaluate$_stackFrame$2(member, span) {
  59483. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure0(this)));
  59484. },
  59485. _async_evaluate$_stackTrace$1(span) {
  59486. var _this = this,
  59487. t1 = _this._async_evaluate$_stack;
  59488. 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);
  59489. if (span != null)
  59490. t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
  59491. return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
  59492. },
  59493. _async_evaluate$_stackTrace$0() {
  59494. return this._async_evaluate$_stackTrace$1(null);
  59495. },
  59496. _async_evaluate$_warn$3(message, span, deprecation) {
  59497. var t1, trace, _this = this;
  59498. if (_this._async_evaluate$_quietDeps)
  59499. if (!_this._async_evaluate$_inDependency) {
  59500. t1 = _this._async_evaluate$_currentCallable;
  59501. t1 = t1 == null ? null : t1.inDependency;
  59502. t1 = t1 === true;
  59503. } else
  59504. t1 = true;
  59505. else
  59506. t1 = false;
  59507. if (t1)
  59508. return;
  59509. if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
  59510. return;
  59511. trace = _this._async_evaluate$_stackTrace$1(span);
  59512. t1 = _this._async_evaluate$_logger;
  59513. if (deprecation == null)
  59514. t1.warn$3$span$trace(0, message, span, trace);
  59515. else
  59516. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  59517. },
  59518. _async_evaluate$_warn$2(message, span) {
  59519. return this._async_evaluate$_warn$3(message, span, null);
  59520. },
  59521. _async_evaluate$_exception$2(message, span) {
  59522. var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2) : span,
  59523. t2 = this._async_evaluate$_stackTrace$1(span);
  59524. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  59525. },
  59526. _async_evaluate$_exception$1(message) {
  59527. return this._async_evaluate$_exception$2(message, null);
  59528. },
  59529. _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  59530. return A.MultiSpanSassRuntimeException$(message, J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2), primaryLabel, secondaryLabels, this._async_evaluate$_stackTrace$0(), null);
  59531. },
  59532. _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  59533. var error, stackTrace, t1, exception,
  59534. addStackFrame = true;
  59535. try {
  59536. t1 = callback.call$0();
  59537. return t1;
  59538. } catch (exception) {
  59539. t1 = A.unwrapException(exception);
  59540. if (t1 instanceof A.SassScriptException) {
  59541. error = t1;
  59542. stackTrace = A.getTraceFromException(exception);
  59543. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  59544. A.throwWithTrace(t1.withTrace$1(this._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), stackTrace);
  59545. } else
  59546. throw exception;
  59547. }
  59548. },
  59549. _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
  59550. return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  59551. },
  59552. _addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  59553. return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $T);
  59554. },
  59555. _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  59556. return this._addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  59557. },
  59558. _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  59559. var $async$goto = 0,
  59560. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  59561. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  59562. var $async$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59563. if ($async$errorCode === 1) {
  59564. $async$currentError = $async$result;
  59565. $async$goto = $async$handler;
  59566. }
  59567. while (true)
  59568. switch ($async$goto) {
  59569. case 0:
  59570. // Function start
  59571. $async$handler = 4;
  59572. $async$goto = 7;
  59573. return A._asyncAwait(callback.call$0(), $async$_addExceptionSpanAsync$1$3$addStackFrame);
  59574. case 7:
  59575. // returning from await.
  59576. t1 = $async$result;
  59577. $async$returnValue = t1;
  59578. // goto return
  59579. $async$goto = 1;
  59580. break;
  59581. $async$handler = 2;
  59582. // goto after finally
  59583. $async$goto = 6;
  59584. break;
  59585. case 4:
  59586. // catch
  59587. $async$handler = 3;
  59588. $async$exception = $async$currentError;
  59589. t1 = A.unwrapException($async$exception);
  59590. if (t1 instanceof A.SassScriptException) {
  59591. error = t1;
  59592. stackTrace = A.getTraceFromException($async$exception);
  59593. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  59594. A.throwWithTrace(t1.withTrace$1($async$self._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), stackTrace);
  59595. } else
  59596. throw $async$exception;
  59597. // goto after finally
  59598. $async$goto = 6;
  59599. break;
  59600. case 3:
  59601. // uncaught
  59602. // goto rethrow
  59603. $async$goto = 2;
  59604. break;
  59605. case 6:
  59606. // after finally
  59607. case 1:
  59608. // return
  59609. return A._asyncReturn($async$returnValue, $async$completer);
  59610. case 2:
  59611. // rethrow
  59612. return A._asyncRethrow($async$currentError, $async$completer);
  59613. }
  59614. });
  59615. return A._asyncStartSync($async$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  59616. },
  59617. _async_evaluate$_addExceptionTrace$1$1(callback, $T) {
  59618. return this._addExceptionTrace$body$_EvaluateVisitor(callback, $T, $T);
  59619. },
  59620. _addExceptionTrace$body$_EvaluateVisitor(callback, $T, $async$type) {
  59621. var $async$goto = 0,
  59622. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  59623. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  59624. var $async$_async_evaluate$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59625. if ($async$errorCode === 1) {
  59626. $async$currentError = $async$result;
  59627. $async$goto = $async$handler;
  59628. }
  59629. while (true)
  59630. switch ($async$goto) {
  59631. case 0:
  59632. // Function start
  59633. $async$handler = 4;
  59634. $async$goto = 7;
  59635. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addExceptionTrace$1$1);
  59636. case 7:
  59637. // returning from await.
  59638. t1 = $async$result;
  59639. $async$returnValue = t1;
  59640. // goto return
  59641. $async$goto = 1;
  59642. break;
  59643. $async$handler = 2;
  59644. // goto after finally
  59645. $async$goto = 6;
  59646. break;
  59647. case 4:
  59648. // catch
  59649. $async$handler = 3;
  59650. $async$exception = $async$currentError;
  59651. t1 = A.unwrapException($async$exception);
  59652. if (type$.SassRuntimeException._is(t1))
  59653. throw $async$exception;
  59654. else if (t1 instanceof A.SassException) {
  59655. error = t1;
  59656. stackTrace = A.getTraceFromException($async$exception);
  59657. t1 = error;
  59658. t2 = J.getInterceptor$z(t1);
  59659. A.throwWithTrace(error.withTrace$1($async$self._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), stackTrace);
  59660. } else
  59661. throw $async$exception;
  59662. // goto after finally
  59663. $async$goto = 6;
  59664. break;
  59665. case 3:
  59666. // uncaught
  59667. // goto rethrow
  59668. $async$goto = 2;
  59669. break;
  59670. case 6:
  59671. // after finally
  59672. case 1:
  59673. // return
  59674. return A._asyncReturn($async$returnValue, $async$completer);
  59675. case 2:
  59676. // rethrow
  59677. return A._asyncRethrow($async$currentError, $async$completer);
  59678. }
  59679. });
  59680. return A._asyncStartSync($async$_async_evaluate$_addExceptionTrace$1$1, $async$completer);
  59681. },
  59682. _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  59683. return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
  59684. },
  59685. _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
  59686. var $async$goto = 0,
  59687. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  59688. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  59689. var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59690. if ($async$errorCode === 1) {
  59691. $async$currentError = $async$result;
  59692. $async$goto = $async$handler;
  59693. }
  59694. while (true)
  59695. switch ($async$goto) {
  59696. case 0:
  59697. // Function start
  59698. $async$handler = 4;
  59699. $async$goto = 7;
  59700. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
  59701. case 7:
  59702. // returning from await.
  59703. t1 = $async$result;
  59704. $async$returnValue = t1;
  59705. // goto return
  59706. $async$goto = 1;
  59707. break;
  59708. $async$handler = 2;
  59709. // goto after finally
  59710. $async$goto = 6;
  59711. break;
  59712. case 4:
  59713. // catch
  59714. $async$handler = 3;
  59715. $async$exception = $async$currentError;
  59716. t1 = A.unwrapException($async$exception);
  59717. if (type$.SassRuntimeException._is(t1)) {
  59718. error = t1;
  59719. stackTrace = A.getTraceFromException($async$exception);
  59720. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  59721. throw $async$exception;
  59722. t1 = error._span_exception$_message;
  59723. t2 = nodeWithSpan.get$span(nodeWithSpan);
  59724. t3 = $async$self._async_evaluate$_stackTrace$0();
  59725. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), stackTrace);
  59726. } else
  59727. throw $async$exception;
  59728. // goto after finally
  59729. $async$goto = 6;
  59730. break;
  59731. case 3:
  59732. // uncaught
  59733. // goto rethrow
  59734. $async$goto = 2;
  59735. break;
  59736. case 6:
  59737. // after finally
  59738. case 1:
  59739. // return
  59740. return A._asyncReturn($async$returnValue, $async$completer);
  59741. case 2:
  59742. // rethrow
  59743. return A._asyncRethrow($async$currentError, $async$completer);
  59744. }
  59745. });
  59746. return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
  59747. }
  59748. };
  59749. A._EvaluateVisitor_closure9.prototype = {
  59750. call$1($arguments) {
  59751. var module, t2,
  59752. t1 = J.getInterceptor$asx($arguments),
  59753. variable = t1.$index($arguments, 0).assertString$1("name");
  59754. t1 = t1.$index($arguments, 1).get$realNull();
  59755. module = t1 == null ? null : t1.assertString$1("module");
  59756. t1 = this.$this._async_evaluate$_environment;
  59757. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  59758. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  59759. },
  59760. $signature: 19
  59761. };
  59762. A._EvaluateVisitor_closure10.prototype = {
  59763. call$1($arguments) {
  59764. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  59765. t1 = this.$this._async_evaluate$_environment;
  59766. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  59767. },
  59768. $signature: 19
  59769. };
  59770. A._EvaluateVisitor_closure11.prototype = {
  59771. call$1($arguments) {
  59772. var module, t2, t3, t4,
  59773. t1 = J.getInterceptor$asx($arguments),
  59774. variable = t1.$index($arguments, 0).assertString$1("name");
  59775. t1 = t1.$index($arguments, 1).get$realNull();
  59776. module = t1 == null ? null : t1.assertString$1("module");
  59777. t1 = this.$this;
  59778. t2 = t1._async_evaluate$_environment;
  59779. t3 = variable._string$_text;
  59780. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  59781. 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;
  59782. },
  59783. $signature: 19
  59784. };
  59785. A._EvaluateVisitor_closure12.prototype = {
  59786. call$1($arguments) {
  59787. var module, t2,
  59788. t1 = J.getInterceptor$asx($arguments),
  59789. variable = t1.$index($arguments, 0).assertString$1("name");
  59790. t1 = t1.$index($arguments, 1).get$realNull();
  59791. module = t1 == null ? null : t1.assertString$1("module");
  59792. t1 = this.$this._async_evaluate$_environment;
  59793. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  59794. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  59795. },
  59796. $signature: 19
  59797. };
  59798. A._EvaluateVisitor_closure13.prototype = {
  59799. call$1($arguments) {
  59800. var t1 = this.$this._async_evaluate$_environment;
  59801. if (!t1._async_environment$_inMixin)
  59802. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  59803. return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
  59804. },
  59805. $signature: 19
  59806. };
  59807. A._EvaluateVisitor_closure14.prototype = {
  59808. call$1($arguments) {
  59809. var t2, t3, t4,
  59810. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  59811. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  59812. if (module == null)
  59813. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  59814. t1 = type$.Value;
  59815. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  59816. for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  59817. t4 = t3.get$current(t3);
  59818. t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
  59819. }
  59820. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  59821. },
  59822. $signature: 36
  59823. };
  59824. A._EvaluateVisitor_closure15.prototype = {
  59825. call$1($arguments) {
  59826. var t2, t3, t4,
  59827. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  59828. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  59829. if (module == null)
  59830. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  59831. t1 = type$.Value;
  59832. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  59833. for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  59834. t4 = t3.get$current(t3);
  59835. t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
  59836. }
  59837. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  59838. },
  59839. $signature: 36
  59840. };
  59841. A._EvaluateVisitor_closure16.prototype = {
  59842. call$1($arguments) {
  59843. var module, callable, t2,
  59844. t1 = J.getInterceptor$asx($arguments),
  59845. $name = t1.$index($arguments, 0).assertString$1("name"),
  59846. css = t1.$index($arguments, 1).get$isTruthy();
  59847. t1 = t1.$index($arguments, 2).get$realNull();
  59848. module = t1 == null ? null : t1.assertString$1("module");
  59849. if (css && module != null)
  59850. throw A.wrapException(string$.x24css_a);
  59851. if (css)
  59852. callable = new A.PlainCssCallable($name._string$_text);
  59853. else {
  59854. t1 = this.$this;
  59855. t2 = t1._async_evaluate$_callableNode;
  59856. t2.toString;
  59857. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure4(t1, $name, module));
  59858. }
  59859. if (callable != null)
  59860. return new A.SassFunction(callable);
  59861. throw A.wrapException("Function not found: " + $name.toString$0(0));
  59862. },
  59863. $signature: 152
  59864. };
  59865. A._EvaluateVisitor__closure4.prototype = {
  59866. call$0() {
  59867. var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  59868. t2 = this.module;
  59869. t2 = t2 == null ? null : t2._string$_text;
  59870. return this.$this._async_evaluate$_getFunction$2$namespace(t1, t2);
  59871. },
  59872. $signature: 110
  59873. };
  59874. A._EvaluateVisitor_closure17.prototype = {
  59875. call$1($arguments) {
  59876. return this.$call$body$_EvaluateVisitor_closure0($arguments);
  59877. },
  59878. $call$body$_EvaluateVisitor_closure0($arguments) {
  59879. var $async$goto = 0,
  59880. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  59881. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  59882. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59883. if ($async$errorCode === 1)
  59884. return A._asyncRethrow($async$result, $async$completer);
  59885. while (true)
  59886. switch ($async$goto) {
  59887. case 0:
  59888. // Function start
  59889. t1 = J.getInterceptor$asx($arguments);
  59890. $function = t1.$index($arguments, 0);
  59891. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  59892. t1 = $async$self.$this;
  59893. t2 = t1._async_evaluate$_callableNode;
  59894. t2.toString;
  59895. t3 = A._setArrayType([], type$.JSArray_Expression);
  59896. t4 = type$.String;
  59897. t5 = type$.Expression;
  59898. t6 = t2.get$span(t2);
  59899. t7 = t2.get$span(t2);
  59900. args._wereKeywordsAccessed = true;
  59901. t8 = args._keywords;
  59902. if (t8.get$isEmpty(t8))
  59903. t2 = null;
  59904. else {
  59905. t9 = type$.Value;
  59906. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  59907. for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  59908. t11 = t8.get$current(t8);
  59909. t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
  59910. }
  59911. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  59912. }
  59913. 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);
  59914. $async$goto = $function instanceof A.SassString ? 3 : 4;
  59915. break;
  59916. case 3:
  59917. // then
  59918. t2 = $function.toString$0(0);
  59919. A.EvaluationContext_current().warn$2(0, string$.Passin + t2 + "))", B.Deprecation_qVK);
  59920. callableNode = t1._async_evaluate$_callableNode;
  59921. $async$goto = 5;
  59922. return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
  59923. case 5:
  59924. // returning from await.
  59925. $async$returnValue = $async$result;
  59926. // goto return
  59927. $async$goto = 1;
  59928. break;
  59929. case 4:
  59930. // join
  59931. t2 = $function.assertFunction$1("function");
  59932. t3 = t1._async_evaluate$_callableNode;
  59933. t3.toString;
  59934. $async$goto = 6;
  59935. return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  59936. case 6:
  59937. // returning from await.
  59938. t3 = $async$result;
  59939. $async$returnValue = t3;
  59940. // goto return
  59941. $async$goto = 1;
  59942. break;
  59943. case 1:
  59944. // return
  59945. return A._asyncReturn($async$returnValue, $async$completer);
  59946. }
  59947. });
  59948. return A._asyncStartSync($async$call$1, $async$completer);
  59949. },
  59950. $signature: 199
  59951. };
  59952. A._EvaluateVisitor_closure18.prototype = {
  59953. call$1($arguments) {
  59954. return this.$call$body$_EvaluateVisitor_closure($arguments);
  59955. },
  59956. $call$body$_EvaluateVisitor_closure($arguments) {
  59957. var $async$goto = 0,
  59958. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  59959. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  59960. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59961. if ($async$errorCode === 1)
  59962. return A._asyncRethrow($async$result, $async$completer);
  59963. while (true)
  59964. switch ($async$goto) {
  59965. case 0:
  59966. // Function start
  59967. t1 = J.getInterceptor$asx($arguments);
  59968. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  59969. t1 = t1.$index($arguments, 1).get$realNull();
  59970. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  59971. t1 = $async$self.$this;
  59972. t2 = t1._async_evaluate$_callableNode;
  59973. t2.toString;
  59974. if (withMap != null) {
  59975. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  59976. withMap.forEach$1(0, new A._EvaluateVisitor__closure2(values, t2.get$span(t2), t2));
  59977. configuration = new A.ExplicitConfiguration(t2, values, null);
  59978. } else
  59979. configuration = B.Configuration_Map_empty_null;
  59980. t3 = t2.get$span(t2);
  59981. $async$goto = 2;
  59982. 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);
  59983. case 2:
  59984. // returning from await.
  59985. t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  59986. // implicit return
  59987. return A._asyncReturn(null, $async$completer);
  59988. }
  59989. });
  59990. return A._asyncStartSync($async$call$1, $async$completer);
  59991. },
  59992. $signature: 438
  59993. };
  59994. A._EvaluateVisitor__closure2.prototype = {
  59995. call$2(variable, value) {
  59996. var t1 = variable.assertString$1("with key"),
  59997. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  59998. t1 = this.values;
  59999. if (t1.containsKey$1($name))
  60000. throw A.wrapException("The variable $" + $name + " was configured twice.");
  60001. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  60002. },
  60003. $signature: 49
  60004. };
  60005. A._EvaluateVisitor__closure3.prototype = {
  60006. call$1(module) {
  60007. var t1 = this.$this;
  60008. return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
  60009. },
  60010. $signature: 151
  60011. };
  60012. A._EvaluateVisitor_run_closure0.prototype = {
  60013. call$0() {
  60014. var $async$goto = 0,
  60015. $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
  60016. $async$returnValue, $async$self = this, module, t1, t2, url;
  60017. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60018. if ($async$errorCode === 1)
  60019. return A._asyncRethrow($async$result, $async$completer);
  60020. while (true)
  60021. switch ($async$goto) {
  60022. case 0:
  60023. // Function start
  60024. t1 = $async$self.node;
  60025. t2 = t1.span;
  60026. url = t2.get$sourceUrl(t2);
  60027. if (url != null) {
  60028. t2 = $async$self.$this;
  60029. t2._async_evaluate$_activeModules.$indexSet(0, url, null);
  60030. t2._async_evaluate$_loadedUrls.add$1(0, url);
  60031. }
  60032. t2 = $async$self.$this;
  60033. $async$goto = 3;
  60034. 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);
  60035. case 3:
  60036. // returning from await.
  60037. module = $async$result;
  60038. $async$returnValue = new A.EvaluateResult(t2._async_evaluate$_combineCss$1(module));
  60039. // goto return
  60040. $async$goto = 1;
  60041. break;
  60042. case 1:
  60043. // return
  60044. return A._asyncReturn($async$returnValue, $async$completer);
  60045. }
  60046. });
  60047. return A._asyncStartSync($async$call$0, $async$completer);
  60048. },
  60049. $signature: 443
  60050. };
  60051. A._EvaluateVisitor_run__closure0.prototype = {
  60052. call$0() {
  60053. return this.$this._async_evaluate$_execute$2(this.importer, this.node);
  60054. },
  60055. $signature: 446
  60056. };
  60057. A._EvaluateVisitor__loadModule_closure1.prototype = {
  60058. call$0() {
  60059. return this.callback.call$1(this.builtInModule);
  60060. },
  60061. $signature: 0
  60062. };
  60063. A._EvaluateVisitor__loadModule_closure2.prototype = {
  60064. call$0() {
  60065. return this.$call$body$_EvaluateVisitor__loadModule_closure();
  60066. },
  60067. $call$body$_EvaluateVisitor__loadModule_closure() {
  60068. var $async$goto = 0,
  60069. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60070. $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, oldInDependency, message, t1, t2, t3, result, stylesheet, t4, canonicalUrl, $async$temp1;
  60071. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60072. if ($async$errorCode === 1) {
  60073. $async$currentError = $async$result;
  60074. $async$goto = $async$handler;
  60075. }
  60076. while (true)
  60077. switch ($async$goto) {
  60078. case 0:
  60079. // Function start
  60080. t1 = {};
  60081. t2 = $async$self.$this;
  60082. t3 = $async$self.nodeWithSpan;
  60083. $async$goto = 2;
  60084. 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);
  60085. case 2:
  60086. // returning from await.
  60087. result = $async$result;
  60088. stylesheet = result.stylesheet;
  60089. t4 = stylesheet.span;
  60090. canonicalUrl = t4.get$sourceUrl(t4);
  60091. if (canonicalUrl != null && t2._async_evaluate$_activeModules.containsKey$1(canonicalUrl)) {
  60092. message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  60093. t1 = A.NullableExtension_andThen(t2._async_evaluate$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t2, message));
  60094. throw A.wrapException(t1 == null ? t2._async_evaluate$_exception$1(message) : t1);
  60095. }
  60096. if (canonicalUrl != null)
  60097. t2._async_evaluate$_activeModules.$indexSet(0, canonicalUrl, t3);
  60098. oldInDependency = t2._async_evaluate$_inDependency;
  60099. t2._async_evaluate$_inDependency = result.isDependency;
  60100. t1.module = null;
  60101. $async$handler = 3;
  60102. $async$temp1 = t1;
  60103. $async$goto = 6;
  60104. return A._asyncAwait(t2._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  60105. case 6:
  60106. // returning from await.
  60107. $async$temp1.module = $async$result;
  60108. $async$next.push(5);
  60109. // goto finally
  60110. $async$goto = 4;
  60111. break;
  60112. case 3:
  60113. // uncaught
  60114. $async$next = [1];
  60115. case 4:
  60116. // finally
  60117. $async$handler = 1;
  60118. t2._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
  60119. t2._async_evaluate$_inDependency = oldInDependency;
  60120. // goto the next finally handler
  60121. $async$goto = $async$next.pop();
  60122. break;
  60123. case 5:
  60124. // after finally
  60125. $async$goto = 7;
  60126. return A._asyncAwait(t2._addExceptionSpanAsync$1$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure2(t1, $async$self.callback), false, type$.void), $async$call$0);
  60127. case 7:
  60128. // returning from await.
  60129. // implicit return
  60130. return A._asyncReturn(null, $async$completer);
  60131. case 1:
  60132. // rethrow
  60133. return A._asyncRethrow($async$currentError, $async$completer);
  60134. }
  60135. });
  60136. return A._asyncStartSync($async$call$0, $async$completer);
  60137. },
  60138. $signature: 2
  60139. };
  60140. A._EvaluateVisitor__loadModule__closure1.prototype = {
  60141. call$1(previousLoad) {
  60142. 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));
  60143. },
  60144. $signature: 91
  60145. };
  60146. A._EvaluateVisitor__loadModule__closure2.prototype = {
  60147. call$0() {
  60148. return this.callback.call$1(this._box_0.module);
  60149. },
  60150. $signature: 0
  60151. };
  60152. A._EvaluateVisitor__execute_closure0.prototype = {
  60153. call$0() {
  60154. var $async$goto = 0,
  60155. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60156. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  60157. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60158. if ($async$errorCode === 1)
  60159. return A._asyncRethrow($async$result, $async$completer);
  60160. while (true)
  60161. switch ($async$goto) {
  60162. case 0:
  60163. // Function start
  60164. t1 = $async$self.$this;
  60165. oldImporter = t1._async_evaluate$_importer;
  60166. oldStylesheet = t1._async_evaluate$__stylesheet;
  60167. oldRoot = t1._async_evaluate$__root;
  60168. oldParent = t1._async_evaluate$__parent;
  60169. oldEndOfImports = t1._async_evaluate$__endOfImports;
  60170. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  60171. oldExtensionStore = t1._async_evaluate$__extensionStore;
  60172. t2 = t1._async_evaluate$_atRootExcludingStyleRule;
  60173. oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  60174. oldMediaQueries = t1._async_evaluate$_mediaQueries;
  60175. oldDeclarationName = t1._async_evaluate$_declarationName;
  60176. oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  60177. oldInKeyframes = t1._async_evaluate$_inKeyframes;
  60178. oldConfiguration = t1._async_evaluate$_configuration;
  60179. t1._async_evaluate$_importer = $async$self.importer;
  60180. t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
  60181. t4 = t3.span;
  60182. t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
  60183. t1._async_evaluate$__endOfImports = 0;
  60184. t1._async_evaluate$_outOfOrderImports = null;
  60185. t1._async_evaluate$__extensionStore = $async$self.extensionStore;
  60186. t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
  60187. t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
  60188. t6 = $async$self.configuration;
  60189. if (t6 != null)
  60190. t1._async_evaluate$_configuration = t6;
  60191. $async$goto = 2;
  60192. return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
  60193. case 2:
  60194. // returning from await.
  60195. t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  60196. $async$self.css.__late_helper$_value = t3;
  60197. t1._async_evaluate$_importer = oldImporter;
  60198. t1._async_evaluate$__stylesheet = oldStylesheet;
  60199. t1._async_evaluate$__root = oldRoot;
  60200. t1._async_evaluate$__parent = oldParent;
  60201. t1._async_evaluate$__endOfImports = oldEndOfImports;
  60202. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  60203. t1._async_evaluate$__extensionStore = oldExtensionStore;
  60204. t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
  60205. t1._async_evaluate$_mediaQueries = oldMediaQueries;
  60206. t1._async_evaluate$_declarationName = oldDeclarationName;
  60207. t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
  60208. t1._async_evaluate$_atRootExcludingStyleRule = t2;
  60209. t1._async_evaluate$_inKeyframes = oldInKeyframes;
  60210. t1._async_evaluate$_configuration = oldConfiguration;
  60211. // implicit return
  60212. return A._asyncReturn(null, $async$completer);
  60213. }
  60214. });
  60215. return A._asyncStartSync($async$call$0, $async$completer);
  60216. },
  60217. $signature: 2
  60218. };
  60219. A._EvaluateVisitor__combineCss_closure2.prototype = {
  60220. call$1(module) {
  60221. return module.get$transitivelyContainsCss();
  60222. },
  60223. $signature: 123
  60224. };
  60225. A._EvaluateVisitor__combineCss_closure3.prototype = {
  60226. call$1(target) {
  60227. return !this.selectors.contains$1(0, target);
  60228. },
  60229. $signature: 13
  60230. };
  60231. A._EvaluateVisitor__combineCss_closure4.prototype = {
  60232. call$1(module) {
  60233. return module.cloneCss$0();
  60234. },
  60235. $signature: 461
  60236. };
  60237. A._EvaluateVisitor__extendModules_closure1.prototype = {
  60238. call$1(target) {
  60239. return !this.originalSelectors.contains$1(0, target);
  60240. },
  60241. $signature: 13
  60242. };
  60243. A._EvaluateVisitor__extendModules_closure2.prototype = {
  60244. call$0() {
  60245. return A._setArrayType([], type$.JSArray_ExtensionStore);
  60246. },
  60247. $signature: 150
  60248. };
  60249. A._EvaluateVisitor__topologicalModules_visitModule0.prototype = {
  60250. call$1(module) {
  60251. var t1, t2, t3, _i, upstream;
  60252. for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  60253. upstream = t1[_i];
  60254. if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
  60255. this.call$1(upstream);
  60256. }
  60257. this.sorted.addFirst$1(module);
  60258. },
  60259. $signature: 151
  60260. };
  60261. A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
  60262. call$0() {
  60263. var $async$goto = 0,
  60264. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60265. $async$self = this, t1, t2, t3, _i;
  60266. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60267. if ($async$errorCode === 1)
  60268. return A._asyncRethrow($async$result, $async$completer);
  60269. while (true)
  60270. switch ($async$goto) {
  60271. case 0:
  60272. // Function start
  60273. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  60274. case 2:
  60275. // for condition
  60276. if (!(_i < t2)) {
  60277. // goto after for
  60278. $async$goto = 4;
  60279. break;
  60280. }
  60281. $async$goto = 5;
  60282. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  60283. case 5:
  60284. // returning from await.
  60285. case 3:
  60286. // for update
  60287. ++_i;
  60288. // goto for condition
  60289. $async$goto = 2;
  60290. break;
  60291. case 4:
  60292. // after for
  60293. // implicit return
  60294. return A._asyncReturn(null, $async$completer);
  60295. }
  60296. });
  60297. return A._asyncStartSync($async$call$0, $async$completer);
  60298. },
  60299. $signature: 2
  60300. };
  60301. A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
  60302. call$0() {
  60303. var $async$goto = 0,
  60304. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  60305. $async$self = this, t1, t2, t3, _i;
  60306. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60307. if ($async$errorCode === 1)
  60308. return A._asyncRethrow($async$result, $async$completer);
  60309. while (true)
  60310. switch ($async$goto) {
  60311. case 0:
  60312. // Function start
  60313. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  60314. case 2:
  60315. // for condition
  60316. if (!(_i < t2)) {
  60317. // goto after for
  60318. $async$goto = 4;
  60319. break;
  60320. }
  60321. $async$goto = 5;
  60322. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  60323. case 5:
  60324. // returning from await.
  60325. case 3:
  60326. // for update
  60327. ++_i;
  60328. // goto for condition
  60329. $async$goto = 2;
  60330. break;
  60331. case 4:
  60332. // after for
  60333. // implicit return
  60334. return A._asyncReturn(null, $async$completer);
  60335. }
  60336. });
  60337. return A._asyncStartSync($async$call$0, $async$completer);
  60338. },
  60339. $signature: 40
  60340. };
  60341. A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
  60342. call$1(callback) {
  60343. var $async$goto = 0,
  60344. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60345. $async$self = this, t1, t2;
  60346. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60347. if ($async$errorCode === 1)
  60348. return A._asyncRethrow($async$result, $async$completer);
  60349. while (true)
  60350. switch ($async$goto) {
  60351. case 0:
  60352. // Function start
  60353. t1 = $async$self.$this;
  60354. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  60355. t1._async_evaluate$__parent = $async$self.newParent;
  60356. $async$goto = 2;
  60357. return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  60358. case 2:
  60359. // returning from await.
  60360. t1._async_evaluate$__parent = t2;
  60361. // implicit return
  60362. return A._asyncReturn(null, $async$completer);
  60363. }
  60364. });
  60365. return A._asyncStartSync($async$call$1, $async$completer);
  60366. },
  60367. $signature: 34
  60368. };
  60369. A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
  60370. call$1(callback) {
  60371. var $async$goto = 0,
  60372. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60373. $async$self = this, t1, oldAtRootExcludingStyleRule;
  60374. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60375. if ($async$errorCode === 1)
  60376. return A._asyncRethrow($async$result, $async$completer);
  60377. while (true)
  60378. switch ($async$goto) {
  60379. case 0:
  60380. // Function start
  60381. t1 = $async$self.$this;
  60382. oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
  60383. t1._async_evaluate$_atRootExcludingStyleRule = true;
  60384. $async$goto = 2;
  60385. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  60386. case 2:
  60387. // returning from await.
  60388. t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  60389. // implicit return
  60390. return A._asyncReturn(null, $async$completer);
  60391. }
  60392. });
  60393. return A._asyncStartSync($async$call$1, $async$completer);
  60394. },
  60395. $signature: 34
  60396. };
  60397. A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
  60398. call$1(callback) {
  60399. return this.$this._async_evaluate$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
  60400. },
  60401. $signature: 34
  60402. };
  60403. A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
  60404. call$0() {
  60405. return this.innerScope.call$1(this.callback);
  60406. },
  60407. $signature: 2
  60408. };
  60409. A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
  60410. call$1(callback) {
  60411. var $async$goto = 0,
  60412. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60413. $async$self = this, t1, wasInKeyframes;
  60414. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60415. if ($async$errorCode === 1)
  60416. return A._asyncRethrow($async$result, $async$completer);
  60417. while (true)
  60418. switch ($async$goto) {
  60419. case 0:
  60420. // Function start
  60421. t1 = $async$self.$this;
  60422. wasInKeyframes = t1._async_evaluate$_inKeyframes;
  60423. t1._async_evaluate$_inKeyframes = false;
  60424. $async$goto = 2;
  60425. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  60426. case 2:
  60427. // returning from await.
  60428. t1._async_evaluate$_inKeyframes = wasInKeyframes;
  60429. // implicit return
  60430. return A._asyncReturn(null, $async$completer);
  60431. }
  60432. });
  60433. return A._asyncStartSync($async$call$1, $async$completer);
  60434. },
  60435. $signature: 34
  60436. };
  60437. A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
  60438. call$1($parent) {
  60439. return type$.CssAtRule._is($parent);
  60440. },
  60441. $signature: 149
  60442. };
  60443. A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
  60444. call$1(callback) {
  60445. var $async$goto = 0,
  60446. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60447. $async$self = this, t1, wasInUnknownAtRule;
  60448. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60449. if ($async$errorCode === 1)
  60450. return A._asyncRethrow($async$result, $async$completer);
  60451. while (true)
  60452. switch ($async$goto) {
  60453. case 0:
  60454. // Function start
  60455. t1 = $async$self.$this;
  60456. wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  60457. t1._async_evaluate$_inUnknownAtRule = false;
  60458. $async$goto = 2;
  60459. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  60460. case 2:
  60461. // returning from await.
  60462. t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  60463. // implicit return
  60464. return A._asyncReturn(null, $async$completer);
  60465. }
  60466. });
  60467. return A._asyncStartSync($async$call$1, $async$completer);
  60468. },
  60469. $signature: 34
  60470. };
  60471. A._EvaluateVisitor_visitContentRule_closure0.prototype = {
  60472. call$0() {
  60473. var $async$goto = 0,
  60474. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60475. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  60476. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60477. if ($async$errorCode === 1)
  60478. return A._asyncRethrow($async$result, $async$completer);
  60479. while (true)
  60480. switch ($async$goto) {
  60481. case 0:
  60482. // Function start
  60483. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  60484. case 3:
  60485. // for condition
  60486. if (!(_i < t2)) {
  60487. // goto after for
  60488. $async$goto = 5;
  60489. break;
  60490. }
  60491. $async$goto = 6;
  60492. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  60493. case 6:
  60494. // returning from await.
  60495. case 4:
  60496. // for update
  60497. ++_i;
  60498. // goto for condition
  60499. $async$goto = 3;
  60500. break;
  60501. case 5:
  60502. // after for
  60503. $async$returnValue = null;
  60504. // goto return
  60505. $async$goto = 1;
  60506. break;
  60507. case 1:
  60508. // return
  60509. return A._asyncReturn($async$returnValue, $async$completer);
  60510. }
  60511. });
  60512. return A._asyncStartSync($async$call$0, $async$completer);
  60513. },
  60514. $signature: 2
  60515. };
  60516. A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
  60517. call$1(value) {
  60518. return this.$call$body$_EvaluateVisitor_visitDeclaration_closure(value);
  60519. },
  60520. $call$body$_EvaluateVisitor_visitDeclaration_closure(value) {
  60521. var $async$goto = 0,
  60522. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value),
  60523. $async$returnValue, $async$self = this, $async$temp1;
  60524. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60525. if ($async$errorCode === 1)
  60526. return A._asyncRethrow($async$result, $async$completer);
  60527. while (true)
  60528. switch ($async$goto) {
  60529. case 0:
  60530. // Function start
  60531. $async$temp1 = A;
  60532. $async$goto = 3;
  60533. return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
  60534. case 3:
  60535. // returning from await.
  60536. $async$returnValue = new $async$temp1.CssValue($async$result, value.get$span(value), type$.CssValue_Value);
  60537. // goto return
  60538. $async$goto = 1;
  60539. break;
  60540. case 1:
  60541. // return
  60542. return A._asyncReturn($async$returnValue, $async$completer);
  60543. }
  60544. });
  60545. return A._asyncStartSync($async$call$1, $async$completer);
  60546. },
  60547. $signature: 492
  60548. };
  60549. A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
  60550. call$0() {
  60551. var $async$goto = 0,
  60552. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60553. $async$self = this, t1, t2, t3, _i;
  60554. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60555. if ($async$errorCode === 1)
  60556. return A._asyncRethrow($async$result, $async$completer);
  60557. while (true)
  60558. switch ($async$goto) {
  60559. case 0:
  60560. // Function start
  60561. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  60562. case 2:
  60563. // for condition
  60564. if (!(_i < t2)) {
  60565. // goto after for
  60566. $async$goto = 4;
  60567. break;
  60568. }
  60569. $async$goto = 5;
  60570. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  60571. case 5:
  60572. // returning from await.
  60573. case 3:
  60574. // for update
  60575. ++_i;
  60576. // goto for condition
  60577. $async$goto = 2;
  60578. break;
  60579. case 4:
  60580. // after for
  60581. // implicit return
  60582. return A._asyncReturn(null, $async$completer);
  60583. }
  60584. });
  60585. return A._asyncStartSync($async$call$0, $async$completer);
  60586. },
  60587. $signature: 2
  60588. };
  60589. A._EvaluateVisitor_visitEachRule_closure2.prototype = {
  60590. call$1(value) {
  60591. var t1 = this.$this,
  60592. t2 = this.nodeWithSpan;
  60593. return t1._async_evaluate$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate$_withoutSlash$2(value, t2), t2);
  60594. },
  60595. $signature: 56
  60596. };
  60597. A._EvaluateVisitor_visitEachRule_closure3.prototype = {
  60598. call$1(value) {
  60599. return this.$this._async_evaluate$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
  60600. },
  60601. $signature: 56
  60602. };
  60603. A._EvaluateVisitor_visitEachRule_closure4.prototype = {
  60604. call$0() {
  60605. var _this = this,
  60606. t1 = _this.$this;
  60607. return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
  60608. },
  60609. $signature: 72
  60610. };
  60611. A._EvaluateVisitor_visitEachRule__closure0.prototype = {
  60612. call$1(element) {
  60613. var t1;
  60614. this.setVariables.call$1(element);
  60615. t1 = this.$this;
  60616. return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
  60617. },
  60618. $signature: 500
  60619. };
  60620. A._EvaluateVisitor_visitEachRule___closure0.prototype = {
  60621. call$1(child) {
  60622. return child.accept$1(this.$this);
  60623. },
  60624. $signature: 86
  60625. };
  60626. A._EvaluateVisitor_visitAtRule_closure2.prototype = {
  60627. call$1(value) {
  60628. return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
  60629. },
  60630. $signature: 502
  60631. };
  60632. A._EvaluateVisitor_visitAtRule_closure3.prototype = {
  60633. call$0() {
  60634. var $async$goto = 0,
  60635. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60636. $async$self = this, t2, t3, _i, t1, styleRule;
  60637. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60638. if ($async$errorCode === 1)
  60639. return A._asyncRethrow($async$result, $async$completer);
  60640. while (true)
  60641. switch ($async$goto) {
  60642. case 0:
  60643. // Function start
  60644. t1 = $async$self.$this;
  60645. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  60646. $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  60647. break;
  60648. case 2:
  60649. // then
  60650. t2 = $async$self.children, t3 = t2.length, _i = 0;
  60651. case 5:
  60652. // for condition
  60653. if (!(_i < t3)) {
  60654. // goto after for
  60655. $async$goto = 7;
  60656. break;
  60657. }
  60658. $async$goto = 8;
  60659. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  60660. case 8:
  60661. // returning from await.
  60662. case 6:
  60663. // for update
  60664. ++_i;
  60665. // goto for condition
  60666. $async$goto = 5;
  60667. break;
  60668. case 7:
  60669. // after for
  60670. // goto join
  60671. $async$goto = 3;
  60672. break;
  60673. case 4:
  60674. // else
  60675. $async$goto = 9;
  60676. 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);
  60677. case 9:
  60678. // returning from await.
  60679. case 3:
  60680. // join
  60681. // implicit return
  60682. return A._asyncReturn(null, $async$completer);
  60683. }
  60684. });
  60685. return A._asyncStartSync($async$call$0, $async$completer);
  60686. },
  60687. $signature: 2
  60688. };
  60689. A._EvaluateVisitor_visitAtRule__closure0.prototype = {
  60690. call$0() {
  60691. var $async$goto = 0,
  60692. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60693. $async$self = this, t1, t2, t3, _i;
  60694. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60695. if ($async$errorCode === 1)
  60696. return A._asyncRethrow($async$result, $async$completer);
  60697. while (true)
  60698. switch ($async$goto) {
  60699. case 0:
  60700. // Function start
  60701. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  60702. case 2:
  60703. // for condition
  60704. if (!(_i < t2)) {
  60705. // goto after for
  60706. $async$goto = 4;
  60707. break;
  60708. }
  60709. $async$goto = 5;
  60710. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  60711. case 5:
  60712. // returning from await.
  60713. case 3:
  60714. // for update
  60715. ++_i;
  60716. // goto for condition
  60717. $async$goto = 2;
  60718. break;
  60719. case 4:
  60720. // after for
  60721. // implicit return
  60722. return A._asyncReturn(null, $async$completer);
  60723. }
  60724. });
  60725. return A._asyncStartSync($async$call$0, $async$completer);
  60726. },
  60727. $signature: 2
  60728. };
  60729. A._EvaluateVisitor_visitAtRule_closure4.prototype = {
  60730. call$1(node) {
  60731. return type$.CssStyleRule._is(node);
  60732. },
  60733. $signature: 7
  60734. };
  60735. A._EvaluateVisitor_visitForRule_closure4.prototype = {
  60736. call$0() {
  60737. var $async$goto = 0,
  60738. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  60739. $async$returnValue, $async$self = this;
  60740. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60741. if ($async$errorCode === 1)
  60742. return A._asyncRethrow($async$result, $async$completer);
  60743. while (true)
  60744. switch ($async$goto) {
  60745. case 0:
  60746. // Function start
  60747. $async$goto = 3;
  60748. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  60749. case 3:
  60750. // returning from await.
  60751. $async$returnValue = $async$result.assertNumber$0();
  60752. // goto return
  60753. $async$goto = 1;
  60754. break;
  60755. case 1:
  60756. // return
  60757. return A._asyncReturn($async$returnValue, $async$completer);
  60758. }
  60759. });
  60760. return A._asyncStartSync($async$call$0, $async$completer);
  60761. },
  60762. $signature: 148
  60763. };
  60764. A._EvaluateVisitor_visitForRule_closure5.prototype = {
  60765. call$0() {
  60766. var $async$goto = 0,
  60767. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  60768. $async$returnValue, $async$self = this;
  60769. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60770. if ($async$errorCode === 1)
  60771. return A._asyncRethrow($async$result, $async$completer);
  60772. while (true)
  60773. switch ($async$goto) {
  60774. case 0:
  60775. // Function start
  60776. $async$goto = 3;
  60777. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  60778. case 3:
  60779. // returning from await.
  60780. $async$returnValue = $async$result.assertNumber$0();
  60781. // goto return
  60782. $async$goto = 1;
  60783. break;
  60784. case 1:
  60785. // return
  60786. return A._asyncReturn($async$returnValue, $async$completer);
  60787. }
  60788. });
  60789. return A._asyncStartSync($async$call$0, $async$completer);
  60790. },
  60791. $signature: 148
  60792. };
  60793. A._EvaluateVisitor_visitForRule_closure6.prototype = {
  60794. call$0() {
  60795. return this.fromNumber.assertInt$0();
  60796. },
  60797. $signature: 12
  60798. };
  60799. A._EvaluateVisitor_visitForRule_closure7.prototype = {
  60800. call$0() {
  60801. var t1 = this.fromNumber;
  60802. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  60803. },
  60804. $signature: 12
  60805. };
  60806. A._EvaluateVisitor_visitForRule_closure8.prototype = {
  60807. call$0() {
  60808. var $async$goto = 0,
  60809. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  60810. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
  60811. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60812. if ($async$errorCode === 1)
  60813. return A._asyncRethrow($async$result, $async$completer);
  60814. while (true)
  60815. switch ($async$goto) {
  60816. case 0:
  60817. // Function start
  60818. t1 = $async$self.$this;
  60819. t2 = $async$self.node;
  60820. nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
  60821. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  60822. case 3:
  60823. // for condition
  60824. if (!(i !== t3.to)) {
  60825. // goto after for
  60826. $async$goto = 5;
  60827. break;
  60828. }
  60829. t7 = t1._async_evaluate$_environment;
  60830. t8 = t6.get$numeratorUnits(t6);
  60831. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  60832. $async$goto = 6;
  60833. return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
  60834. case 6:
  60835. // returning from await.
  60836. result = $async$result;
  60837. if (result != null) {
  60838. $async$returnValue = result;
  60839. // goto return
  60840. $async$goto = 1;
  60841. break;
  60842. }
  60843. case 4:
  60844. // for update
  60845. i += t4;
  60846. // goto for condition
  60847. $async$goto = 3;
  60848. break;
  60849. case 5:
  60850. // after for
  60851. $async$returnValue = null;
  60852. // goto return
  60853. $async$goto = 1;
  60854. break;
  60855. case 1:
  60856. // return
  60857. return A._asyncReturn($async$returnValue, $async$completer);
  60858. }
  60859. });
  60860. return A._asyncStartSync($async$call$0, $async$completer);
  60861. },
  60862. $signature: 72
  60863. };
  60864. A._EvaluateVisitor_visitForRule__closure0.prototype = {
  60865. call$1(child) {
  60866. return child.accept$1(this.$this);
  60867. },
  60868. $signature: 86
  60869. };
  60870. A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
  60871. call$1(module) {
  60872. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  60873. },
  60874. $signature: 121
  60875. };
  60876. A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
  60877. call$1(module) {
  60878. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  60879. },
  60880. $signature: 121
  60881. };
  60882. A._EvaluateVisitor_visitIfRule_closure0.prototype = {
  60883. call$0() {
  60884. var t1 = this.$this;
  60885. return t1._async_evaluate$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure0(t1));
  60886. },
  60887. $signature: 72
  60888. };
  60889. A._EvaluateVisitor_visitIfRule__closure0.prototype = {
  60890. call$1(child) {
  60891. return child.accept$1(this.$this);
  60892. },
  60893. $signature: 86
  60894. };
  60895. A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
  60896. call$0() {
  60897. var $async$goto = 0,
  60898. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  60899. $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;
  60900. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60901. if ($async$errorCode === 1)
  60902. return A._asyncRethrow($async$result, $async$completer);
  60903. while (true)
  60904. switch ($async$goto) {
  60905. case 0:
  60906. // Function start
  60907. t1 = $async$self.$this;
  60908. t2 = $async$self.$import;
  60909. $async$goto = 3;
  60910. return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  60911. case 3:
  60912. // returning from await.
  60913. result = $async$result;
  60914. stylesheet = result.stylesheet;
  60915. t3 = stylesheet.span;
  60916. url = t3.get$sourceUrl(t3);
  60917. if (url != null) {
  60918. t3 = t1._async_evaluate$_activeModules;
  60919. if (t3.containsKey$1(url)) {
  60920. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
  60921. throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
  60922. }
  60923. t3.$indexSet(0, url, t2);
  60924. }
  60925. t2 = stylesheet._uses;
  60926. t3 = type$.UnmodifiableListView_UseRule;
  60927. t4 = new A.UnmodifiableListView(t2, t3);
  60928. if (t4.get$length(t4) === 0) {
  60929. t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  60930. t4 = t4.get$length(t4) === 0;
  60931. } else
  60932. t4 = false;
  60933. $async$goto = t4 ? 4 : 5;
  60934. break;
  60935. case 4:
  60936. // then
  60937. oldImporter = t1._async_evaluate$_importer;
  60938. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  60939. oldInDependency = t1._async_evaluate$_inDependency;
  60940. t1._async_evaluate$_importer = result.importer;
  60941. t1._async_evaluate$__stylesheet = stylesheet;
  60942. t1._async_evaluate$_inDependency = result.isDependency;
  60943. $async$goto = 6;
  60944. return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
  60945. case 6:
  60946. // returning from await.
  60947. t1._async_evaluate$_importer = oldImporter;
  60948. t1._async_evaluate$__stylesheet = t2;
  60949. t1._async_evaluate$_inDependency = oldInDependency;
  60950. t1._async_evaluate$_activeModules.remove$1(0, url);
  60951. // goto return
  60952. $async$goto = 1;
  60953. break;
  60954. case 5:
  60955. // join
  60956. t2 = new A.UnmodifiableListView(t2, t3);
  60957. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
  60958. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  60959. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
  60960. } else
  60961. loadsUserDefinedModules = true;
  60962. children = A._Cell$();
  60963. t2 = t1._async_evaluate$_environment;
  60964. t3 = type$.String;
  60965. t4 = type$.Module_AsyncCallable;
  60966. t5 = type$.AstNode;
  60967. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
  60968. t7 = t2._async_environment$_variables;
  60969. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  60970. t8 = t2._async_environment$_variableNodes;
  60971. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  60972. t9 = t2._async_environment$_functions;
  60973. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  60974. t10 = t2._async_environment$_mixins;
  60975. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  60976. 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);
  60977. $async$goto = 7;
  60978. 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);
  60979. case 7:
  60980. // returning from await.
  60981. module = environment.toDummyModule$0();
  60982. t1._async_evaluate$_environment.importForwards$1(module);
  60983. $async$goto = loadsUserDefinedModules ? 8 : 9;
  60984. break;
  60985. case 8:
  60986. // then
  60987. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  60988. break;
  60989. case 10:
  60990. // then
  60991. $async$goto = 12;
  60992. return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  60993. case 12:
  60994. // returning from await.
  60995. case 11:
  60996. // join
  60997. visitor = new A._ImportedCssVisitor0(t1);
  60998. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  60999. t2.get$current(t2).accept$1(visitor);
  61000. case 9:
  61001. // join
  61002. t1._async_evaluate$_activeModules.remove$1(0, url);
  61003. case 1:
  61004. // return
  61005. return A._asyncReturn($async$returnValue, $async$completer);
  61006. }
  61007. });
  61008. return A._asyncStartSync($async$call$0, $async$completer);
  61009. },
  61010. $signature: 40
  61011. };
  61012. A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
  61013. call$1(previousLoad) {
  61014. 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));
  61015. },
  61016. $signature: 91
  61017. };
  61018. A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
  61019. call$1(rule) {
  61020. return rule.url.get$scheme() !== "sass";
  61021. },
  61022. $signature: 145
  61023. };
  61024. A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
  61025. call$1(rule) {
  61026. return rule.url.get$scheme() !== "sass";
  61027. },
  61028. $signature: 142
  61029. };
  61030. A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
  61031. call$0() {
  61032. var $async$goto = 0,
  61033. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  61034. $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
  61035. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61036. if ($async$errorCode === 1)
  61037. return A._asyncRethrow($async$result, $async$completer);
  61038. while (true)
  61039. switch ($async$goto) {
  61040. case 0:
  61041. // Function start
  61042. t1 = $async$self.$this;
  61043. oldImporter = t1._async_evaluate$_importer;
  61044. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  61045. t3 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
  61046. t4 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  61047. t5 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
  61048. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  61049. oldConfiguration = t1._async_evaluate$_configuration;
  61050. oldInDependency = t1._async_evaluate$_inDependency;
  61051. t6 = $async$self.result;
  61052. t1._async_evaluate$_importer = t6.importer;
  61053. t7 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
  61054. t8 = $async$self.loadsUserDefinedModules;
  61055. if (t8) {
  61056. t9 = A.ModifiableCssStylesheet$(t7.span);
  61057. t1._async_evaluate$__root = t9;
  61058. t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t9, "_root");
  61059. t1._async_evaluate$__endOfImports = 0;
  61060. t1._async_evaluate$_outOfOrderImports = null;
  61061. }
  61062. t1._async_evaluate$_inDependency = t6.isDependency;
  61063. t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
  61064. if (!t6.get$isEmpty(t6))
  61065. t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
  61066. $async$goto = 2;
  61067. return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
  61068. case 2:
  61069. // returning from await.
  61070. t6 = t8 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  61071. $async$self.children.__late_helper$_value = t6;
  61072. t1._async_evaluate$_importer = oldImporter;
  61073. t1._async_evaluate$__stylesheet = t2;
  61074. if (t8) {
  61075. t1._async_evaluate$__root = t3;
  61076. t1._async_evaluate$__parent = t4;
  61077. t1._async_evaluate$__endOfImports = t5;
  61078. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  61079. }
  61080. t1._async_evaluate$_configuration = oldConfiguration;
  61081. t1._async_evaluate$_inDependency = oldInDependency;
  61082. // implicit return
  61083. return A._asyncReturn(null, $async$completer);
  61084. }
  61085. });
  61086. return A._asyncStartSync($async$call$0, $async$completer);
  61087. },
  61088. $signature: 2
  61089. };
  61090. A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
  61091. call$0() {
  61092. var t1 = this.node;
  61093. return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  61094. },
  61095. $signature: 110
  61096. };
  61097. A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
  61098. call$0() {
  61099. return this.node.get$spanWithoutContent();
  61100. },
  61101. $signature: 25
  61102. };
  61103. A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
  61104. call$1($content) {
  61105. var t1 = this.$this;
  61106. return new A.UserDefinedCallable($content, t1._async_evaluate$_environment.closure$0(), t1._async_evaluate$_inDependency, type$.UserDefinedCallable_AsyncEnvironment);
  61107. },
  61108. $signature: 518
  61109. };
  61110. A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
  61111. call$0() {
  61112. var $async$goto = 0,
  61113. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  61114. $async$self = this, t1;
  61115. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61116. if ($async$errorCode === 1)
  61117. return A._asyncRethrow($async$result, $async$completer);
  61118. while (true)
  61119. switch ($async$goto) {
  61120. case 0:
  61121. // Function start
  61122. t1 = $async$self.$this;
  61123. $async$goto = 2;
  61124. 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);
  61125. case 2:
  61126. // returning from await.
  61127. // implicit return
  61128. return A._asyncReturn(null, $async$completer);
  61129. }
  61130. });
  61131. return A._asyncStartSync($async$call$0, $async$completer);
  61132. },
  61133. $signature: 2
  61134. };
  61135. A._EvaluateVisitor_visitIncludeRule__closure0.prototype = {
  61136. call$0() {
  61137. var $async$goto = 0,
  61138. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  61139. $async$self = this, t1;
  61140. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61141. if ($async$errorCode === 1)
  61142. return A._asyncRethrow($async$result, $async$completer);
  61143. while (true)
  61144. switch ($async$goto) {
  61145. case 0:
  61146. // Function start
  61147. t1 = $async$self.$this;
  61148. $async$goto = 2;
  61149. return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure0(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
  61150. case 2:
  61151. // returning from await.
  61152. // implicit return
  61153. return A._asyncReturn(null, $async$completer);
  61154. }
  61155. });
  61156. return A._asyncStartSync($async$call$0, $async$completer);
  61157. },
  61158. $signature: 40
  61159. };
  61160. A._EvaluateVisitor_visitIncludeRule___closure0.prototype = {
  61161. call$0() {
  61162. var $async$goto = 0,
  61163. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  61164. $async$self = this, t1, t2, t3, t4, t5, _i;
  61165. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61166. if ($async$errorCode === 1)
  61167. return A._asyncRethrow($async$result, $async$completer);
  61168. while (true)
  61169. switch ($async$goto) {
  61170. case 0:
  61171. // Function start
  61172. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value, _i = 0;
  61173. case 2:
  61174. // for condition
  61175. if (!(_i < t2)) {
  61176. // goto after for
  61177. $async$goto = 4;
  61178. break;
  61179. }
  61180. $async$goto = 5;
  61181. return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure0(t3, t1[_i]), t5), $async$call$0);
  61182. case 5:
  61183. // returning from await.
  61184. case 3:
  61185. // for update
  61186. ++_i;
  61187. // goto for condition
  61188. $async$goto = 2;
  61189. break;
  61190. case 4:
  61191. // after for
  61192. // implicit return
  61193. return A._asyncReturn(null, $async$completer);
  61194. }
  61195. });
  61196. return A._asyncStartSync($async$call$0, $async$completer);
  61197. },
  61198. $signature: 40
  61199. };
  61200. A._EvaluateVisitor_visitIncludeRule____closure0.prototype = {
  61201. call$0() {
  61202. return this.statement.accept$1(this.$this);
  61203. },
  61204. $signature: 72
  61205. };
  61206. A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
  61207. call$1(mediaQueries) {
  61208. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
  61209. },
  61210. $signature: 78
  61211. };
  61212. A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
  61213. call$0() {
  61214. var $async$goto = 0,
  61215. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  61216. $async$self = this, t1, t2;
  61217. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61218. if ($async$errorCode === 1)
  61219. return A._asyncRethrow($async$result, $async$completer);
  61220. while (true)
  61221. switch ($async$goto) {
  61222. case 0:
  61223. // Function start
  61224. t1 = $async$self.$this;
  61225. t2 = $async$self.mergedQueries;
  61226. if (t2 == null)
  61227. t2 = $async$self.queries;
  61228. $async$goto = 2;
  61229. 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);
  61230. case 2:
  61231. // returning from await.
  61232. // implicit return
  61233. return A._asyncReturn(null, $async$completer);
  61234. }
  61235. });
  61236. return A._asyncStartSync($async$call$0, $async$completer);
  61237. },
  61238. $signature: 2
  61239. };
  61240. A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
  61241. call$0() {
  61242. var $async$goto = 0,
  61243. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  61244. $async$self = this, t2, t3, _i, t1, styleRule;
  61245. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61246. if ($async$errorCode === 1)
  61247. return A._asyncRethrow($async$result, $async$completer);
  61248. while (true)
  61249. switch ($async$goto) {
  61250. case 0:
  61251. // Function start
  61252. t1 = $async$self.$this;
  61253. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  61254. $async$goto = styleRule == null ? 2 : 4;
  61255. break;
  61256. case 2:
  61257. // then
  61258. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  61259. case 5:
  61260. // for condition
  61261. if (!(_i < t3)) {
  61262. // goto after for
  61263. $async$goto = 7;
  61264. break;
  61265. }
  61266. $async$goto = 8;
  61267. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  61268. case 8:
  61269. // returning from await.
  61270. case 6:
  61271. // for update
  61272. ++_i;
  61273. // goto for condition
  61274. $async$goto = 5;
  61275. break;
  61276. case 7:
  61277. // after for
  61278. // goto join
  61279. $async$goto = 3;
  61280. break;
  61281. case 4:
  61282. // else
  61283. $async$goto = 9;
  61284. 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);
  61285. case 9:
  61286. // returning from await.
  61287. case 3:
  61288. // join
  61289. // implicit return
  61290. return A._asyncReturn(null, $async$completer);
  61291. }
  61292. });
  61293. return A._asyncStartSync($async$call$0, $async$completer);
  61294. },
  61295. $signature: 2
  61296. };
  61297. A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
  61298. call$0() {
  61299. var $async$goto = 0,
  61300. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  61301. $async$self = this, t1, t2, t3, _i;
  61302. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61303. if ($async$errorCode === 1)
  61304. return A._asyncRethrow($async$result, $async$completer);
  61305. while (true)
  61306. switch ($async$goto) {
  61307. case 0:
  61308. // Function start
  61309. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  61310. case 2:
  61311. // for condition
  61312. if (!(_i < t2)) {
  61313. // goto after for
  61314. $async$goto = 4;
  61315. break;
  61316. }
  61317. $async$goto = 5;
  61318. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  61319. case 5:
  61320. // returning from await.
  61321. case 3:
  61322. // for update
  61323. ++_i;
  61324. // goto for condition
  61325. $async$goto = 2;
  61326. break;
  61327. case 4:
  61328. // after for
  61329. // implicit return
  61330. return A._asyncReturn(null, $async$completer);
  61331. }
  61332. });
  61333. return A._asyncStartSync($async$call$0, $async$completer);
  61334. },
  61335. $signature: 2
  61336. };
  61337. A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
  61338. call$1(node) {
  61339. var t1;
  61340. if (!type$.CssStyleRule._is(node)) {
  61341. t1 = this.mergedSources;
  61342. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  61343. } else
  61344. t1 = true;
  61345. return t1;
  61346. },
  61347. $signature: 7
  61348. };
  61349. A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
  61350. call$0() {
  61351. var $async$goto = 0,
  61352. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  61353. $async$self = this, t1, t2, t3, _i;
  61354. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61355. if ($async$errorCode === 1)
  61356. return A._asyncRethrow($async$result, $async$completer);
  61357. while (true)
  61358. switch ($async$goto) {
  61359. case 0:
  61360. // Function start
  61361. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  61362. case 2:
  61363. // for condition
  61364. if (!(_i < t2)) {
  61365. // goto after for
  61366. $async$goto = 4;
  61367. break;
  61368. }
  61369. $async$goto = 5;
  61370. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  61371. case 5:
  61372. // returning from await.
  61373. case 3:
  61374. // for update
  61375. ++_i;
  61376. // goto for condition
  61377. $async$goto = 2;
  61378. break;
  61379. case 4:
  61380. // after for
  61381. // implicit return
  61382. return A._asyncReturn(null, $async$completer);
  61383. }
  61384. });
  61385. return A._asyncStartSync($async$call$0, $async$completer);
  61386. },
  61387. $signature: 2
  61388. };
  61389. A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
  61390. call$1(node) {
  61391. return type$.CssStyleRule._is(node);
  61392. },
  61393. $signature: 7
  61394. };
  61395. A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
  61396. call$0() {
  61397. var $async$goto = 0,
  61398. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  61399. $async$self = this, t1;
  61400. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61401. if ($async$errorCode === 1)
  61402. return A._asyncRethrow($async$result, $async$completer);
  61403. while (true)
  61404. switch ($async$goto) {
  61405. case 0:
  61406. // Function start
  61407. t1 = $async$self.$this;
  61408. $async$goto = 2;
  61409. 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);
  61410. case 2:
  61411. // returning from await.
  61412. // implicit return
  61413. return A._asyncReturn(null, $async$completer);
  61414. }
  61415. });
  61416. return A._asyncStartSync($async$call$0, $async$completer);
  61417. },
  61418. $signature: 2
  61419. };
  61420. A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
  61421. call$0() {
  61422. var $async$goto = 0,
  61423. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  61424. $async$self = this, t1, t2, t3, _i;
  61425. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61426. if ($async$errorCode === 1)
  61427. return A._asyncRethrow($async$result, $async$completer);
  61428. while (true)
  61429. switch ($async$goto) {
  61430. case 0:
  61431. // Function start
  61432. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  61433. case 2:
  61434. // for condition
  61435. if (!(_i < t2)) {
  61436. // goto after for
  61437. $async$goto = 4;
  61438. break;
  61439. }
  61440. $async$goto = 5;
  61441. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  61442. case 5:
  61443. // returning from await.
  61444. case 3:
  61445. // for update
  61446. ++_i;
  61447. // goto for condition
  61448. $async$goto = 2;
  61449. break;
  61450. case 4:
  61451. // after for
  61452. // implicit return
  61453. return A._asyncReturn(null, $async$completer);
  61454. }
  61455. });
  61456. return A._asyncStartSync($async$call$0, $async$completer);
  61457. },
  61458. $signature: 2
  61459. };
  61460. A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
  61461. call$1(node) {
  61462. return type$.CssStyleRule._is(node);
  61463. },
  61464. $signature: 7
  61465. };
  61466. A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
  61467. call$1(child) {
  61468. return type$.CssComment._is(child);
  61469. },
  61470. $signature: 131
  61471. };
  61472. A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
  61473. call$0() {
  61474. var $async$goto = 0,
  61475. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  61476. $async$self = this, t2, t3, _i, t1, styleRule;
  61477. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61478. if ($async$errorCode === 1)
  61479. return A._asyncRethrow($async$result, $async$completer);
  61480. while (true)
  61481. switch ($async$goto) {
  61482. case 0:
  61483. // Function start
  61484. t1 = $async$self.$this;
  61485. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  61486. $async$goto = styleRule == null ? 2 : 4;
  61487. break;
  61488. case 2:
  61489. // then
  61490. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  61491. case 5:
  61492. // for condition
  61493. if (!(_i < t3)) {
  61494. // goto after for
  61495. $async$goto = 7;
  61496. break;
  61497. }
  61498. $async$goto = 8;
  61499. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  61500. case 8:
  61501. // returning from await.
  61502. case 6:
  61503. // for update
  61504. ++_i;
  61505. // goto for condition
  61506. $async$goto = 5;
  61507. break;
  61508. case 7:
  61509. // after for
  61510. // goto join
  61511. $async$goto = 3;
  61512. break;
  61513. case 4:
  61514. // else
  61515. $async$goto = 9;
  61516. 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);
  61517. case 9:
  61518. // returning from await.
  61519. case 3:
  61520. // join
  61521. // implicit return
  61522. return A._asyncReturn(null, $async$completer);
  61523. }
  61524. });
  61525. return A._asyncStartSync($async$call$0, $async$completer);
  61526. },
  61527. $signature: 2
  61528. };
  61529. A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
  61530. call$0() {
  61531. var $async$goto = 0,
  61532. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  61533. $async$self = this, t1, t2, t3, _i;
  61534. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61535. if ($async$errorCode === 1)
  61536. return A._asyncRethrow($async$result, $async$completer);
  61537. while (true)
  61538. switch ($async$goto) {
  61539. case 0:
  61540. // Function start
  61541. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  61542. case 2:
  61543. // for condition
  61544. if (!(_i < t2)) {
  61545. // goto after for
  61546. $async$goto = 4;
  61547. break;
  61548. }
  61549. $async$goto = 5;
  61550. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  61551. case 5:
  61552. // returning from await.
  61553. case 3:
  61554. // for update
  61555. ++_i;
  61556. // goto for condition
  61557. $async$goto = 2;
  61558. break;
  61559. case 4:
  61560. // after for
  61561. // implicit return
  61562. return A._asyncReturn(null, $async$completer);
  61563. }
  61564. });
  61565. return A._asyncStartSync($async$call$0, $async$completer);
  61566. },
  61567. $signature: 2
  61568. };
  61569. A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
  61570. call$1(node) {
  61571. return type$.CssStyleRule._is(node);
  61572. },
  61573. $signature: 7
  61574. };
  61575. A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
  61576. call$0() {
  61577. var t1 = this.override;
  61578. this.$this._async_evaluate$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
  61579. },
  61580. $signature: 1
  61581. };
  61582. A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
  61583. call$0() {
  61584. var t1 = this.node;
  61585. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  61586. },
  61587. $signature: 41
  61588. };
  61589. A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
  61590. call$0() {
  61591. var t1 = this.$this,
  61592. t2 = this.node;
  61593. t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  61594. },
  61595. $signature: 1
  61596. };
  61597. A._EvaluateVisitor_visitUseRule_closure0.prototype = {
  61598. call$1(module) {
  61599. var t1 = this.node;
  61600. this.$this._async_evaluate$_environment.addModule$3$namespace(module, t1, t1.namespace);
  61601. },
  61602. $signature: 121
  61603. };
  61604. A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
  61605. call$0() {
  61606. return this.node.expression.accept$1(this.$this);
  61607. },
  61608. $signature: 59
  61609. };
  61610. A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
  61611. call$0() {
  61612. var $async$goto = 0,
  61613. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  61614. $async$returnValue, $async$self = this, t1, t2, t3, result;
  61615. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61616. if ($async$errorCode === 1)
  61617. return A._asyncRethrow($async$result, $async$completer);
  61618. while (true)
  61619. switch ($async$goto) {
  61620. case 0:
  61621. // Function start
  61622. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  61623. case 3:
  61624. // for condition
  61625. $async$goto = 5;
  61626. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  61627. case 5:
  61628. // returning from await.
  61629. if (!$async$result.get$isTruthy()) {
  61630. // goto after for
  61631. $async$goto = 4;
  61632. break;
  61633. }
  61634. $async$goto = 6;
  61635. return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
  61636. case 6:
  61637. // returning from await.
  61638. result = $async$result;
  61639. if (result != null) {
  61640. $async$returnValue = result;
  61641. // goto return
  61642. $async$goto = 1;
  61643. break;
  61644. }
  61645. // goto for condition
  61646. $async$goto = 3;
  61647. break;
  61648. case 4:
  61649. // after for
  61650. $async$returnValue = null;
  61651. // goto return
  61652. $async$goto = 1;
  61653. break;
  61654. case 1:
  61655. // return
  61656. return A._asyncReturn($async$returnValue, $async$completer);
  61657. }
  61658. });
  61659. return A._asyncStartSync($async$call$0, $async$completer);
  61660. },
  61661. $signature: 72
  61662. };
  61663. A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
  61664. call$1(child) {
  61665. return child.accept$1(this.$this);
  61666. },
  61667. $signature: 86
  61668. };
  61669. A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
  61670. call$0() {
  61671. var $async$goto = 0,
  61672. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  61673. $async$returnValue, $async$self = this, right, result, t4, t5, t1, t2, left, t3, $async$temp1;
  61674. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61675. if ($async$errorCode === 1)
  61676. return A._asyncRethrow($async$result, $async$completer);
  61677. while (true)
  61678. switch ($async$goto) {
  61679. case 0:
  61680. // Function start
  61681. t1 = $async$self.node;
  61682. t2 = $async$self.$this;
  61683. $async$goto = 3;
  61684. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  61685. case 3:
  61686. // returning from await.
  61687. left = $async$result;
  61688. t3 = t1.operator;
  61689. case 4:
  61690. // switch
  61691. switch (t3) {
  61692. case B.BinaryOperator_2jN:
  61693. // goto case
  61694. $async$goto = 6;
  61695. break;
  61696. case B.BinaryOperator_M6L:
  61697. // goto case
  61698. $async$goto = 7;
  61699. break;
  61700. case B.BinaryOperator_SNp:
  61701. // goto case
  61702. $async$goto = 8;
  61703. break;
  61704. case B.BinaryOperator_ql5:
  61705. // goto case
  61706. $async$goto = 9;
  61707. break;
  61708. case B.BinaryOperator_ViB:
  61709. // goto case
  61710. $async$goto = 10;
  61711. break;
  61712. case B.BinaryOperator_cIH:
  61713. // goto case
  61714. $async$goto = 11;
  61715. break;
  61716. case B.BinaryOperator_7Tg:
  61717. // goto case
  61718. $async$goto = 12;
  61719. break;
  61720. case B.BinaryOperator_U8c:
  61721. // goto case
  61722. $async$goto = 13;
  61723. break;
  61724. case B.BinaryOperator_kpg:
  61725. // goto case
  61726. $async$goto = 14;
  61727. break;
  61728. case B.BinaryOperator_anB:
  61729. // goto case
  61730. $async$goto = 15;
  61731. break;
  61732. case B.BinaryOperator_olz:
  61733. // goto case
  61734. $async$goto = 16;
  61735. break;
  61736. case B.BinaryOperator_qN2:
  61737. // goto case
  61738. $async$goto = 17;
  61739. break;
  61740. case B.BinaryOperator_t8B:
  61741. // goto case
  61742. $async$goto = 18;
  61743. break;
  61744. case B.BinaryOperator_OTG:
  61745. // goto case
  61746. $async$goto = 19;
  61747. break;
  61748. default:
  61749. // goto default
  61750. $async$goto = 20;
  61751. break;
  61752. }
  61753. break;
  61754. case 6:
  61755. // case
  61756. $async$goto = 21;
  61757. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61758. case 21:
  61759. // returning from await.
  61760. right = $async$result;
  61761. $async$returnValue = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
  61762. // goto return
  61763. $async$goto = 1;
  61764. break;
  61765. case 7:
  61766. // case
  61767. $async$goto = left.get$isTruthy() ? 22 : 24;
  61768. break;
  61769. case 22:
  61770. // then
  61771. $async$result = left;
  61772. // goto join
  61773. $async$goto = 23;
  61774. break;
  61775. case 24:
  61776. // else
  61777. $async$goto = 25;
  61778. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61779. case 25:
  61780. // returning from await.
  61781. case 23:
  61782. // join
  61783. $async$returnValue = $async$result;
  61784. // goto return
  61785. $async$goto = 1;
  61786. break;
  61787. case 8:
  61788. // case
  61789. $async$goto = left.get$isTruthy() ? 26 : 28;
  61790. break;
  61791. case 26:
  61792. // then
  61793. $async$goto = 29;
  61794. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61795. case 29:
  61796. // returning from await.
  61797. // goto join
  61798. $async$goto = 27;
  61799. break;
  61800. case 28:
  61801. // else
  61802. $async$result = left;
  61803. case 27:
  61804. // join
  61805. $async$returnValue = $async$result;
  61806. // goto return
  61807. $async$goto = 1;
  61808. break;
  61809. case 9:
  61810. // case
  61811. $async$temp1 = left;
  61812. $async$goto = 30;
  61813. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61814. case 30:
  61815. // returning from await.
  61816. $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  61817. // goto return
  61818. $async$goto = 1;
  61819. break;
  61820. case 10:
  61821. // case
  61822. $async$temp1 = left;
  61823. $async$goto = 31;
  61824. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61825. case 31:
  61826. // returning from await.
  61827. $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  61828. // goto return
  61829. $async$goto = 1;
  61830. break;
  61831. case 11:
  61832. // case
  61833. $async$temp1 = left;
  61834. $async$goto = 32;
  61835. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61836. case 32:
  61837. // returning from await.
  61838. $async$returnValue = $async$temp1.greaterThan$1($async$result);
  61839. // goto return
  61840. $async$goto = 1;
  61841. break;
  61842. case 12:
  61843. // case
  61844. $async$temp1 = left;
  61845. $async$goto = 33;
  61846. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61847. case 33:
  61848. // returning from await.
  61849. $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
  61850. // goto return
  61851. $async$goto = 1;
  61852. break;
  61853. case 13:
  61854. // case
  61855. $async$temp1 = left;
  61856. $async$goto = 34;
  61857. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61858. case 34:
  61859. // returning from await.
  61860. $async$returnValue = $async$temp1.lessThan$1($async$result);
  61861. // goto return
  61862. $async$goto = 1;
  61863. break;
  61864. case 14:
  61865. // case
  61866. $async$temp1 = left;
  61867. $async$goto = 35;
  61868. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61869. case 35:
  61870. // returning from await.
  61871. $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
  61872. // goto return
  61873. $async$goto = 1;
  61874. break;
  61875. case 15:
  61876. // case
  61877. $async$temp1 = left;
  61878. $async$goto = 36;
  61879. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61880. case 36:
  61881. // returning from await.
  61882. $async$returnValue = $async$temp1.plus$1($async$result);
  61883. // goto return
  61884. $async$goto = 1;
  61885. break;
  61886. case 16:
  61887. // case
  61888. $async$temp1 = left;
  61889. $async$goto = 37;
  61890. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61891. case 37:
  61892. // returning from await.
  61893. $async$returnValue = $async$temp1.minus$1($async$result);
  61894. // goto return
  61895. $async$goto = 1;
  61896. break;
  61897. case 17:
  61898. // case
  61899. $async$temp1 = left;
  61900. $async$goto = 38;
  61901. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61902. case 38:
  61903. // returning from await.
  61904. $async$returnValue = $async$temp1.times$1($async$result);
  61905. // goto return
  61906. $async$goto = 1;
  61907. break;
  61908. case 18:
  61909. // case
  61910. $async$goto = 39;
  61911. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61912. case 39:
  61913. // returning from await.
  61914. right = $async$result;
  61915. result = left.dividedBy$1(right);
  61916. if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber) {
  61917. $async$returnValue = type$.SassNumber._as(result).withSlash$2(left, right);
  61918. // goto return
  61919. $async$goto = 1;
  61920. break;
  61921. } else {
  61922. if (left instanceof A.SassNumber && right instanceof A.SassNumber) {
  61923. t3 = A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0().call$1(t1));
  61924. t4 = B.C__MakeExpressionCalculationSafe.visitBinaryOperationExpression$1(t1);
  61925. t5 = t1.get$span(t1);
  61926. 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);
  61927. }
  61928. $async$returnValue = result;
  61929. // goto return
  61930. $async$goto = 1;
  61931. break;
  61932. }
  61933. case 19:
  61934. // case
  61935. $async$temp1 = left;
  61936. $async$goto = 40;
  61937. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61938. case 40:
  61939. // returning from await.
  61940. $async$returnValue = $async$temp1.modulo$1($async$result);
  61941. // goto return
  61942. $async$goto = 1;
  61943. break;
  61944. case 20:
  61945. // default
  61946. throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
  61947. case 5:
  61948. // after switch
  61949. case 1:
  61950. // return
  61951. return A._asyncReturn($async$returnValue, $async$completer);
  61952. }
  61953. });
  61954. return A._asyncStartSync($async$call$0, $async$completer);
  61955. },
  61956. $signature: 59
  61957. };
  61958. A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0.prototype = {
  61959. call$1(expression) {
  61960. if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_t8B)
  61961. return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  61962. else if (expression instanceof A.ParenthesizedExpression)
  61963. return expression.expression.toString$0(0);
  61964. else
  61965. return expression.toString$0(0);
  61966. },
  61967. $signature: 129
  61968. };
  61969. A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
  61970. call$0() {
  61971. var t1 = this.node;
  61972. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  61973. },
  61974. $signature: 41
  61975. };
  61976. A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
  61977. call$0() {
  61978. var _this = this,
  61979. t1 = _this.node.operator;
  61980. switch (t1) {
  61981. case B.UnaryOperator_gg4:
  61982. return _this.operand.unaryPlus$0();
  61983. case B.UnaryOperator_TLI:
  61984. return _this.operand.unaryMinus$0();
  61985. case B.UnaryOperator_Ix1:
  61986. return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  61987. case B.UnaryOperator_not_not_not:
  61988. return _this.operand.unaryNot$0();
  61989. default:
  61990. throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
  61991. }
  61992. },
  61993. $signature: 28
  61994. };
  61995. A._EvaluateVisitor__visitCalculationValue_closure0.prototype = {
  61996. call$0() {
  61997. var $async$goto = 0,
  61998. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  61999. $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
  62000. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62001. if ($async$errorCode === 1)
  62002. return A._asyncRethrow($async$result, $async$completer);
  62003. while (true)
  62004. switch ($async$goto) {
  62005. case 0:
  62006. // Function start
  62007. t1 = $async$self.$this;
  62008. t2 = $async$self.node;
  62009. t3 = $async$self.inMinMax;
  62010. $async$temp1 = A;
  62011. $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$1(t2.operator);
  62012. $async$goto = 3;
  62013. return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
  62014. case 3:
  62015. // returning from await.
  62016. $async$temp3 = $async$result;
  62017. $async$goto = 4;
  62018. return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
  62019. case 4:
  62020. // returning from await.
  62021. $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate$_inSupportsDeclaration);
  62022. // goto return
  62023. $async$goto = 1;
  62024. break;
  62025. case 1:
  62026. // return
  62027. return A._asyncReturn($async$returnValue, $async$completer);
  62028. }
  62029. });
  62030. return A._asyncStartSync($async$call$0, $async$completer);
  62031. },
  62032. $signature: 141
  62033. };
  62034. A._EvaluateVisitor_visitListExpression_closure0.prototype = {
  62035. call$1(expression) {
  62036. return expression.accept$1(this.$this);
  62037. },
  62038. $signature: 549
  62039. };
  62040. A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
  62041. call$0() {
  62042. var t1 = this.node;
  62043. return this.$this._async_evaluate$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
  62044. },
  62045. $signature: 110
  62046. };
  62047. A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
  62048. call$0() {
  62049. var t1 = this.node;
  62050. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  62051. },
  62052. $signature: 59
  62053. };
  62054. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
  62055. call$0() {
  62056. var t1 = this.node;
  62057. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  62058. },
  62059. $signature: 59
  62060. };
  62061. A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
  62062. call$0() {
  62063. var _this = this,
  62064. t1 = _this.$this,
  62065. t2 = _this.callable,
  62066. t3 = _this.V;
  62067. 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);
  62068. },
  62069. $signature() {
  62070. return this.V._eval$1("Future<0>()");
  62071. }
  62072. };
  62073. A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
  62074. call$0() {
  62075. var _this = this,
  62076. t1 = _this.$this,
  62077. t2 = _this.V;
  62078. return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  62079. },
  62080. $signature() {
  62081. return this.V._eval$1("Future<0>()");
  62082. }
  62083. };
  62084. A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
  62085. call$0() {
  62086. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
  62087. },
  62088. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
  62089. var $async$goto = 0,
  62090. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  62091. $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;
  62092. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62093. if ($async$errorCode === 1)
  62094. return A._asyncRethrow($async$result, $async$completer);
  62095. while (true)
  62096. switch ($async$goto) {
  62097. case 0:
  62098. // Function start
  62099. t1 = $async$self.$this;
  62100. t2 = $async$self.evaluated;
  62101. t3 = t2.positional;
  62102. t4 = t2.named;
  62103. t5 = $async$self.callable.declaration.$arguments;
  62104. t6 = $async$self.nodeWithSpan;
  62105. t1._async_evaluate$_verifyArguments$4(t3.length, t4, t5, t6);
  62106. declaredArguments = t5.$arguments;
  62107. t7 = declaredArguments.length;
  62108. minLength = Math.min(t3.length, t7);
  62109. for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
  62110. t1._async_evaluate$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
  62111. i = t3.length, t8 = t2.namedNodes;
  62112. case 3:
  62113. // for condition
  62114. if (!(i < t7)) {
  62115. // goto after for
  62116. $async$goto = 5;
  62117. break;
  62118. }
  62119. argument = declaredArguments[i];
  62120. t9 = argument.name;
  62121. value = t4.remove$1(0, t9);
  62122. $async$goto = value == null ? 6 : 7;
  62123. break;
  62124. case 6:
  62125. // then
  62126. t10 = argument.defaultValue;
  62127. $async$temp1 = t1;
  62128. $async$goto = 8;
  62129. return A._asyncAwait(t10.accept$1(t1), $async$call$0);
  62130. case 8:
  62131. // returning from await.
  62132. value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t10));
  62133. case 7:
  62134. // join
  62135. t10 = t1._async_evaluate$_environment;
  62136. t11 = t8.$index(0, t9);
  62137. if (t11 == null) {
  62138. t11 = argument.defaultValue;
  62139. t11.toString;
  62140. t11 = t1._async_evaluate$_expressionNode$1(t11);
  62141. }
  62142. t10.setLocalVariable$3(t9, value, t11);
  62143. case 4:
  62144. // for update
  62145. ++i;
  62146. // goto for condition
  62147. $async$goto = 3;
  62148. break;
  62149. case 5:
  62150. // after for
  62151. restArgument = t5.restArgument;
  62152. if (restArgument != null) {
  62153. rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty8;
  62154. t2 = t2.separator;
  62155. argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : t2);
  62156. t1._async_evaluate$_environment.setLocalVariable$3(restArgument, argumentList, t6);
  62157. } else
  62158. argumentList = null;
  62159. $async$goto = 9;
  62160. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  62161. case 9:
  62162. // returning from await.
  62163. result = $async$result;
  62164. if (argumentList == null) {
  62165. $async$returnValue = result;
  62166. // goto return
  62167. $async$goto = 1;
  62168. break;
  62169. }
  62170. t2 = t4.__js_helper$_length;
  62171. if (t2 === 0) {
  62172. $async$returnValue = result;
  62173. // goto return
  62174. $async$goto = 1;
  62175. break;
  62176. }
  62177. if (argumentList._wereKeywordsAccessed) {
  62178. $async$returnValue = result;
  62179. // goto return
  62180. $async$goto = 1;
  62181. break;
  62182. }
  62183. t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
  62184. 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)), null));
  62185. case 1:
  62186. // return
  62187. return A._asyncReturn($async$returnValue, $async$completer);
  62188. }
  62189. });
  62190. return A._asyncStartSync($async$call$0, $async$completer);
  62191. },
  62192. $signature() {
  62193. return this.V._eval$1("Future<0>()");
  62194. }
  62195. };
  62196. A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
  62197. call$1($name) {
  62198. return "$" + $name;
  62199. },
  62200. $signature: 5
  62201. };
  62202. A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
  62203. call$0() {
  62204. var $async$goto = 0,
  62205. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  62206. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  62207. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62208. if ($async$errorCode === 1)
  62209. return A._asyncRethrow($async$result, $async$completer);
  62210. while (true)
  62211. switch ($async$goto) {
  62212. case 0:
  62213. // Function start
  62214. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  62215. case 3:
  62216. // for condition
  62217. if (!(_i < t3)) {
  62218. // goto after for
  62219. $async$goto = 5;
  62220. break;
  62221. }
  62222. $async$goto = 6;
  62223. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  62224. case 6:
  62225. // returning from await.
  62226. $returnValue = $async$result;
  62227. if ($returnValue instanceof A.Value) {
  62228. $async$returnValue = $returnValue;
  62229. // goto return
  62230. $async$goto = 1;
  62231. break;
  62232. }
  62233. case 4:
  62234. // for update
  62235. ++_i;
  62236. // goto for condition
  62237. $async$goto = 3;
  62238. break;
  62239. case 5:
  62240. // after for
  62241. throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
  62242. case 1:
  62243. // return
  62244. return A._asyncReturn($async$returnValue, $async$completer);
  62245. }
  62246. });
  62247. return A._asyncStartSync($async$call$0, $async$completer);
  62248. },
  62249. $signature: 59
  62250. };
  62251. A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
  62252. call$0() {
  62253. return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
  62254. },
  62255. $signature: 0
  62256. };
  62257. A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
  62258. call$0() {
  62259. return this.callback.call$1(this.evaluated.positional);
  62260. },
  62261. $signature: 568
  62262. };
  62263. A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
  62264. call$1($name) {
  62265. return "$" + $name;
  62266. },
  62267. $signature: 5
  62268. };
  62269. A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
  62270. call$1(value) {
  62271. return value;
  62272. },
  62273. $signature: 35
  62274. };
  62275. A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
  62276. call$1(value) {
  62277. return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
  62278. },
  62279. $signature: 35
  62280. };
  62281. A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
  62282. call$2(key, value) {
  62283. var _this = this,
  62284. t1 = _this.restNodeForSpan;
  62285. _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
  62286. _this.namedNodes.$indexSet(0, key, t1);
  62287. },
  62288. $signature: 82
  62289. };
  62290. A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
  62291. call$1(value) {
  62292. return value;
  62293. },
  62294. $signature: 35
  62295. };
  62296. A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
  62297. call$1(value) {
  62298. var t1 = this.restArgs;
  62299. return new A.ValueExpression(value, t1.get$span(t1));
  62300. },
  62301. $signature: 50
  62302. };
  62303. A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
  62304. call$1(value) {
  62305. var t1 = this.restArgs;
  62306. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  62307. },
  62308. $signature: 50
  62309. };
  62310. A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
  62311. call$2(key, value) {
  62312. var _this = this,
  62313. t1 = _this.restArgs;
  62314. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  62315. },
  62316. $signature: 82
  62317. };
  62318. A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
  62319. call$1(value) {
  62320. var t1 = this.keywordRestArgs;
  62321. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  62322. },
  62323. $signature: 50
  62324. };
  62325. A._EvaluateVisitor__addRestMap_closure0.prototype = {
  62326. call$2(key, value) {
  62327. var t2, _this = this,
  62328. t1 = _this.$this;
  62329. if (key instanceof A.SassString)
  62330. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
  62331. else {
  62332. t2 = _this.nodeWithSpan;
  62333. 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)));
  62334. }
  62335. },
  62336. $signature: 49
  62337. };
  62338. A._EvaluateVisitor__verifyArguments_closure0.prototype = {
  62339. call$0() {
  62340. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  62341. },
  62342. $signature: 0
  62343. };
  62344. A._EvaluateVisitor_visitStringExpression_closure0.prototype = {
  62345. call$1(value) {
  62346. return this.$call$body$_EvaluateVisitor_visitStringExpression_closure(value);
  62347. },
  62348. $call$body$_EvaluateVisitor_visitStringExpression_closure(value) {
  62349. var $async$goto = 0,
  62350. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  62351. $async$returnValue, $async$self = this, t1, result;
  62352. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62353. if ($async$errorCode === 1)
  62354. return A._asyncRethrow($async$result, $async$completer);
  62355. while (true)
  62356. switch ($async$goto) {
  62357. case 0:
  62358. // Function start
  62359. if (typeof value == "string") {
  62360. $async$returnValue = value;
  62361. // goto return
  62362. $async$goto = 1;
  62363. break;
  62364. }
  62365. type$.Expression._as(value);
  62366. t1 = $async$self.$this;
  62367. $async$goto = 3;
  62368. return A._asyncAwait(value.accept$1(t1), $async$call$1);
  62369. case 3:
  62370. // returning from await.
  62371. result = $async$result;
  62372. $async$returnValue = result instanceof A.SassString ? result._string$_text : t1._async_evaluate$_serialize$3$quote(result, value, false);
  62373. // goto return
  62374. $async$goto = 1;
  62375. break;
  62376. case 1:
  62377. // return
  62378. return A._asyncReturn($async$returnValue, $async$completer);
  62379. }
  62380. });
  62381. return A._asyncStartSync($async$call$1, $async$completer);
  62382. },
  62383. $signature: 140
  62384. };
  62385. A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
  62386. call$0() {
  62387. var $async$goto = 0,
  62388. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  62389. $async$self = this, t1, t2, t3, t4;
  62390. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62391. if ($async$errorCode === 1)
  62392. return A._asyncRethrow($async$result, $async$completer);
  62393. while (true)
  62394. switch ($async$goto) {
  62395. case 0:
  62396. // Function start
  62397. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  62398. case 2:
  62399. // for condition
  62400. if (!t1.moveNext$0()) {
  62401. // goto after for
  62402. $async$goto = 3;
  62403. break;
  62404. }
  62405. t4 = t1.__internal$_current;
  62406. $async$goto = 4;
  62407. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  62408. case 4:
  62409. // returning from await.
  62410. // goto for condition
  62411. $async$goto = 2;
  62412. break;
  62413. case 3:
  62414. // after for
  62415. // implicit return
  62416. return A._asyncReturn(null, $async$completer);
  62417. }
  62418. });
  62419. return A._asyncStartSync($async$call$0, $async$completer);
  62420. },
  62421. $signature: 2
  62422. };
  62423. A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
  62424. call$1(node) {
  62425. return type$.CssStyleRule._is(node);
  62426. },
  62427. $signature: 7
  62428. };
  62429. A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
  62430. call$0() {
  62431. var $async$goto = 0,
  62432. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  62433. $async$self = this, t1, t2, t3, t4;
  62434. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62435. if ($async$errorCode === 1)
  62436. return A._asyncRethrow($async$result, $async$completer);
  62437. while (true)
  62438. switch ($async$goto) {
  62439. case 0:
  62440. // Function start
  62441. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  62442. case 2:
  62443. // for condition
  62444. if (!t1.moveNext$0()) {
  62445. // goto after for
  62446. $async$goto = 3;
  62447. break;
  62448. }
  62449. t4 = t1.__internal$_current;
  62450. $async$goto = 4;
  62451. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  62452. case 4:
  62453. // returning from await.
  62454. // goto for condition
  62455. $async$goto = 2;
  62456. break;
  62457. case 3:
  62458. // after for
  62459. // implicit return
  62460. return A._asyncReturn(null, $async$completer);
  62461. }
  62462. });
  62463. return A._asyncStartSync($async$call$0, $async$completer);
  62464. },
  62465. $signature: 2
  62466. };
  62467. A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
  62468. call$1(node) {
  62469. return type$.CssStyleRule._is(node);
  62470. },
  62471. $signature: 7
  62472. };
  62473. A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
  62474. call$1(mediaQueries) {
  62475. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  62476. },
  62477. $signature: 78
  62478. };
  62479. A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
  62480. call$0() {
  62481. var $async$goto = 0,
  62482. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  62483. $async$self = this, t1, t2;
  62484. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62485. if ($async$errorCode === 1)
  62486. return A._asyncRethrow($async$result, $async$completer);
  62487. while (true)
  62488. switch ($async$goto) {
  62489. case 0:
  62490. // Function start
  62491. t1 = $async$self.$this;
  62492. t2 = $async$self.mergedQueries;
  62493. if (t2 == null)
  62494. t2 = $async$self.node.queries;
  62495. $async$goto = 2;
  62496. 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);
  62497. case 2:
  62498. // returning from await.
  62499. // implicit return
  62500. return A._asyncReturn(null, $async$completer);
  62501. }
  62502. });
  62503. return A._asyncStartSync($async$call$0, $async$completer);
  62504. },
  62505. $signature: 2
  62506. };
  62507. A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
  62508. call$0() {
  62509. var $async$goto = 0,
  62510. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  62511. $async$self = this, t2, t3, t4, t1, styleRule;
  62512. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62513. if ($async$errorCode === 1)
  62514. return A._asyncRethrow($async$result, $async$completer);
  62515. while (true)
  62516. switch ($async$goto) {
  62517. case 0:
  62518. // Function start
  62519. t1 = $async$self.$this;
  62520. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  62521. $async$goto = styleRule == null ? 2 : 4;
  62522. break;
  62523. case 2:
  62524. // then
  62525. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  62526. case 5:
  62527. // for condition
  62528. if (!t2.moveNext$0()) {
  62529. // goto after for
  62530. $async$goto = 6;
  62531. break;
  62532. }
  62533. t4 = t2.__internal$_current;
  62534. $async$goto = 7;
  62535. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  62536. case 7:
  62537. // returning from await.
  62538. // goto for condition
  62539. $async$goto = 5;
  62540. break;
  62541. case 6:
  62542. // after for
  62543. // goto join
  62544. $async$goto = 3;
  62545. break;
  62546. case 4:
  62547. // else
  62548. $async$goto = 8;
  62549. 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);
  62550. case 8:
  62551. // returning from await.
  62552. case 3:
  62553. // join
  62554. // implicit return
  62555. return A._asyncReturn(null, $async$completer);
  62556. }
  62557. });
  62558. return A._asyncStartSync($async$call$0, $async$completer);
  62559. },
  62560. $signature: 2
  62561. };
  62562. A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
  62563. call$0() {
  62564. var $async$goto = 0,
  62565. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  62566. $async$self = this, t1, t2, t3, t4;
  62567. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62568. if ($async$errorCode === 1)
  62569. return A._asyncRethrow($async$result, $async$completer);
  62570. while (true)
  62571. switch ($async$goto) {
  62572. case 0:
  62573. // Function start
  62574. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  62575. case 2:
  62576. // for condition
  62577. if (!t1.moveNext$0()) {
  62578. // goto after for
  62579. $async$goto = 3;
  62580. break;
  62581. }
  62582. t4 = t1.__internal$_current;
  62583. $async$goto = 4;
  62584. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  62585. case 4:
  62586. // returning from await.
  62587. // goto for condition
  62588. $async$goto = 2;
  62589. break;
  62590. case 3:
  62591. // after for
  62592. // implicit return
  62593. return A._asyncReturn(null, $async$completer);
  62594. }
  62595. });
  62596. return A._asyncStartSync($async$call$0, $async$completer);
  62597. },
  62598. $signature: 2
  62599. };
  62600. A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
  62601. call$1(node) {
  62602. var t1;
  62603. if (!type$.CssStyleRule._is(node)) {
  62604. t1 = this.mergedSources;
  62605. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  62606. } else
  62607. t1 = true;
  62608. return t1;
  62609. },
  62610. $signature: 7
  62611. };
  62612. A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
  62613. call$0() {
  62614. var $async$goto = 0,
  62615. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  62616. $async$self = this, t1;
  62617. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62618. if ($async$errorCode === 1)
  62619. return A._asyncRethrow($async$result, $async$completer);
  62620. while (true)
  62621. switch ($async$goto) {
  62622. case 0:
  62623. // Function start
  62624. t1 = $async$self.$this;
  62625. $async$goto = 2;
  62626. 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);
  62627. case 2:
  62628. // returning from await.
  62629. // implicit return
  62630. return A._asyncReturn(null, $async$completer);
  62631. }
  62632. });
  62633. return A._asyncStartSync($async$call$0, $async$completer);
  62634. },
  62635. $signature: 2
  62636. };
  62637. A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
  62638. call$0() {
  62639. var $async$goto = 0,
  62640. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  62641. $async$self = this, t1, t2, t3, t4;
  62642. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62643. if ($async$errorCode === 1)
  62644. return A._asyncRethrow($async$result, $async$completer);
  62645. while (true)
  62646. switch ($async$goto) {
  62647. case 0:
  62648. // Function start
  62649. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  62650. case 2:
  62651. // for condition
  62652. if (!t1.moveNext$0()) {
  62653. // goto after for
  62654. $async$goto = 3;
  62655. break;
  62656. }
  62657. t4 = t1.__internal$_current;
  62658. $async$goto = 4;
  62659. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  62660. case 4:
  62661. // returning from await.
  62662. // goto for condition
  62663. $async$goto = 2;
  62664. break;
  62665. case 3:
  62666. // after for
  62667. // implicit return
  62668. return A._asyncReturn(null, $async$completer);
  62669. }
  62670. });
  62671. return A._asyncStartSync($async$call$0, $async$completer);
  62672. },
  62673. $signature: 2
  62674. };
  62675. A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
  62676. call$1(node) {
  62677. return type$.CssStyleRule._is(node);
  62678. },
  62679. $signature: 7
  62680. };
  62681. A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
  62682. call$0() {
  62683. var $async$goto = 0,
  62684. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  62685. $async$self = this, t2, t3, t4, t1, styleRule;
  62686. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62687. if ($async$errorCode === 1)
  62688. return A._asyncRethrow($async$result, $async$completer);
  62689. while (true)
  62690. switch ($async$goto) {
  62691. case 0:
  62692. // Function start
  62693. t1 = $async$self.$this;
  62694. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  62695. $async$goto = styleRule == null ? 2 : 4;
  62696. break;
  62697. case 2:
  62698. // then
  62699. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  62700. case 5:
  62701. // for condition
  62702. if (!t2.moveNext$0()) {
  62703. // goto after for
  62704. $async$goto = 6;
  62705. break;
  62706. }
  62707. t4 = t2.__internal$_current;
  62708. $async$goto = 7;
  62709. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  62710. case 7:
  62711. // returning from await.
  62712. // goto for condition
  62713. $async$goto = 5;
  62714. break;
  62715. case 6:
  62716. // after for
  62717. // goto join
  62718. $async$goto = 3;
  62719. break;
  62720. case 4:
  62721. // else
  62722. $async$goto = 8;
  62723. 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);
  62724. case 8:
  62725. // returning from await.
  62726. case 3:
  62727. // join
  62728. // implicit return
  62729. return A._asyncReturn(null, $async$completer);
  62730. }
  62731. });
  62732. return A._asyncStartSync($async$call$0, $async$completer);
  62733. },
  62734. $signature: 2
  62735. };
  62736. A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
  62737. call$0() {
  62738. var $async$goto = 0,
  62739. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  62740. $async$self = this, t1, t2, t3, t4;
  62741. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62742. if ($async$errorCode === 1)
  62743. return A._asyncRethrow($async$result, $async$completer);
  62744. while (true)
  62745. switch ($async$goto) {
  62746. case 0:
  62747. // Function start
  62748. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  62749. case 2:
  62750. // for condition
  62751. if (!t1.moveNext$0()) {
  62752. // goto after for
  62753. $async$goto = 3;
  62754. break;
  62755. }
  62756. t4 = t1.__internal$_current;
  62757. $async$goto = 4;
  62758. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  62759. case 4:
  62760. // returning from await.
  62761. // goto for condition
  62762. $async$goto = 2;
  62763. break;
  62764. case 3:
  62765. // after for
  62766. // implicit return
  62767. return A._asyncReturn(null, $async$completer);
  62768. }
  62769. });
  62770. return A._asyncStartSync($async$call$0, $async$completer);
  62771. },
  62772. $signature: 2
  62773. };
  62774. A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
  62775. call$1(node) {
  62776. return type$.CssStyleRule._is(node);
  62777. },
  62778. $signature: 7
  62779. };
  62780. A._EvaluateVisitor__serialize_closure0.prototype = {
  62781. call$0() {
  62782. return A.serializeValue(this.value, false, this.quote);
  62783. },
  62784. $signature: 31
  62785. };
  62786. A._EvaluateVisitor__expressionNode_closure0.prototype = {
  62787. call$0() {
  62788. var t1 = this.expression;
  62789. return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  62790. },
  62791. $signature: 138
  62792. };
  62793. A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
  62794. call$1(number) {
  62795. var asSlash = number.asSlash;
  62796. if (asSlash != null)
  62797. return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
  62798. else
  62799. return A.serializeValue(number, true, true);
  62800. },
  62801. $signature: 176
  62802. };
  62803. A._EvaluateVisitor__stackFrame_closure0.prototype = {
  62804. call$1(url) {
  62805. var t1 = this.$this._async_evaluate$_importCache;
  62806. t1 = t1 == null ? null : t1.humanize$1(url);
  62807. return t1 == null ? url : t1;
  62808. },
  62809. $signature: 84
  62810. };
  62811. A._EvaluateVisitor__stackTrace_closure0.prototype = {
  62812. call$1(tuple) {
  62813. return this.$this._async_evaluate$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
  62814. },
  62815. $signature: 214
  62816. };
  62817. A._ImportedCssVisitor0.prototype = {
  62818. visitCssAtRule$1(node) {
  62819. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
  62820. this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
  62821. },
  62822. visitCssComment$1(node) {
  62823. return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
  62824. },
  62825. visitCssDeclaration$1(node) {
  62826. },
  62827. visitCssImport$1(node) {
  62828. var t2,
  62829. _s13_ = "_endOfImports",
  62830. t1 = this._async_evaluate$_visitor;
  62831. if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
  62832. t1._async_evaluate$_addChild$1(node);
  62833. 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)) {
  62834. t1._async_evaluate$_addChild$1(node);
  62835. t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
  62836. } else {
  62837. t2 = t1._async_evaluate$_outOfOrderImports;
  62838. (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  62839. }
  62840. },
  62841. visitCssKeyframeBlock$1(node) {
  62842. },
  62843. visitCssMediaRule$1(node) {
  62844. var t1 = this._async_evaluate$_visitor,
  62845. mediaQueries = t1._async_evaluate$_mediaQueries;
  62846. t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  62847. },
  62848. visitCssStyleRule$1(node) {
  62849. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
  62850. },
  62851. visitCssStylesheet$1(node) {
  62852. var t1, t2, t3;
  62853. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  62854. t3 = t1.__internal$_current;
  62855. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  62856. }
  62857. },
  62858. visitCssSupportsRule$1(node) {
  62859. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
  62860. }
  62861. };
  62862. A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
  62863. call$1(node) {
  62864. return type$.CssStyleRule._is(node);
  62865. },
  62866. $signature: 7
  62867. };
  62868. A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
  62869. call$1(node) {
  62870. var t1;
  62871. if (!type$.CssStyleRule._is(node))
  62872. t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
  62873. else
  62874. t1 = true;
  62875. return t1;
  62876. },
  62877. $signature: 7
  62878. };
  62879. A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
  62880. call$1(node) {
  62881. return type$.CssStyleRule._is(node);
  62882. },
  62883. $signature: 7
  62884. };
  62885. A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
  62886. call$1(node) {
  62887. return type$.CssStyleRule._is(node);
  62888. },
  62889. $signature: 7
  62890. };
  62891. A.EvaluateResult.prototype = {};
  62892. A._EvaluationContext0.prototype = {
  62893. get$currentCallableSpan() {
  62894. var callableNode = this._async_evaluate$_visitor._async_evaluate$_callableNode;
  62895. if (callableNode != null)
  62896. return callableNode.get$span(callableNode);
  62897. throw A.wrapException(A.StateError$(string$.No_Sasc));
  62898. },
  62899. warn$2(_, message, deprecation) {
  62900. var t1 = this._async_evaluate$_visitor,
  62901. t2 = t1._async_evaluate$_importSpan;
  62902. if (t2 == null) {
  62903. t2 = t1._async_evaluate$_callableNode;
  62904. t2 = t2 == null ? null : t2.get$span(t2);
  62905. }
  62906. t1._async_evaluate$_warn$3(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
  62907. },
  62908. $isEvaluationContext: 1
  62909. };
  62910. A._ArgumentResults0.prototype = {};
  62911. A._LoadedStylesheet0.prototype = {};
  62912. A._CloneCssVisitor.prototype = {
  62913. visitCssAtRule$1(node) {
  62914. var t1 = node.isChildless,
  62915. rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
  62916. return t1 ? rule : this._visitChildren$2(rule, node);
  62917. },
  62918. visitCssComment$1(node) {
  62919. return new A.ModifiableCssComment(node.text, node.span);
  62920. },
  62921. visitCssDeclaration$1(node) {
  62922. return A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
  62923. },
  62924. visitCssImport$1(node) {
  62925. return new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  62926. },
  62927. visitCssKeyframeBlock$1(node) {
  62928. return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
  62929. },
  62930. visitCssMediaRule$1(node) {
  62931. return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
  62932. },
  62933. visitCssStyleRule$1(node) {
  62934. var newSelector = this._oldToNewSelectors.$index(0, node._style_rule$_selector._box$_inner.value);
  62935. if (newSelector == null)
  62936. throw A.wrapException(A.StateError$(string$.The_Ex));
  62937. return this._visitChildren$2(A.ModifiableCssStyleRule$(newSelector, node.span, node.originalSelector), node);
  62938. },
  62939. visitCssStylesheet$1(node) {
  62940. return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
  62941. },
  62942. visitCssSupportsRule$1(node) {
  62943. return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
  62944. },
  62945. _visitChildren$1$2(newParent, oldParent) {
  62946. var t1, t2, newChild;
  62947. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  62948. t2 = t1.get$current(t1);
  62949. newChild = t2.accept$1(this);
  62950. newChild.isGroupEnd = t2.get$isGroupEnd();
  62951. newParent.addChild$1(newChild);
  62952. }
  62953. return newParent;
  62954. },
  62955. _visitChildren$2(newParent, oldParent) {
  62956. return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
  62957. }
  62958. };
  62959. A.Evaluator.prototype = {};
  62960. A._EvaluateVisitor.prototype = {
  62961. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  62962. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  62963. _s20_ = "$name, $module: null",
  62964. _s9_ = "sass:meta",
  62965. t1 = type$.JSArray_BuiltInCallable,
  62966. 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),
  62967. metaMixins = A._setArrayType([A.BuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure8(_this), _s9_)], t1);
  62968. t1 = type$.BuiltInCallable;
  62969. t2 = A.List_List$of($.$get$global(), true, t1);
  62970. B.JSArray_methods.addAll$1(t2, $.$get$local());
  62971. B.JSArray_methods.addAll$1(t2, metaFunctions);
  62972. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  62973. 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) {
  62974. module = t1[_i];
  62975. t3.$indexSet(0, module.url, module);
  62976. }
  62977. t1 = A._setArrayType([], type$.JSArray_Callable);
  62978. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
  62979. B.JSArray_methods.addAll$1(t1, metaFunctions);
  62980. for (t2 = t1.length, t3 = _this._builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  62981. $function = t1[_i];
  62982. t4 = J.get$name$x($function);
  62983. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  62984. }
  62985. },
  62986. run$2(_, importer, node) {
  62987. var error, stackTrace, t1, exception;
  62988. try {
  62989. t1 = type$.nullable_Object;
  62990. t1 = A.runZoned(new A._EvaluateVisitor_run_closure(this, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext(this, node)], t1, t1), type$.EvaluateResult);
  62991. return t1;
  62992. } catch (exception) {
  62993. t1 = A.unwrapException(exception);
  62994. if (t1 instanceof A.SassException) {
  62995. error = t1;
  62996. stackTrace = A.getTraceFromException(exception);
  62997. A.throwWithTrace(error.withLoadedUrls$1(this._loadedUrls), stackTrace);
  62998. } else
  62999. throw exception;
  63000. }
  63001. },
  63002. runExpression$2(importer, expression) {
  63003. var t1 = type$.nullable_Object;
  63004. 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);
  63005. },
  63006. runStatement$2(importer, statement) {
  63007. var t1 = type$.nullable_Object;
  63008. 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);
  63009. },
  63010. _assertInModule$1$2(value, $name) {
  63011. if (value != null)
  63012. return value;
  63013. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  63014. },
  63015. _assertInModule$2(value, $name) {
  63016. return this._assertInModule$1$2(value, $name, type$.dynamic);
  63017. },
  63018. _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
  63019. var t1, _this = this,
  63020. oldImporter = _this._importer;
  63021. _this._importer = importer;
  63022. _this.__stylesheet = A.Stylesheet$(B.List_empty12, nodeWithSpan.get$span(nodeWithSpan));
  63023. try {
  63024. t1 = callback.call$0();
  63025. return t1;
  63026. } finally {
  63027. _this._importer = oldImporter;
  63028. _this.__stylesheet = null;
  63029. }
  63030. },
  63031. _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
  63032. return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
  63033. },
  63034. _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  63035. var t1, t2, _this = this,
  63036. builtInModule = _this._builtInModules.$index(0, url);
  63037. if (builtInModule != null) {
  63038. if (configuration instanceof A.ExplicitConfiguration) {
  63039. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  63040. t2 = configuration.nodeWithSpan;
  63041. throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
  63042. }
  63043. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(callback, builtInModule));
  63044. return;
  63045. }
  63046. _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  63047. },
  63048. _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  63049. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  63050. },
  63051. _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  63052. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  63053. },
  63054. _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  63055. var alreadyLoaded, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
  63056. t1 = stylesheet.span,
  63057. url = t1.get$sourceUrl(t1);
  63058. t1 = _this._modules;
  63059. alreadyLoaded = t1.$index(0, url);
  63060. if (alreadyLoaded != null) {
  63061. t1 = configuration == null;
  63062. currentConfiguration = t1 ? _this._configuration : configuration;
  63063. t2 = _this._moduleConfigurations.$index(0, url);
  63064. t3 = t2.__originalConfiguration;
  63065. t2 = t3 == null ? t2 : t3;
  63066. t3 = currentConfiguration.__originalConfiguration;
  63067. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  63068. message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
  63069. t2 = _this._moduleNodes.$index(0, url);
  63070. existingSpan = t2 == null ? null : J.get$span$z(t2);
  63071. if (t1) {
  63072. t1 = currentConfiguration.nodeWithSpan;
  63073. configurationSpan = t1.get$span(t1);
  63074. } else
  63075. configurationSpan = null;
  63076. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  63077. if (existingSpan != null)
  63078. t1.$indexSet(0, existingSpan, "original load");
  63079. if (configurationSpan != null)
  63080. t1.$indexSet(0, configurationSpan, "configuration");
  63081. throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
  63082. }
  63083. return alreadyLoaded;
  63084. }
  63085. environment = A.Environment$();
  63086. css = A._Cell$();
  63087. extensionStore = A.ExtensionStore$();
  63088. _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css));
  63089. module = environment.toModule$2(css._readLocal$0(), extensionStore);
  63090. if (url != null) {
  63091. t1.$indexSet(0, url, module);
  63092. _this._moduleConfigurations.$indexSet(0, url, _this._configuration);
  63093. if (nodeWithSpan != null)
  63094. _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
  63095. }
  63096. return module;
  63097. },
  63098. _execute$2(importer, stylesheet) {
  63099. return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  63100. },
  63101. _addOutOfOrderImports$0() {
  63102. var t1, t2, _this = this, _s5_ = "_root",
  63103. _s13_ = "_endOfImports",
  63104. outOfOrderImports = _this._outOfOrderImports;
  63105. if (outOfOrderImports == null)
  63106. return _this._assertInModule$2(_this.__root, _s5_).children;
  63107. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  63108. t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._assertInModule$2(_this.__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListBase.E")), true, type$.ModifiableCssNode);
  63109. B.JSArray_methods.addAll$1(t1, outOfOrderImports);
  63110. t2 = _this._assertInModule$2(_this.__root, _s5_).children;
  63111. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  63112. return t1;
  63113. },
  63114. _combineCss$2$clone(root, clone) {
  63115. var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
  63116. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
  63117. selectors = root.get$extensionStore().get$simpleSelectors();
  63118. unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
  63119. if (unsatisfiedExtension != null)
  63120. _this._throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  63121. return root.get$css(root);
  63122. }
  63123. sortedModules = _this._topologicalModules$1(root);
  63124. if (clone) {
  63125. t1 = sortedModules.$ti._eval$1("MappedListIterable<ListBase.E,Module<Callable>>");
  63126. sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure1(), t1), true, t1._eval$1("ListIterable.E"));
  63127. }
  63128. _this._extendModules$1(sortedModules);
  63129. t1 = type$.JSArray_CssNode;
  63130. imports = A._setArrayType([], t1);
  63131. css = A._setArrayType([], t1);
  63132. for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  63133. t3 = t1.__internal$_current;
  63134. if (t3 == null)
  63135. t3 = t2._as(t3);
  63136. t3 = t3.get$css(t3);
  63137. statements = t3.get$children(t3);
  63138. index = _this._indexAfterImports$1(statements);
  63139. t3 = J.getInterceptor$ax(statements);
  63140. B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
  63141. B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
  63142. }
  63143. t1 = B.JSArray_methods.$add(imports, css);
  63144. t2 = root.get$css(root);
  63145. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  63146. },
  63147. _combineCss$1(root) {
  63148. return this._combineCss$2$clone(root, false);
  63149. },
  63150. _extendModules$1(sortedModules) {
  63151. var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
  63152. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  63153. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  63154. for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
  63155. t2 = t1.get$current(t1);
  63156. originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
  63157. unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
  63158. $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
  63159. t3 = t2.get$extensionStore().get$addExtensions();
  63160. if ($self != null)
  63161. t3.call$1($self);
  63162. t3 = t2.get$extensionStore();
  63163. if (t3.get$isEmpty(t3))
  63164. continue;
  63165. for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  63166. upstream = t3[_i];
  63167. url = upstream.get$url(upstream);
  63168. if (url == null)
  63169. continue;
  63170. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure0()), t2.get$extensionStore());
  63171. }
  63172. unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  63173. }
  63174. if (unsatisfiedExtensions._collection$_length !== 0)
  63175. this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  63176. },
  63177. _throwForUnsatisfiedExtension$1(extension) {
  63178. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  63179. },
  63180. _topologicalModules$1(root) {
  63181. var t1 = type$.Module_Callable,
  63182. sorted = A.QueueList$(null, t1);
  63183. new A._EvaluateVisitor__topologicalModules_visitModule(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
  63184. return sorted;
  63185. },
  63186. _indexAfterImports$1(statements) {
  63187. var t1, t2, t3, lastImport, i, statement;
  63188. for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  63189. statement = t1.$index(statements, i);
  63190. if (t3._is(statement))
  63191. lastImport = i;
  63192. else if (!t2._is(statement))
  63193. break;
  63194. }
  63195. return lastImport + 1;
  63196. },
  63197. visitStylesheet$1(node) {
  63198. var t1, t2, _i;
  63199. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  63200. t1[_i].accept$1(this);
  63201. return null;
  63202. },
  63203. visitAtRootRule$1(node) {
  63204. var t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, _this = this, _null = null,
  63205. _s8_ = "__parent",
  63206. unparsedQuery = node.query,
  63207. query = unparsedQuery != null ? A.AtRootQueryParser$(_this._performInterpolationWithMap$2$warnForColor(unparsedQuery, true).item1, _this._evaluate$_logger, _null).parse$0() : B.AtRootQuery_UsS,
  63208. $parent = _this._assertInModule$2(_this.__parent, _s8_),
  63209. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  63210. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
  63211. if (!query.excludes$1($parent))
  63212. included.push($parent);
  63213. grandparent = $parent._parent;
  63214. if (grandparent == null)
  63215. throw A.wrapException(A.StateError$(string$.CssNod));
  63216. }
  63217. root = _this._trimIncluded$1(included);
  63218. if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
  63219. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure(_this, node), node.hasDeclarations, type$.Null);
  63220. return _null;
  63221. }
  63222. if (included.length !== 0) {
  63223. innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
  63224. 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) {
  63225. t3 = t1.__internal$_current;
  63226. copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
  63227. copy.addChild$1(outerCopy);
  63228. }
  63229. root.addChild$1(outerCopy);
  63230. } else
  63231. innerCopy = root;
  63232. _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node));
  63233. return _null;
  63234. },
  63235. _trimIncluded$1(nodes) {
  63236. var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
  63237. _s22_ = " to be an ancestor of ";
  63238. if (nodes.length === 0)
  63239. return _this._assertInModule$2(_this.__root, _s5_);
  63240. $parent = _this._assertInModule$2(_this.__parent, "__parent");
  63241. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  63242. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  63243. grandparent = $parent._parent;
  63244. if (grandparent == null)
  63245. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  63246. }
  63247. if (innermostContiguous == null)
  63248. innermostContiguous = i;
  63249. grandparent = $parent._parent;
  63250. if (grandparent == null)
  63251. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  63252. }
  63253. if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
  63254. return _this._assertInModule$2(_this.__root, _s5_);
  63255. innermostContiguous.toString;
  63256. root = nodes[innermostContiguous];
  63257. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  63258. return root;
  63259. },
  63260. _scopeForAtRoot$4(node, newParent, query, included) {
  63261. var _this = this,
  63262. scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
  63263. t1 = query._all || query._at_root_query$_rule;
  63264. if (t1 !== query.include)
  63265. scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
  63266. if (_this._mediaQueries != null && query.excludesName$1("media"))
  63267. scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
  63268. if (_this._inKeyframes && query.excludesName$1("keyframes"))
  63269. scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
  63270. return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
  63271. },
  63272. visitContentBlock$1(node) {
  63273. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  63274. },
  63275. visitContentRule$1(node) {
  63276. var $content = this._environment._content;
  63277. if ($content == null)
  63278. return null;
  63279. this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
  63280. return null;
  63281. },
  63282. visitDebugRule$1(node) {
  63283. var value = node.expression.accept$1(this),
  63284. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  63285. this._evaluate$_logger.debug$2(0, t1, node.span);
  63286. return null;
  63287. },
  63288. visitDeclaration$1(node) {
  63289. var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
  63290. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
  63291. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
  63292. if (_this._declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  63293. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarw, node.span));
  63294. t1 = node.name;
  63295. $name = _this._interpolationToValue$2$warnForColor(t1, true);
  63296. t2 = _this._declarationName;
  63297. if (t2 != null)
  63298. $name = new A.CssValue(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  63299. t2 = node.value;
  63300. cssValue = A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure(_this));
  63301. t3 = cssValue != null;
  63302. if (t3) {
  63303. t4 = cssValue.value;
  63304. t4 = !t4.get$isBlank() || t4.get$asList().length === 0;
  63305. } else
  63306. t4 = false;
  63307. if (t4) {
  63308. t3 = _this._assertInModule$2(_this.__parent, "__parent");
  63309. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  63310. if (_this._sourceMap) {
  63311. t2 = A.NullableExtension_andThen(t2, _this.get$_expressionNode());
  63312. t2 = t2 == null ? _null : J.get$span$z(t2);
  63313. } else
  63314. t2 = _null;
  63315. t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
  63316. } else if (J.startsWith$1$s($name.value, "--") && t3)
  63317. throw A.wrapException(_this._evaluate$_exception$2("Custom property values may not be empty.", cssValue.span));
  63318. children = node.children;
  63319. if (children != null) {
  63320. oldDeclarationName = _this._declarationName;
  63321. _this._declarationName = $name.value;
  63322. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure0(_this, children), node.hasDeclarations, type$.Null);
  63323. _this._declarationName = oldDeclarationName;
  63324. }
  63325. return _null;
  63326. },
  63327. visitEachRule$1(node) {
  63328. var _this = this,
  63329. t1 = node.list,
  63330. list = t1.accept$1(_this),
  63331. nodeWithSpan = _this._expressionNode$1(t1),
  63332. setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure0(_this, node, nodeWithSpan);
  63333. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, setVariables, node), true, type$.nullable_Value);
  63334. },
  63335. _setMultipleVariables$3(variables, value, nodeWithSpan) {
  63336. var i,
  63337. list = value.get$asList(),
  63338. t1 = variables.length,
  63339. minLength = Math.min(t1, list.length);
  63340. for (i = 0; i < minLength; ++i)
  63341. this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  63342. for (i = minLength; i < t1; ++i)
  63343. this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  63344. },
  63345. visitErrorRule$1(node) {
  63346. throw A.wrapException(this._evaluate$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
  63347. },
  63348. visitExtendRule$1(node) {
  63349. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, tuple, compound, _this = this, _null = null,
  63350. styleRule = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  63351. if (styleRule == null || _this._declarationName != null)
  63352. throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
  63353. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  63354. complex = t1[_i];
  63355. if (!complex.accept$1(B._IsBogusVisitor_true))
  63356. continue;
  63357. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  63358. complex.accept$1(visitor);
  63359. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  63360. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  63361. _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);
  63362. }
  63363. tuple = _this._performInterpolationWithMap$2$warnForColor(node.selector, true);
  63364. 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) {
  63365. complex = t1[_i];
  63366. if (complex.leadingCombinators.length === 0) {
  63367. t4 = complex.components;
  63368. t4 = t4.length === 1 && B.JSArray_methods.get$first(t4).combinators.length === 0;
  63369. } else
  63370. t4 = false;
  63371. compound = t4 ? B.JSArray_methods.get$first(complex.components).selector : _null;
  63372. if (compound == null)
  63373. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, _null));
  63374. t4 = compound.components;
  63375. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  63376. if (t5 == null)
  63377. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  63378. _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._mediaQueries);
  63379. }
  63380. return _null;
  63381. },
  63382. visitAtRule$1(node) {
  63383. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  63384. if (_this._declarationName != null)
  63385. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  63386. $name = _this._interpolationToValue$1(node.name);
  63387. value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
  63388. children = node.children;
  63389. if (children == null) {
  63390. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  63391. return null;
  63392. }
  63393. wasInKeyframes = _this._inKeyframes;
  63394. wasInUnknownAtRule = _this._inUnknownAtRule;
  63395. if (A.unvendor($name.value) === "keyframes")
  63396. _this._inKeyframes = true;
  63397. else
  63398. _this._inUnknownAtRule = true;
  63399. _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);
  63400. _this._inUnknownAtRule = wasInUnknownAtRule;
  63401. _this._inKeyframes = wasInKeyframes;
  63402. return null;
  63403. },
  63404. visitForRule$1(node) {
  63405. var _this = this, t1 = {},
  63406. t2 = node.from,
  63407. fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
  63408. t3 = node.to,
  63409. toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
  63410. from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
  63411. to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
  63412. direction = from > to ? -1 : 1;
  63413. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  63414. return null;
  63415. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
  63416. },
  63417. visitForwardRule$1(node) {
  63418. var newConfiguration, t4, _i, variable, $name, _this = this,
  63419. _s8_ = "@forward",
  63420. oldConfiguration = _this._configuration,
  63421. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  63422. t1 = node.configuration,
  63423. t2 = t1.length,
  63424. t3 = node.url;
  63425. if (t2 !== 0) {
  63426. newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
  63427. _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
  63428. t3 = type$.String;
  63429. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  63430. for (_i = 0; _i < t2; ++_i) {
  63431. variable = t1[_i];
  63432. if (!variable.isGuarded)
  63433. t4.add$1(0, variable.name);
  63434. }
  63435. _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  63436. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  63437. for (_i = 0; _i < t2; ++_i)
  63438. t3.add$1(0, t1[_i].name);
  63439. 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) {
  63440. $name = t2[_i];
  63441. if (!t3.contains$1(0, $name))
  63442. if (!t1.get$isEmpty(t1))
  63443. t1.remove$1(0, $name);
  63444. }
  63445. _this._assertConfigurationIsEmpty$1(newConfiguration);
  63446. } else {
  63447. _this._configuration = adjustedConfiguration;
  63448. _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
  63449. _this._configuration = oldConfiguration;
  63450. }
  63451. return null;
  63452. },
  63453. _addForwardConfiguration$2(configuration, node) {
  63454. var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
  63455. t1 = configuration._values,
  63456. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  63457. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  63458. variable = t2[_i];
  63459. if (variable.isGuarded) {
  63460. t4 = variable.name;
  63461. t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
  63462. if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
  63463. newValues.$indexSet(0, t4, t5);
  63464. continue;
  63465. }
  63466. }
  63467. t4 = variable.expression;
  63468. variableNodeWithSpan = this._expressionNode$1(t4);
  63469. newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  63470. }
  63471. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
  63472. return new A.ExplicitConfiguration(node, newValues, null);
  63473. else
  63474. return new A.Configuration(newValues, null);
  63475. },
  63476. _removeUsedConfiguration$3$except(upstream, downstream, except) {
  63477. var t1, t2, t3, t4, _i, $name;
  63478. 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) {
  63479. $name = t2[_i];
  63480. if (except.contains$1(0, $name))
  63481. continue;
  63482. if (!t4.containsKey$1($name))
  63483. if (!t1.get$isEmpty(t1))
  63484. t1.remove$1(0, $name);
  63485. }
  63486. },
  63487. _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  63488. var t1, entry;
  63489. if (!(configuration instanceof A.ExplicitConfiguration))
  63490. return;
  63491. t1 = configuration._values;
  63492. if (t1.get$isEmpty(t1))
  63493. return;
  63494. t1 = t1.get$entries(t1);
  63495. entry = t1.get$first(t1);
  63496. t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
  63497. throw A.wrapException(this._evaluate$_exception$2(t1, entry.value.configurationSpan));
  63498. },
  63499. _assertConfigurationIsEmpty$1(configuration) {
  63500. return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
  63501. },
  63502. visitFunctionRule$1(node) {
  63503. var t1 = this._environment,
  63504. t2 = t1.closure$0(),
  63505. t3 = this._inDependency,
  63506. t4 = t1._functions,
  63507. index = t4.length - 1,
  63508. t5 = node.name;
  63509. t1._functionIndices.$indexSet(0, t5, index);
  63510. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  63511. return null;
  63512. },
  63513. visitIfRule$1(node) {
  63514. var t1, t2, _i, clauseToCheck, _box_0 = {};
  63515. _box_0.clause = node.lastClause;
  63516. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  63517. clauseToCheck = t1[_i];
  63518. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  63519. _box_0.clause = clauseToCheck;
  63520. break;
  63521. }
  63522. }
  63523. t1 = _box_0.clause;
  63524. if (t1 == null)
  63525. return null;
  63526. return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value);
  63527. },
  63528. visitImportRule$1(node) {
  63529. var t1, t2, t3, t4, t5, t6, _i, $import, t7, tuple, $self, t8, _this = this,
  63530. _s8_ = "__parent",
  63531. _s5_ = "_root",
  63532. _s13_ = "_endOfImports";
  63533. 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) {
  63534. $import = t1[_i];
  63535. if ($import instanceof A.DynamicImport)
  63536. _this._visitDynamicImport$1($import);
  63537. else {
  63538. t5._as($import);
  63539. t7 = $import.url;
  63540. tuple = _this._performInterpolationHelper$3$sourceMap$warnForColor(t7, true, false);
  63541. $self = $import.modifiers;
  63542. t8 = $self == null ? null : t4.call$1($self);
  63543. node = new A.ModifiableCssImport(new A.CssValue(tuple.item1, t7.span, t3), t8, $import.span);
  63544. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  63545. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
  63546. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  63547. t7 = _this._assertInModule$2(_this.__root, _s5_);
  63548. node._parent = t7;
  63549. t7 = t7._children;
  63550. node._indexInParent = t7.length;
  63551. t7.push(node);
  63552. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  63553. } else {
  63554. t7 = _this._outOfOrderImports;
  63555. (t7 == null ? _this._outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  63556. }
  63557. }
  63558. }
  63559. return null;
  63560. },
  63561. _visitDynamicImport$1($import) {
  63562. return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
  63563. },
  63564. _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  63565. var importCache, parsedUrl, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this,
  63566. _s11_ = "_stylesheet";
  63567. baseUrl = baseUrl;
  63568. try {
  63569. _this._importSpan = span;
  63570. importCache = _this._evaluate$_importCache;
  63571. if (importCache != null) {
  63572. parsedUrl = A.Uri_parse(url);
  63573. if (baseUrl == null) {
  63574. t1 = _this._assertInModule$2(_this.__stylesheet, _s11_).span;
  63575. baseUrl = t1.get$sourceUrl(t1);
  63576. }
  63577. tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, parsedUrl, _this._importer, baseUrl, forImport);
  63578. if (tuple != null) {
  63579. _this._loadedUrls.add$1(0, tuple.item2);
  63580. isDependency = _this._inDependency || tuple.item1 !== _this._importer;
  63581. t1 = tuple.item1;
  63582. t2 = tuple.item2;
  63583. t3 = tuple.item3;
  63584. t4 = _this._quietDeps && isDependency;
  63585. stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
  63586. if (stylesheet != null) {
  63587. t1 = tuple.item1;
  63588. return new A._LoadedStylesheet(stylesheet, t1, isDependency);
  63589. }
  63590. }
  63591. } else {
  63592. t1 = baseUrl;
  63593. if (t1 == null) {
  63594. t1 = _this._assertInModule$2(_this.__stylesheet, _s11_).span;
  63595. t1 = t1.get$sourceUrl(t1);
  63596. }
  63597. result = _this._importLikeNode$3(url, t1, forImport);
  63598. if (result != null) {
  63599. t1 = result.stylesheet.span;
  63600. t2 = _this._loadedUrls;
  63601. A.NullableExtension_andThen(t1.get$sourceUrl(t1), t2.get$add(t2));
  63602. return result;
  63603. }
  63604. }
  63605. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  63606. throw A.wrapException(string$.x22packa);
  63607. else
  63608. throw A.wrapException("Can't find stylesheet to import.");
  63609. } catch (exception) {
  63610. t1 = A.unwrapException(exception);
  63611. if (t1 instanceof A.SassException)
  63612. throw exception;
  63613. else if (t1 instanceof A.ArgumentError) {
  63614. error = t1;
  63615. stackTrace = A.getTraceFromException(exception);
  63616. A.throwWithTrace(_this._evaluate$_exception$1(J.toString$0$(error)), stackTrace);
  63617. } else {
  63618. error0 = t1;
  63619. stackTrace0 = A.getTraceFromException(exception);
  63620. message = null;
  63621. try {
  63622. message = A._asString(J.get$message$x(error0));
  63623. } catch (exception) {
  63624. message0 = J.toString$0$(error0);
  63625. message = message0;
  63626. }
  63627. A.throwWithTrace(_this._evaluate$_exception$1(message), stackTrace0);
  63628. }
  63629. } finally {
  63630. _this._importSpan = null;
  63631. }
  63632. },
  63633. _loadStylesheet$3$baseUrl(url, span, baseUrl) {
  63634. return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  63635. },
  63636. _loadStylesheet$3$forImport(url, span, forImport) {
  63637. return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  63638. },
  63639. _importLikeNode$3(originalUrl, previous, forImport) {
  63640. var _this = this,
  63641. result = _this._nodeImporter.loadRelative$3(originalUrl, previous, forImport),
  63642. isDependency = _this._inDependency,
  63643. contents = result.get$item1(),
  63644. url = result.get$item2(),
  63645. t1 = url.startsWith$1(0, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS_scss;
  63646. return new A._LoadedStylesheet(A.Stylesheet_Stylesheet$parse(contents, t1, _this._quietDeps && isDependency ? $.$get$Logger_quiet() : _this._evaluate$_logger, url), null, isDependency);
  63647. },
  63648. visitIncludeRule$1(node) {
  63649. var nodeWithSpan, t1, _this = this,
  63650. _s37_ = "Mixin doesn't accept a content block.",
  63651. mixin = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node));
  63652. if (mixin == null)
  63653. throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", node.span));
  63654. nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure0(node));
  63655. if (mixin instanceof A.BuiltInCallable) {
  63656. if (node.content != null)
  63657. throw A.wrapException(_this._evaluate$_exception$2(_s37_, node.span));
  63658. _this._runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
  63659. } else if (type$.UserDefinedCallable_Environment._is(mixin)) {
  63660. t1 = node.content;
  63661. if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
  63662. 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()), null));
  63663. _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);
  63664. } else
  63665. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  63666. return null;
  63667. },
  63668. visitMixinRule$1(node) {
  63669. var t1 = this._environment,
  63670. t2 = t1.closure$0(),
  63671. t3 = this._inDependency,
  63672. t4 = t1._mixins,
  63673. index = t4.length - 1,
  63674. t5 = node.name;
  63675. t1._mixinIndices.$indexSet(0, t5, index);
  63676. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  63677. return null;
  63678. },
  63679. visitLoudComment$1(node) {
  63680. var t1, _this = this,
  63681. _s8_ = "__parent",
  63682. _s13_ = "_endOfImports";
  63683. if (_this._inFunction)
  63684. return null;
  63685. 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))
  63686. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  63687. t1 = node.text;
  63688. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(_this._performInterpolation$1(t1), t1.span));
  63689. return null;
  63690. },
  63691. visitMediaRule$1(node) {
  63692. var tuple, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  63693. if (_this._declarationName != null)
  63694. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  63695. tuple = _this._performInterpolationWithMap$2$warnForColor(node.query, true);
  63696. queries = A.CssMediaQuery_parseList(tuple.item1, tuple.item2, _this._evaluate$_logger);
  63697. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
  63698. t1 = mergedQueries == null;
  63699. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  63700. return null;
  63701. if (t1)
  63702. mergedSources = B.Set_empty1;
  63703. else {
  63704. t2 = _this._mediaQuerySources;
  63705. t2.toString;
  63706. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  63707. t3 = _this._mediaQueries;
  63708. t3.toString;
  63709. t2.addAll$1(0, t3);
  63710. t2.addAll$1(0, queries);
  63711. mergedSources = t2;
  63712. }
  63713. t1 = t1 ? queries : mergedQueries;
  63714. _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);
  63715. return null;
  63716. },
  63717. _mergeMediaQueries$2(queries1, queries2) {
  63718. var t1, t2, t3, t4, t5, result,
  63719. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  63720. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
  63721. t4 = t1.get$current(t1);
  63722. for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
  63723. result = t4.merge$1(t5.get$current(t5));
  63724. if (result === B._SingletonCssMediaQueryMergeResult_empty)
  63725. continue;
  63726. if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
  63727. return null;
  63728. queries.push(t3._as(result).query);
  63729. }
  63730. }
  63731. return queries;
  63732. },
  63733. visitReturnRule$1(node) {
  63734. var t1 = node.expression;
  63735. return this._withoutSlash$2(t1.accept$1(this), t1);
  63736. },
  63737. visitSilentComment$1(node) {
  63738. return null;
  63739. },
  63740. visitStyleRule$1(node) {
  63741. var t1, tuple, selectorText, selectorMap, t2, parsedSelector, rule, oldAtRootExcludingStyleRule, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null,
  63742. _s11_ = "_stylesheet",
  63743. _s8_ = "__parent";
  63744. if (_this._declarationName != null)
  63745. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
  63746. t1 = node.selector;
  63747. tuple = _this._performInterpolationWithMap$2$warnForColor(t1, true);
  63748. selectorText = tuple.item1;
  63749. selectorMap = tuple.item2;
  63750. if (_this._inKeyframes) {
  63751. _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);
  63752. return _null;
  63753. }
  63754. t1 = A.SelectorList_SelectorList$parse(selectorText, !_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss, !_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss, selectorMap, _this._evaluate$_logger);
  63755. t2 = _this._styleRuleIgnoringAtRoot;
  63756. t2 = t2 == null ? _null : t2.originalSelector;
  63757. parsedSelector = t1.resolveParentSelectors$2$implicitParent(t2, !_this._atRootExcludingStyleRule);
  63758. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._mediaQueries), node.span, parsedSelector);
  63759. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  63760. _this._atRootExcludingStyleRule = false;
  63761. _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);
  63762. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  63763. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  63764. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  63765. complex = t1[_i];
  63766. if (!complex.accept$1(B._IsBogusVisitor_true))
  63767. continue;
  63768. if (complex.accept$1(B.C__IsUselessVisitor)) {
  63769. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  63770. complex.accept$1(visitor);
  63771. _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);
  63772. } else if (complex.leadingCombinators.length !== 0) {
  63773. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  63774. complex.accept$1(visitor);
  63775. _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);
  63776. } else {
  63777. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  63778. complex.accept$1(visitor);
  63779. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  63780. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  63781. t8 = A.SpanExtensions_trimRight(complex.span);
  63782. if (t5.get$length(t5) === 0)
  63783. A.throwExpression(A.IterableElementError_noElement());
  63784. t9 = J.get$span$z(t5.$index(0, 0));
  63785. _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);
  63786. }
  63787. }
  63788. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null) {
  63789. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  63790. t1 = !t1.get$isEmpty(t1);
  63791. } else
  63792. t1 = false;
  63793. if (t1) {
  63794. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  63795. t1.get$last(t1).isGroupEnd = true;
  63796. }
  63797. return _null;
  63798. },
  63799. visitSupportsRule$1(node) {
  63800. var t1, _this = this;
  63801. if (_this._declarationName != null)
  63802. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  63803. t1 = node.condition;
  63804. _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);
  63805. return null;
  63806. },
  63807. _visitSupportsCondition$1(condition) {
  63808. var t1, oldInSupportsDeclaration, t2, t3, _this = this;
  63809. if (condition instanceof A.SupportsOperation) {
  63810. t1 = condition.operator;
  63811. return _this._parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._parenthesize$2(condition.right, t1);
  63812. } else if (condition instanceof A.SupportsNegation)
  63813. return "not " + _this._parenthesize$1(condition.condition);
  63814. else if (condition instanceof A.SupportsInterpolation) {
  63815. t1 = condition.expression;
  63816. return _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
  63817. } else if (condition instanceof A.SupportsDeclaration) {
  63818. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  63819. _this._inSupportsDeclaration = true;
  63820. t1 = condition.name;
  63821. t1 = _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, true);
  63822. t2 = condition.get$isCustomProperty() ? "" : " ";
  63823. t3 = condition.value;
  63824. t3 = _this._evaluate$_serialize$3$quote(t3.accept$1(_this), t3, true);
  63825. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  63826. return "(" + t1 + ":" + t2 + t3 + ")";
  63827. } else if (condition instanceof A.SupportsFunction)
  63828. return _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
  63829. else if (condition instanceof A.SupportsAnything)
  63830. return "(" + _this._performInterpolation$1(condition.contents) + ")";
  63831. else
  63832. throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  63833. },
  63834. _parenthesize$2(condition, operator) {
  63835. var t1;
  63836. if (!(condition instanceof A.SupportsNegation))
  63837. if (condition instanceof A.SupportsOperation)
  63838. t1 = operator == null || operator !== condition.operator;
  63839. else
  63840. t1 = false;
  63841. else
  63842. t1 = true;
  63843. if (t1)
  63844. return "(" + this._visitSupportsCondition$1(condition) + ")";
  63845. else
  63846. return this._visitSupportsCondition$1(condition);
  63847. },
  63848. _parenthesize$1(condition) {
  63849. return this._parenthesize$2(condition, null);
  63850. },
  63851. visitVariableDeclaration$1(node) {
  63852. var t1, value, _this = this, _null = null;
  63853. if (node.isGuarded) {
  63854. if (node.namespace == null && _this._environment._variables.length === 1) {
  63855. t1 = _this._configuration._values;
  63856. t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
  63857. if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
  63858. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(_this, node, t1));
  63859. return _null;
  63860. }
  63861. }
  63862. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
  63863. if (value != null && !value.$eq(0, B.C__SassNull))
  63864. return _null;
  63865. }
  63866. if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
  63867. t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
  63868. _this._warn$3(t1, node.span, B.Deprecation_hzy);
  63869. }
  63870. t1 = node.expression;
  63871. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
  63872. return _null;
  63873. },
  63874. visitUseRule$1(node) {
  63875. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  63876. t1 = node.configuration,
  63877. t2 = t1.length;
  63878. if (t2 !== 0) {
  63879. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  63880. for (_i = 0; _i < t2; ++_i) {
  63881. variable = t1[_i];
  63882. t3 = variable.expression;
  63883. variableNodeWithSpan = _this._expressionNode$1(t3);
  63884. values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  63885. }
  63886. configuration = new A.ExplicitConfiguration(node, values, null);
  63887. } else
  63888. configuration = B.Configuration_Map_empty_null;
  63889. _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
  63890. _this._assertConfigurationIsEmpty$1(configuration);
  63891. return null;
  63892. },
  63893. visitWarnRule$1(node) {
  63894. var _this = this,
  63895. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
  63896. t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression);
  63897. _this._evaluate$_logger.warn$2$trace(0, t1, _this._evaluate$_stackTrace$1(node.span));
  63898. return null;
  63899. },
  63900. visitWhileRule$1(node) {
  63901. return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
  63902. },
  63903. visitBinaryOperationExpression$1(node) {
  63904. return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(this, node));
  63905. },
  63906. visitValueExpression$1(node) {
  63907. return node.value;
  63908. },
  63909. visitVariableExpression$1(node) {
  63910. var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
  63911. if (result != null)
  63912. return result;
  63913. throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
  63914. },
  63915. visitUnaryOperationExpression$1(node) {
  63916. return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
  63917. },
  63918. visitBooleanExpression$1(node) {
  63919. return node.value ? B.SassBoolean_true : B.SassBoolean_false;
  63920. },
  63921. visitIfExpression$1(node) {
  63922. var condition, t2, ifTrue, ifFalse, result, _this = this,
  63923. pair = _this._evaluateMacroArguments$1(node),
  63924. positional = pair.item1,
  63925. named = pair.item2,
  63926. t1 = J.getInterceptor$asx(positional);
  63927. _this._verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
  63928. if (t1.get$length(positional) > 0)
  63929. condition = t1.$index(positional, 0);
  63930. else {
  63931. t2 = named.$index(0, "condition");
  63932. t2.toString;
  63933. condition = t2;
  63934. }
  63935. if (t1.get$length(positional) > 1)
  63936. ifTrue = t1.$index(positional, 1);
  63937. else {
  63938. t2 = named.$index(0, "if-true");
  63939. t2.toString;
  63940. ifTrue = t2;
  63941. }
  63942. if (t1.get$length(positional) > 2)
  63943. ifFalse = t1.$index(positional, 2);
  63944. else {
  63945. t1 = named.$index(0, "if-false");
  63946. t1.toString;
  63947. ifFalse = t1;
  63948. }
  63949. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  63950. return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
  63951. },
  63952. visitNullExpression$1(node) {
  63953. return B.C__SassNull;
  63954. },
  63955. visitNumberExpression$1(node) {
  63956. return A.SassNumber_SassNumber(node.value, node.unit);
  63957. },
  63958. visitParenthesizedExpression$1(node) {
  63959. return node.expression.accept$1(this);
  63960. },
  63961. visitCalculationExpression$1(node) {
  63962. var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, _this = this,
  63963. t1 = A._setArrayType([], type$.JSArray_Object);
  63964. for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
  63965. argument = t2[_i];
  63966. t1.push(_this._visitCalculationValue$2$inMinMax(argument, !t5 || t6));
  63967. }
  63968. $arguments = t1;
  63969. if (_this._inSupportsDeclaration)
  63970. return new A.SassCalculation(t4, A.List_List$unmodifiable($arguments, type$.Object));
  63971. try {
  63972. switch (t4) {
  63973. case "calc":
  63974. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  63975. return t1;
  63976. case "min":
  63977. t1 = A.SassCalculation_min($arguments);
  63978. return t1;
  63979. case "max":
  63980. t1 = A.SassCalculation_max($arguments);
  63981. return t1;
  63982. case "clamp":
  63983. t1 = J.$index$asx($arguments, 0);
  63984. t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
  63985. t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
  63986. return t1;
  63987. default:
  63988. t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
  63989. throw A.wrapException(t1);
  63990. }
  63991. } catch (exception) {
  63992. t1 = A.unwrapException(exception);
  63993. if (t1 instanceof A.SassScriptException) {
  63994. error = t1;
  63995. stackTrace = A.getTraceFromException(exception);
  63996. _this._verifyCompatibleNumbers$2($arguments, t2);
  63997. A.throwWithTrace(_this._evaluate$_exception$2(error.message, node.span), stackTrace);
  63998. } else
  63999. throw exception;
  64000. }
  64001. },
  64002. _verifyCompatibleNumbers$2(args, nodesWithSpans) {
  64003. var i, t1, arg, number1, j, number2;
  64004. for (i = 0; t1 = args.length, i < t1; ++i) {
  64005. arg = args[i];
  64006. if (!(arg instanceof A.SassNumber))
  64007. continue;
  64008. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  64009. throw A.wrapException(this._evaluate$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  64010. }
  64011. for (i = 0; i < t1 - 1; ++i) {
  64012. number1 = args[i];
  64013. if (!(number1 instanceof A.SassNumber))
  64014. continue;
  64015. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  64016. number2 = args[j];
  64017. if (!(number2 instanceof A.SassNumber))
  64018. continue;
  64019. if (number1.hasPossiblyCompatibleUnits$1(number2))
  64020. continue;
  64021. throw A.wrapException(A.MultiSpanSassRuntimeException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", J.get$span$z(nodesWithSpans[i]), number1.toString$0(0), A.LinkedHashMap_LinkedHashMap$_literal([J.get$span$z(nodesWithSpans[j]), number2.toString$0(0)], type$.FileSpan, type$.String), this._evaluate$_stackTrace$1(J.get$span$z(nodesWithSpans[i])), null));
  64022. }
  64023. }
  64024. },
  64025. _visitCalculationValue$2$inMinMax(node, inMinMax) {
  64026. var inner, result, t1, text, _this = this, _null = null;
  64027. if (node instanceof A.ParenthesizedExpression) {
  64028. inner = node.expression;
  64029. result = _this._visitCalculationValue$2$inMinMax(inner, inMinMax);
  64030. if (inner instanceof A.FunctionExpression)
  64031. t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
  64032. else
  64033. t1 = false;
  64034. return t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
  64035. } else if (node instanceof A.StringExpression) {
  64036. t1 = node.text;
  64037. text = t1.get$asPlain();
  64038. if (text == null)
  64039. return new A.CalculationInterpolation(_this._performInterpolation$1(t1));
  64040. switch (text.toLowerCase()) {
  64041. case "pi":
  64042. return A.SassNumber_SassNumber(3.141592653589793, _null);
  64043. case "e":
  64044. return A.SassNumber_SassNumber(2.718281828459045, _null);
  64045. case "infinity":
  64046. return A.SassNumber_SassNumber(1 / 0, _null);
  64047. case "-infinity":
  64048. return A.SassNumber_SassNumber(-1 / 0, _null);
  64049. case "nan":
  64050. return A.SassNumber_SassNumber(0 / 0, _null);
  64051. default:
  64052. return new A.SassString(text, false);
  64053. }
  64054. } else if (node instanceof A.BinaryOperationExpression)
  64055. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure(_this, node, inMinMax));
  64056. else {
  64057. result = node.accept$1(_this);
  64058. if (result instanceof A.SassNumber || result instanceof A.SassCalculation)
  64059. return result;
  64060. if (result instanceof A.SassString && !result._hasQuotes)
  64061. return result;
  64062. throw A.wrapException(_this._evaluate$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  64063. }
  64064. },
  64065. _binaryOperatorToCalculationOperator$1(operator) {
  64066. switch (operator) {
  64067. case B.BinaryOperator_anB:
  64068. return B.CalculationOperator_IyK;
  64069. case B.BinaryOperator_olz:
  64070. return B.CalculationOperator_2bx;
  64071. case B.BinaryOperator_qN2:
  64072. return B.CalculationOperator_jFr;
  64073. case B.BinaryOperator_t8B:
  64074. return B.CalculationOperator_OvN;
  64075. default:
  64076. throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
  64077. }
  64078. },
  64079. visitColorExpression$1(node) {
  64080. return node.value;
  64081. },
  64082. visitListExpression$1(node) {
  64083. var t1 = node.contents;
  64084. 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);
  64085. },
  64086. visitMapExpression$1(node) {
  64087. var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
  64088. t1 = type$.Value,
  64089. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  64090. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  64091. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  64092. pair = t2[_i];
  64093. t4 = pair.item1;
  64094. keyValue = t4.accept$1(this);
  64095. valueValue = pair.item2.accept$1(this);
  64096. if (map.$index(0, keyValue) != null) {
  64097. t1 = keyNodes.$index(0, keyValue);
  64098. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  64099. t1 = J.getInterceptor$z(t4);
  64100. t2 = t1.get$span(t4);
  64101. t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  64102. if (oldValueSpan != null)
  64103. t3.$indexSet(0, oldValueSpan, "first key");
  64104. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, this._evaluate$_stackTrace$1(t1.get$span(t4)), null));
  64105. }
  64106. map.$indexSet(0, keyValue, valueValue);
  64107. keyNodes.$indexSet(0, keyValue, t4);
  64108. }
  64109. return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  64110. },
  64111. visitFunctionExpression$1(node) {
  64112. var oldInFunction, result, _this = this, t1 = {},
  64113. $function = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
  64114. t1.$function = $function;
  64115. if ($function == null) {
  64116. if (node.namespace != null)
  64117. throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
  64118. t1.$function = new A.PlainCssCallable(node.originalName);
  64119. }
  64120. oldInFunction = _this._inFunction;
  64121. _this._inFunction = true;
  64122. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure0(t1, _this, node));
  64123. _this._inFunction = oldInFunction;
  64124. return result;
  64125. },
  64126. visitInterpolatedFunctionExpression$1(node) {
  64127. var result, _this = this,
  64128. t1 = _this._performInterpolation$1(node.name),
  64129. oldInFunction = _this._inFunction;
  64130. _this._inFunction = true;
  64131. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
  64132. _this._inFunction = oldInFunction;
  64133. return result;
  64134. },
  64135. _getFunction$2$namespace($name, namespace) {
  64136. var local = this._environment.getFunction$2$namespace($name, namespace);
  64137. if (local != null || namespace != null)
  64138. return local;
  64139. return this._builtInFunctions.$index(0, $name);
  64140. },
  64141. _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  64142. var oldCallable, result, _this = this,
  64143. evaluated = _this._evaluateArguments$1($arguments),
  64144. $name = callable.declaration.name;
  64145. if ($name !== "@content")
  64146. $name += "()";
  64147. oldCallable = _this._currentCallable;
  64148. _this._currentCallable = callable;
  64149. result = _this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(_this, callable, evaluated, nodeWithSpan, run, $V));
  64150. _this._currentCallable = oldCallable;
  64151. return result;
  64152. },
  64153. _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  64154. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, exception, _this = this;
  64155. if (callable instanceof A.BuiltInCallable)
  64156. return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  64157. else if (type$.UserDefinedCallable_Environment._is(callable))
  64158. return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
  64159. else if (callable instanceof A.PlainCssCallable) {
  64160. t1 = $arguments.named;
  64161. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  64162. throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  64163. buffer = new A.StringBuffer(callable.name + "(");
  64164. try {
  64165. first = true;
  64166. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  64167. argument = t1[_i];
  64168. if (first)
  64169. first = false;
  64170. else
  64171. buffer._contents += ", ";
  64172. t3 = argument;
  64173. buffer._contents += _this._evaluate$_serialize$3$quote(t3.accept$1(_this), t3, true);
  64174. }
  64175. restArg = $arguments.rest;
  64176. if (restArg != null) {
  64177. rest = restArg.accept$1(_this);
  64178. if (!first)
  64179. buffer._contents += ", ";
  64180. buffer._contents += _this._evaluate$_serialize$2(rest, restArg);
  64181. }
  64182. } catch (exception) {
  64183. t1 = A.unwrapException(exception);
  64184. if (type$.SassRuntimeException._is(t1)) {
  64185. error = t1;
  64186. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  64187. throw exception;
  64188. throw A.wrapException(A.MultiSpanSassRuntimeException$(error._span_exception$_message, J.get$span$z(error), "value", A.LinkedHashMap_LinkedHashMap$_literal([nodeWithSpan.get$span(nodeWithSpan), "unknown function treated as plain CSS"], type$.FileSpan, type$.String), J.get$trace$z(error), null));
  64189. } else
  64190. throw exception;
  64191. }
  64192. buffer._contents += A.Primitives_stringFromCharCode(41);
  64193. t1 = buffer._contents;
  64194. return new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  64195. } else
  64196. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  64197. },
  64198. _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  64199. var callback, result, error, stackTrace, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, message0, _this = this,
  64200. evaluated = _this._evaluateArguments$1($arguments),
  64201. oldCallableNode = _this._callableNode;
  64202. _this._callableNode = nodeWithSpan;
  64203. namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
  64204. tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
  64205. overload = tuple.item1;
  64206. callback = tuple.item2;
  64207. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(overload, evaluated, namedSet));
  64208. declaredArguments = overload.$arguments;
  64209. for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
  64210. argument = declaredArguments[i];
  64211. t2 = evaluated.positional;
  64212. t3 = evaluated.named.remove$1(0, argument.name);
  64213. if (t3 == null) {
  64214. t3 = argument.defaultValue;
  64215. t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
  64216. }
  64217. t2.push(t3);
  64218. }
  64219. if (overload.restArgument != null) {
  64220. if (evaluated.positional.length > t1) {
  64221. rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
  64222. B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
  64223. } else
  64224. rest = B.List_empty8;
  64225. t1 = evaluated.named;
  64226. argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : evaluated.separator);
  64227. evaluated.positional.push(argumentList);
  64228. } else
  64229. argumentList = null;
  64230. result = null;
  64231. try {
  64232. result = _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure0(callback, evaluated));
  64233. } catch (exception) {
  64234. t1 = A.unwrapException(exception);
  64235. if (t1 instanceof A.SassException)
  64236. throw exception;
  64237. else {
  64238. error = t1;
  64239. stackTrace = A.getTraceFromException(exception);
  64240. message = null;
  64241. try {
  64242. message = A._asString(J.get$message$x(error));
  64243. } catch (exception) {
  64244. message0 = J.toString$0$(error);
  64245. message = message0;
  64246. }
  64247. A.throwWithTrace(_this._evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace);
  64248. }
  64249. }
  64250. _this._callableNode = oldCallableNode;
  64251. if (argumentList == null)
  64252. return result;
  64253. if (evaluated.named.__js_helper$_length === 0)
  64254. return result;
  64255. if (argumentList._wereKeywordsAccessed)
  64256. return result;
  64257. t1 = evaluated.named;
  64258. t1 = t1.get$keys(t1);
  64259. t1 = A.pluralize("argument", t1.get$length(t1), null);
  64260. t2 = evaluated.named;
  64261. 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)), null));
  64262. },
  64263. _evaluateArguments$1($arguments) {
  64264. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  64265. positional = A._setArrayType([], type$.JSArray_Value),
  64266. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  64267. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  64268. expression = t1[_i];
  64269. nodeForSpan = _this._expressionNode$1(expression);
  64270. positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  64271. positionalNodes.push(nodeForSpan);
  64272. }
  64273. t1 = type$.String;
  64274. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  64275. t2 = type$.AstNode;
  64276. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  64277. for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  64278. t4 = t3.get$current(t3);
  64279. t5 = t4.value;
  64280. nodeForSpan = _this._expressionNode$1(t5);
  64281. t4 = t4.key;
  64282. named.$indexSet(0, t4, _this._withoutSlash$2(t5.accept$1(_this), nodeForSpan));
  64283. namedNodes.$indexSet(0, t4, nodeForSpan);
  64284. }
  64285. restArgs = $arguments.rest;
  64286. if (restArgs == null)
  64287. return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null_undecided);
  64288. rest = restArgs.accept$1(_this);
  64289. restNodeForSpan = _this._expressionNode$1(restArgs);
  64290. if (rest instanceof A.SassMap) {
  64291. _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
  64292. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  64293. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  64294. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  64295. namedNodes.addAll$1(0, t3);
  64296. separator = B.ListSeparator_undecided_null_undecided;
  64297. } else if (rest instanceof A.SassList) {
  64298. t3 = rest._list$_contents;
  64299. 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>")));
  64300. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  64301. separator = rest._separator;
  64302. if (rest instanceof A.SassArgumentList) {
  64303. rest._wereKeywordsAccessed = true;
  64304. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
  64305. }
  64306. } else {
  64307. positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
  64308. positionalNodes.push(restNodeForSpan);
  64309. separator = B.ListSeparator_undecided_null_undecided;
  64310. }
  64311. keywordRestArgs = $arguments.keywordRest;
  64312. if (keywordRestArgs == null)
  64313. return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
  64314. keywordRest = keywordRestArgs.accept$1(_this);
  64315. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
  64316. if (keywordRest instanceof A.SassMap) {
  64317. _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
  64318. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  64319. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  64320. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  64321. namedNodes.addAll$1(0, t1);
  64322. return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
  64323. } else
  64324. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  64325. },
  64326. _evaluateMacroArguments$1(invocation) {
  64327. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  64328. t1 = invocation.$arguments,
  64329. restArgs_ = t1.rest;
  64330. if (restArgs_ == null)
  64331. return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  64332. t2 = t1.positional;
  64333. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  64334. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  64335. rest = restArgs_.accept$1(_this);
  64336. restNodeForSpan = _this._expressionNode$1(restArgs_);
  64337. if (rest instanceof A.SassMap)
  64338. _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
  64339. else if (rest instanceof A.SassList) {
  64340. t2 = rest._list$_contents;
  64341. 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>")));
  64342. if (rest instanceof A.SassArgumentList) {
  64343. rest._wereKeywordsAccessed = true;
  64344. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
  64345. }
  64346. } else
  64347. positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  64348. keywordRestArgs_ = t1.keywordRest;
  64349. if (keywordRestArgs_ == null)
  64350. return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  64351. keywordRest = keywordRestArgs_.accept$1(_this);
  64352. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
  64353. if (keywordRest instanceof A.SassMap) {
  64354. _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
  64355. return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  64356. } else
  64357. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  64358. },
  64359. _addRestMap$1$4(values, map, nodeWithSpan, convert) {
  64360. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  64361. },
  64362. _addRestMap$4(values, map, nodeWithSpan, convert) {
  64363. return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  64364. },
  64365. _verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  64366. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure($arguments, positional, named));
  64367. },
  64368. visitSelectorExpression$1(node) {
  64369. var t1 = this._styleRuleIgnoringAtRoot;
  64370. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  64371. return t1 == null ? B.C__SassNull : t1;
  64372. },
  64373. visitStringExpression$1(node) {
  64374. var t1, _this = this,
  64375. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  64376. _this._inSupportsDeclaration = false;
  64377. t1 = node.text.contents;
  64378. t1 = new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  64379. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  64380. return new A.SassString(t1, node.hasQuotes);
  64381. },
  64382. visitSupportsExpression$1(expression) {
  64383. return new A.SassString(this._visitSupportsCondition$1(expression.condition), false);
  64384. },
  64385. visitCssAtRule$1(node) {
  64386. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  64387. if (_this._declarationName != null)
  64388. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  64389. if (node.isChildless) {
  64390. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  64391. return;
  64392. }
  64393. wasInKeyframes = _this._inKeyframes;
  64394. wasInUnknownAtRule = _this._inUnknownAtRule;
  64395. t1 = node.name;
  64396. if (A.unvendor(t1.value) === "keyframes")
  64397. _this._inKeyframes = true;
  64398. else
  64399. _this._inUnknownAtRule = true;
  64400. _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);
  64401. _this._inUnknownAtRule = wasInUnknownAtRule;
  64402. _this._inKeyframes = wasInKeyframes;
  64403. },
  64404. visitCssComment$1(node) {
  64405. var _this = this,
  64406. _s8_ = "__parent",
  64407. _s13_ = "_endOfImports";
  64408. 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))
  64409. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  64410. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
  64411. },
  64412. visitCssDeclaration$1(node) {
  64413. var t1 = node.name;
  64414. this._assertInModule$2(this.__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(t1, node.value, node.span, J.startsWith$1$s(t1.value, "--"), node.valueSpanForMap));
  64415. },
  64416. visitCssImport$1(node) {
  64417. var t1, _this = this,
  64418. _s8_ = "__parent",
  64419. _s5_ = "_root",
  64420. _s13_ = "_endOfImports",
  64421. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  64422. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  64423. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
  64424. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  64425. _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
  64426. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  64427. } else {
  64428. t1 = _this._outOfOrderImports;
  64429. (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  64430. }
  64431. },
  64432. visitCssKeyframeBlock$1(node) {
  64433. 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);
  64434. },
  64435. visitCssMediaRule$1(node) {
  64436. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  64437. if (_this._declarationName != null)
  64438. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  64439. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
  64440. t1 = mergedQueries == null;
  64441. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  64442. return;
  64443. if (t1)
  64444. mergedSources = B.Set_empty1;
  64445. else {
  64446. t2 = _this._mediaQuerySources;
  64447. t2.toString;
  64448. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  64449. t3 = _this._mediaQueries;
  64450. t3.toString;
  64451. t2.addAll$1(0, t3);
  64452. t2.addAll$1(0, node.queries);
  64453. mergedSources = t2;
  64454. }
  64455. t1 = t1 ? node.queries : mergedQueries;
  64456. _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);
  64457. },
  64458. visitCssStyleRule$1(node) {
  64459. var t1, styleRule, t2, t3, t4, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
  64460. _s8_ = "__parent";
  64461. if (_this._declarationName != null)
  64462. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
  64463. t1 = _this._atRootExcludingStyleRule;
  64464. styleRule = t1 ? null : _this._styleRuleIgnoringAtRoot;
  64465. t2 = node._style_rule$_selector._box$_inner.value;
  64466. t3 = styleRule == null;
  64467. t4 = t3 ? null : styleRule.originalSelector;
  64468. originalSelector = t2.resolveParentSelectors$2$implicitParent(t4, !t1);
  64469. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._mediaQueries), node.span, originalSelector);
  64470. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  64471. _this._atRootExcludingStyleRule = false;
  64472. _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);
  64473. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  64474. if (t3) {
  64475. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  64476. t1 = !t1.get$isEmpty(t1);
  64477. } else
  64478. t1 = false;
  64479. if (t1) {
  64480. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  64481. t1.get$last(t1).isGroupEnd = true;
  64482. }
  64483. },
  64484. visitCssStylesheet$1(node) {
  64485. var t1;
  64486. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  64487. t1.get$current(t1).accept$1(this);
  64488. },
  64489. visitCssSupportsRule$1(node) {
  64490. var _this = this;
  64491. if (_this._declarationName != null)
  64492. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  64493. _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);
  64494. },
  64495. _handleReturn$1$2(list, callback) {
  64496. var t1, _i, result;
  64497. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  64498. result = callback.call$1(list[_i]);
  64499. if (result != null)
  64500. return result;
  64501. }
  64502. return null;
  64503. },
  64504. _handleReturn$2(list, callback) {
  64505. return this._handleReturn$1$2(list, callback, type$.dynamic);
  64506. },
  64507. _withEnvironment$1$2(environment, callback) {
  64508. var result,
  64509. oldEnvironment = this._environment;
  64510. this._environment = environment;
  64511. result = callback.call$0();
  64512. this._environment = oldEnvironment;
  64513. return result;
  64514. },
  64515. _withEnvironment$2(environment, callback) {
  64516. return this._withEnvironment$1$2(environment, callback, type$.dynamic);
  64517. },
  64518. _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  64519. var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
  64520. t1 = trim ? A.trimAscii(result, true) : result;
  64521. return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  64522. },
  64523. _interpolationToValue$1(interpolation) {
  64524. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  64525. },
  64526. _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  64527. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  64528. },
  64529. _performInterpolation$2$warnForColor(interpolation, warnForColor) {
  64530. return this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, warnForColor).item1;
  64531. },
  64532. _performInterpolation$1(interpolation) {
  64533. return this._performInterpolation$2$warnForColor(interpolation, false);
  64534. },
  64535. _performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  64536. var tuple = this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  64537. t1 = tuple.item2;
  64538. t1.toString;
  64539. return new A.Tuple2(tuple.item1, t1, type$.Tuple2_String_InterpolationMap);
  64540. },
  64541. _performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  64542. var t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, t8, result0, _this = this, _null = null,
  64543. targetLocations = A._setArrayType([], type$.JSArray_SourceLocation),
  64544. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  64545. _this._inSupportsDeclaration = false;
  64546. 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) {
  64547. value = t1[_i];
  64548. if (!first)
  64549. targetLocations.push(A.SourceLocation$(t7.length, _null, _null, _null));
  64550. if (typeof value == "string") {
  64551. t7 += value;
  64552. continue;
  64553. }
  64554. t3._as(value);
  64555. result = value.accept$1(_this);
  64556. if (warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
  64557. t8 = A._setArrayType([""], t4);
  64558. result0 = A.List_List$from(t8, false, t6);
  64559. result0.fixed$length = Array;
  64560. result0.immutable$list = Array;
  64561. result0 = new A.Interpolation(result0, t5);
  64562. result0.Interpolation$2(t8, t5);
  64563. t8 = $.$get$namesByColor();
  64564. _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));
  64565. }
  64566. t7 += _this._evaluate$_serialize$3$quote(result, value, false);
  64567. }
  64568. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  64569. t1 = A.InterpolationMap$(interpolation, targetLocations);
  64570. return new A.Tuple2(t7.charCodeAt(0) == 0 ? t7 : t7, t1, type$.Tuple2_of_String_and_nullable_InterpolationMap);
  64571. },
  64572. _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  64573. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
  64574. },
  64575. _evaluate$_serialize$2(value, nodeWithSpan) {
  64576. return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  64577. },
  64578. _expressionNode$1(expression) {
  64579. var t1;
  64580. if (expression instanceof A.VariableExpression) {
  64581. t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
  64582. return t1 == null ? expression : t1;
  64583. } else
  64584. return expression;
  64585. },
  64586. _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  64587. var t1, result, _this = this;
  64588. _this._addChild$2$through(node, through);
  64589. t1 = _this._assertInModule$2(_this.__parent, "__parent");
  64590. _this.__parent = node;
  64591. result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
  64592. _this.__parent = t1;
  64593. return result;
  64594. },
  64595. _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  64596. return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  64597. },
  64598. _withParent$2$2(node, callback, $S, $T) {
  64599. return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  64600. },
  64601. _addChild$2$through(node, through) {
  64602. var grandparent, t1,
  64603. $parent = this._assertInModule$2(this.__parent, "__parent");
  64604. if (through != null) {
  64605. for (; through.call$1($parent); $parent = grandparent) {
  64606. grandparent = $parent._parent;
  64607. if (grandparent == null)
  64608. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  64609. }
  64610. if ($parent.get$hasFollowingSibling()) {
  64611. grandparent = $parent._parent;
  64612. t1 = grandparent.children;
  64613. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  64614. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  64615. else {
  64616. $parent = $parent.copyWithoutChildren$0();
  64617. grandparent.addChild$1($parent);
  64618. }
  64619. }
  64620. }
  64621. $parent.addChild$1(node);
  64622. },
  64623. _addChild$1(node) {
  64624. return this._addChild$2$through(node, null);
  64625. },
  64626. _withStyleRule$1$2(rule, callback) {
  64627. var result,
  64628. oldRule = this._styleRuleIgnoringAtRoot;
  64629. this._styleRuleIgnoringAtRoot = rule;
  64630. result = callback.call$0();
  64631. this._styleRuleIgnoringAtRoot = oldRule;
  64632. return result;
  64633. },
  64634. _withStyleRule$2(rule, callback) {
  64635. return this._withStyleRule$1$2(rule, callback, type$.dynamic);
  64636. },
  64637. _withMediaQueries$1$3(queries, sources, callback) {
  64638. var result, _this = this,
  64639. oldMediaQueries = _this._mediaQueries,
  64640. oldSources = _this._mediaQuerySources;
  64641. _this._mediaQueries = queries;
  64642. _this._mediaQuerySources = sources;
  64643. result = callback.call$0();
  64644. _this._mediaQueries = oldMediaQueries;
  64645. _this._mediaQuerySources = oldSources;
  64646. return result;
  64647. },
  64648. _withMediaQueries$3(queries, sources, callback) {
  64649. return this._withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  64650. },
  64651. _withStackFrame$1$3(member, nodeWithSpan, callback) {
  64652. var oldMember, result, _this = this,
  64653. t1 = _this._stack;
  64654. t1.push(new A.Tuple2(_this._member, nodeWithSpan, type$.Tuple2_String_AstNode));
  64655. oldMember = _this._member;
  64656. _this._member = member;
  64657. result = callback.call$0();
  64658. _this._member = oldMember;
  64659. t1.pop();
  64660. return result;
  64661. },
  64662. _withStackFrame$3(member, nodeWithSpan, callback) {
  64663. return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  64664. },
  64665. _withoutSlash$2(value, nodeForSpan) {
  64666. if (value instanceof A.SassNumber && value.asSlash != null)
  64667. 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);
  64668. return value.withoutSlash$0();
  64669. },
  64670. _stackFrame$2(member, span) {
  64671. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure(this)));
  64672. },
  64673. _evaluate$_stackTrace$1(span) {
  64674. var _this = this,
  64675. t1 = _this._stack;
  64676. 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);
  64677. if (span != null)
  64678. t1.push(_this._stackFrame$2(_this._member, span));
  64679. return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
  64680. },
  64681. _evaluate$_stackTrace$0() {
  64682. return this._evaluate$_stackTrace$1(null);
  64683. },
  64684. _warn$3(message, span, deprecation) {
  64685. var t1, trace, _this = this;
  64686. if (_this._quietDeps)
  64687. if (!_this._inDependency) {
  64688. t1 = _this._currentCallable;
  64689. t1 = t1 == null ? null : t1.inDependency;
  64690. t1 = t1 === true;
  64691. } else
  64692. t1 = true;
  64693. else
  64694. t1 = false;
  64695. if (t1)
  64696. return;
  64697. if (!_this._warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
  64698. return;
  64699. trace = _this._evaluate$_stackTrace$1(span);
  64700. t1 = _this._evaluate$_logger;
  64701. if (deprecation == null)
  64702. t1.warn$3$span$trace(0, message, span, trace);
  64703. else
  64704. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  64705. },
  64706. _warn$2(message, span) {
  64707. return this._warn$3(message, span, null);
  64708. },
  64709. _evaluate$_exception$2(message, span) {
  64710. var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._stack).item2) : span,
  64711. t2 = this._evaluate$_stackTrace$1(span);
  64712. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  64713. },
  64714. _evaluate$_exception$1(message) {
  64715. return this._evaluate$_exception$2(message, null);
  64716. },
  64717. _multiSpanException$3(message, primaryLabel, secondaryLabels) {
  64718. return A.MultiSpanSassRuntimeException$(message, J.get$span$z(B.JSArray_methods.get$last(this._stack).item2), primaryLabel, secondaryLabels, this._evaluate$_stackTrace$0(), null);
  64719. },
  64720. _addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  64721. var error, stackTrace, t1, exception;
  64722. try {
  64723. t1 = callback.call$0();
  64724. return t1;
  64725. } catch (exception) {
  64726. t1 = A.unwrapException(exception);
  64727. if (t1 instanceof A.SassScriptException) {
  64728. error = t1;
  64729. stackTrace = A.getTraceFromException(exception);
  64730. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  64731. A.throwWithTrace(t1.withTrace$1(this._evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), stackTrace);
  64732. } else
  64733. throw exception;
  64734. }
  64735. },
  64736. _addExceptionSpan$2(nodeWithSpan, callback) {
  64737. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  64738. },
  64739. _addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  64740. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  64741. },
  64742. _addExceptionTrace$1$1(callback) {
  64743. var error, stackTrace, t1, exception, t2;
  64744. try {
  64745. t1 = callback.call$0();
  64746. return t1;
  64747. } catch (exception) {
  64748. t1 = A.unwrapException(exception);
  64749. if (type$.SassRuntimeException._is(t1))
  64750. throw exception;
  64751. else if (t1 instanceof A.SassException) {
  64752. error = t1;
  64753. stackTrace = A.getTraceFromException(exception);
  64754. t1 = error;
  64755. t2 = J.getInterceptor$z(t1);
  64756. A.throwWithTrace(error.withTrace$1(this._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), stackTrace);
  64757. } else
  64758. throw exception;
  64759. }
  64760. },
  64761. _addExceptionTrace$1(callback) {
  64762. return this._addExceptionTrace$1$1(callback, type$.dynamic);
  64763. },
  64764. _addErrorSpan$1$2(nodeWithSpan, callback) {
  64765. var error, stackTrace, t1, exception, t2, t3;
  64766. try {
  64767. t1 = callback.call$0();
  64768. return t1;
  64769. } catch (exception) {
  64770. t1 = A.unwrapException(exception);
  64771. if (type$.SassRuntimeException._is(t1)) {
  64772. error = t1;
  64773. stackTrace = A.getTraceFromException(exception);
  64774. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  64775. throw exception;
  64776. t1 = error._span_exception$_message;
  64777. t2 = nodeWithSpan.get$span(nodeWithSpan);
  64778. t3 = this._evaluate$_stackTrace$0();
  64779. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), stackTrace);
  64780. } else
  64781. throw exception;
  64782. }
  64783. },
  64784. _addErrorSpan$2(nodeWithSpan, callback) {
  64785. return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  64786. }
  64787. };
  64788. A._EvaluateVisitor_closure.prototype = {
  64789. call$1($arguments) {
  64790. var module, t2,
  64791. t1 = J.getInterceptor$asx($arguments),
  64792. variable = t1.$index($arguments, 0).assertString$1("name");
  64793. t1 = t1.$index($arguments, 1).get$realNull();
  64794. module = t1 == null ? null : t1.assertString$1("module");
  64795. t1 = this.$this._environment;
  64796. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  64797. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  64798. },
  64799. $signature: 19
  64800. };
  64801. A._EvaluateVisitor_closure0.prototype = {
  64802. call$1($arguments) {
  64803. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  64804. t1 = this.$this._environment;
  64805. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  64806. },
  64807. $signature: 19
  64808. };
  64809. A._EvaluateVisitor_closure1.prototype = {
  64810. call$1($arguments) {
  64811. var module, t2, t3, t4,
  64812. t1 = J.getInterceptor$asx($arguments),
  64813. variable = t1.$index($arguments, 0).assertString$1("name");
  64814. t1 = t1.$index($arguments, 1).get$realNull();
  64815. module = t1 == null ? null : t1.assertString$1("module");
  64816. t1 = this.$this;
  64817. t2 = t1._environment;
  64818. t3 = variable._string$_text;
  64819. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  64820. return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
  64821. },
  64822. $signature: 19
  64823. };
  64824. A._EvaluateVisitor_closure2.prototype = {
  64825. call$1($arguments) {
  64826. var module, t2,
  64827. t1 = J.getInterceptor$asx($arguments),
  64828. variable = t1.$index($arguments, 0).assertString$1("name");
  64829. t1 = t1.$index($arguments, 1).get$realNull();
  64830. module = t1 == null ? null : t1.assertString$1("module");
  64831. t1 = this.$this._environment;
  64832. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  64833. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  64834. },
  64835. $signature: 19
  64836. };
  64837. A._EvaluateVisitor_closure3.prototype = {
  64838. call$1($arguments) {
  64839. var t1 = this.$this._environment;
  64840. if (!t1._inMixin)
  64841. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  64842. return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
  64843. },
  64844. $signature: 19
  64845. };
  64846. A._EvaluateVisitor_closure4.prototype = {
  64847. call$1($arguments) {
  64848. var t2, t3, t4,
  64849. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  64850. module = this.$this._environment._environment$_modules.$index(0, t1);
  64851. if (module == null)
  64852. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  64853. t1 = type$.Value;
  64854. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  64855. for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  64856. t4 = t3.get$current(t3);
  64857. t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
  64858. }
  64859. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  64860. },
  64861. $signature: 36
  64862. };
  64863. A._EvaluateVisitor_closure5.prototype = {
  64864. call$1($arguments) {
  64865. var t2, t3, t4,
  64866. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  64867. module = this.$this._environment._environment$_modules.$index(0, t1);
  64868. if (module == null)
  64869. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  64870. t1 = type$.Value;
  64871. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  64872. for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  64873. t4 = t3.get$current(t3);
  64874. t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
  64875. }
  64876. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  64877. },
  64878. $signature: 36
  64879. };
  64880. A._EvaluateVisitor_closure6.prototype = {
  64881. call$1($arguments) {
  64882. var module, callable, t2,
  64883. t1 = J.getInterceptor$asx($arguments),
  64884. $name = t1.$index($arguments, 0).assertString$1("name"),
  64885. css = t1.$index($arguments, 1).get$isTruthy();
  64886. t1 = t1.$index($arguments, 2).get$realNull();
  64887. module = t1 == null ? null : t1.assertString$1("module");
  64888. if (css && module != null)
  64889. throw A.wrapException(string$.x24css_a);
  64890. if (css)
  64891. callable = new A.PlainCssCallable($name._string$_text);
  64892. else {
  64893. t1 = this.$this;
  64894. t2 = t1._callableNode;
  64895. t2.toString;
  64896. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
  64897. }
  64898. if (callable != null)
  64899. return new A.SassFunction(callable);
  64900. throw A.wrapException("Function not found: " + $name.toString$0(0));
  64901. },
  64902. $signature: 152
  64903. };
  64904. A._EvaluateVisitor__closure1.prototype = {
  64905. call$0() {
  64906. var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  64907. t2 = this.module;
  64908. t2 = t2 == null ? null : t2._string$_text;
  64909. return this.$this._getFunction$2$namespace(t1, t2);
  64910. },
  64911. $signature: 109
  64912. };
  64913. A._EvaluateVisitor_closure7.prototype = {
  64914. call$1($arguments) {
  64915. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  64916. t1 = J.getInterceptor$asx($arguments),
  64917. $function = t1.$index($arguments, 0),
  64918. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  64919. t1 = this.$this;
  64920. t2 = t1._callableNode;
  64921. t2.toString;
  64922. t3 = A._setArrayType([], type$.JSArray_Expression);
  64923. t4 = type$.String;
  64924. t5 = type$.Expression;
  64925. t6 = t2.get$span(t2);
  64926. t7 = t2.get$span(t2);
  64927. args._wereKeywordsAccessed = true;
  64928. t8 = args._keywords;
  64929. if (t8.get$isEmpty(t8))
  64930. t2 = null;
  64931. else {
  64932. t9 = type$.Value;
  64933. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  64934. for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  64935. t11 = t8.get$current(t8);
  64936. t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
  64937. }
  64938. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  64939. }
  64940. 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);
  64941. if ($function instanceof A.SassString) {
  64942. t2 = $function.toString$0(0);
  64943. A.EvaluationContext_current().warn$2(0, string$.Passin + t2 + "))", B.Deprecation_qVK);
  64944. callableNode = t1._callableNode;
  64945. return t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode)));
  64946. }
  64947. callable = $function.assertFunction$1("function").callable;
  64948. if (type$.Callable._is(callable)) {
  64949. t2 = t1._callableNode;
  64950. t2.toString;
  64951. return t1._runFunctionCallable$3(invocation, callable, t2);
  64952. } else
  64953. throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as, null));
  64954. },
  64955. $signature: 4
  64956. };
  64957. A._EvaluateVisitor_closure8.prototype = {
  64958. call$1($arguments) {
  64959. var withMap, t2, values, configuration, t3,
  64960. t1 = J.getInterceptor$asx($arguments),
  64961. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  64962. t1 = t1.$index($arguments, 1).get$realNull();
  64963. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  64964. t1 = this.$this;
  64965. t2 = t1._callableNode;
  64966. t2.toString;
  64967. if (withMap != null) {
  64968. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  64969. withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
  64970. configuration = new A.ExplicitConfiguration(t2, values, null);
  64971. } else
  64972. configuration = B.Configuration_Map_empty_null;
  64973. t3 = t2.get$span(t2);
  64974. t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t3.get$sourceUrl(t3), configuration, true);
  64975. t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
  64976. },
  64977. $signature: 258
  64978. };
  64979. A._EvaluateVisitor__closure.prototype = {
  64980. call$2(variable, value) {
  64981. var t1 = variable.assertString$1("with key"),
  64982. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  64983. t1 = this.values;
  64984. if (t1.containsKey$1($name))
  64985. throw A.wrapException("The variable $" + $name + " was configured twice.");
  64986. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  64987. },
  64988. $signature: 49
  64989. };
  64990. A._EvaluateVisitor__closure0.prototype = {
  64991. call$1(module) {
  64992. var t1 = this.$this;
  64993. return t1._combineCss$2$clone(module, true).accept$1(t1);
  64994. },
  64995. $signature: 62
  64996. };
  64997. A._EvaluateVisitor_run_closure.prototype = {
  64998. call$0() {
  64999. var module, _this = this,
  65000. t1 = _this.node,
  65001. t2 = t1.span,
  65002. url = t2.get$sourceUrl(t2);
  65003. if (url != null) {
  65004. t2 = _this.$this;
  65005. t2._activeModules.$indexSet(0, url, null);
  65006. t2._loadedUrls.add$1(0, url);
  65007. }
  65008. t2 = _this.$this;
  65009. module = t2._addExceptionTrace$1(new A._EvaluateVisitor_run__closure(t2, _this.importer, t1));
  65010. return new A.EvaluateResult(t2._combineCss$1(module));
  65011. },
  65012. $signature: 260
  65013. };
  65014. A._EvaluateVisitor_run__closure.prototype = {
  65015. call$0() {
  65016. return this.$this._execute$2(this.importer, this.node);
  65017. },
  65018. $signature: 261
  65019. };
  65020. A._EvaluateVisitor_runExpression_closure.prototype = {
  65021. call$0() {
  65022. var t1 = this.$this,
  65023. t2 = this.expression;
  65024. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
  65025. },
  65026. $signature: 28
  65027. };
  65028. A._EvaluateVisitor_runExpression__closure.prototype = {
  65029. call$0() {
  65030. var t1 = this.$this;
  65031. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runExpression___closure(t1, this.expression));
  65032. },
  65033. $signature: 28
  65034. };
  65035. A._EvaluateVisitor_runExpression___closure.prototype = {
  65036. call$0() {
  65037. return this.expression.accept$1(this.$this);
  65038. },
  65039. $signature: 28
  65040. };
  65041. A._EvaluateVisitor_runStatement_closure.prototype = {
  65042. call$0() {
  65043. var t1 = this.$this,
  65044. t2 = this.statement;
  65045. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
  65046. },
  65047. $signature: 0
  65048. };
  65049. A._EvaluateVisitor_runStatement__closure.prototype = {
  65050. call$0() {
  65051. var t1 = this.$this;
  65052. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runStatement___closure(t1, this.statement));
  65053. },
  65054. $signature: 0
  65055. };
  65056. A._EvaluateVisitor_runStatement___closure.prototype = {
  65057. call$0() {
  65058. return this.statement.accept$1(this.$this);
  65059. },
  65060. $signature: 0
  65061. };
  65062. A._EvaluateVisitor__loadModule_closure.prototype = {
  65063. call$0() {
  65064. return this.callback.call$1(this.builtInModule);
  65065. },
  65066. $signature: 0
  65067. };
  65068. A._EvaluateVisitor__loadModule_closure0.prototype = {
  65069. call$0() {
  65070. var oldInDependency, message, _this = this, t1 = {},
  65071. t2 = _this.$this,
  65072. t3 = _this.nodeWithSpan,
  65073. result = t2._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl),
  65074. stylesheet = result.stylesheet,
  65075. t4 = stylesheet.span,
  65076. canonicalUrl = t4.get$sourceUrl(t4);
  65077. if (canonicalUrl != null && t2._activeModules.containsKey$1(canonicalUrl)) {
  65078. message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  65079. t1 = A.NullableExtension_andThen(t2._activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t2, message));
  65080. throw A.wrapException(t1 == null ? t2._evaluate$_exception$1(message) : t1);
  65081. }
  65082. if (canonicalUrl != null)
  65083. t2._activeModules.$indexSet(0, canonicalUrl, t3);
  65084. oldInDependency = t2._inDependency;
  65085. t2._inDependency = result.isDependency;
  65086. t1.module = null;
  65087. try {
  65088. t1.module = t2._execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  65089. } finally {
  65090. t2._activeModules.remove$1(0, canonicalUrl);
  65091. t2._inDependency = oldInDependency;
  65092. }
  65093. t2._addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure0(t1, _this.callback), false);
  65094. },
  65095. $signature: 1
  65096. };
  65097. A._EvaluateVisitor__loadModule__closure.prototype = {
  65098. call$1(previousLoad) {
  65099. return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  65100. },
  65101. $signature: 91
  65102. };
  65103. A._EvaluateVisitor__loadModule__closure0.prototype = {
  65104. call$0() {
  65105. return this.callback.call$1(this._box_0.module);
  65106. },
  65107. $signature: 0
  65108. };
  65109. A._EvaluateVisitor__execute_closure.prototype = {
  65110. call$0() {
  65111. var t3, t4, t5, t6, _this = this,
  65112. t1 = _this.$this,
  65113. oldImporter = t1._importer,
  65114. oldStylesheet = t1.__stylesheet,
  65115. oldRoot = t1.__root,
  65116. oldParent = t1.__parent,
  65117. oldEndOfImports = t1.__endOfImports,
  65118. oldOutOfOrderImports = t1._outOfOrderImports,
  65119. oldExtensionStore = t1.__extensionStore,
  65120. t2 = t1._atRootExcludingStyleRule,
  65121. oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
  65122. oldMediaQueries = t1._mediaQueries,
  65123. oldDeclarationName = t1._declarationName,
  65124. oldInUnknownAtRule = t1._inUnknownAtRule,
  65125. oldInKeyframes = t1._inKeyframes,
  65126. oldConfiguration = t1._configuration;
  65127. t1._importer = _this.importer;
  65128. t3 = t1.__stylesheet = _this.stylesheet;
  65129. t4 = t3.span;
  65130. t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
  65131. t1.__endOfImports = 0;
  65132. t1._outOfOrderImports = null;
  65133. t1.__extensionStore = _this.extensionStore;
  65134. t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
  65135. t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
  65136. t6 = _this.configuration;
  65137. if (t6 != null)
  65138. t1._configuration = t6;
  65139. t1.visitStylesheet$1(t3);
  65140. t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  65141. _this.css.__late_helper$_value = t3;
  65142. t1._importer = oldImporter;
  65143. t1.__stylesheet = oldStylesheet;
  65144. t1.__root = oldRoot;
  65145. t1.__parent = oldParent;
  65146. t1.__endOfImports = oldEndOfImports;
  65147. t1._outOfOrderImports = oldOutOfOrderImports;
  65148. t1.__extensionStore = oldExtensionStore;
  65149. t1._styleRuleIgnoringAtRoot = oldStyleRule;
  65150. t1._mediaQueries = oldMediaQueries;
  65151. t1._declarationName = oldDeclarationName;
  65152. t1._inUnknownAtRule = oldInUnknownAtRule;
  65153. t1._atRootExcludingStyleRule = t2;
  65154. t1._inKeyframes = oldInKeyframes;
  65155. t1._configuration = oldConfiguration;
  65156. },
  65157. $signature: 1
  65158. };
  65159. A._EvaluateVisitor__combineCss_closure.prototype = {
  65160. call$1(module) {
  65161. return module.get$transitivelyContainsCss();
  65162. },
  65163. $signature: 116
  65164. };
  65165. A._EvaluateVisitor__combineCss_closure0.prototype = {
  65166. call$1(target) {
  65167. return !this.selectors.contains$1(0, target);
  65168. },
  65169. $signature: 13
  65170. };
  65171. A._EvaluateVisitor__combineCss_closure1.prototype = {
  65172. call$1(module) {
  65173. return module.cloneCss$0();
  65174. },
  65175. $signature: 262
  65176. };
  65177. A._EvaluateVisitor__extendModules_closure.prototype = {
  65178. call$1(target) {
  65179. return !this.originalSelectors.contains$1(0, target);
  65180. },
  65181. $signature: 13
  65182. };
  65183. A._EvaluateVisitor__extendModules_closure0.prototype = {
  65184. call$0() {
  65185. return A._setArrayType([], type$.JSArray_ExtensionStore);
  65186. },
  65187. $signature: 150
  65188. };
  65189. A._EvaluateVisitor__topologicalModules_visitModule.prototype = {
  65190. call$1(module) {
  65191. var t1, t2, t3, _i, upstream;
  65192. for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  65193. upstream = t1[_i];
  65194. if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
  65195. this.call$1(upstream);
  65196. }
  65197. this.sorted.addFirst$1(module);
  65198. },
  65199. $signature: 62
  65200. };
  65201. A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
  65202. call$0() {
  65203. var t1, t2, t3, _i;
  65204. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  65205. t1[_i].accept$1(t3);
  65206. },
  65207. $signature: 1
  65208. };
  65209. A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
  65210. call$0() {
  65211. var t1, t2, t3, _i;
  65212. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  65213. t1[_i].accept$1(t3);
  65214. },
  65215. $signature: 0
  65216. };
  65217. A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
  65218. call$1(callback) {
  65219. var t1 = this.$this,
  65220. t2 = t1._assertInModule$2(t1.__parent, "__parent");
  65221. t1.__parent = this.newParent;
  65222. t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  65223. t1.__parent = t2;
  65224. },
  65225. $signature: 30
  65226. };
  65227. A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
  65228. call$1(callback) {
  65229. var t1 = this.$this,
  65230. oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
  65231. t1._atRootExcludingStyleRule = true;
  65232. this.innerScope.call$1(callback);
  65233. t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  65234. },
  65235. $signature: 30
  65236. };
  65237. A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
  65238. call$1(callback) {
  65239. return this.$this._withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
  65240. },
  65241. $signature: 30
  65242. };
  65243. A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
  65244. call$0() {
  65245. return this.innerScope.call$1(this.callback);
  65246. },
  65247. $signature: 1
  65248. };
  65249. A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
  65250. call$1(callback) {
  65251. var t1 = this.$this,
  65252. wasInKeyframes = t1._inKeyframes;
  65253. t1._inKeyframes = false;
  65254. this.innerScope.call$1(callback);
  65255. t1._inKeyframes = wasInKeyframes;
  65256. },
  65257. $signature: 30
  65258. };
  65259. A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
  65260. call$1($parent) {
  65261. return type$.CssAtRule._is($parent);
  65262. },
  65263. $signature: 149
  65264. };
  65265. A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
  65266. call$1(callback) {
  65267. var t1 = this.$this,
  65268. wasInUnknownAtRule = t1._inUnknownAtRule;
  65269. t1._inUnknownAtRule = false;
  65270. this.innerScope.call$1(callback);
  65271. t1._inUnknownAtRule = wasInUnknownAtRule;
  65272. },
  65273. $signature: 30
  65274. };
  65275. A._EvaluateVisitor_visitContentRule_closure.prototype = {
  65276. call$0() {
  65277. var t1, t2, t3, _i;
  65278. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  65279. t1[_i].accept$1(t3);
  65280. return null;
  65281. },
  65282. $signature: 1
  65283. };
  65284. A._EvaluateVisitor_visitDeclaration_closure.prototype = {
  65285. call$1(value) {
  65286. return new A.CssValue(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value);
  65287. },
  65288. $signature: 263
  65289. };
  65290. A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
  65291. call$0() {
  65292. var t1, t2, t3, _i;
  65293. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  65294. t1[_i].accept$1(t3);
  65295. },
  65296. $signature: 1
  65297. };
  65298. A._EvaluateVisitor_visitEachRule_closure.prototype = {
  65299. call$1(value) {
  65300. var t1 = this.$this,
  65301. t2 = this.nodeWithSpan;
  65302. return t1._environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._withoutSlash$2(value, t2), t2);
  65303. },
  65304. $signature: 56
  65305. };
  65306. A._EvaluateVisitor_visitEachRule_closure0.prototype = {
  65307. call$1(value) {
  65308. return this.$this._setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
  65309. },
  65310. $signature: 56
  65311. };
  65312. A._EvaluateVisitor_visitEachRule_closure1.prototype = {
  65313. call$0() {
  65314. var _this = this,
  65315. t1 = _this.$this;
  65316. return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
  65317. },
  65318. $signature: 41
  65319. };
  65320. A._EvaluateVisitor_visitEachRule__closure.prototype = {
  65321. call$1(element) {
  65322. var t1;
  65323. this.setVariables.call$1(element);
  65324. t1 = this.$this;
  65325. return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
  65326. },
  65327. $signature: 264
  65328. };
  65329. A._EvaluateVisitor_visitEachRule___closure.prototype = {
  65330. call$1(child) {
  65331. return child.accept$1(this.$this);
  65332. },
  65333. $signature: 87
  65334. };
  65335. A._EvaluateVisitor_visitAtRule_closure.prototype = {
  65336. call$1(value) {
  65337. return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
  65338. },
  65339. $signature: 266
  65340. };
  65341. A._EvaluateVisitor_visitAtRule_closure0.prototype = {
  65342. call$0() {
  65343. var t2, t3, _i, _this = this,
  65344. t1 = _this.$this,
  65345. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  65346. if (styleRule == null || t1._inKeyframes || J.$eq$(_this.name.value, "font-face"))
  65347. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  65348. t2[_i].accept$1(t1);
  65349. else
  65350. 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);
  65351. },
  65352. $signature: 1
  65353. };
  65354. A._EvaluateVisitor_visitAtRule__closure.prototype = {
  65355. call$0() {
  65356. var t1, t2, t3, _i;
  65357. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  65358. t1[_i].accept$1(t3);
  65359. },
  65360. $signature: 1
  65361. };
  65362. A._EvaluateVisitor_visitAtRule_closure1.prototype = {
  65363. call$1(node) {
  65364. return type$.CssStyleRule._is(node);
  65365. },
  65366. $signature: 7
  65367. };
  65368. A._EvaluateVisitor_visitForRule_closure.prototype = {
  65369. call$0() {
  65370. return this.node.from.accept$1(this.$this).assertNumber$0();
  65371. },
  65372. $signature: 139
  65373. };
  65374. A._EvaluateVisitor_visitForRule_closure0.prototype = {
  65375. call$0() {
  65376. return this.node.to.accept$1(this.$this).assertNumber$0();
  65377. },
  65378. $signature: 139
  65379. };
  65380. A._EvaluateVisitor_visitForRule_closure1.prototype = {
  65381. call$0() {
  65382. return this.fromNumber.assertInt$0();
  65383. },
  65384. $signature: 12
  65385. };
  65386. A._EvaluateVisitor_visitForRule_closure2.prototype = {
  65387. call$0() {
  65388. var t1 = this.fromNumber;
  65389. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  65390. },
  65391. $signature: 12
  65392. };
  65393. A._EvaluateVisitor_visitForRule_closure3.prototype = {
  65394. call$0() {
  65395. var i, t3, t4, t5, t6, t7, t8, result, _this = this,
  65396. t1 = _this.$this,
  65397. t2 = _this.node,
  65398. nodeWithSpan = t1._expressionNode$1(t2.from);
  65399. 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) {
  65400. t7 = t1._environment;
  65401. t8 = t6.get$numeratorUnits(t6);
  65402. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  65403. result = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
  65404. if (result != null)
  65405. return result;
  65406. }
  65407. return null;
  65408. },
  65409. $signature: 41
  65410. };
  65411. A._EvaluateVisitor_visitForRule__closure.prototype = {
  65412. call$1(child) {
  65413. return child.accept$1(this.$this);
  65414. },
  65415. $signature: 87
  65416. };
  65417. A._EvaluateVisitor_visitForwardRule_closure.prototype = {
  65418. call$1(module) {
  65419. this.$this._environment.forwardModule$2(module, this.node);
  65420. },
  65421. $signature: 62
  65422. };
  65423. A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
  65424. call$1(module) {
  65425. this.$this._environment.forwardModule$2(module, this.node);
  65426. },
  65427. $signature: 62
  65428. };
  65429. A._EvaluateVisitor_visitIfRule_closure.prototype = {
  65430. call$0() {
  65431. var t1 = this.$this;
  65432. return t1._handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure(t1));
  65433. },
  65434. $signature: 41
  65435. };
  65436. A._EvaluateVisitor_visitIfRule__closure.prototype = {
  65437. call$1(child) {
  65438. return child.accept$1(this.$this);
  65439. },
  65440. $signature: 87
  65441. };
  65442. A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
  65443. call$0() {
  65444. var t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
  65445. t1 = this.$this,
  65446. t2 = this.$import,
  65447. result = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true),
  65448. stylesheet = result.stylesheet,
  65449. t3 = stylesheet.span,
  65450. url = t3.get$sourceUrl(t3);
  65451. if (url != null) {
  65452. t3 = t1._activeModules;
  65453. if (t3.containsKey$1(url)) {
  65454. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
  65455. throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
  65456. }
  65457. t3.$indexSet(0, url, t2);
  65458. }
  65459. t2 = stylesheet._uses;
  65460. t3 = type$.UnmodifiableListView_UseRule;
  65461. t4 = new A.UnmodifiableListView(t2, t3);
  65462. if (t4.get$length(t4) === 0) {
  65463. t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  65464. t4 = t4.get$length(t4) === 0;
  65465. } else
  65466. t4 = false;
  65467. if (t4) {
  65468. oldImporter = t1._importer;
  65469. t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
  65470. oldInDependency = t1._inDependency;
  65471. t1._importer = result.importer;
  65472. t1.__stylesheet = stylesheet;
  65473. t1._inDependency = result.isDependency;
  65474. t1.visitStylesheet$1(stylesheet);
  65475. t1._importer = oldImporter;
  65476. t1.__stylesheet = t2;
  65477. t1._inDependency = oldInDependency;
  65478. t1._activeModules.remove$1(0, url);
  65479. return;
  65480. }
  65481. t2 = new A.UnmodifiableListView(t2, t3);
  65482. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
  65483. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  65484. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
  65485. } else
  65486. loadsUserDefinedModules = true;
  65487. children = A._Cell$();
  65488. t2 = t1._environment;
  65489. t3 = type$.String;
  65490. t4 = type$.Module_Callable;
  65491. t5 = type$.AstNode;
  65492. t6 = A._setArrayType([], type$.JSArray_Module_Callable);
  65493. t7 = t2._variables;
  65494. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  65495. t8 = t2._variableNodes;
  65496. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  65497. t9 = t2._functions;
  65498. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  65499. t10 = t2._mixins;
  65500. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  65501. 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);
  65502. t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
  65503. module = environment.toDummyModule$0();
  65504. t1._environment.importForwards$1(module);
  65505. if (loadsUserDefinedModules) {
  65506. if (module.transitivelyContainsCss)
  65507. t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  65508. visitor = new A._ImportedCssVisitor(t1);
  65509. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  65510. t2.get$current(t2).accept$1(visitor);
  65511. }
  65512. t1._activeModules.remove$1(0, url);
  65513. },
  65514. $signature: 0
  65515. };
  65516. A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
  65517. call$1(previousLoad) {
  65518. 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));
  65519. },
  65520. $signature: 91
  65521. };
  65522. A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
  65523. call$1(rule) {
  65524. return rule.url.get$scheme() !== "sass";
  65525. },
  65526. $signature: 145
  65527. };
  65528. A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
  65529. call$1(rule) {
  65530. return rule.url.get$scheme() !== "sass";
  65531. },
  65532. $signature: 142
  65533. };
  65534. A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
  65535. call$0() {
  65536. var t7, t8, t9, _this = this,
  65537. t1 = _this.$this,
  65538. oldImporter = t1._importer,
  65539. t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
  65540. t3 = t1._assertInModule$2(t1.__root, "_root"),
  65541. t4 = t1._assertInModule$2(t1.__parent, "__parent"),
  65542. t5 = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
  65543. oldOutOfOrderImports = t1._outOfOrderImports,
  65544. oldConfiguration = t1._configuration,
  65545. oldInDependency = t1._inDependency,
  65546. t6 = _this.result;
  65547. t1._importer = t6.importer;
  65548. t7 = t1.__stylesheet = _this.stylesheet;
  65549. t8 = _this.loadsUserDefinedModules;
  65550. if (t8) {
  65551. t9 = A.ModifiableCssStylesheet$(t7.span);
  65552. t1.__root = t9;
  65553. t1.__parent = t1._assertInModule$2(t9, "_root");
  65554. t1.__endOfImports = 0;
  65555. t1._outOfOrderImports = null;
  65556. }
  65557. t1._inDependency = t6.isDependency;
  65558. t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
  65559. if (!t6.get$isEmpty(t6))
  65560. t1._configuration = _this.environment.toImplicitConfiguration$0();
  65561. t1.visitStylesheet$1(t7);
  65562. t6 = t8 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  65563. _this.children.__late_helper$_value = t6;
  65564. t1._importer = oldImporter;
  65565. t1.__stylesheet = t2;
  65566. if (t8) {
  65567. t1.__root = t3;
  65568. t1.__parent = t4;
  65569. t1.__endOfImports = t5;
  65570. t1._outOfOrderImports = oldOutOfOrderImports;
  65571. }
  65572. t1._configuration = oldConfiguration;
  65573. t1._inDependency = oldInDependency;
  65574. },
  65575. $signature: 1
  65576. };
  65577. A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
  65578. call$0() {
  65579. var t1 = this.node;
  65580. return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
  65581. },
  65582. $signature: 109
  65583. };
  65584. A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
  65585. call$0() {
  65586. return this.node.get$spanWithoutContent();
  65587. },
  65588. $signature: 25
  65589. };
  65590. A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
  65591. call$1($content) {
  65592. var t1 = this.$this;
  65593. return new A.UserDefinedCallable($content, t1._environment.closure$0(), t1._inDependency, type$.UserDefinedCallable_Environment);
  65594. },
  65595. $signature: 268
  65596. };
  65597. A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
  65598. call$0() {
  65599. var _this = this,
  65600. t1 = _this.$this,
  65601. t2 = t1._environment,
  65602. oldContent = t2._content;
  65603. t2._content = _this.contentCallable;
  65604. new A._EvaluateVisitor_visitIncludeRule__closure(t1, _this.mixin, _this.nodeWithSpan).call$0();
  65605. t2._content = oldContent;
  65606. },
  65607. $signature: 1
  65608. };
  65609. A._EvaluateVisitor_visitIncludeRule__closure.prototype = {
  65610. call$0() {
  65611. var t1 = this.$this,
  65612. t2 = t1._environment,
  65613. oldInMixin = t2._inMixin;
  65614. t2._inMixin = true;
  65615. new A._EvaluateVisitor_visitIncludeRule___closure(t1, this.mixin, this.nodeWithSpan).call$0();
  65616. t2._inMixin = oldInMixin;
  65617. },
  65618. $signature: 0
  65619. };
  65620. A._EvaluateVisitor_visitIncludeRule___closure.prototype = {
  65621. call$0() {
  65622. var t1, t2, t3, t4, _i;
  65623. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
  65624. t3._addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure(t3, t1[_i]));
  65625. },
  65626. $signature: 0
  65627. };
  65628. A._EvaluateVisitor_visitIncludeRule____closure.prototype = {
  65629. call$0() {
  65630. return this.statement.accept$1(this.$this);
  65631. },
  65632. $signature: 41
  65633. };
  65634. A._EvaluateVisitor_visitMediaRule_closure.prototype = {
  65635. call$1(mediaQueries) {
  65636. return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
  65637. },
  65638. $signature: 78
  65639. };
  65640. A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
  65641. call$0() {
  65642. var _this = this,
  65643. t1 = _this.$this,
  65644. t2 = _this.mergedQueries;
  65645. if (t2 == null)
  65646. t2 = _this.queries;
  65647. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
  65648. },
  65649. $signature: 1
  65650. };
  65651. A._EvaluateVisitor_visitMediaRule__closure.prototype = {
  65652. call$0() {
  65653. var t2, t3, _i,
  65654. t1 = this.$this,
  65655. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  65656. if (styleRule == null)
  65657. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  65658. t2[_i].accept$1(t1);
  65659. else
  65660. 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);
  65661. },
  65662. $signature: 1
  65663. };
  65664. A._EvaluateVisitor_visitMediaRule___closure.prototype = {
  65665. call$0() {
  65666. var t1, t2, t3, _i;
  65667. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  65668. t1[_i].accept$1(t3);
  65669. },
  65670. $signature: 1
  65671. };
  65672. A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
  65673. call$1(node) {
  65674. var t1;
  65675. if (!type$.CssStyleRule._is(node)) {
  65676. t1 = this.mergedSources;
  65677. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  65678. } else
  65679. t1 = true;
  65680. return t1;
  65681. },
  65682. $signature: 7
  65683. };
  65684. A._EvaluateVisitor_visitStyleRule_closure.prototype = {
  65685. call$0() {
  65686. var t1, t2, t3, _i;
  65687. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  65688. t1[_i].accept$1(t3);
  65689. },
  65690. $signature: 1
  65691. };
  65692. A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
  65693. call$1(node) {
  65694. return type$.CssStyleRule._is(node);
  65695. },
  65696. $signature: 7
  65697. };
  65698. A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
  65699. call$0() {
  65700. var t1 = this.$this;
  65701. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
  65702. },
  65703. $signature: 1
  65704. };
  65705. A._EvaluateVisitor_visitStyleRule__closure.prototype = {
  65706. call$0() {
  65707. var t1, t2, t3, _i;
  65708. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  65709. t1[_i].accept$1(t3);
  65710. },
  65711. $signature: 1
  65712. };
  65713. A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
  65714. call$1(node) {
  65715. return type$.CssStyleRule._is(node);
  65716. },
  65717. $signature: 7
  65718. };
  65719. A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
  65720. call$1(child) {
  65721. return type$.CssComment._is(child);
  65722. },
  65723. $signature: 131
  65724. };
  65725. A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
  65726. call$0() {
  65727. var t2, t3, _i,
  65728. t1 = this.$this,
  65729. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  65730. if (styleRule == null)
  65731. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  65732. t2[_i].accept$1(t1);
  65733. else
  65734. 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);
  65735. },
  65736. $signature: 1
  65737. };
  65738. A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
  65739. call$0() {
  65740. var t1, t2, t3, _i;
  65741. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  65742. t1[_i].accept$1(t3);
  65743. },
  65744. $signature: 1
  65745. };
  65746. A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
  65747. call$1(node) {
  65748. return type$.CssStyleRule._is(node);
  65749. },
  65750. $signature: 7
  65751. };
  65752. A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
  65753. call$0() {
  65754. var t1 = this.override;
  65755. this.$this._environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
  65756. },
  65757. $signature: 1
  65758. };
  65759. A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
  65760. call$0() {
  65761. var t1 = this.node;
  65762. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  65763. },
  65764. $signature: 41
  65765. };
  65766. A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
  65767. call$0() {
  65768. var t1 = this.$this,
  65769. t2 = this.node;
  65770. t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  65771. },
  65772. $signature: 1
  65773. };
  65774. A._EvaluateVisitor_visitUseRule_closure.prototype = {
  65775. call$1(module) {
  65776. var t1 = this.node;
  65777. this.$this._environment.addModule$3$namespace(module, t1, t1.namespace);
  65778. },
  65779. $signature: 62
  65780. };
  65781. A._EvaluateVisitor_visitWarnRule_closure.prototype = {
  65782. call$0() {
  65783. return this.node.expression.accept$1(this.$this);
  65784. },
  65785. $signature: 28
  65786. };
  65787. A._EvaluateVisitor_visitWhileRule_closure.prototype = {
  65788. call$0() {
  65789. var t1, t2, t3, result;
  65790. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  65791. result = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
  65792. if (result != null)
  65793. return result;
  65794. }
  65795. return null;
  65796. },
  65797. $signature: 41
  65798. };
  65799. A._EvaluateVisitor_visitWhileRule__closure.prototype = {
  65800. call$1(child) {
  65801. return child.accept$1(this.$this);
  65802. },
  65803. $signature: 87
  65804. };
  65805. A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
  65806. call$0() {
  65807. var right, result, t4, t5,
  65808. t1 = this.node,
  65809. t2 = this.$this,
  65810. left = t1.left.accept$1(t2),
  65811. t3 = t1.operator;
  65812. switch (t3) {
  65813. case B.BinaryOperator_2jN:
  65814. right = t1.right.accept$1(t2);
  65815. return new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
  65816. case B.BinaryOperator_M6L:
  65817. return left.get$isTruthy() ? left : t1.right.accept$1(t2);
  65818. case B.BinaryOperator_SNp:
  65819. return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  65820. case B.BinaryOperator_ql5:
  65821. return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  65822. case B.BinaryOperator_ViB:
  65823. return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  65824. case B.BinaryOperator_cIH:
  65825. return left.greaterThan$1(t1.right.accept$1(t2));
  65826. case B.BinaryOperator_7Tg:
  65827. return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  65828. case B.BinaryOperator_U8c:
  65829. return left.lessThan$1(t1.right.accept$1(t2));
  65830. case B.BinaryOperator_kpg:
  65831. return left.lessThanOrEquals$1(t1.right.accept$1(t2));
  65832. case B.BinaryOperator_anB:
  65833. return left.plus$1(t1.right.accept$1(t2));
  65834. case B.BinaryOperator_olz:
  65835. return left.minus$1(t1.right.accept$1(t2));
  65836. case B.BinaryOperator_qN2:
  65837. return left.times$1(t1.right.accept$1(t2));
  65838. case B.BinaryOperator_t8B:
  65839. right = t1.right.accept$1(t2);
  65840. result = left.dividedBy$1(right);
  65841. if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber)
  65842. return type$.SassNumber._as(result).withSlash$2(left, right);
  65843. else {
  65844. if (left instanceof A.SassNumber && right instanceof A.SassNumber) {
  65845. t3 = A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation().call$1(t1));
  65846. t4 = B.C__MakeExpressionCalculationSafe.visitBinaryOperationExpression$1(t1);
  65847. t5 = t1.get$span(t1);
  65848. 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);
  65849. }
  65850. return result;
  65851. }
  65852. case B.BinaryOperator_OTG:
  65853. return left.modulo$1(t1.right.accept$1(t2));
  65854. default:
  65855. throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
  65856. }
  65857. },
  65858. $signature: 28
  65859. };
  65860. A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation.prototype = {
  65861. call$1(expression) {
  65862. if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_t8B)
  65863. return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  65864. else if (expression instanceof A.ParenthesizedExpression)
  65865. return expression.expression.toString$0(0);
  65866. else
  65867. return expression.toString$0(0);
  65868. },
  65869. $signature: 129
  65870. };
  65871. A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
  65872. call$0() {
  65873. var t1 = this.node;
  65874. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  65875. },
  65876. $signature: 41
  65877. };
  65878. A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
  65879. call$0() {
  65880. var _this = this,
  65881. t1 = _this.node.operator;
  65882. switch (t1) {
  65883. case B.UnaryOperator_gg4:
  65884. return _this.operand.unaryPlus$0();
  65885. case B.UnaryOperator_TLI:
  65886. return _this.operand.unaryMinus$0();
  65887. case B.UnaryOperator_Ix1:
  65888. return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  65889. case B.UnaryOperator_not_not_not:
  65890. return _this.operand.unaryNot$0();
  65891. default:
  65892. throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
  65893. }
  65894. },
  65895. $signature: 28
  65896. };
  65897. A._EvaluateVisitor__visitCalculationValue_closure.prototype = {
  65898. call$0() {
  65899. var t1 = this.$this,
  65900. t2 = this.node,
  65901. t3 = this.inMinMax;
  65902. 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);
  65903. },
  65904. $signature: 89
  65905. };
  65906. A._EvaluateVisitor_visitListExpression_closure.prototype = {
  65907. call$1(expression) {
  65908. return expression.accept$1(this.$this);
  65909. },
  65910. $signature: 270
  65911. };
  65912. A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
  65913. call$0() {
  65914. var t1 = this.node;
  65915. return this.$this._getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
  65916. },
  65917. $signature: 109
  65918. };
  65919. A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
  65920. call$0() {
  65921. var t1 = this.node;
  65922. return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  65923. },
  65924. $signature: 28
  65925. };
  65926. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
  65927. call$0() {
  65928. var t1 = this.node;
  65929. return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
  65930. },
  65931. $signature: 28
  65932. };
  65933. A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
  65934. call$0() {
  65935. var _this = this,
  65936. t1 = _this.$this,
  65937. t2 = _this.callable;
  65938. return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  65939. },
  65940. $signature() {
  65941. return this.V._eval$1("0()");
  65942. }
  65943. };
  65944. A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
  65945. call$0() {
  65946. var _this = this,
  65947. t1 = _this.$this,
  65948. t2 = _this.V;
  65949. return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  65950. },
  65951. $signature() {
  65952. return this.V._eval$1("0()");
  65953. }
  65954. };
  65955. A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
  65956. call$0() {
  65957. var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, _this = this,
  65958. t1 = _this.$this,
  65959. t2 = _this.evaluated,
  65960. t3 = t2.positional,
  65961. t4 = t2.named,
  65962. t5 = _this.callable.declaration.$arguments,
  65963. t6 = _this.nodeWithSpan;
  65964. t1._verifyArguments$4(t3.length, t4, t5, t6);
  65965. declaredArguments = t5.$arguments;
  65966. t7 = declaredArguments.length;
  65967. minLength = Math.min(t3.length, t7);
  65968. for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
  65969. t1._environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
  65970. for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
  65971. argument = declaredArguments[i];
  65972. t9 = argument.name;
  65973. value = t4.remove$1(0, t9);
  65974. if (value == null) {
  65975. t10 = argument.defaultValue;
  65976. value = t1._withoutSlash$2(t10.accept$1(t1), t1._expressionNode$1(t10));
  65977. }
  65978. t10 = t1._environment;
  65979. t11 = t8.$index(0, t9);
  65980. if (t11 == null) {
  65981. t11 = argument.defaultValue;
  65982. t11.toString;
  65983. t11 = t1._expressionNode$1(t11);
  65984. }
  65985. t10.setLocalVariable$3(t9, value, t11);
  65986. }
  65987. restArgument = t5.restArgument;
  65988. if (restArgument != null) {
  65989. rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty8;
  65990. t2 = t2.separator;
  65991. argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : t2);
  65992. t1._environment.setLocalVariable$3(restArgument, argumentList, t6);
  65993. } else
  65994. argumentList = null;
  65995. result = _this.run.call$0();
  65996. if (argumentList == null)
  65997. return result;
  65998. t2 = t4.__js_helper$_length;
  65999. if (t2 === 0)
  66000. return result;
  66001. if (argumentList._wereKeywordsAccessed)
  66002. return result;
  66003. t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
  66004. 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)), null));
  66005. },
  66006. $signature() {
  66007. return this.V._eval$1("0()");
  66008. }
  66009. };
  66010. A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
  66011. call$1($name) {
  66012. return "$" + $name;
  66013. },
  66014. $signature: 5
  66015. };
  66016. A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
  66017. call$0() {
  66018. var t1, t2, t3, t4, _i, $returnValue;
  66019. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  66020. $returnValue = t2[_i].accept$1(t4);
  66021. if ($returnValue instanceof A.Value)
  66022. return $returnValue;
  66023. }
  66024. throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
  66025. },
  66026. $signature: 28
  66027. };
  66028. A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
  66029. call$0() {
  66030. return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
  66031. },
  66032. $signature: 0
  66033. };
  66034. A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
  66035. call$0() {
  66036. return this.callback.call$1(this.evaluated.positional);
  66037. },
  66038. $signature: 28
  66039. };
  66040. A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
  66041. call$1($name) {
  66042. return "$" + $name;
  66043. },
  66044. $signature: 5
  66045. };
  66046. A._EvaluateVisitor__evaluateArguments_closure.prototype = {
  66047. call$1(value) {
  66048. return value;
  66049. },
  66050. $signature: 35
  66051. };
  66052. A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
  66053. call$1(value) {
  66054. return this.$this._withoutSlash$2(value, this.restNodeForSpan);
  66055. },
  66056. $signature: 35
  66057. };
  66058. A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
  66059. call$2(key, value) {
  66060. var _this = this,
  66061. t1 = _this.restNodeForSpan;
  66062. _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
  66063. _this.namedNodes.$indexSet(0, key, t1);
  66064. },
  66065. $signature: 82
  66066. };
  66067. A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
  66068. call$1(value) {
  66069. return value;
  66070. },
  66071. $signature: 35
  66072. };
  66073. A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
  66074. call$1(value) {
  66075. var t1 = this.restArgs;
  66076. return new A.ValueExpression(value, t1.get$span(t1));
  66077. },
  66078. $signature: 50
  66079. };
  66080. A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
  66081. call$1(value) {
  66082. var t1 = this.restArgs;
  66083. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  66084. },
  66085. $signature: 50
  66086. };
  66087. A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
  66088. call$2(key, value) {
  66089. var _this = this,
  66090. t1 = _this.restArgs;
  66091. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  66092. },
  66093. $signature: 82
  66094. };
  66095. A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
  66096. call$1(value) {
  66097. var t1 = this.keywordRestArgs;
  66098. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  66099. },
  66100. $signature: 50
  66101. };
  66102. A._EvaluateVisitor__addRestMap_closure.prototype = {
  66103. call$2(key, value) {
  66104. var t2, _this = this,
  66105. t1 = _this.$this;
  66106. if (key instanceof A.SassString)
  66107. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
  66108. else {
  66109. t2 = _this.nodeWithSpan;
  66110. 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)));
  66111. }
  66112. },
  66113. $signature: 49
  66114. };
  66115. A._EvaluateVisitor__verifyArguments_closure.prototype = {
  66116. call$0() {
  66117. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  66118. },
  66119. $signature: 0
  66120. };
  66121. A._EvaluateVisitor_visitStringExpression_closure.prototype = {
  66122. call$1(value) {
  66123. var t1, result;
  66124. if (typeof value == "string")
  66125. return value;
  66126. type$.Expression._as(value);
  66127. t1 = this.$this;
  66128. result = value.accept$1(t1);
  66129. return result instanceof A.SassString ? result._string$_text : t1._evaluate$_serialize$3$quote(result, value, false);
  66130. },
  66131. $signature: 63
  66132. };
  66133. A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
  66134. call$0() {
  66135. var t1, t2, t3, t4;
  66136. 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();) {
  66137. t4 = t1.__internal$_current;
  66138. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  66139. }
  66140. },
  66141. $signature: 1
  66142. };
  66143. A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
  66144. call$1(node) {
  66145. return type$.CssStyleRule._is(node);
  66146. },
  66147. $signature: 7
  66148. };
  66149. A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
  66150. call$0() {
  66151. var t1, t2, t3, t4;
  66152. 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();) {
  66153. t4 = t1.__internal$_current;
  66154. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  66155. }
  66156. },
  66157. $signature: 1
  66158. };
  66159. A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
  66160. call$1(node) {
  66161. return type$.CssStyleRule._is(node);
  66162. },
  66163. $signature: 7
  66164. };
  66165. A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
  66166. call$1(mediaQueries) {
  66167. return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
  66168. },
  66169. $signature: 78
  66170. };
  66171. A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
  66172. call$0() {
  66173. var _this = this,
  66174. t1 = _this.$this,
  66175. t2 = _this.mergedQueries;
  66176. if (t2 == null)
  66177. t2 = _this.node.queries;
  66178. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
  66179. },
  66180. $signature: 1
  66181. };
  66182. A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
  66183. call$0() {
  66184. var t2, t3, t4,
  66185. t1 = this.$this,
  66186. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  66187. if (styleRule == null)
  66188. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  66189. t4 = t2.__internal$_current;
  66190. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  66191. }
  66192. else
  66193. 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);
  66194. },
  66195. $signature: 1
  66196. };
  66197. A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
  66198. call$0() {
  66199. var t1, t2, t3, t4;
  66200. 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();) {
  66201. t4 = t1.__internal$_current;
  66202. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  66203. }
  66204. },
  66205. $signature: 1
  66206. };
  66207. A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
  66208. call$1(node) {
  66209. var t1;
  66210. if (!type$.CssStyleRule._is(node)) {
  66211. t1 = this.mergedSources;
  66212. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  66213. } else
  66214. t1 = true;
  66215. return t1;
  66216. },
  66217. $signature: 7
  66218. };
  66219. A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
  66220. call$0() {
  66221. var t1 = this.$this;
  66222. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
  66223. },
  66224. $signature: 1
  66225. };
  66226. A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
  66227. call$0() {
  66228. var t1, t2, t3, t4;
  66229. 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();) {
  66230. t4 = t1.__internal$_current;
  66231. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  66232. }
  66233. },
  66234. $signature: 1
  66235. };
  66236. A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
  66237. call$1(node) {
  66238. return type$.CssStyleRule._is(node);
  66239. },
  66240. $signature: 7
  66241. };
  66242. A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
  66243. call$0() {
  66244. var t2, t3, t4,
  66245. t1 = this.$this,
  66246. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  66247. if (styleRule == null)
  66248. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  66249. t4 = t2.__internal$_current;
  66250. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  66251. }
  66252. else
  66253. 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);
  66254. },
  66255. $signature: 1
  66256. };
  66257. A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
  66258. call$0() {
  66259. var t1, t2, t3, t4;
  66260. 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();) {
  66261. t4 = t1.__internal$_current;
  66262. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  66263. }
  66264. },
  66265. $signature: 1
  66266. };
  66267. A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
  66268. call$1(node) {
  66269. return type$.CssStyleRule._is(node);
  66270. },
  66271. $signature: 7
  66272. };
  66273. A._EvaluateVisitor__serialize_closure.prototype = {
  66274. call$0() {
  66275. return A.serializeValue(this.value, false, this.quote);
  66276. },
  66277. $signature: 31
  66278. };
  66279. A._EvaluateVisitor__expressionNode_closure.prototype = {
  66280. call$0() {
  66281. var t1 = this.expression;
  66282. return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  66283. },
  66284. $signature: 138
  66285. };
  66286. A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
  66287. call$1(number) {
  66288. var asSlash = number.asSlash;
  66289. if (asSlash != null)
  66290. return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
  66291. else
  66292. return A.serializeValue(number, true, true);
  66293. },
  66294. $signature: 176
  66295. };
  66296. A._EvaluateVisitor__stackFrame_closure.prototype = {
  66297. call$1(url) {
  66298. var t1 = this.$this._evaluate$_importCache;
  66299. t1 = t1 == null ? null : t1.humanize$1(url);
  66300. return t1 == null ? url : t1;
  66301. },
  66302. $signature: 84
  66303. };
  66304. A._EvaluateVisitor__stackTrace_closure.prototype = {
  66305. call$1(tuple) {
  66306. return this.$this._stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
  66307. },
  66308. $signature: 214
  66309. };
  66310. A._ImportedCssVisitor.prototype = {
  66311. visitCssAtRule$1(node) {
  66312. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
  66313. this._visitor._addChild$2$through(node, t1);
  66314. },
  66315. visitCssComment$1(node) {
  66316. return this._visitor._addChild$1(node);
  66317. },
  66318. visitCssDeclaration$1(node) {
  66319. },
  66320. visitCssImport$1(node) {
  66321. var t2,
  66322. _s13_ = "_endOfImports",
  66323. t1 = this._visitor;
  66324. if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
  66325. t1._addChild$1(node);
  66326. else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
  66327. t1._addChild$1(node);
  66328. t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
  66329. } else {
  66330. t2 = t1._outOfOrderImports;
  66331. (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  66332. }
  66333. },
  66334. visitCssKeyframeBlock$1(node) {
  66335. },
  66336. visitCssMediaRule$1(node) {
  66337. var t1 = this._visitor,
  66338. mediaQueries = t1._mediaQueries;
  66339. t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
  66340. },
  66341. visitCssStyleRule$1(node) {
  66342. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
  66343. },
  66344. visitCssStylesheet$1(node) {
  66345. var t1, t2, t3;
  66346. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  66347. t3 = t1.__internal$_current;
  66348. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  66349. }
  66350. },
  66351. visitCssSupportsRule$1(node) {
  66352. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
  66353. }
  66354. };
  66355. A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
  66356. call$1(node) {
  66357. return type$.CssStyleRule._is(node);
  66358. },
  66359. $signature: 7
  66360. };
  66361. A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
  66362. call$1(node) {
  66363. var t1;
  66364. if (!type$.CssStyleRule._is(node))
  66365. t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
  66366. else
  66367. t1 = true;
  66368. return t1;
  66369. },
  66370. $signature: 7
  66371. };
  66372. A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
  66373. call$1(node) {
  66374. return type$.CssStyleRule._is(node);
  66375. },
  66376. $signature: 7
  66377. };
  66378. A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
  66379. call$1(node) {
  66380. return type$.CssStyleRule._is(node);
  66381. },
  66382. $signature: 7
  66383. };
  66384. A._EvaluationContext.prototype = {
  66385. get$currentCallableSpan() {
  66386. var callableNode = this._visitor._callableNode;
  66387. if (callableNode != null)
  66388. return callableNode.get$span(callableNode);
  66389. throw A.wrapException(A.StateError$(string$.No_Sasc));
  66390. },
  66391. warn$2(_, message, deprecation) {
  66392. var t1 = this._visitor,
  66393. t2 = t1._importSpan;
  66394. if (t2 == null) {
  66395. t2 = t1._callableNode;
  66396. t2 = t2 == null ? null : t2.get$span(t2);
  66397. }
  66398. if (t2 == null) {
  66399. t2 = this._defaultWarnNodeWithSpan;
  66400. t2 = t2.get$span(t2);
  66401. }
  66402. t1._warn$3(message, t2, deprecation);
  66403. },
  66404. $isEvaluationContext: 1
  66405. };
  66406. A._ArgumentResults.prototype = {};
  66407. A._LoadedStylesheet.prototype = {};
  66408. A.EveryCssVisitor.prototype = {
  66409. visitCssAtRule$1(node) {
  66410. var t1 = node.children;
  66411. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure(this));
  66412. },
  66413. visitCssComment$1(node) {
  66414. return false;
  66415. },
  66416. visitCssDeclaration$1(node) {
  66417. return false;
  66418. },
  66419. visitCssImport$1(node) {
  66420. return false;
  66421. },
  66422. visitCssKeyframeBlock$1(node) {
  66423. var t1 = node.children;
  66424. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure(this));
  66425. },
  66426. visitCssMediaRule$1(node) {
  66427. var t1 = node.children;
  66428. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure(this));
  66429. },
  66430. visitCssStyleRule$1(node) {
  66431. var t1 = node.children;
  66432. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure(this));
  66433. },
  66434. visitCssStylesheet$1(node) {
  66435. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure(this));
  66436. },
  66437. visitCssSupportsRule$1(node) {
  66438. var t1 = node.children;
  66439. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure(this));
  66440. }
  66441. };
  66442. A.EveryCssVisitor_visitCssAtRule_closure.prototype = {
  66443. call$1(child) {
  66444. return child.accept$1(this.$this);
  66445. },
  66446. $signature: 7
  66447. };
  66448. A.EveryCssVisitor_visitCssKeyframeBlock_closure.prototype = {
  66449. call$1(child) {
  66450. return child.accept$1(this.$this);
  66451. },
  66452. $signature: 7
  66453. };
  66454. A.EveryCssVisitor_visitCssMediaRule_closure.prototype = {
  66455. call$1(child) {
  66456. return child.accept$1(this.$this);
  66457. },
  66458. $signature: 7
  66459. };
  66460. A.EveryCssVisitor_visitCssStyleRule_closure.prototype = {
  66461. call$1(child) {
  66462. return child.accept$1(this.$this);
  66463. },
  66464. $signature: 7
  66465. };
  66466. A.EveryCssVisitor_visitCssStylesheet_closure.prototype = {
  66467. call$1(child) {
  66468. return child.accept$1(this.$this);
  66469. },
  66470. $signature: 7
  66471. };
  66472. A.EveryCssVisitor_visitCssSupportsRule_closure.prototype = {
  66473. call$1(child) {
  66474. return child.accept$1(this.$this);
  66475. },
  66476. $signature: 7
  66477. };
  66478. A._MakeExpressionCalculationSafe.prototype = {
  66479. visitCalculationExpression$1(node) {
  66480. return node;
  66481. },
  66482. visitBinaryOperationExpression$1(node) {
  66483. var t1, t2, t3;
  66484. if (node.operator === B.BinaryOperator_OTG) {
  66485. t1 = A._setArrayType([node], type$.JSArray_Expression);
  66486. t2 = node.get$span(node);
  66487. t3 = type$.Expression;
  66488. 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));
  66489. t1 = t2;
  66490. } else
  66491. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression(node);
  66492. return t1;
  66493. },
  66494. visitInterpolatedFunctionExpression$1(node) {
  66495. return node;
  66496. },
  66497. visitUnaryOperationExpression$1(node) {
  66498. var t1 = node.operator;
  66499. if (t1 === B.UnaryOperator_gg4)
  66500. return node.operand;
  66501. else if (t1 === B.UnaryOperator_TLI)
  66502. return new A.BinaryOperationExpression(B.BinaryOperator_qN2, new A.NumberExpression(-1, null, node.span), node.operand, false);
  66503. else
  66504. return this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression(node);
  66505. }
  66506. };
  66507. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor.prototype = {};
  66508. A._FindDependenciesVisitor.prototype = {
  66509. visitEachRule$1(node) {
  66510. },
  66511. visitForRule$1(node) {
  66512. },
  66513. visitIfRule$1(node) {
  66514. },
  66515. visitWhileRule$1(node) {
  66516. },
  66517. visitUseRule$1(node) {
  66518. var t1 = node.url;
  66519. if (t1.get$scheme() !== "sass")
  66520. this._find_dependencies$_uses.add$1(0, t1);
  66521. else if (t1.toString$0(0) === "sass:meta")
  66522. this._metaNamespaces.add$1(0, node.namespace);
  66523. },
  66524. visitForwardRule$1(node) {
  66525. var t1 = node.url;
  66526. if (t1.get$scheme() !== "sass")
  66527. this._find_dependencies$_forwards.add$1(0, t1);
  66528. },
  66529. visitImportRule$1(node) {
  66530. var t1, t2, t3, _i, $import;
  66531. for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
  66532. $import = t1[_i];
  66533. if ($import instanceof A.DynamicImport)
  66534. t3.add$1(0, A.Uri_parse($import.urlString));
  66535. }
  66536. },
  66537. visitIncludeRule$1(node) {
  66538. var url, t1, argument, exception;
  66539. if (node.name !== "load-css")
  66540. return;
  66541. if (!this._metaNamespaces.contains$1(0, node.namespace))
  66542. return;
  66543. t1 = node.$arguments.positional;
  66544. if (t1.length === 0)
  66545. return;
  66546. argument = B.JSArray_methods.get$first(t1);
  66547. if (!(argument instanceof A.StringExpression))
  66548. return;
  66549. url = argument.text.get$asPlain();
  66550. try {
  66551. if (url != null)
  66552. this._metaLoadCss.add$1(0, A.Uri_parse(url));
  66553. } catch (exception) {
  66554. if (!type$.FormatException._is(A.unwrapException(exception)))
  66555. throw exception;
  66556. }
  66557. }
  66558. };
  66559. A.DependencyReport.prototype = {};
  66560. A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor.prototype = {};
  66561. A.RecursiveStatementVisitor.prototype = {
  66562. visitAtRootRule$1(node) {
  66563. this.visitChildren$1(node.children);
  66564. },
  66565. visitAtRule$1(node) {
  66566. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  66567. },
  66568. visitContentBlock$1(node) {
  66569. return null;
  66570. },
  66571. visitContentRule$1(node) {
  66572. },
  66573. visitDebugRule$1(node) {
  66574. },
  66575. visitDeclaration$1(node) {
  66576. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  66577. },
  66578. visitErrorRule$1(node) {
  66579. },
  66580. visitExtendRule$1(node) {
  66581. },
  66582. visitFunctionRule$1(node) {
  66583. return null;
  66584. },
  66585. visitLoudComment$1(node) {
  66586. },
  66587. visitMediaRule$1(node) {
  66588. return this.visitChildren$1(node.children);
  66589. },
  66590. visitMixinRule$1(node) {
  66591. return null;
  66592. },
  66593. visitReturnRule$1(node) {
  66594. },
  66595. visitSilentComment$1(node) {
  66596. },
  66597. visitStyleRule$1(node) {
  66598. return this.visitChildren$1(node.children);
  66599. },
  66600. visitStylesheet$1(node) {
  66601. return this.visitChildren$1(node.children);
  66602. },
  66603. visitSupportsRule$1(node) {
  66604. return this.visitChildren$1(node.children);
  66605. },
  66606. visitVariableDeclaration$1(node) {
  66607. },
  66608. visitWarnRule$1(node) {
  66609. },
  66610. visitChildren$1(children) {
  66611. var t1;
  66612. for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
  66613. t1.get$current(t1).accept$1(this);
  66614. }
  66615. };
  66616. A.ReplaceExpressionVisitor.prototype = {
  66617. visitBinaryOperationExpression$1(node) {
  66618. return new A.BinaryOperationExpression(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  66619. },
  66620. visitBooleanExpression$1(node) {
  66621. return node;
  66622. },
  66623. visitColorExpression$1(node) {
  66624. return node;
  66625. },
  66626. visitFunctionExpression$1(node) {
  66627. return new A.FunctionExpression(node.namespace, node.originalName, this.visitArgumentInvocation$1(node.$arguments), node.span);
  66628. },
  66629. visitIfExpression$1(node) {
  66630. return new A.IfExpression(this.visitArgumentInvocation$1(node.$arguments), node.span);
  66631. },
  66632. visitListExpression$1(node) {
  66633. var t1 = node.contents;
  66634. 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);
  66635. },
  66636. visitMapExpression$1(node) {
  66637. var t1 = node.pairs;
  66638. 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);
  66639. },
  66640. visitNullExpression$1(node) {
  66641. return node;
  66642. },
  66643. visitNumberExpression$1(node) {
  66644. return node;
  66645. },
  66646. visitParenthesizedExpression$1(node) {
  66647. return new A.ParenthesizedExpression(node.expression.accept$1(this), node.span);
  66648. },
  66649. visitSelectorExpression$1(node) {
  66650. return node;
  66651. },
  66652. visitStringExpression$1(node) {
  66653. return new A.StringExpression(this.visitInterpolation$1(node.text), node.hasQuotes);
  66654. },
  66655. visitSupportsExpression$1(node) {
  66656. return new A.SupportsExpression(this.visitSupportsCondition$1(node.condition));
  66657. },
  66658. visitUnaryOperationExpression$1(node) {
  66659. return new A.UnaryOperationExpression(node.operator, node.operand.accept$1(this), node.span);
  66660. },
  66661. visitValueExpression$1(node) {
  66662. return node;
  66663. },
  66664. visitVariableExpression$1(node) {
  66665. return node;
  66666. },
  66667. visitArgumentInvocation$1(invocation) {
  66668. var t5, t6, _this = this,
  66669. t1 = invocation.positional,
  66670. t2 = type$.String,
  66671. t3 = type$.Expression,
  66672. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  66673. for (t5 = invocation.named, t5 = t5.get$entries(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  66674. t6 = t5.get$current(t5);
  66675. t4.$indexSet(0, t6.key, t6.value.accept$1(_this));
  66676. }
  66677. t5 = invocation.rest;
  66678. t5 = t5 == null ? null : t5.accept$1(_this);
  66679. t6 = invocation.keywordRest;
  66680. t6 = t6 == null ? null : t6.accept$1(_this);
  66681. 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);
  66682. },
  66683. visitSupportsCondition$1(condition) {
  66684. var _this = this;
  66685. if (condition instanceof A.SupportsOperation)
  66686. return A.SupportsOperation$(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  66687. else if (condition instanceof A.SupportsNegation)
  66688. return new A.SupportsNegation(_this.visitSupportsCondition$1(condition.condition), condition.span);
  66689. else if (condition instanceof A.SupportsInterpolation)
  66690. return new A.SupportsInterpolation(condition.expression.accept$1(_this), condition.span);
  66691. else if (condition instanceof A.SupportsDeclaration)
  66692. return new A.SupportsDeclaration(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  66693. else
  66694. throw A.wrapException(A.SassException$("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  66695. },
  66696. visitInterpolation$1(interpolation) {
  66697. var t1 = interpolation.contents;
  66698. return A.Interpolation$(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitInterpolation_closure(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>")), interpolation.span);
  66699. }
  66700. };
  66701. A.ReplaceExpressionVisitor_visitListExpression_closure.prototype = {
  66702. call$1(item) {
  66703. return item.accept$1(this.$this);
  66704. },
  66705. $signature: 130
  66706. };
  66707. A.ReplaceExpressionVisitor_visitMapExpression_closure.prototype = {
  66708. call$1(pair) {
  66709. var t1 = this.$this;
  66710. return new A.Tuple2(pair.item1.accept$1(t1), pair.item2.accept$1(t1), type$.Tuple2_Expression_Expression);
  66711. },
  66712. $signature: 272
  66713. };
  66714. A.ReplaceExpressionVisitor_visitArgumentInvocation_closure.prototype = {
  66715. call$1(expression) {
  66716. return expression.accept$1(this.$this);
  66717. },
  66718. $signature: 130
  66719. };
  66720. A.ReplaceExpressionVisitor_visitInterpolation_closure.prototype = {
  66721. call$1(node) {
  66722. return type$.Expression._is(node) ? node.accept$1(this.$this) : node;
  66723. },
  66724. $signature: 75
  66725. };
  66726. A.SelectorSearchVisitor.prototype = {
  66727. visitAttributeSelector$1(attribute) {
  66728. return null;
  66729. },
  66730. visitClassSelector$1(klass) {
  66731. return null;
  66732. },
  66733. visitIDSelector$1(id) {
  66734. return null;
  66735. },
  66736. visitPlaceholderSelector$1(placeholder) {
  66737. return null;
  66738. },
  66739. visitTypeSelector$1(type) {
  66740. return null;
  66741. },
  66742. visitUniversalSelector$1(universal) {
  66743. return null;
  66744. },
  66745. visitComplexSelector$1(complex) {
  66746. return A.IterableExtension_search(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure(this));
  66747. },
  66748. visitCompoundSelector$1(compound) {
  66749. return A.IterableExtension_search(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure(this));
  66750. },
  66751. visitPseudoSelector$1(pseudo) {
  66752. return A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  66753. },
  66754. visitSelectorList$1(list) {
  66755. return A.IterableExtension_search(list.components, this.get$visitComplexSelector());
  66756. }
  66757. };
  66758. A.SelectorSearchVisitor_visitComplexSelector_closure.prototype = {
  66759. call$1(component) {
  66760. return this.$this.visitCompoundSelector$1(component.selector);
  66761. },
  66762. $signature() {
  66763. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(ComplexSelectorComponent)");
  66764. }
  66765. };
  66766. A.SelectorSearchVisitor_visitCompoundSelector_closure.prototype = {
  66767. call$1(simple) {
  66768. return simple.accept$1(this.$this);
  66769. },
  66770. $signature() {
  66771. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(SimpleSelector)");
  66772. }
  66773. };
  66774. A.serialize_closure.prototype = {
  66775. call$1(codeUnit) {
  66776. return codeUnit > 127;
  66777. },
  66778. $signature: 51
  66779. };
  66780. A._SerializeVisitor.prototype = {
  66781. visitCssStylesheet$1(node) {
  66782. var t1, t2, t3, t4, t5, t6, t7, previous, previous0, t8, _this = this;
  66783. 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();) {
  66784. previous0 = t1.get$current(t1);
  66785. if (t2)
  66786. t8 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  66787. else
  66788. t8 = false;
  66789. if (t8)
  66790. continue;
  66791. if (previous != null) {
  66792. if (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous))
  66793. t7.writeCharCode$1(59);
  66794. if (_this._isTrailingComment$2(previous0, previous)) {
  66795. if (t4)
  66796. t7.writeCharCode$1(32);
  66797. } else {
  66798. if (t4)
  66799. t7.write$1(0, "\n");
  66800. if (previous.get$isGroupEnd())
  66801. if (t4)
  66802. t7.write$1(0, "\n");
  66803. }
  66804. }
  66805. previous0.accept$1(_this);
  66806. previous = previous0;
  66807. }
  66808. if (previous != null)
  66809. t1 = (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous)) && t4;
  66810. else
  66811. t1 = false;
  66812. if (t1)
  66813. t7.writeCharCode$1(59);
  66814. },
  66815. visitCssComment$1(node) {
  66816. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
  66817. },
  66818. visitCssAtRule$1(node) {
  66819. var t1, _this = this;
  66820. _this._writeIndentation$0();
  66821. t1 = _this._serialize$_buffer;
  66822. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
  66823. if (!node.isChildless) {
  66824. if (_this._style !== B.OutputStyle_1)
  66825. t1.writeCharCode$1(32);
  66826. _this._serialize$_visitChildren$1(node);
  66827. }
  66828. },
  66829. visitCssMediaRule$1(node) {
  66830. var t1, _this = this;
  66831. _this._writeIndentation$0();
  66832. t1 = _this._serialize$_buffer;
  66833. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
  66834. if (_this._style !== B.OutputStyle_1)
  66835. t1.writeCharCode$1(32);
  66836. _this._serialize$_visitChildren$1(node);
  66837. },
  66838. visitCssImport$1(node) {
  66839. this._writeIndentation$0();
  66840. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
  66841. },
  66842. _writeImportUrl$1(url) {
  66843. var urlContents, maybeQuote, _this = this;
  66844. if (_this._style !== B.OutputStyle_1 || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
  66845. _this._serialize$_buffer.write$1(0, url);
  66846. return;
  66847. }
  66848. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  66849. maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
  66850. if (maybeQuote === 39 || maybeQuote === 34)
  66851. _this._serialize$_buffer.write$1(0, urlContents);
  66852. else
  66853. _this._visitQuotedString$1(urlContents);
  66854. },
  66855. visitCssKeyframeBlock$1(node) {
  66856. var t1, _this = this;
  66857. _this._writeIndentation$0();
  66858. t1 = _this._serialize$_buffer;
  66859. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
  66860. if (_this._style !== B.OutputStyle_1)
  66861. t1.writeCharCode$1(32);
  66862. _this._serialize$_visitChildren$1(node);
  66863. },
  66864. _visitMediaQuery$1(query) {
  66865. var t2, condition, operator, t3, _this = this,
  66866. t1 = query.modifier;
  66867. if (t1 != null) {
  66868. t2 = _this._serialize$_buffer;
  66869. t2.write$1(0, t1);
  66870. t2.writeCharCode$1(32);
  66871. }
  66872. t1 = query.type;
  66873. if (t1 != null) {
  66874. t2 = _this._serialize$_buffer;
  66875. t2.write$1(0, t1);
  66876. if (query.conditions.length !== 0)
  66877. t2.write$1(0, " and ");
  66878. }
  66879. t1 = query.conditions;
  66880. if (t1.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t1), "(not ")) {
  66881. t2 = _this._serialize$_buffer;
  66882. t2.write$1(0, "not ");
  66883. condition = B.JSArray_methods.get$first(t1);
  66884. t2.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  66885. } else {
  66886. operator = query.conjunction ? "and" : "or";
  66887. t2 = _this._style === B.OutputStyle_1 ? operator + " " : " " + operator + " ";
  66888. t3 = _this._serialize$_buffer;
  66889. _this._writeBetween$3(t1, t2, t3.get$write(t3));
  66890. }
  66891. },
  66892. visitCssStyleRule$1(node) {
  66893. var t1, _this = this;
  66894. _this._writeIndentation$0();
  66895. t1 = _this._serialize$_buffer;
  66896. t1.forSpan$2(node._style_rule$_selector._box$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
  66897. if (_this._style !== B.OutputStyle_1)
  66898. t1.writeCharCode$1(32);
  66899. _this._serialize$_visitChildren$1(node);
  66900. },
  66901. visitCssSupportsRule$1(node) {
  66902. var t1, _this = this;
  66903. _this._writeIndentation$0();
  66904. t1 = _this._serialize$_buffer;
  66905. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
  66906. if (_this._style !== B.OutputStyle_1)
  66907. t1.writeCharCode$1(32);
  66908. _this._serialize$_visitChildren$1(node);
  66909. },
  66910. visitCssDeclaration$1(node) {
  66911. var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  66912. _this._writeIndentation$0();
  66913. t1 = node.name;
  66914. _this._serialize$_write$1(t1);
  66915. t2 = _this._serialize$_buffer;
  66916. t2.writeCharCode$1(58);
  66917. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  66918. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
  66919. else {
  66920. if (_this._style !== B.OutputStyle_1)
  66921. t2.writeCharCode$1(32);
  66922. try {
  66923. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
  66924. } catch (exception) {
  66925. t1 = A.unwrapException(exception);
  66926. if (t1 instanceof A.MultiSpanSassScriptException) {
  66927. error = t1;
  66928. stackTrace = A.getTraceFromException(exception);
  66929. A.throwWithTrace(A.MultiSpanSassException$(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), stackTrace);
  66930. } else if (t1 instanceof A.SassScriptException) {
  66931. error0 = t1;
  66932. stackTrace0 = A.getTraceFromException(exception);
  66933. t1 = error0.message;
  66934. A.throwWithTrace(new A.SassException(B.Set_empty, t1, node.value.span), stackTrace0);
  66935. } else
  66936. throw exception;
  66937. }
  66938. }
  66939. },
  66940. _writeFoldedValue$1(node) {
  66941. var t1, t2, next, t3,
  66942. scanner = A.StringScanner$(type$.SassString._as(node.value.value)._string$_text, null, null);
  66943. for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
  66944. next = scanner.readChar$0();
  66945. if (next !== 10) {
  66946. t2.writeCharCode$1(next);
  66947. continue;
  66948. }
  66949. t2.writeCharCode$1(32);
  66950. while (true) {
  66951. t3 = scanner.peekChar$0();
  66952. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  66953. break;
  66954. scanner.readChar$0();
  66955. }
  66956. }
  66957. },
  66958. _writeReindentedValue$1(node) {
  66959. var t1, _this = this,
  66960. value = type$.SassString._as(node.value.value)._string$_text,
  66961. minimumIndentation = _this._minimumIndentation$1(value);
  66962. if (minimumIndentation == null) {
  66963. _this._serialize$_buffer.write$1(0, value);
  66964. return;
  66965. } else if (minimumIndentation === -1) {
  66966. t1 = _this._serialize$_buffer;
  66967. t1.write$1(0, A.trimAsciiRight(value, true));
  66968. t1.writeCharCode$1(32);
  66969. return;
  66970. }
  66971. t1 = node.name.span;
  66972. t1 = t1.get$start(t1);
  66973. _this._writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
  66974. },
  66975. _minimumIndentation$1(text) {
  66976. var character, t2, min, next, min0,
  66977. scanner = A.LineScanner$(text),
  66978. t1 = scanner.string.length;
  66979. while (true) {
  66980. if (scanner._string_scanner$_position !== t1) {
  66981. character = scanner.super$StringScanner$readChar();
  66982. scanner._adjustLineAndColumn$1(character);
  66983. t2 = character !== 10;
  66984. } else
  66985. t2 = false;
  66986. if (!t2)
  66987. break;
  66988. }
  66989. if (scanner._string_scanner$_position === t1)
  66990. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  66991. for (min = null; scanner._string_scanner$_position !== t1;) {
  66992. for (; scanner._string_scanner$_position !== t1;) {
  66993. next = scanner.peekChar$0();
  66994. if (next !== 32 && next !== 9)
  66995. break;
  66996. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  66997. }
  66998. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  66999. continue;
  67000. min0 = scanner._line_scanner$_column;
  67001. min = min == null ? min0 : Math.min(min, min0);
  67002. while (true) {
  67003. if (scanner._string_scanner$_position !== t1) {
  67004. character = scanner.super$StringScanner$readChar();
  67005. scanner._adjustLineAndColumn$1(character);
  67006. t2 = character !== 10;
  67007. } else
  67008. t2 = false;
  67009. if (!t2)
  67010. break;
  67011. }
  67012. }
  67013. return min == null ? -1 : min;
  67014. },
  67015. _writeWithIndent$2(text, minimumIndentation) {
  67016. var t1, t2, t3, character, lineStart, newlines, end,
  67017. scanner = A.LineScanner$(text);
  67018. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
  67019. character = scanner.super$StringScanner$readChar();
  67020. scanner._adjustLineAndColumn$1(character);
  67021. if (character === 10)
  67022. break;
  67023. t3.writeCharCode$1(character);
  67024. }
  67025. for (; true;) {
  67026. lineStart = scanner._string_scanner$_position;
  67027. for (newlines = 1; true;) {
  67028. if (scanner._string_scanner$_position === t2) {
  67029. t3.writeCharCode$1(32);
  67030. return;
  67031. }
  67032. character = scanner.super$StringScanner$readChar();
  67033. scanner._adjustLineAndColumn$1(character);
  67034. if (character === 32 || character === 9)
  67035. continue;
  67036. if (character !== 10)
  67037. break;
  67038. lineStart = scanner._string_scanner$_position;
  67039. ++newlines;
  67040. }
  67041. this._writeTimes$2(10, newlines);
  67042. this._writeIndentation$0();
  67043. end = scanner._string_scanner$_position;
  67044. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  67045. for (; true;) {
  67046. if (scanner._string_scanner$_position === t2)
  67047. return;
  67048. character = scanner.super$StringScanner$readChar();
  67049. scanner._adjustLineAndColumn$1(character);
  67050. if (character === 10)
  67051. break;
  67052. t3.writeCharCode$1(character);
  67053. }
  67054. }
  67055. },
  67056. visitCalculation$1(value) {
  67057. var t2, _this = this,
  67058. t1 = _this._serialize$_buffer;
  67059. t1.write$1(0, value.name);
  67060. t1.writeCharCode$1(40);
  67061. t2 = _this._style === B.OutputStyle_1 ? "," : ", ";
  67062. _this._writeBetween$3(value.$arguments, t2, _this.get$_writeCalculationValue());
  67063. t1.writeCharCode$1(41);
  67064. },
  67065. _writeCalculationValue$1(value) {
  67066. var t1, t2, unit, left, parenthesizeLeft, operatorWhitespace, right, parenthesizeRight, _this = this;
  67067. if (value instanceof A.SassNumber && !isFinite(value._number$_value)) {
  67068. t1 = J.getInterceptor$x(value);
  67069. if (t1.get$numeratorUnits(value).length > 1 || t1.get$denominatorUnits(value).length !== 0) {
  67070. if (!_this._inspect)
  67071. throw A.wrapException(A.SassScriptException$(A.S(value) + " isn't a valid CSS value.", null));
  67072. _this._writeNumber$1(value._number$_value);
  67073. _this._serialize$_buffer.write$1(0, value.get$unitString());
  67074. return;
  67075. }
  67076. t2 = value._number$_value;
  67077. if (t2 === 1 / 0)
  67078. _this._serialize$_buffer.write$1(0, "infinity");
  67079. else if (t2 === -1 / 0)
  67080. _this._serialize$_buffer.write$1(0, "-infinity");
  67081. else if (isNaN(t2))
  67082. _this._serialize$_buffer.write$1(0, "NaN");
  67083. unit = A.IterableExtension_get_firstOrNull(t1.get$numeratorUnits(value));
  67084. if (unit != null) {
  67085. t1 = _this._style !== B.OutputStyle_1;
  67086. if (t1)
  67087. _this._serialize$_buffer.writeCharCode$1(32);
  67088. t2 = _this._serialize$_buffer;
  67089. t2.writeCharCode$1(42);
  67090. if (t1)
  67091. t2.writeCharCode$1(32);
  67092. t2.writeCharCode$1(49);
  67093. t2.write$1(0, unit);
  67094. }
  67095. } else if (value instanceof A.Value)
  67096. value.accept$1(_this);
  67097. else if (value instanceof A.CalculationInterpolation)
  67098. _this._serialize$_buffer.write$1(0, value.value);
  67099. else if (value instanceof A.CalculationOperation) {
  67100. left = value.left;
  67101. if (!(left instanceof A.CalculationInterpolation))
  67102. parenthesizeLeft = left instanceof A.CalculationOperation && left.operator.precedence < value.operator.precedence;
  67103. else
  67104. parenthesizeLeft = true;
  67105. if (parenthesizeLeft)
  67106. _this._serialize$_buffer.writeCharCode$1(40);
  67107. _this._writeCalculationValue$1(left);
  67108. if (parenthesizeLeft)
  67109. _this._serialize$_buffer.writeCharCode$1(41);
  67110. operatorWhitespace = _this._style !== B.OutputStyle_1 || value.operator.precedence === 1;
  67111. if (operatorWhitespace)
  67112. _this._serialize$_buffer.writeCharCode$1(32);
  67113. t1 = _this._serialize$_buffer;
  67114. t2 = value.operator;
  67115. t1.write$1(0, t2.operator);
  67116. if (operatorWhitespace)
  67117. t1.writeCharCode$1(32);
  67118. right = value.right;
  67119. if (!(right instanceof A.CalculationInterpolation))
  67120. if (!(right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(t2, right.operator))) {
  67121. t2 = t2 === B.CalculationOperator_OvN && right instanceof A.SassNumber && !isFinite(right._number$_value) && right.get$hasUnits();
  67122. parenthesizeRight = t2;
  67123. } else
  67124. parenthesizeRight = true;
  67125. else
  67126. parenthesizeRight = true;
  67127. if (parenthesizeRight)
  67128. t1.writeCharCode$1(40);
  67129. _this._writeCalculationValue$1(right);
  67130. if (parenthesizeRight)
  67131. t1.writeCharCode$1(41);
  67132. }
  67133. },
  67134. _parenthesizeCalculationRhs$2(outer, right) {
  67135. if (outer === B.CalculationOperator_OvN)
  67136. return true;
  67137. if (outer === B.CalculationOperator_IyK)
  67138. return false;
  67139. return right === B.CalculationOperator_IyK || right === B.CalculationOperator_2bx;
  67140. },
  67141. _writeRgb$1(value) {
  67142. var t3,
  67143. t1 = value._alpha,
  67144. opaque = A.fuzzyEquals(t1, 1),
  67145. t2 = this._serialize$_buffer;
  67146. t2.write$1(0, opaque ? "rgb(" : "rgba(");
  67147. t2.write$1(0, value.get$red(value));
  67148. t3 = this._style === B.OutputStyle_1;
  67149. t2.write$1(0, t3 ? "," : ", ");
  67150. t2.write$1(0, value.get$green(value));
  67151. t2.write$1(0, t3 ? "," : ", ");
  67152. t2.write$1(0, value.get$blue(value));
  67153. if (!opaque) {
  67154. t2.write$1(0, t3 ? "," : ", ");
  67155. this._writeNumber$1(t1);
  67156. }
  67157. t2.writeCharCode$1(41);
  67158. },
  67159. _canUseShortHex$1(color) {
  67160. var t1 = color.get$red(color);
  67161. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  67162. t1 = color.get$green(color);
  67163. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  67164. t1 = color.get$blue(color);
  67165. t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
  67166. } else
  67167. t1 = false;
  67168. } else
  67169. t1 = false;
  67170. return t1;
  67171. },
  67172. _writeHexComponent$1(color) {
  67173. var t1 = this._serialize$_buffer;
  67174. t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  67175. t1.writeCharCode$1(A.hexCharFor(color & 15));
  67176. },
  67177. visitList$1(value) {
  67178. var t2, t3, singleton, t4, t5, _this = this,
  67179. t1 = value._hasBrackets;
  67180. if (t1)
  67181. _this._serialize$_buffer.writeCharCode$1(91);
  67182. else if (value._list$_contents.length === 0) {
  67183. if (!_this._inspect)
  67184. throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value.", null));
  67185. _this._serialize$_buffer.write$1(0, "()");
  67186. return;
  67187. }
  67188. t2 = _this._inspect;
  67189. if (t2)
  67190. if (value._list$_contents.length === 1) {
  67191. t3 = value._separator;
  67192. t3 = t3 === B.ListSeparator_rXA || t3 === B.ListSeparator_zg9;
  67193. singleton = t3;
  67194. } else
  67195. singleton = false;
  67196. else
  67197. singleton = false;
  67198. if (singleton && !t1)
  67199. _this._serialize$_buffer.writeCharCode$1(40);
  67200. t3 = value._list$_contents;
  67201. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  67202. t4 = value._separator;
  67203. t5 = _this._separatorString$1(t4);
  67204. _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
  67205. if (singleton) {
  67206. t2 = _this._serialize$_buffer;
  67207. t2.write$1(0, t4.separator);
  67208. if (!t1)
  67209. t2.writeCharCode$1(41);
  67210. }
  67211. if (t1)
  67212. _this._serialize$_buffer.writeCharCode$1(93);
  67213. },
  67214. _separatorString$1(separator) {
  67215. switch (separator) {
  67216. case B.ListSeparator_rXA:
  67217. return this._style === B.OutputStyle_1 ? "," : ", ";
  67218. case B.ListSeparator_zg9:
  67219. return this._style === B.OutputStyle_1 ? "/" : " / ";
  67220. case B.ListSeparator_EVt:
  67221. return " ";
  67222. default:
  67223. return "";
  67224. }
  67225. },
  67226. _elementNeedsParens$2(separator, value) {
  67227. var t1;
  67228. if (value instanceof A.SassList) {
  67229. if (value._list$_contents.length < 2)
  67230. return false;
  67231. if (value._hasBrackets)
  67232. return false;
  67233. switch (separator) {
  67234. case B.ListSeparator_rXA:
  67235. return value._separator === B.ListSeparator_rXA;
  67236. case B.ListSeparator_zg9:
  67237. t1 = value._separator;
  67238. return t1 === B.ListSeparator_rXA || t1 === B.ListSeparator_zg9;
  67239. default:
  67240. return value._separator !== B.ListSeparator_undecided_null_undecided;
  67241. }
  67242. }
  67243. return false;
  67244. },
  67245. visitMap$1(map) {
  67246. var t1, t2, _this = this;
  67247. if (!_this._inspect)
  67248. throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value.", null));
  67249. t1 = _this._serialize$_buffer;
  67250. t1.writeCharCode$1(40);
  67251. t2 = map._map$_contents;
  67252. _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
  67253. t1.writeCharCode$1(41);
  67254. },
  67255. _writeMapElement$1(value) {
  67256. var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_rXA && !value._hasBrackets;
  67257. if (needsParens)
  67258. this._serialize$_buffer.writeCharCode$1(40);
  67259. value.accept$1(this);
  67260. if (needsParens)
  67261. this._serialize$_buffer.writeCharCode$1(41);
  67262. },
  67263. visitNumber$1(value) {
  67264. var t1, _this = this,
  67265. asSlash = value.asSlash;
  67266. if (asSlash != null) {
  67267. _this.visitNumber$1(asSlash.item1);
  67268. _this._serialize$_buffer.writeCharCode$1(47);
  67269. _this.visitNumber$1(asSlash.item2);
  67270. return;
  67271. }
  67272. t1 = value._number$_value;
  67273. if (!isFinite(t1)) {
  67274. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  67275. return;
  67276. }
  67277. _this._writeNumber$1(t1);
  67278. if (!_this._inspect) {
  67279. if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
  67280. throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value.", null));
  67281. if (value.get$numeratorUnits(value).length !== 0)
  67282. _this._serialize$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
  67283. } else
  67284. _this._serialize$_buffer.write$1(0, value.get$unitString());
  67285. },
  67286. _writeNumber$1(number) {
  67287. var text, _this = this,
  67288. integer = A.fuzzyAsInt(number);
  67289. if (integer != null) {
  67290. _this._serialize$_buffer.write$1(0, _this._removeExponent$1(B.JSInt_methods.toString$0(integer)));
  67291. return;
  67292. }
  67293. text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
  67294. if (text.length < 12) {
  67295. if (_this._style === B.OutputStyle_1 && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
  67296. text = B.JSString_methods.substring$1(text, 1);
  67297. _this._serialize$_buffer.write$1(0, text);
  67298. return;
  67299. }
  67300. _this._writeRounded$1(text);
  67301. },
  67302. _removeExponent$1(text) {
  67303. var buffer, t3, additionalZeroes,
  67304. t1 = B.JSString_methods._codeUnitAt$1(text, 0),
  67305. negative = t1 === 45,
  67306. exponent = A._Cell$(),
  67307. t2 = text.length,
  67308. i = 0;
  67309. while (true) {
  67310. if (!(i < t2)) {
  67311. buffer = null;
  67312. break;
  67313. }
  67314. c$0: {
  67315. if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
  67316. break c$0;
  67317. buffer = new A.StringBuffer("");
  67318. t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
  67319. if (negative) {
  67320. t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
  67321. buffer._contents = t1;
  67322. if (i > 3)
  67323. buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
  67324. } else if (i > 2)
  67325. buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
  67326. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
  67327. break;
  67328. }
  67329. ++i;
  67330. }
  67331. if (buffer == null)
  67332. return text;
  67333. if (exponent._readLocal$0() > 0) {
  67334. t1 = exponent._readLocal$0();
  67335. t2 = buffer._contents;
  67336. t3 = negative ? 1 : 0;
  67337. additionalZeroes = t1 - (t2.length - 1 - t3);
  67338. for (t1 = t2, i = 0; i < additionalZeroes; ++i)
  67339. t1 = buffer._contents += A.Primitives_stringFromCharCode(48);
  67340. return t1.charCodeAt(0) == 0 ? t1 : t1;
  67341. } else {
  67342. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  67343. t2 = exponent.__late_helper$_name;
  67344. i = -1;
  67345. while (true) {
  67346. t3 = exponent.__late_helper$_value;
  67347. if (t3 === exponent)
  67348. A.throwExpression(A.LateError$localNI(t2));
  67349. if (!(i > t3))
  67350. break;
  67351. t1 += A.Primitives_stringFromCharCode(48);
  67352. --i;
  67353. }
  67354. if (negative) {
  67355. t2 = buffer._contents;
  67356. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  67357. } else
  67358. t2 = buffer;
  67359. t2 = t1 + A.S(t2);
  67360. return t2.charCodeAt(0) == 0 ? t2 : t2;
  67361. }
  67362. },
  67363. _writeRounded$1(text) {
  67364. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
  67365. if (B.JSString_methods.endsWith$1(text, ".0")) {
  67366. _this._serialize$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  67367. return;
  67368. }
  67369. t1 = text.length;
  67370. digits = new Uint8Array(t1 + 1);
  67371. negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
  67372. textIndex = negative ? 1 : 0;
  67373. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  67374. if (textIndex === t1) {
  67375. _this._serialize$_buffer.write$1(0, text);
  67376. return;
  67377. }
  67378. textIndex0 = textIndex + 1;
  67379. codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
  67380. if (codeUnit === 46) {
  67381. textIndex = textIndex0;
  67382. break;
  67383. }
  67384. digitsIndex0 = digitsIndex + 1;
  67385. digits[digitsIndex] = codeUnit - 48;
  67386. }
  67387. indexAfterPrecision = textIndex + 10;
  67388. if (indexAfterPrecision >= t1) {
  67389. _this._serialize$_buffer.write$1(0, text);
  67390. return;
  67391. }
  67392. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  67393. digitsIndex1 = digitsIndex0 + 1;
  67394. textIndex0 = textIndex + 1;
  67395. digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
  67396. }
  67397. if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
  67398. for (; true; digitsIndex0 = digitsIndex1) {
  67399. digitsIndex1 = digitsIndex0 - 1;
  67400. newDigit = digits[digitsIndex1] + 1;
  67401. digits[digitsIndex1] = newDigit;
  67402. if (newDigit !== 10)
  67403. break;
  67404. }
  67405. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  67406. digits[digitsIndex0] = 0;
  67407. while (true) {
  67408. t1 = digitsIndex0 > digitsIndex;
  67409. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  67410. break;
  67411. --digitsIndex0;
  67412. }
  67413. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  67414. _this._serialize$_buffer.writeCharCode$1(48);
  67415. return;
  67416. }
  67417. if (negative)
  67418. _this._serialize$_buffer.writeCharCode$1(45);
  67419. if (digits[0] === 0)
  67420. writtenIndex = _this._style === B.OutputStyle_1 && digits[1] === 0 ? 2 : 1;
  67421. else
  67422. writtenIndex = 0;
  67423. for (t2 = _this._serialize$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
  67424. t2.writeCharCode$1(48 + digits[writtenIndex]);
  67425. if (t1) {
  67426. t2.writeCharCode$1(46);
  67427. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  67428. t2.writeCharCode$1(48 + digits[writtenIndex]);
  67429. }
  67430. },
  67431. _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  67432. var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
  67433. buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
  67434. if (forceDoubleQuote)
  67435. buffer.writeCharCode$1(34);
  67436. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  67437. char = B.JSString_methods._codeUnitAt$1(string, i);
  67438. switch (char) {
  67439. case 39:
  67440. if (forceDoubleQuote)
  67441. buffer.writeCharCode$1(39);
  67442. else {
  67443. if (includesDoubleQuote) {
  67444. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  67445. return;
  67446. } else
  67447. buffer.writeCharCode$1(39);
  67448. includesSingleQuote = true;
  67449. }
  67450. break;
  67451. case 34:
  67452. if (forceDoubleQuote) {
  67453. buffer.writeCharCode$1(92);
  67454. buffer.writeCharCode$1(34);
  67455. } else {
  67456. if (includesSingleQuote) {
  67457. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  67458. return;
  67459. } else
  67460. buffer.writeCharCode$1(34);
  67461. includesDoubleQuote = true;
  67462. }
  67463. break;
  67464. case 0:
  67465. case 1:
  67466. case 2:
  67467. case 3:
  67468. case 4:
  67469. case 5:
  67470. case 6:
  67471. case 7:
  67472. case 8:
  67473. case 10:
  67474. case 11:
  67475. case 12:
  67476. case 13:
  67477. case 14:
  67478. case 15:
  67479. case 16:
  67480. case 17:
  67481. case 18:
  67482. case 19:
  67483. case 20:
  67484. case 21:
  67485. case 22:
  67486. case 23:
  67487. case 24:
  67488. case 25:
  67489. case 26:
  67490. case 27:
  67491. case 28:
  67492. case 29:
  67493. case 30:
  67494. case 31:
  67495. _this._writeEscape$4(buffer, char, string, i);
  67496. break;
  67497. case 92:
  67498. buffer.writeCharCode$1(92);
  67499. buffer.writeCharCode$1(92);
  67500. break;
  67501. default:
  67502. newIndex = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
  67503. if (newIndex != null) {
  67504. i = newIndex;
  67505. break;
  67506. }
  67507. buffer.writeCharCode$1(char);
  67508. break;
  67509. }
  67510. }
  67511. if (forceDoubleQuote)
  67512. buffer.writeCharCode$1(34);
  67513. else {
  67514. quote = includesDoubleQuote ? 39 : 34;
  67515. t1 = _this._serialize$_buffer;
  67516. t1.writeCharCode$1(quote);
  67517. t1.write$1(0, buffer);
  67518. t1.writeCharCode$1(quote);
  67519. }
  67520. },
  67521. _visitQuotedString$1(string) {
  67522. return this._visitQuotedString$2$forceDoubleQuote(string, false);
  67523. },
  67524. _visitUnquotedString$1(string) {
  67525. var t1, t2, afterNewline, i, char, newIndex;
  67526. for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  67527. char = B.JSString_methods._codeUnitAt$1(string, i);
  67528. switch (char) {
  67529. case 10:
  67530. t2.writeCharCode$1(32);
  67531. afterNewline = true;
  67532. break;
  67533. case 32:
  67534. if (!afterNewline)
  67535. t2.writeCharCode$1(32);
  67536. break;
  67537. default:
  67538. newIndex = this._tryPrivateUseCharacter$4(t2, char, string, i);
  67539. if (newIndex != null) {
  67540. i = newIndex;
  67541. afterNewline = false;
  67542. break;
  67543. }
  67544. t2.writeCharCode$1(char);
  67545. afterNewline = false;
  67546. break;
  67547. }
  67548. }
  67549. },
  67550. _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  67551. var t1;
  67552. if (this._style === B.OutputStyle_1)
  67553. return null;
  67554. if (codeUnit >= 57344 && codeUnit <= 63743) {
  67555. this._writeEscape$4(buffer, codeUnit, string, i);
  67556. return i;
  67557. }
  67558. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  67559. t1 = i + 1;
  67560. this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
  67561. return t1;
  67562. }
  67563. return null;
  67564. },
  67565. _writeEscape$4(buffer, character, string, i) {
  67566. var t1, next;
  67567. buffer.writeCharCode$1(92);
  67568. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  67569. t1 = i + 1;
  67570. if (string.length === t1)
  67571. return;
  67572. next = B.JSString_methods._codeUnitAt$1(string, t1);
  67573. if (A.isHex(next) || next === 32 || next === 9)
  67574. buffer.writeCharCode$1(32);
  67575. },
  67576. visitAttributeSelector$1(attribute) {
  67577. var value, t2,
  67578. t1 = this._serialize$_buffer;
  67579. t1.writeCharCode$1(91);
  67580. t1.write$1(0, attribute.name);
  67581. value = attribute.value;
  67582. if (value != null) {
  67583. t1.write$1(0, attribute.op);
  67584. if (A.Parser_isIdentifier(value) && !B.JSString_methods.startsWith$1(value, "--")) {
  67585. t1.write$1(0, value);
  67586. t2 = attribute.modifier;
  67587. if (t2 != null)
  67588. t1.writeCharCode$1(32);
  67589. } else {
  67590. this._visitQuotedString$1(value);
  67591. t2 = attribute.modifier;
  67592. if (t2 != null)
  67593. if (this._style !== B.OutputStyle_1)
  67594. t1.writeCharCode$1(32);
  67595. }
  67596. if (t2 != null)
  67597. t1.write$1(0, t2);
  67598. }
  67599. t1.writeCharCode$1(93);
  67600. },
  67601. visitClassSelector$1(klass) {
  67602. var t1 = this._serialize$_buffer;
  67603. t1.writeCharCode$1(46);
  67604. t1.write$1(0, klass.name);
  67605. },
  67606. visitComplexSelector$1(complex) {
  67607. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  67608. t1 = complex.leadingCombinators;
  67609. _this._writeCombinators$1(t1);
  67610. if (t1.length !== 0 && complex.components.length !== 0)
  67611. if (_this._style !== B.OutputStyle_1)
  67612. _this._serialize$_buffer.writeCharCode$1(32);
  67613. 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) {
  67614. component = t1[i];
  67615. _this.visitCompoundSelector$1(component.selector);
  67616. t7 = component.combinators;
  67617. t8 = t7.length === 0;
  67618. if (!t8)
  67619. if (t6)
  67620. t4.writeCharCode$1(32);
  67621. t9 = t5 ? "" : " ";
  67622. _this._writeBetween$3(t7, t9, t4.get$write(t4));
  67623. if (i !== t3)
  67624. t7 = !t5 || t8;
  67625. else
  67626. t7 = false;
  67627. if (t7)
  67628. t4.writeCharCode$1(32);
  67629. }
  67630. },
  67631. _writeCombinators$1(combinators) {
  67632. var t1 = this._style === B.OutputStyle_1 ? "" : " ",
  67633. t2 = this._serialize$_buffer;
  67634. return this._writeBetween$3(combinators, t1, t2.get$write(t2));
  67635. },
  67636. visitCompoundSelector$1(compound) {
  67637. var t2, t3, _i,
  67638. t1 = this._serialize$_buffer,
  67639. start = t1.get$length(t1);
  67640. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  67641. t2[_i].accept$1(this);
  67642. if (t1.get$length(t1) === start)
  67643. t1.writeCharCode$1(42);
  67644. },
  67645. visitIDSelector$1(id) {
  67646. var t1 = this._serialize$_buffer;
  67647. t1.writeCharCode$1(35);
  67648. t1.write$1(0, id.name);
  67649. },
  67650. visitSelectorList$1(list) {
  67651. var t1, t2, t3, first, t4, _this = this,
  67652. complexes = list.components;
  67653. 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();) {
  67654. t4 = t1.get$current(t1);
  67655. if (first)
  67656. first = false;
  67657. else {
  67658. t3.writeCharCode$1(44);
  67659. if (t4.lineBreak) {
  67660. if (t2)
  67661. t3.write$1(0, "\n");
  67662. _this._writeIndentation$0();
  67663. } else if (t2)
  67664. t3.writeCharCode$1(32);
  67665. }
  67666. _this.visitComplexSelector$1(t4);
  67667. }
  67668. },
  67669. visitParentSelector$1($parent) {
  67670. var t2,
  67671. t1 = this._serialize$_buffer;
  67672. t1.writeCharCode$1(38);
  67673. t2 = $parent.suffix;
  67674. if (t2 != null)
  67675. t1.write$1(0, t2);
  67676. },
  67677. visitPlaceholderSelector$1(placeholder) {
  67678. var t1 = this._serialize$_buffer;
  67679. t1.writeCharCode$1(37);
  67680. t1.write$1(0, placeholder.name);
  67681. },
  67682. visitPseudoSelector$1(pseudo) {
  67683. var t3, t4, t5,
  67684. innerSelector = pseudo.selector,
  67685. t1 = innerSelector == null,
  67686. t2 = !t1;
  67687. if (t2 && pseudo.name === "not" && innerSelector.accept$1(B._IsInvisibleVisitor_true))
  67688. return;
  67689. t3 = this._serialize$_buffer;
  67690. t3.writeCharCode$1(58);
  67691. if (!pseudo.isSyntacticClass)
  67692. t3.writeCharCode$1(58);
  67693. t3.write$1(0, pseudo.name);
  67694. t4 = pseudo.argument;
  67695. t5 = t4 == null;
  67696. if (t5 && t1)
  67697. return;
  67698. t3.writeCharCode$1(40);
  67699. if (!t5) {
  67700. t3.write$1(0, t4);
  67701. if (t2)
  67702. t3.writeCharCode$1(32);
  67703. }
  67704. if (t2)
  67705. this.visitSelectorList$1(innerSelector);
  67706. t3.writeCharCode$1(41);
  67707. },
  67708. visitTypeSelector$1(type) {
  67709. this._serialize$_buffer.write$1(0, type.name);
  67710. },
  67711. visitUniversalSelector$1(universal) {
  67712. var t2,
  67713. t1 = universal.namespace;
  67714. if (t1 != null) {
  67715. t2 = this._serialize$_buffer;
  67716. t2.write$1(0, t1);
  67717. t2.writeCharCode$1(124);
  67718. }
  67719. this._serialize$_buffer.writeCharCode$1(42);
  67720. },
  67721. _serialize$_write$1(value) {
  67722. return this._serialize$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure(this, value));
  67723. },
  67724. _serialize$_visitChildren$1($parent) {
  67725. var t2, t3, t4, t5, t6, t7, t8, prePrevious, previous, t9, previous0, t10, savedIndentation, _this = this,
  67726. t1 = _this._serialize$_buffer;
  67727. t1.writeCharCode$1(123);
  67728. 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();) {
  67729. t9 = t2.__internal$_current;
  67730. previous0 = t9 == null ? t6._as(t9) : t9;
  67731. if (t5)
  67732. t9 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  67733. else
  67734. t9 = false;
  67735. if (t9)
  67736. continue;
  67737. t9 = previous == null;
  67738. if (!t9)
  67739. t10 = t8._is(previous) ? previous.get$isChildless() : !t7._is(previous);
  67740. else
  67741. t10 = false;
  67742. if (t10)
  67743. t1.writeCharCode$1(59);
  67744. if (_this._isTrailingComment$2(previous0, t9 ? $parent : previous)) {
  67745. if (t4)
  67746. t1.writeCharCode$1(32);
  67747. savedIndentation = _this._indentation;
  67748. _this._indentation = 0;
  67749. new A._SerializeVisitor__visitChildren_closure(_this, previous0).call$0();
  67750. _this._indentation = savedIndentation;
  67751. } else {
  67752. if (t4)
  67753. t1.write$1(0, "\n");
  67754. ++_this._indentation;
  67755. new A._SerializeVisitor__visitChildren_closure0(_this, previous0).call$0();
  67756. --_this._indentation;
  67757. }
  67758. prePrevious = previous;
  67759. previous = previous0;
  67760. }
  67761. if (previous != null) {
  67762. if ((t8._is(previous) ? previous.get$isChildless() : !t7._is(previous)) && t4)
  67763. t1.writeCharCode$1(59);
  67764. if (prePrevious == null && _this._isTrailingComment$2(previous, $parent)) {
  67765. if (t4)
  67766. t1.writeCharCode$1(32);
  67767. } else {
  67768. _this._writeLineFeed$0();
  67769. _this._writeIndentation$0();
  67770. }
  67771. }
  67772. t1.writeCharCode$1(125);
  67773. },
  67774. _isTrailingComment$2(node, previous) {
  67775. var t1, t2, t3, searchFrom, endOffset, t4, span;
  67776. if (this._style === B.OutputStyle_1)
  67777. return false;
  67778. if (!type$.CssComment._is(node))
  67779. return false;
  67780. t1 = previous.get$span(previous);
  67781. t2 = node.span;
  67782. 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)) {
  67783. t1 = t2.get$start(t2);
  67784. t1 = t1.file.getLine$1(t1.offset);
  67785. t2 = previous.get$span(previous);
  67786. t2 = t2.get$end(t2);
  67787. return t1 === t2.file.getLine$1(t2.offset);
  67788. }
  67789. t1 = t2.get$start(t2);
  67790. t3 = previous.get$span(previous);
  67791. searchFrom = t1.offset - t3.get$start(t3).offset - 1;
  67792. if (searchFrom < 0)
  67793. return false;
  67794. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  67795. t1 = previous.get$span(previous);
  67796. t1 = t1.get$file(t1);
  67797. t3 = previous.get$span(previous);
  67798. t3 = t3.get$start(t3);
  67799. t4 = previous.get$span(previous);
  67800. span = t1.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  67801. t2 = t2.get$start(t2);
  67802. t2 = t2.file.getLine$1(t2.offset);
  67803. t4 = A.FileLocation$_(span.file, span._end);
  67804. return t2 === t4.file.getLine$1(t4.offset);
  67805. },
  67806. _writeLineFeed$0() {
  67807. if (this._style !== B.OutputStyle_1)
  67808. this._serialize$_buffer.write$1(0, "\n");
  67809. },
  67810. _writeIndentation$0() {
  67811. var _this = this;
  67812. if (_this._style === B.OutputStyle_1)
  67813. return;
  67814. _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
  67815. },
  67816. _writeTimes$2(char, times) {
  67817. var t1, i;
  67818. for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
  67819. t1.writeCharCode$1(char);
  67820. },
  67821. _writeBetween$1$3(iterable, text, callback) {
  67822. var t1, t2, first, value;
  67823. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
  67824. value = t1.get$current(t1);
  67825. if (first)
  67826. first = false;
  67827. else
  67828. t2.write$1(0, text);
  67829. callback.call$1(value);
  67830. }
  67831. },
  67832. _writeBetween$3(iterable, text, callback) {
  67833. return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
  67834. }
  67835. };
  67836. A._SerializeVisitor_visitCssComment_closure.prototype = {
  67837. call$0() {
  67838. var t2, t3, minimumIndentation,
  67839. t1 = this.$this;
  67840. if (t1._style === B.OutputStyle_1 && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
  67841. return;
  67842. t2 = this.node;
  67843. t3 = t2.text;
  67844. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  67845. return;
  67846. minimumIndentation = t1._minimumIndentation$1(t3);
  67847. if (minimumIndentation == null) {
  67848. t1._writeIndentation$0();
  67849. t1._serialize$_buffer.write$1(0, t3);
  67850. return;
  67851. }
  67852. t2 = t2.span;
  67853. t2 = t2.get$start(t2);
  67854. minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
  67855. t1._writeIndentation$0();
  67856. t1._writeWithIndent$2(t3, minimumIndentation);
  67857. },
  67858. $signature: 1
  67859. };
  67860. A._SerializeVisitor_visitCssAtRule_closure.prototype = {
  67861. call$0() {
  67862. var t3, value,
  67863. t1 = this.$this,
  67864. t2 = t1._serialize$_buffer;
  67865. t2.writeCharCode$1(64);
  67866. t3 = this.node;
  67867. t1._serialize$_write$1(t3.name);
  67868. value = t3.value;
  67869. if (value != null) {
  67870. t2.writeCharCode$1(32);
  67871. t1._serialize$_write$1(value);
  67872. }
  67873. },
  67874. $signature: 1
  67875. };
  67876. A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
  67877. call$0() {
  67878. var t3, firstQuery, t4, t5,
  67879. t1 = this.$this,
  67880. t2 = t1._serialize$_buffer;
  67881. t2.write$1(0, "@media");
  67882. t3 = this.node.queries;
  67883. firstQuery = B.JSArray_methods.get$first(t3);
  67884. t4 = t1._style === B.OutputStyle_1;
  67885. if (t4)
  67886. if (firstQuery.modifier == null)
  67887. if (firstQuery.type == null) {
  67888. t5 = firstQuery.conditions;
  67889. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  67890. } else
  67891. t5 = true;
  67892. else
  67893. t5 = true;
  67894. else
  67895. t5 = true;
  67896. if (t5)
  67897. t2.writeCharCode$1(32);
  67898. t2 = t4 ? "," : ", ";
  67899. t1._writeBetween$3(t3, t2, t1.get$_visitMediaQuery());
  67900. },
  67901. $signature: 1
  67902. };
  67903. A._SerializeVisitor_visitCssImport_closure.prototype = {
  67904. call$0() {
  67905. var t3, t4, modifiers,
  67906. t1 = this.$this,
  67907. t2 = t1._serialize$_buffer;
  67908. t2.write$1(0, "@import");
  67909. t3 = t1._style !== B.OutputStyle_1;
  67910. if (t3)
  67911. t2.writeCharCode$1(32);
  67912. t4 = this.node;
  67913. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure(t1, t4));
  67914. modifiers = t4.modifiers;
  67915. if (modifiers != null) {
  67916. if (t3)
  67917. t2.writeCharCode$1(32);
  67918. t2.write$1(0, modifiers);
  67919. }
  67920. },
  67921. $signature: 1
  67922. };
  67923. A._SerializeVisitor_visitCssImport__closure.prototype = {
  67924. call$0() {
  67925. return this.$this._writeImportUrl$1(this.node.url.value);
  67926. },
  67927. $signature: 0
  67928. };
  67929. A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
  67930. call$0() {
  67931. var t1 = this.$this,
  67932. t2 = t1._style === B.OutputStyle_1 ? "," : ", ",
  67933. t3 = t1._serialize$_buffer;
  67934. return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  67935. },
  67936. $signature: 0
  67937. };
  67938. A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
  67939. call$0() {
  67940. return this.$this.visitSelectorList$1(this.node._style_rule$_selector._box$_inner.value);
  67941. },
  67942. $signature: 0
  67943. };
  67944. A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
  67945. call$0() {
  67946. var t1 = this.$this,
  67947. t2 = t1._serialize$_buffer;
  67948. t2.write$1(0, "@supports");
  67949. if (!(t1._style === B.OutputStyle_1 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  67950. t2.writeCharCode$1(32);
  67951. t1._serialize$_write$1(this.node.condition);
  67952. },
  67953. $signature: 1
  67954. };
  67955. A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
  67956. call$0() {
  67957. var t1 = this.$this,
  67958. t2 = this.node;
  67959. if (t1._style === B.OutputStyle_1)
  67960. t1._writeFoldedValue$1(t2);
  67961. else
  67962. t1._writeReindentedValue$1(t2);
  67963. },
  67964. $signature: 1
  67965. };
  67966. A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
  67967. call$0() {
  67968. return this.node.value.value.accept$1(this.$this);
  67969. },
  67970. $signature: 0
  67971. };
  67972. A._SerializeVisitor_visitList_closure.prototype = {
  67973. call$1(element) {
  67974. return !element.get$isBlank();
  67975. },
  67976. $signature: 61
  67977. };
  67978. A._SerializeVisitor_visitList_closure0.prototype = {
  67979. call$1(element) {
  67980. var t1 = this.$this,
  67981. needsParens = t1._elementNeedsParens$2(this.value._separator, element);
  67982. if (needsParens)
  67983. t1._serialize$_buffer.writeCharCode$1(40);
  67984. element.accept$1(t1);
  67985. if (needsParens)
  67986. t1._serialize$_buffer.writeCharCode$1(41);
  67987. },
  67988. $signature: 56
  67989. };
  67990. A._SerializeVisitor_visitList_closure1.prototype = {
  67991. call$1(element) {
  67992. element.accept$1(this.$this);
  67993. },
  67994. $signature: 56
  67995. };
  67996. A._SerializeVisitor_visitMap_closure.prototype = {
  67997. call$1(entry) {
  67998. var t1 = this.$this;
  67999. t1._writeMapElement$1(entry.key);
  68000. t1._serialize$_buffer.write$1(0, ": ");
  68001. t1._writeMapElement$1(entry.value);
  68002. },
  68003. $signature: 275
  68004. };
  68005. A._SerializeVisitor_visitSelectorList_closure.prototype = {
  68006. call$1(complex) {
  68007. return !complex.accept$1(B._IsInvisibleVisitor_true);
  68008. },
  68009. $signature: 16
  68010. };
  68011. A._SerializeVisitor__write_closure.prototype = {
  68012. call$0() {
  68013. return this.$this._serialize$_buffer.write$1(0, this.value.value);
  68014. },
  68015. $signature: 0
  68016. };
  68017. A._SerializeVisitor__visitChildren_closure.prototype = {
  68018. call$0() {
  68019. return this.child.accept$1(this.$this);
  68020. },
  68021. $signature: 0
  68022. };
  68023. A._SerializeVisitor__visitChildren_closure0.prototype = {
  68024. call$0() {
  68025. this.child.accept$1(this.$this);
  68026. },
  68027. $signature: 0
  68028. };
  68029. A.OutputStyle.prototype = {
  68030. _enumToString$0() {
  68031. return "OutputStyle." + this._name;
  68032. }
  68033. };
  68034. A.LineFeed.prototype = {
  68035. _enumToString$0() {
  68036. return "LineFeed." + this._name;
  68037. },
  68038. toString$0(_) {
  68039. return "lf";
  68040. }
  68041. };
  68042. A.SerializeResult.prototype = {};
  68043. A.StatementSearchVisitor.prototype = {
  68044. visitAtRootRule$1(node) {
  68045. return this.visitChildren$1(node.children);
  68046. },
  68047. visitAtRule$1(node) {
  68048. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  68049. },
  68050. visitContentBlock$1(node) {
  68051. return this.visitChildren$1(node.children);
  68052. },
  68053. visitDebugRule$1(node) {
  68054. return null;
  68055. },
  68056. visitDeclaration$1(node) {
  68057. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  68058. },
  68059. visitEachRule$1(node) {
  68060. return this.visitChildren$1(node.children);
  68061. },
  68062. visitErrorRule$1(node) {
  68063. return null;
  68064. },
  68065. visitExtendRule$1(node) {
  68066. return null;
  68067. },
  68068. visitForRule$1(node) {
  68069. return this.visitChildren$1(node.children);
  68070. },
  68071. visitForwardRule$1(node) {
  68072. return null;
  68073. },
  68074. visitFunctionRule$1(node) {
  68075. return this.visitChildren$1(node.children);
  68076. },
  68077. visitIfRule$1(node) {
  68078. var t1 = A.IterableExtension_search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
  68079. return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
  68080. },
  68081. visitImportRule$1(node) {
  68082. return null;
  68083. },
  68084. visitIncludeRule$1(node) {
  68085. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
  68086. },
  68087. visitLoudComment$1(node) {
  68088. return null;
  68089. },
  68090. visitMediaRule$1(node) {
  68091. return this.visitChildren$1(node.children);
  68092. },
  68093. visitMixinRule$1(node) {
  68094. return this.visitChildren$1(node.children);
  68095. },
  68096. visitReturnRule$1(node) {
  68097. return null;
  68098. },
  68099. visitSilentComment$1(node) {
  68100. return null;
  68101. },
  68102. visitStyleRule$1(node) {
  68103. return this.visitChildren$1(node.children);
  68104. },
  68105. visitStylesheet$1(node) {
  68106. return this.visitChildren$1(node.children);
  68107. },
  68108. visitSupportsRule$1(node) {
  68109. return this.visitChildren$1(node.children);
  68110. },
  68111. visitUseRule$1(node) {
  68112. return null;
  68113. },
  68114. visitVariableDeclaration$1(node) {
  68115. return null;
  68116. },
  68117. visitWarnRule$1(node) {
  68118. return null;
  68119. },
  68120. visitWhileRule$1(node) {
  68121. return this.visitChildren$1(node.children);
  68122. },
  68123. visitChildren$1(children) {
  68124. return A.IterableExtension_search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
  68125. }
  68126. };
  68127. A.StatementSearchVisitor_visitIfRule_closure.prototype = {
  68128. call$1(clause) {
  68129. return A.IterableExtension_search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
  68130. },
  68131. $signature() {
  68132. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
  68133. }
  68134. };
  68135. A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
  68136. call$1(child) {
  68137. return child.accept$1(this.$this);
  68138. },
  68139. $signature() {
  68140. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  68141. }
  68142. };
  68143. A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
  68144. call$1(lastClause) {
  68145. return A.IterableExtension_search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
  68146. },
  68147. $signature() {
  68148. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
  68149. }
  68150. };
  68151. A.StatementSearchVisitor_visitIfRule__closure.prototype = {
  68152. call$1(child) {
  68153. return child.accept$1(this.$this);
  68154. },
  68155. $signature() {
  68156. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  68157. }
  68158. };
  68159. A.StatementSearchVisitor_visitChildren_closure.prototype = {
  68160. call$1(child) {
  68161. return child.accept$1(this.$this);
  68162. },
  68163. $signature() {
  68164. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  68165. }
  68166. };
  68167. A.Entry.prototype = {
  68168. compareTo$1(_, other) {
  68169. var t1, t2,
  68170. res = this.target.compareTo$1(0, other.target);
  68171. if (res !== 0)
  68172. return res;
  68173. t1 = this.source;
  68174. t2 = other.source;
  68175. res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
  68176. if (res !== 0)
  68177. return res;
  68178. return t1.compareTo$1(0, t2);
  68179. },
  68180. $isComparable: 1
  68181. };
  68182. A.Mapping.prototype = {};
  68183. A.SingleMapping.prototype = {
  68184. toJson$1$includeSourceContents(includeSourceContents) {
  68185. 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,
  68186. buff = new A.StringBuffer("");
  68187. 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) {
  68188. entry = t1[_i];
  68189. nextLine = entry.line;
  68190. if (nextLine > line) {
  68191. for (i = line; i < nextLine; ++i)
  68192. buff._contents += ";";
  68193. line = nextLine;
  68194. column = 0;
  68195. first = true;
  68196. }
  68197. for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
  68198. t4 = t3.get$current(t3);
  68199. if (!first)
  68200. buff._contents += ",";
  68201. column0 = t4.column;
  68202. t5 = A.encodeVlq(column0 - column);
  68203. t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
  68204. buff._contents = t5;
  68205. newUrlId = t4.sourceUrlId;
  68206. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
  68207. buff._contents = t5;
  68208. srcLine0 = t4.sourceLine;
  68209. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
  68210. buff._contents = t5;
  68211. srcColumn0 = t4.sourceColumn;
  68212. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
  68213. buff._contents = t5;
  68214. srcNameId0 = t4.sourceNameId;
  68215. if (srcNameId0 == null) {
  68216. srcUrlId = newUrlId;
  68217. srcColumn = srcColumn0;
  68218. srcLine = srcLine0;
  68219. continue;
  68220. }
  68221. buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
  68222. srcNameId = srcNameId0;
  68223. srcUrlId = newUrlId;
  68224. srcColumn = srcColumn0;
  68225. srcLine = srcLine0;
  68226. }
  68227. }
  68228. t1 = _this.sourceRoot;
  68229. if (t1 == null)
  68230. t1 = "";
  68231. t2 = buff._contents;
  68232. 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);
  68233. t1 = _this.targetUrl;
  68234. if (t1 != null)
  68235. result.$indexSet(0, "file", t1);
  68236. if (includeSourceContents) {
  68237. t1 = _this.files;
  68238. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
  68239. result.$indexSet(0, "sourcesContent", A.List_List$of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), true, t2._eval$1("ListIterable.E")));
  68240. }
  68241. _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
  68242. return result;
  68243. },
  68244. toJson$0() {
  68245. return this.toJson$1$includeSourceContents(false);
  68246. },
  68247. toString$0(_) {
  68248. var _this = this,
  68249. t1 = A.getRuntimeTypeOfDartObject(_this).toString$0(0) + " : [" + "targetUrl: " + A.S(_this.targetUrl) + ", sourceRoot: " + A.S(_this.sourceRoot) + ", urls: " + A.S(_this.urls) + ", names: " + A.S(_this.names) + ", lines: " + A.S(_this.lines) + "]";
  68250. return t1.charCodeAt(0) == 0 ? t1 : t1;
  68251. }
  68252. };
  68253. A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
  68254. call$0() {
  68255. return this.urls.__js_helper$_length;
  68256. },
  68257. $signature: 12
  68258. };
  68259. A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
  68260. call$0() {
  68261. return this.sourceEntry.source.file;
  68262. },
  68263. $signature: 276
  68264. };
  68265. A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
  68266. call$1(i) {
  68267. return this.files.$index(0, i);
  68268. },
  68269. $signature: 277
  68270. };
  68271. A.SingleMapping_toJson_closure.prototype = {
  68272. call$1(file) {
  68273. return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
  68274. },
  68275. $signature: 278
  68276. };
  68277. A.SingleMapping_toJson_closure0.prototype = {
  68278. call$2($name, value) {
  68279. this.result.$indexSet(0, $name, value);
  68280. return value;
  68281. },
  68282. $signature: 252
  68283. };
  68284. A.TargetLineEntry.prototype = {
  68285. toString$0(_) {
  68286. return A.getRuntimeTypeOfDartObject(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
  68287. }
  68288. };
  68289. A.TargetEntry.prototype = {
  68290. toString$0(_) {
  68291. var _this = this;
  68292. return A.getRuntimeTypeOfDartObject(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
  68293. }
  68294. };
  68295. A.SourceFile.prototype = {
  68296. get$length(_) {
  68297. return this._decodedChars.length;
  68298. },
  68299. get$lines() {
  68300. return this._lineStarts.length;
  68301. },
  68302. SourceFile$decoded$2$url(decodedChars, url) {
  68303. var t1, t2, t3, i, c, j;
  68304. for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
  68305. c = t1[i];
  68306. if (c === 13) {
  68307. j = i + 1;
  68308. if (j >= t2 || t1[j] !== 10)
  68309. c = 10;
  68310. }
  68311. if (c === 10)
  68312. t3.push(i + 1);
  68313. }
  68314. },
  68315. span$2(_, start, end) {
  68316. return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
  68317. },
  68318. span$1($receiver, start) {
  68319. return this.span$2($receiver, start, null);
  68320. },
  68321. getLine$1(offset) {
  68322. var t1, _this = this;
  68323. if (offset < 0)
  68324. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  68325. else if (offset > _this._decodedChars.length)
  68326. throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_ + _this.get$length(_this) + "."));
  68327. t1 = _this._lineStarts;
  68328. if (offset < B.JSArray_methods.get$first(t1))
  68329. return -1;
  68330. if (offset >= B.JSArray_methods.get$last(t1))
  68331. return t1.length - 1;
  68332. if (_this._isNearCachedLine$1(offset)) {
  68333. t1 = _this._cachedLine;
  68334. t1.toString;
  68335. return t1;
  68336. }
  68337. return _this._cachedLine = _this._binarySearch$1(offset) - 1;
  68338. },
  68339. _isNearCachedLine$1(offset) {
  68340. var t2, t3,
  68341. t1 = this._cachedLine;
  68342. if (t1 == null)
  68343. return false;
  68344. t2 = this._lineStarts;
  68345. if (offset < t2[t1])
  68346. return false;
  68347. t3 = t2.length;
  68348. if (t1 >= t3 - 1 || offset < t2[t1 + 1])
  68349. return true;
  68350. if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
  68351. this._cachedLine = t1 + 1;
  68352. return true;
  68353. }
  68354. return false;
  68355. },
  68356. _binarySearch$1(offset) {
  68357. var min, half,
  68358. t1 = this._lineStarts,
  68359. max = t1.length - 1;
  68360. for (min = 0; min < max;) {
  68361. half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
  68362. if (t1[half] > offset)
  68363. max = half;
  68364. else
  68365. min = half + 1;
  68366. }
  68367. return max;
  68368. },
  68369. getColumn$1(offset) {
  68370. var line, lineStart, _this = this;
  68371. if (offset < 0)
  68372. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  68373. else if (offset > _this._decodedChars.length)
  68374. throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(_this) + "."));
  68375. line = _this.getLine$1(offset);
  68376. lineStart = _this._lineStarts[line];
  68377. if (lineStart > offset)
  68378. throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
  68379. return offset - lineStart;
  68380. },
  68381. getOffset$1(line) {
  68382. var t1, t2, result, t3;
  68383. if (line < 0)
  68384. throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
  68385. else {
  68386. t1 = this._lineStarts;
  68387. t2 = t1.length;
  68388. if (line >= t2)
  68389. throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
  68390. }
  68391. result = t1[line];
  68392. if (result <= this._decodedChars.length) {
  68393. t3 = line + 1;
  68394. t1 = t3 < t2 && result >= t1[t3];
  68395. } else
  68396. t1 = true;
  68397. if (t1)
  68398. throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
  68399. return result;
  68400. }
  68401. };
  68402. A.FileLocation.prototype = {
  68403. get$sourceUrl(_) {
  68404. return this.file.url;
  68405. },
  68406. get$line() {
  68407. return this.file.getLine$1(this.offset);
  68408. },
  68409. get$column() {
  68410. return this.file.getColumn$1(this.offset);
  68411. },
  68412. FileLocation$_$2(file, offset) {
  68413. var t2,
  68414. t1 = this.offset;
  68415. if (t1 < 0)
  68416. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + t1 + "."));
  68417. else {
  68418. t2 = this.file;
  68419. if (t1 > t2._decodedChars.length)
  68420. throw A.wrapException(A.RangeError$("Offset " + t1 + string$.x20must_ + t2.get$length(t2) + "."));
  68421. }
  68422. },
  68423. pointSpan$0() {
  68424. var t1 = this.offset;
  68425. return A._FileSpan$(this.file, t1, t1);
  68426. },
  68427. get$offset() {
  68428. return this.offset;
  68429. }
  68430. };
  68431. A._FileSpan.prototype = {
  68432. get$sourceUrl(_) {
  68433. return this.file.url;
  68434. },
  68435. get$length(_) {
  68436. return this._end - this._file$_start;
  68437. },
  68438. get$start(_) {
  68439. return A.FileLocation$_(this.file, this._file$_start);
  68440. },
  68441. get$end(_) {
  68442. return A.FileLocation$_(this.file, this._end);
  68443. },
  68444. get$text() {
  68445. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
  68446. },
  68447. get$context(_) {
  68448. var _this = this,
  68449. t1 = _this.file,
  68450. endOffset = _this._end,
  68451. endLine = t1.getLine$1(endOffset);
  68452. if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
  68453. if (endOffset - _this._file$_start === 0)
  68454. 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);
  68455. } else
  68456. endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
  68457. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
  68458. },
  68459. _FileSpan$3(file, _start, _end) {
  68460. var t3,
  68461. t1 = this._end,
  68462. t2 = this._file$_start;
  68463. if (t1 < t2)
  68464. throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
  68465. else {
  68466. t3 = this.file;
  68467. if (t1 > t3._decodedChars.length)
  68468. throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_ + t3.get$length(t3) + "."));
  68469. else if (t2 < 0)
  68470. throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
  68471. }
  68472. },
  68473. compareTo$1(_, other) {
  68474. var result;
  68475. if (!(other instanceof A._FileSpan))
  68476. return this.super$SourceSpanMixin$compareTo(0, other);
  68477. result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
  68478. return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
  68479. },
  68480. $eq(_, other) {
  68481. var _this = this;
  68482. if (other == null)
  68483. return false;
  68484. if (!type$.FileSpan._is(other))
  68485. return _this.super$SourceSpanMixin$$eq(0, other);
  68486. if (!(other instanceof A._FileSpan))
  68487. return _this.super$SourceSpanMixin$$eq(0, other) && J.$eq$(_this.file.url, other.get$sourceUrl(other));
  68488. return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
  68489. },
  68490. get$hashCode(_) {
  68491. return A.Object_hash(this._file$_start, this._end, this.file.url, B.C_SentinelValue);
  68492. },
  68493. expand$1(_, other) {
  68494. var t2, t3, _this = this,
  68495. t1 = _this.file;
  68496. if (!J.$eq$(t1.url, other.get$sourceUrl(other)))
  68497. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  68498. t2 = _this._file$_start;
  68499. t3 = _this._end;
  68500. if (other instanceof A._FileSpan)
  68501. return A._FileSpan$(t1, Math.min(t2, other._file$_start), Math.max(t3, other._end));
  68502. else
  68503. return A._FileSpan$(t1, Math.min(t2, other.get$start(other).offset), Math.max(t3, other.get$end(other).offset));
  68504. },
  68505. $isFileSpan: 1,
  68506. $isSourceSpanWithContext: 1,
  68507. get$file(receiver) {
  68508. return this.file;
  68509. }
  68510. };
  68511. A.Highlighter.prototype = {
  68512. highlight$0() {
  68513. var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
  68514. t1 = _this._lines;
  68515. _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
  68516. t2 = _this._maxMultilineSpans;
  68517. highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
  68518. for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
  68519. line = t1[i];
  68520. if (i > 0) {
  68521. lastLine = t1[i - 1];
  68522. t5 = lastLine.url;
  68523. t6 = line.url;
  68524. if (!J.$eq$(t5, t6)) {
  68525. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  68526. t3._contents += "\n";
  68527. _this._writeFileStart$1(t6);
  68528. } else if (lastLine.number + 1 !== line.number) {
  68529. _this._writeSidebar$1$text("...");
  68530. t3._contents += "\n";
  68531. }
  68532. }
  68533. 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();) {
  68534. t10 = t6.__internal$_current;
  68535. if (t10 == null)
  68536. t10 = t7._as(t10);
  68537. t11 = t10.span;
  68538. 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()))) {
  68539. index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
  68540. if (index < 0)
  68541. A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
  68542. highlightsByColumn[index] = t10;
  68543. }
  68544. }
  68545. _this._writeSidebar$1$line(t8);
  68546. t3._contents += " ";
  68547. _this._writeMultilineHighlights$2(line, highlightsByColumn);
  68548. if (t2)
  68549. t3._contents += " ";
  68550. primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
  68551. primary = primaryIdx === -1 ? _null : t5[primaryIdx];
  68552. t6 = primary != null;
  68553. if (t6) {
  68554. t7 = primary.span;
  68555. t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
  68556. _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
  68557. } else
  68558. _this._writeText$1(t9);
  68559. t3._contents += "\n";
  68560. if (t6)
  68561. _this._writeIndicator$3(line, primary, highlightsByColumn);
  68562. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
  68563. highlight = t5[_i];
  68564. if (highlight.isPrimary)
  68565. continue;
  68566. _this._writeIndicator$3(line, highlight, highlightsByColumn);
  68567. }
  68568. }
  68569. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  68570. t1 = t3._contents;
  68571. return t1.charCodeAt(0) == 0 ? t1 : t1;
  68572. },
  68573. _writeFileStart$1(url) {
  68574. var _this = this,
  68575. t1 = !_this._multipleFiles || !type$.Uri._is(url),
  68576. t2 = $._glyphs;
  68577. if (t1)
  68578. _this._writeSidebar$1$end(t2.get$downEnd());
  68579. else {
  68580. _this._writeSidebar$1$end(t2.get$topLeftCorner());
  68581. _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
  68582. _this._highlighter$_buffer._contents += " " + $.$get$context().prettyUri$1(url);
  68583. }
  68584. _this._highlighter$_buffer._contents += "\n";
  68585. },
  68586. _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
  68587. var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
  68588. _box_0.openedOnThisLine = false;
  68589. _box_0.openedOnThisLineColor = null;
  68590. t1 = current == null;
  68591. if (t1)
  68592. currentColor = null;
  68593. else
  68594. currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
  68595. for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
  68596. highlight = highlightsByColumn[_i];
  68597. t6 = highlight == null;
  68598. if (t6)
  68599. startLine = null;
  68600. else {
  68601. t7 = highlight.span;
  68602. startLine = t7.get$start(t7).get$line();
  68603. }
  68604. if (t6)
  68605. endLine = null;
  68606. else {
  68607. t7 = highlight.span;
  68608. endLine = t7.get$end(t7).get$line();
  68609. }
  68610. if (t1 && highlight === current) {
  68611. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
  68612. foundCurrent = true;
  68613. } else if (foundCurrent)
  68614. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
  68615. else if (t6)
  68616. if (_box_0.openedOnThisLine)
  68617. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
  68618. else
  68619. t5._contents += " ";
  68620. else {
  68621. t6 = highlight.isPrimary ? t4 : t3;
  68622. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
  68623. }
  68624. }
  68625. },
  68626. _writeMultilineHighlights$2(line, highlightsByColumn) {
  68627. return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
  68628. },
  68629. _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
  68630. var _this = this;
  68631. _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
  68632. _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
  68633. _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
  68634. },
  68635. _writeIndicator$3(line, highlight, highlightsByColumn) {
  68636. var t2, coversWholeLine, _this = this,
  68637. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
  68638. t1 = highlight.span;
  68639. if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
  68640. _this._writeSidebar$0();
  68641. t1 = _this._highlighter$_buffer;
  68642. t1._contents += " ";
  68643. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  68644. if (highlightsByColumn.length !== 0)
  68645. t1._contents += " ";
  68646. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color));
  68647. } else {
  68648. t2 = line.number;
  68649. if (t1.get$start(t1).get$line() === t2) {
  68650. if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
  68651. return;
  68652. A.replaceFirstNull(highlightsByColumn, highlight);
  68653. _this._writeSidebar$0();
  68654. t1 = _this._highlighter$_buffer;
  68655. t1._contents += " ";
  68656. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  68657. _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
  68658. t1._contents += "\n";
  68659. } else if (t1.get$end(t1).get$line() === t2) {
  68660. coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
  68661. if (coversWholeLine && highlight.label == null) {
  68662. A.replaceWithNull(highlightsByColumn, highlight);
  68663. return;
  68664. }
  68665. _this._writeSidebar$0();
  68666. _this._highlighter$_buffer._contents += " ";
  68667. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  68668. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color));
  68669. A.replaceWithNull(highlightsByColumn, highlight);
  68670. }
  68671. }
  68672. },
  68673. _writeArrow$3$beginning(line, column, beginning) {
  68674. var t2,
  68675. t1 = beginning ? 0 : 1,
  68676. tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
  68677. t1 = this._highlighter$_buffer;
  68678. t2 = t1._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
  68679. t1._contents = t2 + "^";
  68680. },
  68681. _writeArrow$2(line, column) {
  68682. return this._writeArrow$3$beginning(line, column, true);
  68683. },
  68684. _writeLabel$3(highlight, highlightsByColumn, underlineLength) {
  68685. var lines, color, t1, t2, t3, t4, t5, t6, _i, columnHighlight, _this = this,
  68686. label = highlight.label;
  68687. if (label == null) {
  68688. _this._highlighter$_buffer._contents += "\n";
  68689. return;
  68690. }
  68691. lines = A._setArrayType(label.split("\n"), type$.JSArray_String);
  68692. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor;
  68693. _this._colorize$2$color(new A.Highlighter__writeLabel_closure(_this, lines), color);
  68694. t1 = _this._highlighter$_buffer;
  68695. t1._contents += "\n";
  68696. 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();) {
  68697. t5 = t2.__internal$_current;
  68698. if (t5 == null)
  68699. t5 = t4._as(t5);
  68700. _this._writeSidebar$0();
  68701. t6 = t1._contents += " ";
  68702. for (_i = 0; _i < t3; ++_i) {
  68703. columnHighlight = highlightsByColumn[_i];
  68704. if (columnHighlight == null || columnHighlight === highlight) {
  68705. t6 += " ";
  68706. t1._contents = t6;
  68707. } else
  68708. t6 = t1._contents += $._glyphs.get$verticalLine();
  68709. }
  68710. t1._contents += B.JSString_methods.$mul(" ", underlineLength);
  68711. _this._colorize$2$color(new A.Highlighter__writeLabel_closure0(_this, t5), color);
  68712. t1._contents += "\n";
  68713. }
  68714. },
  68715. _writeText$1(text) {
  68716. var t1, t2, t3, t4;
  68717. 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();) {
  68718. t4 = t1.__internal$_current;
  68719. if (t4 == null)
  68720. t4 = t3._as(t4);
  68721. if (t4 === 9)
  68722. t2._contents += B.JSString_methods.$mul(" ", 4);
  68723. else
  68724. t2._contents += A.Primitives_stringFromCharCode(t4);
  68725. }
  68726. },
  68727. _writeSidebar$3$end$line$text(end, line, text) {
  68728. var t1 = {};
  68729. t1.text = text;
  68730. if (line != null)
  68731. t1.text = B.JSInt_methods.toString$0(line + 1);
  68732. this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
  68733. },
  68734. _writeSidebar$1$end(end) {
  68735. return this._writeSidebar$3$end$line$text(end, null, null);
  68736. },
  68737. _writeSidebar$1$text(text) {
  68738. return this._writeSidebar$3$end$line$text(null, null, text);
  68739. },
  68740. _writeSidebar$1$line(line) {
  68741. return this._writeSidebar$3$end$line$text(null, line, null);
  68742. },
  68743. _writeSidebar$0() {
  68744. return this._writeSidebar$3$end$line$text(null, null, null);
  68745. },
  68746. _countTabs$1(text) {
  68747. var t1, t2, count, t3;
  68748. 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();) {
  68749. t3 = t1.__internal$_current;
  68750. if ((t3 == null ? t2._as(t3) : t3) === 9)
  68751. ++count;
  68752. }
  68753. return count;
  68754. },
  68755. _isOnlyWhitespace$1(text) {
  68756. var t1, t2, t3;
  68757. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  68758. t3 = t1.__internal$_current;
  68759. if (t3 == null)
  68760. t3 = t2._as(t3);
  68761. if (t3 !== 32 && t3 !== 9)
  68762. return false;
  68763. }
  68764. return true;
  68765. },
  68766. _colorize$1$2$color(callback, color) {
  68767. var result,
  68768. t1 = this._primaryColor != null;
  68769. if (t1 && color != null)
  68770. this._highlighter$_buffer._contents += color;
  68771. result = callback.call$0();
  68772. if (t1 && color != null)
  68773. this._highlighter$_buffer._contents += "\x1b[0m";
  68774. return result;
  68775. },
  68776. _colorize$2$color(callback, color) {
  68777. return this._colorize$1$2$color(callback, color, type$.dynamic);
  68778. }
  68779. };
  68780. A.Highlighter_closure.prototype = {
  68781. call$0() {
  68782. var t1 = this.color,
  68783. t2 = J.getInterceptor$(t1);
  68784. if (t2.$eq(t1, true))
  68785. return "\x1b[31m";
  68786. if (t2.$eq(t1, false))
  68787. return null;
  68788. return A._asStringQ(t1);
  68789. },
  68790. $signature: 43
  68791. };
  68792. A.Highlighter$__closure.prototype = {
  68793. call$1(line) {
  68794. var t1 = line.highlights;
  68795. t1 = new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"));
  68796. return t1.get$length(t1);
  68797. },
  68798. $signature: 279
  68799. };
  68800. A.Highlighter$___closure.prototype = {
  68801. call$1(highlight) {
  68802. var t1 = highlight.span;
  68803. return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
  68804. },
  68805. $signature: 135
  68806. };
  68807. A.Highlighter$__closure0.prototype = {
  68808. call$1(line) {
  68809. return line.url;
  68810. },
  68811. $signature: 281
  68812. };
  68813. A.Highlighter__collateLines_closure.prototype = {
  68814. call$1(highlight) {
  68815. var t1 = highlight.span;
  68816. t1 = t1.get$sourceUrl(t1);
  68817. return t1 == null ? new A.Object() : t1;
  68818. },
  68819. $signature: 282
  68820. };
  68821. A.Highlighter__collateLines_closure0.prototype = {
  68822. call$2(highlight1, highlight2) {
  68823. return highlight1.span.compareTo$1(0, highlight2.span);
  68824. },
  68825. $signature: 283
  68826. };
  68827. A.Highlighter__collateLines_closure1.prototype = {
  68828. call$1(entry) {
  68829. var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength,
  68830. url = entry.key,
  68831. highlightsForFile = entry.value,
  68832. lines = A._setArrayType([], type$.JSArray__Line);
  68833. for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
  68834. t4 = t2.get$current(t2).span;
  68835. context = t4.get$context(t4);
  68836. t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
  68837. t5.toString;
  68838. t5 = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5));
  68839. linesBeforeSpan = t5.get$length(t5);
  68840. lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
  68841. for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
  68842. line = t4[_i];
  68843. if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
  68844. lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
  68845. ++lineNumber;
  68846. }
  68847. }
  68848. activeHighlights = A._setArrayType([], t3);
  68849. for (t2 = lines.length, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
  68850. line = lines[_i];
  68851. if (!!activeHighlights.fixed$length)
  68852. A.throwExpression(A.UnsupportedError$("removeWhere"));
  68853. B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
  68854. oldHighlightLength = activeHighlights.length;
  68855. for (t3 = t1.skip$1(highlightsForFile, highlightIndex), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  68856. t4 = t3.get$current(t3);
  68857. t5 = t4.span;
  68858. if (t5.get$start(t5).get$line() > line.number)
  68859. break;
  68860. activeHighlights.push(t4);
  68861. }
  68862. highlightIndex += activeHighlights.length - oldHighlightLength;
  68863. B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
  68864. }
  68865. return lines;
  68866. },
  68867. $signature: 284
  68868. };
  68869. A.Highlighter__collateLines__closure.prototype = {
  68870. call$1(highlight) {
  68871. var t1 = highlight.span;
  68872. return t1.get$end(t1).get$line() < this.line.number;
  68873. },
  68874. $signature: 135
  68875. };
  68876. A.Highlighter_highlight_closure.prototype = {
  68877. call$1(highlight) {
  68878. return highlight.isPrimary;
  68879. },
  68880. $signature: 135
  68881. };
  68882. A.Highlighter__writeFileStart_closure.prototype = {
  68883. call$0() {
  68884. this.$this._highlighter$_buffer._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
  68885. return null;
  68886. },
  68887. $signature: 0
  68888. };
  68889. A.Highlighter__writeMultilineHighlights_closure.prototype = {
  68890. call$0() {
  68891. var t1 = $._glyphs;
  68892. t1 = this.startLine === this.line.number ? t1.get$topLeftCorner() : t1.get$bottomLeftCorner();
  68893. this.$this._highlighter$_buffer._contents += t1;
  68894. },
  68895. $signature: 1
  68896. };
  68897. A.Highlighter__writeMultilineHighlights_closure0.prototype = {
  68898. call$0() {
  68899. var t1 = $._glyphs;
  68900. t1 = this.highlight == null ? t1.get$horizontalLine() : t1.get$cross();
  68901. this.$this._highlighter$_buffer._contents += t1;
  68902. },
  68903. $signature: 1
  68904. };
  68905. A.Highlighter__writeMultilineHighlights_closure1.prototype = {
  68906. call$0() {
  68907. this.$this._highlighter$_buffer._contents += $._glyphs.get$horizontalLine();
  68908. return null;
  68909. },
  68910. $signature: 0
  68911. };
  68912. A.Highlighter__writeMultilineHighlights_closure2.prototype = {
  68913. call$0() {
  68914. var _this = this,
  68915. t1 = _this._box_0,
  68916. t2 = t1.openedOnThisLine,
  68917. t3 = $._glyphs,
  68918. vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
  68919. if (_this.current != null)
  68920. _this.$this._highlighter$_buffer._contents += vertical;
  68921. else {
  68922. t2 = _this.line;
  68923. t3 = t2.number;
  68924. if (_this.startLine === t3) {
  68925. t2 = _this.$this;
  68926. t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
  68927. t1.openedOnThisLine = true;
  68928. if (t1.openedOnThisLineColor == null)
  68929. t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
  68930. } else {
  68931. if (_this.endLine === t3) {
  68932. t3 = _this.highlight.span;
  68933. t2 = t3.get$end(t3).get$column() === t2.text.length;
  68934. } else
  68935. t2 = false;
  68936. t3 = _this.$this;
  68937. if (t2) {
  68938. t1 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
  68939. t3._highlighter$_buffer._contents += t1;
  68940. } else
  68941. t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
  68942. }
  68943. }
  68944. },
  68945. $signature: 1
  68946. };
  68947. A.Highlighter__writeMultilineHighlights__closure.prototype = {
  68948. call$0() {
  68949. var t1 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
  68950. this.$this._highlighter$_buffer._contents += $._glyphs.glyphOrAscii$2(t1, "/");
  68951. },
  68952. $signature: 1
  68953. };
  68954. A.Highlighter__writeMultilineHighlights__closure0.prototype = {
  68955. call$0() {
  68956. this.$this._highlighter$_buffer._contents += this.vertical;
  68957. },
  68958. $signature: 1
  68959. };
  68960. A.Highlighter__writeHighlightedText_closure.prototype = {
  68961. call$0() {
  68962. var _this = this;
  68963. return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
  68964. },
  68965. $signature: 0
  68966. };
  68967. A.Highlighter__writeIndicator_closure.prototype = {
  68968. call$0() {
  68969. var startColumn, endColumn, tabsBefore, tabsInside,
  68970. t1 = this.$this,
  68971. t2 = t1._highlighter$_buffer,
  68972. t3 = t2._contents,
  68973. t4 = this.highlight,
  68974. t5 = t4.span;
  68975. t4 = t4.isPrimary ? "^" : $._glyphs.get$horizontalLineBold();
  68976. startColumn = t5.get$start(t5).get$column();
  68977. endColumn = t5.get$end(t5).get$column();
  68978. t5 = this.line.text;
  68979. tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t5, 0, startColumn));
  68980. tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t5, startColumn, endColumn));
  68981. startColumn += tabsBefore * 3;
  68982. t2._contents += B.JSString_methods.$mul(" ", startColumn);
  68983. t4 = t2._contents += B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
  68984. return t4.length - t3.length;
  68985. },
  68986. $signature: 12
  68987. };
  68988. A.Highlighter__writeIndicator_closure0.prototype = {
  68989. call$0() {
  68990. var t1 = this.highlight.span;
  68991. return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
  68992. },
  68993. $signature: 0
  68994. };
  68995. A.Highlighter__writeIndicator_closure1.prototype = {
  68996. call$0() {
  68997. var t4, _this = this,
  68998. t1 = _this.$this,
  68999. t2 = t1._highlighter$_buffer,
  69000. t3 = t2._contents;
  69001. if (_this.coversWholeLine)
  69002. t2._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
  69003. else {
  69004. t4 = _this.highlight.span;
  69005. t1._writeArrow$3$beginning(_this.line, Math.max(t4.get$end(t4).get$column() - 1, 0), false);
  69006. }
  69007. return t2._contents.length - t3.length;
  69008. },
  69009. $signature: 12
  69010. };
  69011. A.Highlighter__writeLabel_closure.prototype = {
  69012. call$0() {
  69013. this.$this._highlighter$_buffer._contents += " " + A.S(B.JSArray_methods.get$first(this.lines));
  69014. return null;
  69015. },
  69016. $signature: 0
  69017. };
  69018. A.Highlighter__writeLabel_closure0.prototype = {
  69019. call$0() {
  69020. this.$this._highlighter$_buffer._contents += " " + this.text;
  69021. return null;
  69022. },
  69023. $signature: 0
  69024. };
  69025. A.Highlighter__writeSidebar_closure.prototype = {
  69026. call$0() {
  69027. var t1 = this.$this,
  69028. t2 = t1._highlighter$_buffer,
  69029. t3 = this._box_0.text;
  69030. if (t3 == null)
  69031. t3 = "";
  69032. t2._contents += B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
  69033. t1 = this.end;
  69034. t2._contents += t1 == null ? $._glyphs.get$verticalLine() : t1;
  69035. },
  69036. $signature: 1
  69037. };
  69038. A._Highlight.prototype = {
  69039. toString$0(_) {
  69040. var t1 = this.isPrimary ? "" + "primary " : "",
  69041. t2 = this.span;
  69042. 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());
  69043. t1 = this.label;
  69044. t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
  69045. return t1.charCodeAt(0) == 0 ? t1 : t1;
  69046. }
  69047. };
  69048. A._Highlight_closure.prototype = {
  69049. call$0() {
  69050. var t2, t3, t4, t5,
  69051. t1 = this.span;
  69052. if (!(type$.SourceSpanWithContext._is(t1) && A.findLineStart(t1.get$context(t1), t1.get$text(), t1.get$start(t1).get$column()) != null)) {
  69053. t2 = A.SourceLocation$(t1.get$start(t1).get$offset(), 0, 0, t1.get$sourceUrl(t1));
  69054. t3 = t1.get$end(t1).get$offset();
  69055. t4 = t1.get$sourceUrl(t1);
  69056. t5 = A.countCodeUnits(t1.get$text(), 10);
  69057. t1 = A.SourceSpanWithContext$(t2, A.SourceLocation$(t3, A._Highlight__lastLineLength(t1.get$text()), t5, t4), t1.get$text(), t1.get$text());
  69058. }
  69059. return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(t1)));
  69060. },
  69061. $signature: 285
  69062. };
  69063. A._Line.prototype = {
  69064. toString$0(_) {
  69065. return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
  69066. }
  69067. };
  69068. A.SourceLocation.prototype = {
  69069. distance$1(other) {
  69070. var t1 = this.sourceUrl;
  69071. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  69072. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  69073. return Math.abs(this.offset - other.get$offset());
  69074. },
  69075. compareTo$1(_, other) {
  69076. var t1 = this.sourceUrl;
  69077. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  69078. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  69079. return this.offset - other.get$offset();
  69080. },
  69081. $eq(_, other) {
  69082. if (other == null)
  69083. return false;
  69084. return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  69085. },
  69086. get$hashCode(_) {
  69087. var t1 = this.sourceUrl;
  69088. t1 = t1 == null ? null : t1.get$hashCode(t1);
  69089. if (t1 == null)
  69090. t1 = 0;
  69091. return t1 + this.offset;
  69092. },
  69093. toString$0(_) {
  69094. var _this = this,
  69095. t1 = A.getRuntimeTypeOfDartObject(_this).toString$0(0),
  69096. source = _this.sourceUrl;
  69097. return "<" + t1 + ": " + _this.offset + " " + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
  69098. },
  69099. $isComparable: 1,
  69100. get$sourceUrl(receiver) {
  69101. return this.sourceUrl;
  69102. },
  69103. get$offset() {
  69104. return this.offset;
  69105. },
  69106. get$line() {
  69107. return this.line;
  69108. },
  69109. get$column() {
  69110. return this.column;
  69111. }
  69112. };
  69113. A.SourceLocationMixin.prototype = {
  69114. distance$1(other) {
  69115. var _this = this;
  69116. if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
  69117. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  69118. return Math.abs(_this.offset - other.get$offset());
  69119. },
  69120. compareTo$1(_, other) {
  69121. var _this = this;
  69122. if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
  69123. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  69124. return _this.offset - other.get$offset();
  69125. },
  69126. $eq(_, other) {
  69127. if (other == null)
  69128. return false;
  69129. return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  69130. },
  69131. get$hashCode(_) {
  69132. var t1 = this.file.url;
  69133. t1 = t1 == null ? null : t1.get$hashCode(t1);
  69134. if (t1 == null)
  69135. t1 = 0;
  69136. return t1 + this.offset;
  69137. },
  69138. toString$0(_) {
  69139. var t1 = A.getRuntimeTypeOfDartObject(this).toString$0(0),
  69140. t2 = this.offset,
  69141. t3 = this.file,
  69142. source = t3.url;
  69143. return "<" + t1 + ": " + t2 + " " + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t2) + 1) + ":" + (t3.getColumn$1(t2) + 1)) + ">";
  69144. },
  69145. $isComparable: 1,
  69146. $isSourceLocation: 1
  69147. };
  69148. A.SourceSpanBase.prototype = {
  69149. SourceSpanBase$3(start, end, text) {
  69150. var t3,
  69151. t1 = this.end,
  69152. t2 = this.start;
  69153. if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
  69154. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
  69155. else if (t1.get$offset() < t2.get$offset())
  69156. throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
  69157. else {
  69158. t3 = this.text;
  69159. if (t3.length !== t2.distance$1(t1))
  69160. throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
  69161. }
  69162. },
  69163. get$start(receiver) {
  69164. return this.start;
  69165. },
  69166. get$end(receiver) {
  69167. return this.end;
  69168. },
  69169. get$text() {
  69170. return this.text;
  69171. }
  69172. };
  69173. A.SourceSpanException.prototype = {
  69174. get$message(_) {
  69175. return this._span_exception$_message;
  69176. },
  69177. get$span(_) {
  69178. return this._span;
  69179. },
  69180. toString$1$color(_, color) {
  69181. var _this = this;
  69182. _this.get$span(_this);
  69183. return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
  69184. },
  69185. toString$0($receiver) {
  69186. return this.toString$1$color($receiver, null);
  69187. },
  69188. $isException: 1
  69189. };
  69190. A.SourceSpanFormatException.prototype = {$isFormatException: 1,
  69191. get$source() {
  69192. return this.source;
  69193. }
  69194. };
  69195. A.MultiSourceSpanException.prototype = {
  69196. toString$0(_) {
  69197. var _this = this;
  69198. return "Error on " + A.SourceSpanExtension_messageMultiple(_this._span, _this._span_exception$_message, _this.primaryLabel, _this.secondarySpans, false, null, null);
  69199. },
  69200. get$primaryLabel() {
  69201. return this.primaryLabel;
  69202. },
  69203. get$secondarySpans() {
  69204. return this.secondarySpans;
  69205. }
  69206. };
  69207. A.MultiSourceSpanFormatException.prototype = {$isFormatException: 1};
  69208. A.SourceSpanMixin.prototype = {
  69209. get$sourceUrl(_) {
  69210. var t1 = this.get$start(this);
  69211. return t1.get$sourceUrl(t1);
  69212. },
  69213. get$length(_) {
  69214. var _this = this;
  69215. return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
  69216. },
  69217. compareTo$1(_, other) {
  69218. var _this = this,
  69219. result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
  69220. return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
  69221. },
  69222. message$2$color(_, message, color) {
  69223. var t2, highlight, _this = this,
  69224. t1 = "" + ("line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1));
  69225. if (_this.get$sourceUrl(_this) != null) {
  69226. t2 = _this.get$sourceUrl(_this);
  69227. t2 = t1 + (" of " + $.$get$context().prettyUri$1(t2));
  69228. t1 = t2;
  69229. }
  69230. t1 += ": " + message;
  69231. highlight = _this.highlight$1$color(color);
  69232. if (highlight.length !== 0)
  69233. t1 = t1 + "\n" + highlight;
  69234. return t1.charCodeAt(0) == 0 ? t1 : t1;
  69235. },
  69236. message$1($receiver, message) {
  69237. return this.message$2$color($receiver, message, null);
  69238. },
  69239. highlight$1$color(color) {
  69240. var _this = this;
  69241. if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
  69242. return "";
  69243. return A.Highlighter$(_this, color).highlight$0();
  69244. },
  69245. $eq(_, other) {
  69246. var _this = this;
  69247. if (other == null)
  69248. return false;
  69249. 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));
  69250. },
  69251. get$hashCode(_) {
  69252. var _this = this;
  69253. return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue, B.C_SentinelValue);
  69254. },
  69255. toString$0(_) {
  69256. var _this = this;
  69257. return "<" + A.getRuntimeTypeOfDartObject(_this).toString$0(0) + ": from " + _this.get$start(_this).toString$0(0) + " to " + _this.get$end(_this).toString$0(0) + ' "' + _this.get$text() + '">';
  69258. },
  69259. $isComparable: 1,
  69260. $isSourceSpan: 1
  69261. };
  69262. A.SourceSpanWithContext.prototype = {
  69263. get$context(_) {
  69264. return this._context;
  69265. }
  69266. };
  69267. A.Chain.prototype = {
  69268. toTrace$0() {
  69269. var t1 = this.traces;
  69270. return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
  69271. },
  69272. toString$0(_) {
  69273. var t1 = this.traces,
  69274. t2 = A._arrayInstanceType(t1);
  69275. 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_____);
  69276. },
  69277. $isStackTrace: 1
  69278. };
  69279. A.Chain_Chain$parse_closure.prototype = {
  69280. call$1(line) {
  69281. return line.length !== 0;
  69282. },
  69283. $signature: 8
  69284. };
  69285. A.Chain_toTrace_closure.prototype = {
  69286. call$1(trace) {
  69287. return trace.get$frames();
  69288. },
  69289. $signature: 286
  69290. };
  69291. A.Chain_toString_closure0.prototype = {
  69292. call$1(trace) {
  69293. var t1 = trace.get$frames();
  69294. return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
  69295. },
  69296. $signature: 287
  69297. };
  69298. A.Chain_toString__closure0.prototype = {
  69299. call$1(frame) {
  69300. return frame.get$location().length;
  69301. },
  69302. $signature: 143
  69303. };
  69304. A.Chain_toString_closure.prototype = {
  69305. call$1(trace) {
  69306. var t1 = trace.get$frames();
  69307. return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  69308. },
  69309. $signature: 289
  69310. };
  69311. A.Chain_toString__closure.prototype = {
  69312. call$1(frame) {
  69313. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  69314. },
  69315. $signature: 144
  69316. };
  69317. A.Frame.prototype = {
  69318. get$isCore() {
  69319. return this.uri.get$scheme() === "dart";
  69320. },
  69321. get$library() {
  69322. var t1 = this.uri;
  69323. if (t1.get$scheme() === "data")
  69324. return "data:...";
  69325. return $.$get$context().prettyUri$1(t1);
  69326. },
  69327. get$$package() {
  69328. var t1 = this.uri;
  69329. if (t1.get$scheme() !== "package")
  69330. return null;
  69331. return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
  69332. },
  69333. get$location() {
  69334. var t2, _this = this,
  69335. t1 = _this.line;
  69336. if (t1 == null)
  69337. return _this.get$library();
  69338. t2 = _this.column;
  69339. if (t2 == null)
  69340. return _this.get$library() + " " + A.S(t1);
  69341. return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
  69342. },
  69343. toString$0(_) {
  69344. return this.get$location() + " in " + A.S(this.member);
  69345. },
  69346. get$uri() {
  69347. return this.uri;
  69348. },
  69349. get$line() {
  69350. return this.line;
  69351. },
  69352. get$column() {
  69353. return this.column;
  69354. },
  69355. get$member() {
  69356. return this.member;
  69357. }
  69358. };
  69359. A.Frame_Frame$parseVM_closure.prototype = {
  69360. call$0() {
  69361. var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
  69362. t1 = this.frame;
  69363. if (t1 === "...")
  69364. return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
  69365. match = $.$get$_vmFrame().firstMatch$1(t1);
  69366. if (match == null)
  69367. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  69368. t1 = match._match;
  69369. t2 = t1[1];
  69370. t2.toString;
  69371. t3 = $.$get$_asyncBody();
  69372. t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
  69373. member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
  69374. t2 = t1[2];
  69375. t3 = t2;
  69376. t3.toString;
  69377. if (B.JSString_methods.startsWith$1(t3, "<data:"))
  69378. uri = A.Uri_Uri$dataFromString("", _null, _null);
  69379. else {
  69380. t2 = t2;
  69381. t2.toString;
  69382. uri = A.Uri_parse(t2);
  69383. }
  69384. lineAndColumn = t1[3].split(":");
  69385. t1 = lineAndColumn.length;
  69386. line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
  69387. return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
  69388. },
  69389. $signature: 68
  69390. };
  69391. A.Frame_Frame$parseV8_closure.prototype = {
  69392. call$0() {
  69393. var t2, t3, _s4_ = "<fn>",
  69394. t1 = this.frame,
  69395. match = $.$get$_v8Frame().firstMatch$1(t1);
  69396. if (match == null)
  69397. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
  69398. t1 = new A.Frame_Frame$parseV8_closure_parseLocation(t1);
  69399. t2 = match._match;
  69400. t3 = t2[2];
  69401. if (t3 != null) {
  69402. t3 = t3;
  69403. t3.toString;
  69404. t2 = t2[1];
  69405. t2.toString;
  69406. t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
  69407. t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
  69408. return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
  69409. } else {
  69410. t2 = t2[3];
  69411. t2.toString;
  69412. return t1.call$2(t2, _s4_);
  69413. }
  69414. },
  69415. $signature: 68
  69416. };
  69417. A.Frame_Frame$parseV8_closure_parseLocation.prototype = {
  69418. call$2($location, member) {
  69419. var t2, urlMatch, uri, line, columnMatch, _null = null,
  69420. t1 = $.$get$_v8EvalLocation(),
  69421. evalMatch = t1.firstMatch$1($location);
  69422. for (; evalMatch != null; $location = t2) {
  69423. t2 = evalMatch._match[1];
  69424. t2.toString;
  69425. evalMatch = t1.firstMatch$1(t2);
  69426. }
  69427. if ($location === "native")
  69428. return new A.Frame(A.Uri_parse("native"), _null, _null, member);
  69429. urlMatch = $.$get$_v8UrlLocation().firstMatch$1($location);
  69430. if (urlMatch == null)
  69431. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
  69432. t1 = urlMatch._match;
  69433. t2 = t1[1];
  69434. t2.toString;
  69435. uri = A.Frame__uriOrPathToUri(t2);
  69436. t2 = t1[2];
  69437. t2.toString;
  69438. line = A.int_parse(t2, _null);
  69439. columnMatch = t1[3];
  69440. return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
  69441. },
  69442. $signature: 292
  69443. };
  69444. A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
  69445. call$0() {
  69446. var t2, member, uri, line, _null = null,
  69447. t1 = this.frame,
  69448. match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
  69449. if (match == null)
  69450. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  69451. t1 = match._match;
  69452. t2 = t1[1];
  69453. t2.toString;
  69454. member = A.stringReplaceAllUnchecked(t2, "/<", "");
  69455. t2 = t1[2];
  69456. t2.toString;
  69457. uri = A.Frame__uriOrPathToUri(t2);
  69458. t1 = t1[3];
  69459. t1.toString;
  69460. line = A.int_parse(t1, _null);
  69461. return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
  69462. },
  69463. $signature: 68
  69464. };
  69465. A.Frame_Frame$parseFirefox_closure.prototype = {
  69466. call$0() {
  69467. var t2, t3, t4, uri, member, line, column, _null = null,
  69468. t1 = this.frame,
  69469. match = $.$get$_firefoxSafariFrame().firstMatch$1(t1);
  69470. if (match == null)
  69471. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  69472. t2 = match._match;
  69473. t3 = t2[3];
  69474. t4 = t3;
  69475. t4.toString;
  69476. if (B.JSString_methods.contains$1(t4, " line "))
  69477. return A.Frame_Frame$_parseFirefoxEval(t1);
  69478. t1 = t3;
  69479. t1.toString;
  69480. uri = A.Frame__uriOrPathToUri(t1);
  69481. member = t2[1];
  69482. if (member != null) {
  69483. t1 = t2[2];
  69484. t1.toString;
  69485. t1 = B.JSString_methods.allMatches$1("/", t1);
  69486. member += B.JSArray_methods.join$0(A.List_List$filled(t1.get$length(t1), ".<fn>", false, type$.String));
  69487. if (member === "")
  69488. member = "<fn>";
  69489. member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
  69490. } else
  69491. member = "<fn>";
  69492. t1 = t2[4];
  69493. if (t1 === "")
  69494. line = _null;
  69495. else {
  69496. t1 = t1;
  69497. t1.toString;
  69498. line = A.int_parse(t1, _null);
  69499. }
  69500. t1 = t2[5];
  69501. if (t1 == null || t1 === "")
  69502. column = _null;
  69503. else {
  69504. t1 = t1;
  69505. t1.toString;
  69506. column = A.int_parse(t1, _null);
  69507. }
  69508. return new A.Frame(uri, line, column, member);
  69509. },
  69510. $signature: 68
  69511. };
  69512. A.Frame_Frame$parseFriendly_closure.prototype = {
  69513. call$0() {
  69514. var t2, uri, line, column, _null = null,
  69515. t1 = this.frame,
  69516. match = $.$get$_friendlyFrame().firstMatch$1(t1);
  69517. if (match == null)
  69518. throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
  69519. t1 = match._match;
  69520. t2 = t1[1];
  69521. if (t2 === "data:...")
  69522. uri = A.Uri_Uri$dataFromString("", _null, _null);
  69523. else {
  69524. t2 = t2;
  69525. t2.toString;
  69526. uri = A.Uri_parse(t2);
  69527. }
  69528. if (uri.get$scheme() === "") {
  69529. t2 = $.$get$context();
  69530. 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));
  69531. }
  69532. t2 = t1[2];
  69533. if (t2 == null)
  69534. line = _null;
  69535. else {
  69536. t2 = t2;
  69537. t2.toString;
  69538. line = A.int_parse(t2, _null);
  69539. }
  69540. t2 = t1[3];
  69541. if (t2 == null)
  69542. column = _null;
  69543. else {
  69544. t2 = t2;
  69545. t2.toString;
  69546. column = A.int_parse(t2, _null);
  69547. }
  69548. return new A.Frame(uri, line, column, t1[4]);
  69549. },
  69550. $signature: 68
  69551. };
  69552. A.LazyTrace.prototype = {
  69553. get$_lazy_trace$_trace() {
  69554. var result, _this = this,
  69555. value = _this.__LazyTrace__trace_FI;
  69556. if (value === $) {
  69557. result = _this._thunk.call$0();
  69558. _this.__LazyTrace__trace_FI !== $ && A.throwUnnamedLateFieldADI();
  69559. _this.__LazyTrace__trace_FI = result;
  69560. value = result;
  69561. }
  69562. return value;
  69563. },
  69564. get$frames() {
  69565. return this.get$_lazy_trace$_trace().get$frames();
  69566. },
  69567. get$terse() {
  69568. return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
  69569. },
  69570. toString$0(_) {
  69571. return this.get$_lazy_trace$_trace().toString$0(0);
  69572. },
  69573. $isStackTrace: 1,
  69574. $isTrace: 1
  69575. };
  69576. A.LazyTrace_terse_closure.prototype = {
  69577. call$0() {
  69578. return this.$this.get$_lazy_trace$_trace().get$terse();
  69579. },
  69580. $signature: 146
  69581. };
  69582. A.Trace.prototype = {
  69583. get$terse() {
  69584. return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
  69585. },
  69586. foldFrames$2$terse(predicate, terse) {
  69587. var newFrames, t1, t2, t3, _box_0 = {};
  69588. _box_0.predicate = predicate;
  69589. _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
  69590. newFrames = A._setArrayType([], type$.JSArray_Frame);
  69591. 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();) {
  69592. t3 = t1.__internal$_current;
  69593. if (t3 == null)
  69594. t3 = t2._as(t3);
  69595. if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
  69596. newFrames.push(t3);
  69597. else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
  69598. newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
  69599. }
  69600. t1 = type$.MappedListIterable_Frame_Frame;
  69601. newFrames = A.List_List$of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), true, t1._eval$1("ListIterable.E"));
  69602. if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
  69603. B.JSArray_methods.removeAt$1(newFrames, 0);
  69604. return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
  69605. },
  69606. toString$0(_) {
  69607. var t1 = this.frames,
  69608. t2 = A._arrayInstanceType(t1);
  69609. 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);
  69610. },
  69611. $isStackTrace: 1,
  69612. get$frames() {
  69613. return this.frames;
  69614. }
  69615. };
  69616. A.Trace_Trace$from_closure.prototype = {
  69617. call$0() {
  69618. return A.Trace_Trace$parse(this.trace.toString$0(0));
  69619. },
  69620. $signature: 146
  69621. };
  69622. A.Trace__parseVM_closure.prototype = {
  69623. call$1(line) {
  69624. return line.length !== 0;
  69625. },
  69626. $signature: 8
  69627. };
  69628. A.Trace$parseV8_closure.prototype = {
  69629. call$1(line) {
  69630. return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
  69631. },
  69632. $signature: 8
  69633. };
  69634. A.Trace$parseJSCore_closure.prototype = {
  69635. call$1(line) {
  69636. return line !== "\tat ";
  69637. },
  69638. $signature: 8
  69639. };
  69640. A.Trace$parseFirefox_closure.prototype = {
  69641. call$1(line) {
  69642. return line.length !== 0 && line !== "[native code]";
  69643. },
  69644. $signature: 8
  69645. };
  69646. A.Trace$parseFriendly_closure.prototype = {
  69647. call$1(line) {
  69648. return !B.JSString_methods.startsWith$1(line, "=====");
  69649. },
  69650. $signature: 8
  69651. };
  69652. A.Trace_terse_closure.prototype = {
  69653. call$1(_) {
  69654. return false;
  69655. },
  69656. $signature: 147
  69657. };
  69658. A.Trace_foldFrames_closure.prototype = {
  69659. call$1(frame) {
  69660. var t1;
  69661. if (this.oldPredicate.call$1(frame))
  69662. return true;
  69663. if (frame.get$isCore())
  69664. return true;
  69665. if (frame.get$$package() === "stack_trace")
  69666. return true;
  69667. t1 = frame.get$member();
  69668. t1.toString;
  69669. if (!B.JSString_methods.contains$1(t1, "<async>"))
  69670. return false;
  69671. return frame.get$line() == null;
  69672. },
  69673. $signature: 147
  69674. };
  69675. A.Trace_foldFrames_closure0.prototype = {
  69676. call$1(frame) {
  69677. var t1, t2;
  69678. if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
  69679. return frame;
  69680. t1 = frame.get$library();
  69681. t2 = $.$get$_terseRegExp();
  69682. return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
  69683. },
  69684. $signature: 295
  69685. };
  69686. A.Trace_toString_closure0.prototype = {
  69687. call$1(frame) {
  69688. return frame.get$location().length;
  69689. },
  69690. $signature: 143
  69691. };
  69692. A.Trace_toString_closure.prototype = {
  69693. call$1(frame) {
  69694. if (frame instanceof A.UnparsedFrame)
  69695. return frame.toString$0(0) + "\n";
  69696. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  69697. },
  69698. $signature: 144
  69699. };
  69700. A.UnparsedFrame.prototype = {
  69701. toString$0(_) {
  69702. return this.member;
  69703. },
  69704. $isFrame: 1,
  69705. get$uri() {
  69706. return this.uri;
  69707. },
  69708. get$line() {
  69709. return null;
  69710. },
  69711. get$column() {
  69712. return null;
  69713. },
  69714. get$isCore() {
  69715. return false;
  69716. },
  69717. get$library() {
  69718. return "unparsed";
  69719. },
  69720. get$$package() {
  69721. return null;
  69722. },
  69723. get$location() {
  69724. return "unparsed";
  69725. },
  69726. get$member() {
  69727. return this.member;
  69728. }
  69729. };
  69730. A.TransformByHandlers_transformByHandlers_closure.prototype = {
  69731. call$0() {
  69732. var t2, subscription, t3, t4, _this = this, t1 = {};
  69733. t1.valuesDone = false;
  69734. t2 = _this.controller;
  69735. 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));
  69736. t3 = _this._box_1;
  69737. t3.subscription = subscription;
  69738. t2.set$onPause(subscription.get$pause(subscription));
  69739. t4 = t3.subscription;
  69740. t2.set$onResume(t4.get$resume(t4));
  69741. t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
  69742. },
  69743. $signature: 0
  69744. };
  69745. A.TransformByHandlers_transformByHandlers__closure.prototype = {
  69746. call$1(value) {
  69747. return this.handleData.call$2(value, this.controller);
  69748. },
  69749. $signature() {
  69750. return this.S._eval$1("~(0)");
  69751. }
  69752. };
  69753. A.TransformByHandlers_transformByHandlers__closure1.prototype = {
  69754. call$2(error, stackTrace) {
  69755. this.handleError.call$3(error, stackTrace, this.controller);
  69756. },
  69757. $signature: 65
  69758. };
  69759. A.TransformByHandlers_transformByHandlers__closure0.prototype = {
  69760. call$0() {
  69761. this._box_0.valuesDone = true;
  69762. this.handleDone.call$1(this.controller);
  69763. },
  69764. $signature: 0
  69765. };
  69766. A.TransformByHandlers_transformByHandlers__closure2.prototype = {
  69767. call$0() {
  69768. var t1 = this._box_1,
  69769. toCancel = t1.subscription;
  69770. t1.subscription = null;
  69771. if (!this._box_0.valuesDone)
  69772. return toCancel.cancel$0();
  69773. return null;
  69774. },
  69775. $signature: 219
  69776. };
  69777. A.RateLimit__debounceAggregate_closure.prototype = {
  69778. call$2(value, sink) {
  69779. var _this = this,
  69780. t1 = _this._box_0,
  69781. t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
  69782. t3 = t1.timer;
  69783. if (t3 != null)
  69784. t3.cancel$0();
  69785. t1.soFar = _this.collect.call$2(value, t1.soFar);
  69786. t1.hasPending = true;
  69787. if (t1.timer == null && _this.leading) {
  69788. t1.emittedLatestAsLeading = true;
  69789. t2.call$0();
  69790. } else
  69791. t1.emittedLatestAsLeading = false;
  69792. t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
  69793. },
  69794. $signature() {
  69795. return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
  69796. }
  69797. };
  69798. A.RateLimit__debounceAggregate_closure_emit.prototype = {
  69799. call$0() {
  69800. var t1 = this._box_0,
  69801. t2 = t1.soFar;
  69802. if (t2 == null)
  69803. t2 = this.S._as(t2);
  69804. this.sink.add$1(0, t2);
  69805. t1.soFar = null;
  69806. t1.hasPending = false;
  69807. },
  69808. $signature: 0
  69809. };
  69810. A.RateLimit__debounceAggregate__closure.prototype = {
  69811. call$0() {
  69812. var t1 = this._box_0,
  69813. t2 = t1.emittedLatestAsLeading;
  69814. if (!t2)
  69815. this.emit.call$0();
  69816. if (t1.shouldClose)
  69817. this.sink.close$0(0);
  69818. t1.timer = null;
  69819. },
  69820. $signature: 0
  69821. };
  69822. A.RateLimit__debounceAggregate_closure0.prototype = {
  69823. call$1(sink) {
  69824. var t1 = this._box_0;
  69825. if (t1.hasPending && this.trailing)
  69826. t1.shouldClose = true;
  69827. else {
  69828. t1 = t1.timer;
  69829. if (t1 != null)
  69830. t1.cancel$0();
  69831. sink.close$0(0);
  69832. }
  69833. },
  69834. $signature() {
  69835. return this.S._eval$1("~(EventSink<0>)");
  69836. }
  69837. };
  69838. A.StringScannerException.prototype = {
  69839. get$source() {
  69840. return A._asString(this.source);
  69841. }
  69842. };
  69843. A.LineScanner.prototype = {
  69844. scanChar$1(character) {
  69845. if (!this.super$StringScanner$scanChar(character))
  69846. return false;
  69847. this._adjustLineAndColumn$1(character);
  69848. return true;
  69849. },
  69850. _adjustLineAndColumn$1(character) {
  69851. var t1, _this = this;
  69852. if (character !== 10)
  69853. t1 = character === 13 && _this.peekChar$0() !== 10;
  69854. else
  69855. t1 = true;
  69856. if (t1) {
  69857. ++_this._line_scanner$_line;
  69858. _this._line_scanner$_column = 0;
  69859. } else {
  69860. t1 = _this._line_scanner$_column;
  69861. _this._line_scanner$_column = t1 + (character >= 65536 && character <= 1114111 ? 2 : 1);
  69862. }
  69863. },
  69864. scan$1(pattern) {
  69865. var t1, newlines, t2, _this = this;
  69866. if (!_this.super$StringScanner$scan(pattern))
  69867. return false;
  69868. t1 = _this.get$lastMatch();
  69869. newlines = _this._newlinesIn$1(t1.pattern);
  69870. t1 = _this._line_scanner$_line;
  69871. t2 = newlines.length;
  69872. _this._line_scanner$_line = t1 + t2;
  69873. if (t2 === 0) {
  69874. t1 = _this._line_scanner$_column;
  69875. t2 = _this.get$lastMatch();
  69876. _this._line_scanner$_column = t1 + t2.pattern.length;
  69877. } else {
  69878. t1 = _this.get$lastMatch();
  69879. _this._line_scanner$_column = t1.pattern.length - J.get$end$z(B.JSArray_methods.get$last(newlines));
  69880. }
  69881. return true;
  69882. },
  69883. _newlinesIn$1(text) {
  69884. var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
  69885. newlines = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  69886. if (this.peekChar$1(-1) === 13 && this.peekChar$0() === 10)
  69887. B.JSArray_methods.removeLast$0(newlines);
  69888. return newlines;
  69889. }
  69890. };
  69891. A.SpanScanner.prototype = {
  69892. set$state(state) {
  69893. if (state._scanner !== this)
  69894. throw A.wrapException(A.ArgumentError$(string$.The_gi, null));
  69895. this.set$position(state.position);
  69896. },
  69897. spanFrom$2(startState, endState) {
  69898. var endPosition = endState == null ? this._string_scanner$_position : endState.position;
  69899. return this._sourceFile.span$2(0, startState.position, endPosition);
  69900. },
  69901. spanFrom$1(startState) {
  69902. return this.spanFrom$2(startState, null);
  69903. },
  69904. matches$1(pattern) {
  69905. var t1, t2, _this = this;
  69906. if (!_this.super$StringScanner$matches(pattern))
  69907. return false;
  69908. t1 = _this._string_scanner$_position;
  69909. t2 = _this.get$lastMatch();
  69910. _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
  69911. return true;
  69912. },
  69913. error$3$length$position(_, message, $length, position) {
  69914. var match, t2, _this = this,
  69915. t1 = _this.string;
  69916. A.validateErrorArgs(t1, null, position, $length);
  69917. match = position == null && $length == null ? _this.get$lastMatch() : null;
  69918. if (position == null)
  69919. position = match == null ? _this._string_scanner$_position : match.start;
  69920. if ($length == null)
  69921. if (match == null)
  69922. $length = 0;
  69923. else {
  69924. t2 = match.start;
  69925. $length = t2 + match.pattern.length - t2;
  69926. }
  69927. throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
  69928. },
  69929. error$1($receiver, message) {
  69930. return this.error$3$length$position($receiver, message, null, null);
  69931. },
  69932. error$2$position($receiver, message, position) {
  69933. return this.error$3$length$position($receiver, message, null, position);
  69934. },
  69935. error$2$length($receiver, message, $length) {
  69936. return this.error$3$length$position($receiver, message, $length, null);
  69937. }
  69938. };
  69939. A._SpanScannerState.prototype = {};
  69940. A.StringScanner.prototype = {
  69941. set$position(position) {
  69942. if (B.JSInt_methods.get$isNegative(position) || position > this.string.length)
  69943. throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
  69944. this._string_scanner$_position = position;
  69945. this._lastMatch = null;
  69946. },
  69947. get$lastMatch() {
  69948. var _this = this;
  69949. if (_this._string_scanner$_position !== _this._lastMatchPosition)
  69950. _this._lastMatch = null;
  69951. return _this._lastMatch;
  69952. },
  69953. readChar$0() {
  69954. var _this = this,
  69955. t1 = _this._string_scanner$_position,
  69956. t2 = _this.string;
  69957. if (t1 === t2.length)
  69958. _this.error$3$length$position(0, "expected more input.", 0, t1);
  69959. return B.JSString_methods.codeUnitAt$1(t2, _this._string_scanner$_position++);
  69960. },
  69961. peekChar$1(offset) {
  69962. var index;
  69963. if (offset == null)
  69964. offset = 0;
  69965. index = this._string_scanner$_position + offset;
  69966. if (index < 0 || index >= this.string.length)
  69967. return null;
  69968. return B.JSString_methods.codeUnitAt$1(this.string, index);
  69969. },
  69970. peekChar$0() {
  69971. return this.peekChar$1(null);
  69972. },
  69973. scanChar$1(character) {
  69974. var t1, t2, t3, t4, _this = this;
  69975. if (character >= 65536 && character <= 1114111) {
  69976. t1 = _this._string_scanner$_position;
  69977. t2 = t1 + 1;
  69978. t3 = _this.string;
  69979. if (t2 < t3.length) {
  69980. t4 = character - 65536;
  69981. 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;
  69982. } else
  69983. t2 = true;
  69984. if (t2)
  69985. return false;
  69986. else {
  69987. _this._string_scanner$_position = t1 + 2;
  69988. return true;
  69989. }
  69990. } else {
  69991. t1 = _this._string_scanner$_position;
  69992. t2 = _this.string;
  69993. if (t1 === t2.length)
  69994. return false;
  69995. if (B.JSString_methods.codeUnitAt$1(t2, t1) !== character)
  69996. return false;
  69997. _this._string_scanner$_position = t1 + 1;
  69998. return true;
  69999. }
  70000. },
  70001. expectChar$2$name(character, $name) {
  70002. if (this.scanChar$1(character))
  70003. return;
  70004. if ($name == null)
  70005. if (character === 92)
  70006. $name = '"\\"';
  70007. else
  70008. $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
  70009. this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
  70010. },
  70011. expectChar$1(character) {
  70012. return this.expectChar$2$name(character, null);
  70013. },
  70014. scan$1(pattern) {
  70015. var t1, _this = this,
  70016. success = _this.matches$1(pattern);
  70017. if (success) {
  70018. t1 = _this._lastMatch;
  70019. _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
  70020. }
  70021. return success;
  70022. },
  70023. expect$1(pattern) {
  70024. var t1, $name;
  70025. if (this.scan$1(pattern))
  70026. return;
  70027. t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
  70028. $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
  70029. this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
  70030. },
  70031. expectDone$0() {
  70032. var t1 = this._string_scanner$_position;
  70033. if (t1 === this.string.length)
  70034. return;
  70035. this.error$3$length$position(0, "expected no more input.", 0, t1);
  70036. },
  70037. matches$1(pattern) {
  70038. var _this = this,
  70039. t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
  70040. _this._lastMatch = t1;
  70041. _this._lastMatchPosition = _this._string_scanner$_position;
  70042. return t1 != null;
  70043. },
  70044. substring$1(_, start) {
  70045. var end = this._string_scanner$_position;
  70046. return B.JSString_methods.substring$2(this.string, start, end);
  70047. },
  70048. error$3$length$position(_, message, $length, position) {
  70049. var t1 = this.string;
  70050. A.validateErrorArgs(t1, null, position, $length);
  70051. throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, this.sourceUrl).span$2(0, position, position + $length), t1));
  70052. }
  70053. };
  70054. A.AsciiGlyphSet.prototype = {
  70055. glyphOrAscii$2(glyph, alternative) {
  70056. return alternative;
  70057. },
  70058. get$horizontalLine() {
  70059. return "-";
  70060. },
  70061. get$verticalLine() {
  70062. return "|";
  70063. },
  70064. get$topLeftCorner() {
  70065. return ",";
  70066. },
  70067. get$bottomLeftCorner() {
  70068. return "'";
  70069. },
  70070. get$cross() {
  70071. return "+";
  70072. },
  70073. get$upEnd() {
  70074. return "'";
  70075. },
  70076. get$downEnd() {
  70077. return ",";
  70078. },
  70079. get$horizontalLineBold() {
  70080. return "=";
  70081. }
  70082. };
  70083. A.UnicodeGlyphSet.prototype = {
  70084. glyphOrAscii$2(glyph, alternative) {
  70085. return glyph;
  70086. },
  70087. get$horizontalLine() {
  70088. return "\u2500";
  70089. },
  70090. get$verticalLine() {
  70091. return "\u2502";
  70092. },
  70093. get$topLeftCorner() {
  70094. return "\u250c";
  70095. },
  70096. get$bottomLeftCorner() {
  70097. return "\u2514";
  70098. },
  70099. get$cross() {
  70100. return "\u253c";
  70101. },
  70102. get$upEnd() {
  70103. return "\u2575";
  70104. },
  70105. get$downEnd() {
  70106. return "\u2577";
  70107. },
  70108. get$horizontalLineBold() {
  70109. return "\u2501";
  70110. }
  70111. };
  70112. A.Tuple2.prototype = {
  70113. toString$0(_) {
  70114. return "[" + A.S(this.item1) + ", " + A.S(this.item2) + "]";
  70115. },
  70116. $eq(_, other) {
  70117. if (other == null)
  70118. return false;
  70119. return other instanceof A.Tuple2 && J.$eq$(other.item1, this.item1) && J.$eq$(other.item2, this.item2);
  70120. },
  70121. get$hashCode(_) {
  70122. return A.Object_hash(J.get$hashCode$(this.item1), J.get$hashCode$(this.item2), B.C_SentinelValue, B.C_SentinelValue);
  70123. }
  70124. };
  70125. A.Tuple3.prototype = {
  70126. toString$0(_) {
  70127. return "[" + this.item1.toString$0(0) + ", " + this.item2.toString$0(0) + ", " + this.item3.toString$0(0) + "]";
  70128. },
  70129. $eq(_, other) {
  70130. if (other == null)
  70131. return false;
  70132. return other instanceof A.Tuple3 && other.item1 === this.item1 && other.item2.$eq(0, this.item2) && other.item3.$eq(0, this.item3);
  70133. },
  70134. get$hashCode(_) {
  70135. var t1 = this.item2,
  70136. t2 = this.item3;
  70137. return A.Object_hash(A.Primitives_objectHashCode(this.item1), t1.get$hashCode(t1), t2.get$hashCode(t2), B.C_SentinelValue);
  70138. }
  70139. };
  70140. A.Tuple4.prototype = {
  70141. toString$0(_) {
  70142. var _this = this;
  70143. return "[" + _this.item1.toString$0(0) + ", " + _this.item2 + ", " + _this.item3.toString$0(0) + ", " + A.S(_this.item4) + "]";
  70144. },
  70145. $eq(_, other) {
  70146. var _this = this;
  70147. if (other == null)
  70148. return false;
  70149. 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);
  70150. },
  70151. get$hashCode(_) {
  70152. var _this = this,
  70153. t1 = _this.item1;
  70154. 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));
  70155. }
  70156. };
  70157. A.WatchEvent.prototype = {
  70158. toString$0(_) {
  70159. return this.type.toString$0(0) + " " + this.path;
  70160. }
  70161. };
  70162. A.ChangeType.prototype = {
  70163. toString$0(_) {
  70164. return this._watch_event$_name;
  70165. }
  70166. };
  70167. A.AnySelectorVisitor0.prototype = {
  70168. visitComplexSelector$1(complex) {
  70169. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure0(this));
  70170. },
  70171. visitCompoundSelector$1(compound) {
  70172. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure0(this));
  70173. },
  70174. visitPseudoSelector$1(pseudo) {
  70175. var selector = pseudo.selector;
  70176. return selector == null ? false : this.visitSelectorList$1(selector);
  70177. },
  70178. visitSelectorList$1(list) {
  70179. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  70180. },
  70181. visitAttributeSelector$1(attribute) {
  70182. return false;
  70183. },
  70184. visitClassSelector$1(klass) {
  70185. return false;
  70186. },
  70187. visitIDSelector$1(id) {
  70188. return false;
  70189. },
  70190. visitParentSelector$1($parent) {
  70191. return false;
  70192. },
  70193. visitPlaceholderSelector$1(placeholder) {
  70194. return false;
  70195. },
  70196. visitTypeSelector$1(type) {
  70197. return false;
  70198. },
  70199. visitUniversalSelector$1(universal) {
  70200. return false;
  70201. }
  70202. };
  70203. A.AnySelectorVisitor_visitComplexSelector_closure0.prototype = {
  70204. call$1(component) {
  70205. return this.$this.visitCompoundSelector$1(component.selector);
  70206. },
  70207. $signature: 47
  70208. };
  70209. A.AnySelectorVisitor_visitCompoundSelector_closure0.prototype = {
  70210. call$1(simple) {
  70211. return simple.accept$1(this.$this);
  70212. },
  70213. $signature: 14
  70214. };
  70215. A.SupportsAnything0.prototype = {
  70216. toString$0(_) {
  70217. return "(" + this.contents.toString$0(0) + ")";
  70218. },
  70219. $isAstNode0: 1,
  70220. get$span(receiver) {
  70221. return this.span;
  70222. }
  70223. };
  70224. A.Argument0.prototype = {
  70225. toString$0(_) {
  70226. var t1 = this.defaultValue,
  70227. t2 = this.name;
  70228. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  70229. },
  70230. $isAstNode0: 1,
  70231. get$span(receiver) {
  70232. return this.span;
  70233. }
  70234. };
  70235. A.ArgumentDeclaration0.prototype = {
  70236. get$spanWithName() {
  70237. var t3, t4,
  70238. t1 = this.span,
  70239. t2 = t1.file,
  70240. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  70241. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  70242. while (true) {
  70243. if (i > 0) {
  70244. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  70245. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  70246. } else
  70247. t3 = false;
  70248. if (!t3)
  70249. break;
  70250. --i;
  70251. }
  70252. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  70253. if (!(t3 === 95 || A.isAlphabetic1(t3) || t3 >= 128 || A.isDigit0(t3) || t3 === 45))
  70254. return t1;
  70255. --i;
  70256. while (true) {
  70257. if (i >= 0) {
  70258. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  70259. if (t3 !== 95) {
  70260. if (!(t3 >= 97 && t3 <= 122))
  70261. t4 = t3 >= 65 && t3 <= 90;
  70262. else
  70263. t4 = true;
  70264. t4 = t4 || t3 >= 128;
  70265. } else
  70266. t4 = true;
  70267. if (!t4)
  70268. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  70269. else
  70270. t3 = true;
  70271. } else
  70272. t3 = false;
  70273. if (!t3)
  70274. break;
  70275. --i;
  70276. }
  70277. t3 = i + 1;
  70278. t4 = B.JSString_methods.codeUnitAt$1(text, t3);
  70279. if (!(t4 === 95 || A.isAlphabetic1(t4) || t4 >= 128))
  70280. return t1;
  70281. return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  70282. },
  70283. verify$2(positional, names) {
  70284. var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
  70285. _s10_ = "invocation",
  70286. _s8_ = "argument";
  70287. for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  70288. argument = t1[i];
  70289. if (i < positional) {
  70290. t4 = argument.name;
  70291. if (t3.containsKey$1(t4))
  70292. throw A.wrapException(A.SassScriptException$0("Argument " + _this._argument_declaration$_originalArgumentName$1(t4) + string$.x20was_p, null));
  70293. } else {
  70294. t4 = argument.name;
  70295. if (t3.containsKey$1(t4))
  70296. ++namedUsed;
  70297. else if (argument.defaultValue == null)
  70298. 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)));
  70299. }
  70300. }
  70301. if (_this.restArgument != null)
  70302. return;
  70303. if (positional > t2) {
  70304. t1 = names.get$isEmpty(names) ? "" : "positional ";
  70305. 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)));
  70306. }
  70307. if (namedUsed < t3.get$length(t3)) {
  70308. t2 = type$.String;
  70309. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  70310. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  70311. 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)));
  70312. }
  70313. },
  70314. _argument_declaration$_originalArgumentName$1($name) {
  70315. var t1, text, t2, _i, argument, t3, t4, end, _null = null;
  70316. if ($name === this.restArgument) {
  70317. t1 = this.span;
  70318. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
  70319. 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, "."));
  70320. }
  70321. for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  70322. argument = t1[_i];
  70323. if (argument.name === $name) {
  70324. t1 = argument.defaultValue;
  70325. t2 = argument.span;
  70326. t3 = t2.file;
  70327. t4 = t2._file$_start;
  70328. t2 = t2._end;
  70329. if (t1 == null) {
  70330. t1 = t3._decodedChars;
  70331. t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  70332. } else {
  70333. t1 = t3._decodedChars;
  70334. text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  70335. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  70336. end = A._lastNonWhitespace0(t1, false);
  70337. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  70338. }
  70339. return t1;
  70340. }
  70341. }
  70342. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
  70343. },
  70344. matches$2(positional, names) {
  70345. var t1, t2, t3, namedUsed, i, argument;
  70346. for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  70347. argument = t1[i];
  70348. if (i < positional) {
  70349. if (t3.containsKey$1(argument.name))
  70350. return false;
  70351. } else if (t3.containsKey$1(argument.name))
  70352. ++namedUsed;
  70353. else if (argument.defaultValue == null)
  70354. return false;
  70355. }
  70356. if (this.restArgument != null)
  70357. return true;
  70358. if (positional > t2)
  70359. return false;
  70360. if (namedUsed < t3.get$length(t3))
  70361. return false;
  70362. return true;
  70363. },
  70364. toString$0(_) {
  70365. var t2, t3, _i,
  70366. t1 = A._setArrayType([], type$.JSArray_String);
  70367. for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
  70368. t1.push("$" + A.S(t2[_i]));
  70369. t2 = this.restArgument;
  70370. if (t2 != null)
  70371. t1.push("$" + t2 + "...");
  70372. return B.JSArray_methods.join$1(t1, ", ");
  70373. },
  70374. $isAstNode0: 1,
  70375. get$span(receiver) {
  70376. return this.span;
  70377. }
  70378. };
  70379. A.ArgumentDeclaration_verify_closure1.prototype = {
  70380. call$1(argument) {
  70381. return argument.name;
  70382. },
  70383. $signature: 299
  70384. };
  70385. A.ArgumentDeclaration_verify_closure2.prototype = {
  70386. call$1($name) {
  70387. return "$" + $name;
  70388. },
  70389. $signature: 5
  70390. };
  70391. A.ArgumentInvocation0.prototype = {
  70392. get$isEmpty(_) {
  70393. var t1;
  70394. if (this.positional.length === 0) {
  70395. t1 = this.named;
  70396. t1 = t1.get$isEmpty(t1) && this.rest == null;
  70397. } else
  70398. t1 = false;
  70399. return t1;
  70400. },
  70401. toString$0(_) {
  70402. var t2, t3, _i, _this = this,
  70403. rest = _this.rest,
  70404. keywordRest = _this.keywordRest,
  70405. t1 = A._setArrayType([], type$.JSArray_String);
  70406. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  70407. t1.push(_this._argument_invocation$_parenthesizeArgument$1(t2[_i]));
  70408. for (t2 = _this.named, t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  70409. t3 = t2.get$current(t2);
  70410. t1.push("$" + A.S(t3.key) + ": " + _this._argument_invocation$_parenthesizeArgument$1(t3.value));
  70411. }
  70412. if (rest != null)
  70413. t1.push(_this._argument_invocation$_parenthesizeArgument$1(rest) + "...");
  70414. if (keywordRest != null)
  70415. t1.push(_this._argument_invocation$_parenthesizeArgument$1(keywordRest) + "...");
  70416. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  70417. },
  70418. _argument_invocation$_parenthesizeArgument$1(argument) {
  70419. return argument instanceof A.ListExpression0 && argument.separator === B.ListSeparator_rXA0 && !argument.hasBrackets && argument.contents.length > 1 ? "(" + argument.toString$0(0) + ")" : argument.toString$0(0);
  70420. },
  70421. $isAstNode0: 1,
  70422. get$span(receiver) {
  70423. return this.span;
  70424. }
  70425. };
  70426. A.argumentListClass_closure.prototype = {
  70427. call$0() {
  70428. var t1 = type$.JSClass,
  70429. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
  70430. A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
  70431. 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);
  70432. return jsClass;
  70433. },
  70434. $signature: 26
  70435. };
  70436. A.argumentListClass__closure.prototype = {
  70437. call$4($self, contents, keywords, separator) {
  70438. var t3,
  70439. t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
  70440. t2 = type$.Value_2;
  70441. t1 = J.cast$1$0$ax(t1, t2);
  70442. t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
  70443. return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
  70444. },
  70445. call$3($self, contents, keywords) {
  70446. return this.call$4($self, contents, keywords, ",");
  70447. },
  70448. "call*": "call$4",
  70449. $requiredArgCount: 3,
  70450. $defaultValues() {
  70451. return [","];
  70452. },
  70453. $signature: 301
  70454. };
  70455. A.argumentListClass__closure0.prototype = {
  70456. call$1($self) {
  70457. $self._argument_list$_wereKeywordsAccessed = true;
  70458. return A.dartMapToImmutableMap($self._argument_list$_keywords);
  70459. },
  70460. $signature: 302
  70461. };
  70462. A.SassArgumentList0.prototype = {};
  70463. A.JSArray1.prototype = {};
  70464. A.AsyncImporter0.prototype = {};
  70465. A.NodeToDartAsyncImporter.prototype = {
  70466. canonicalize$1(_, url) {
  70467. return this.canonicalize$body$NodeToDartAsyncImporter(0, url);
  70468. },
  70469. canonicalize$body$NodeToDartAsyncImporter(_, url) {
  70470. var $async$goto = 0,
  70471. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  70472. $async$returnValue, $async$self = this, t1, result;
  70473. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70474. if ($async$errorCode === 1)
  70475. return A._asyncRethrow($async$result, $async$completer);
  70476. while (true)
  70477. switch ($async$goto) {
  70478. case 0:
  70479. // Function start
  70480. result = $async$self._async0$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
  70481. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  70482. break;
  70483. case 3:
  70484. // then
  70485. $async$goto = 5;
  70486. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  70487. case 5:
  70488. // returning from await.
  70489. result = $async$result;
  70490. case 4:
  70491. // join
  70492. if (result == null) {
  70493. $async$returnValue = null;
  70494. // goto return
  70495. $async$goto = 1;
  70496. break;
  70497. }
  70498. t1 = self.URL;
  70499. if (result instanceof t1) {
  70500. $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  70501. // goto return
  70502. $async$goto = 1;
  70503. break;
  70504. }
  70505. A.jsThrow(new self.Error(string$.The_ca));
  70506. case 1:
  70507. // return
  70508. return A._asyncReturn($async$returnValue, $async$completer);
  70509. }
  70510. });
  70511. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  70512. },
  70513. load$1(_, url) {
  70514. return this.load$body$NodeToDartAsyncImporter(0, url);
  70515. },
  70516. load$body$NodeToDartAsyncImporter(_, url) {
  70517. var $async$goto = 0,
  70518. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult),
  70519. $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
  70520. var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70521. if ($async$errorCode === 1)
  70522. return A._asyncRethrow($async$result, $async$completer);
  70523. while (true)
  70524. switch ($async$goto) {
  70525. case 0:
  70526. // Function start
  70527. result = $async$self._load.call$1(new self.URL(url.toString$0(0)));
  70528. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  70529. break;
  70530. case 3:
  70531. // then
  70532. $async$goto = 5;
  70533. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
  70534. case 5:
  70535. // returning from await.
  70536. result = $async$result;
  70537. case 4:
  70538. // join
  70539. if (result == null) {
  70540. $async$returnValue = null;
  70541. // goto return
  70542. $async$goto = 1;
  70543. break;
  70544. }
  70545. type$.NodeImporterResult._as(result);
  70546. t1 = J.getInterceptor$x(result);
  70547. contents = t1.get$contents(result);
  70548. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  70549. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  70550. syntax = t1.get$syntax(result);
  70551. if (contents == null || syntax == null)
  70552. A.jsThrow(new self.Error(string$.The_lo));
  70553. t2 = A.parseSyntax(syntax);
  70554. $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
  70555. // goto return
  70556. $async$goto = 1;
  70557. break;
  70558. case 1:
  70559. // return
  70560. return A._asyncReturn($async$returnValue, $async$completer);
  70561. }
  70562. });
  70563. return A._asyncStartSync($async$load$1, $async$completer);
  70564. }
  70565. };
  70566. A.AsyncBuiltInCallable0.prototype = {
  70567. callbackFor$2(positional, names) {
  70568. 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);
  70569. },
  70570. $isAsyncCallable0: 1,
  70571. get$name(receiver) {
  70572. return this.name;
  70573. }
  70574. };
  70575. A.AsyncBuiltInCallable$mixin_closure0.prototype = {
  70576. call$1($arguments) {
  70577. return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
  70578. },
  70579. $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
  70580. var $async$goto = 0,
  70581. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  70582. $async$returnValue, $async$self = this;
  70583. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70584. if ($async$errorCode === 1)
  70585. return A._asyncRethrow($async$result, $async$completer);
  70586. while (true)
  70587. switch ($async$goto) {
  70588. case 0:
  70589. // Function start
  70590. $async$goto = 3;
  70591. return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
  70592. case 3:
  70593. // returning from await.
  70594. $async$returnValue = B.C__SassNull0;
  70595. // goto return
  70596. $async$goto = 1;
  70597. break;
  70598. case 1:
  70599. // return
  70600. return A._asyncReturn($async$returnValue, $async$completer);
  70601. }
  70602. });
  70603. return A._asyncStartSync($async$call$1, $async$completer);
  70604. },
  70605. $signature: 100
  70606. };
  70607. A._compileStylesheet_closure2.prototype = {
  70608. call$1(url) {
  70609. 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);
  70610. },
  70611. $signature: 5
  70612. };
  70613. A.AsyncEnvironment0.prototype = {
  70614. closure$0() {
  70615. var t4, t5, t6, _this = this,
  70616. t1 = _this._async_environment0$_forwardedModules,
  70617. t2 = _this._async_environment0$_nestedForwardedModules,
  70618. t3 = _this._async_environment0$_variables;
  70619. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  70620. t4 = _this._async_environment0$_variableNodes;
  70621. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  70622. t5 = _this._async_environment0$_functions;
  70623. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  70624. t6 = _this._async_environment0$_mixins;
  70625. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  70626. 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);
  70627. },
  70628. addModule$3$namespace(module, nodeWithSpan, namespace) {
  70629. var t1, t2, span, _this = this;
  70630. if (namespace == null) {
  70631. _this._async_environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
  70632. _this._async_environment0$_allModules.push(module);
  70633. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment0$_variables))); t1.moveNext$0();) {
  70634. t2 = t1.get$current(t1);
  70635. if (module.get$variables().containsKey$1(t2))
  70636. throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".', null));
  70637. }
  70638. } else {
  70639. t1 = _this._async_environment0$_modules;
  70640. if (t1.containsKey$1(namespace)) {
  70641. t1 = _this._async_environment0$_namespaceNodes.$index(0, namespace);
  70642. span = t1 == null ? null : t1.span;
  70643. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  70644. if (span != null)
  70645. t1.$indexSet(0, span, "original @use");
  70646. throw A.wrapException(A.MultiSpanSassScriptException$0(string$.There_ + namespace + '".', "new @use", t1));
  70647. }
  70648. t1.$indexSet(0, namespace, module);
  70649. _this._async_environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
  70650. _this._async_environment0$_allModules.push(module);
  70651. }
  70652. },
  70653. forwardModule$2(module, rule) {
  70654. var view, t1, t2, _this = this,
  70655. forwardedModules = _this._async_environment0$_forwardedModules;
  70656. if (forwardedModules == null)
  70657. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  70658. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
  70659. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  70660. t2 = t1.__js_helper$_current;
  70661. _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  70662. _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  70663. _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  70664. }
  70665. _this._async_environment0$_allModules.push(module);
  70666. forwardedModules.$indexSet(0, view, rule);
  70667. },
  70668. _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  70669. var larger, smaller, t1, t2, $name, span;
  70670. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  70671. larger = oldMembers;
  70672. smaller = newMembers;
  70673. } else {
  70674. larger = newMembers;
  70675. smaller = oldMembers;
  70676. }
  70677. for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
  70678. $name = t1.get$current(t1);
  70679. if (!larger.containsKey$1($name))
  70680. continue;
  70681. if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
  70682. continue;
  70683. if (t2)
  70684. $name = "$" + $name;
  70685. t1 = this._async_environment0$_forwardedModules;
  70686. if (t1 == null)
  70687. span = null;
  70688. else {
  70689. t1 = t1.$index(0, oldModule);
  70690. span = t1 == null ? null : J.get$span$z(t1);
  70691. }
  70692. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  70693. if (span != null)
  70694. t1.$indexSet(0, span, "original @forward");
  70695. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
  70696. }
  70697. },
  70698. importForwards$1(module) {
  70699. var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
  70700. forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
  70701. if (forwarded == null)
  70702. return;
  70703. forwardedModules = _this._async_environment0$_forwardedModules;
  70704. if (forwardedModules != null) {
  70705. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  70706. for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment0$_globalModules; t2.moveNext$0();) {
  70707. t4 = t2.get$current(t2);
  70708. t5 = t4.key;
  70709. if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
  70710. t1.$indexSet(0, t5, t4.value);
  70711. }
  70712. forwarded = t1;
  70713. } else
  70714. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  70715. t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
  70716. t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
  70717. t3 = t2._eval$1("Iterable.E");
  70718. forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure2(), t2), t3);
  70719. forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure3(), t2), t3);
  70720. forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure4(), t2), t3);
  70721. t2 = _this._async_environment0$_variables;
  70722. t3 = t2.length;
  70723. if (t3 === 1) {
  70724. 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) {
  70725. entry = t3[_i];
  70726. module = entry.key;
  70727. shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  70728. if (shadowed != null) {
  70729. t1.remove$1(0, module);
  70730. t6 = shadowed.variables;
  70731. if (t6.get$isEmpty(t6)) {
  70732. t6 = shadowed.functions;
  70733. if (t6.get$isEmpty(t6)) {
  70734. t6 = shadowed.mixins;
  70735. if (t6.get$isEmpty(t6)) {
  70736. t6 = shadowed._shadowed_view0$_inner;
  70737. t6 = t6.get$css(t6);
  70738. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  70739. } else
  70740. t6 = false;
  70741. } else
  70742. t6 = false;
  70743. } else
  70744. t6 = false;
  70745. if (!t6)
  70746. t1.$indexSet(0, shadowed, entry.value);
  70747. }
  70748. }
  70749. 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) {
  70750. entry = t3[_i];
  70751. module = entry.key;
  70752. shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  70753. if (shadowed != null) {
  70754. forwardedModules.remove$1(0, module);
  70755. t6 = shadowed.variables;
  70756. if (t6.get$isEmpty(t6)) {
  70757. t6 = shadowed.functions;
  70758. if (t6.get$isEmpty(t6)) {
  70759. t6 = shadowed.mixins;
  70760. if (t6.get$isEmpty(t6)) {
  70761. t6 = shadowed._shadowed_view0$_inner;
  70762. t6 = t6.get$css(t6);
  70763. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  70764. } else
  70765. t6 = false;
  70766. } else
  70767. t6 = false;
  70768. } else
  70769. t6 = false;
  70770. if (!t6)
  70771. forwardedModules.$indexSet(0, shadowed, entry.value);
  70772. }
  70773. }
  70774. t1.addAll$1(0, forwarded);
  70775. forwardedModules.addAll$1(0, forwarded);
  70776. } else {
  70777. t4 = _this._async_environment0$_nestedForwardedModules;
  70778. if (t4 == null) {
  70779. _length = t3 - 1;
  70780. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
  70781. for (t3 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
  70782. _list[_i] = A._setArrayType([], t3);
  70783. _this._async_environment0$_nestedForwardedModules = _list;
  70784. t3 = _list;
  70785. } else
  70786. t3 = t4;
  70787. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
  70788. }
  70789. 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();) {
  70790. t6 = t1._collection$_current;
  70791. if (t6 == null)
  70792. t6 = t5._as(t6);
  70793. t3.remove$1(0, t6);
  70794. J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
  70795. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  70796. }
  70797. 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();) {
  70798. t5 = t1._collection$_current;
  70799. if (t5 == null)
  70800. t5 = t4._as(t5);
  70801. t2.remove$1(0, t5);
  70802. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  70803. }
  70804. 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();) {
  70805. t5 = t1._collection$_current;
  70806. if (t5 == null)
  70807. t5 = t4._as(t5);
  70808. t2.remove$1(0, t5);
  70809. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  70810. }
  70811. },
  70812. getVariable$2$namespace($name, namespace) {
  70813. var t1, index, _this = this;
  70814. if (namespace != null)
  70815. return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  70816. if (_this._async_environment0$_lastVariableName === $name) {
  70817. t1 = _this._async_environment0$_lastVariableIndex;
  70818. t1.toString;
  70819. t1 = J.$index$asx(_this._async_environment0$_variables[t1], $name);
  70820. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  70821. }
  70822. t1 = _this._async_environment0$_variableIndices;
  70823. index = t1.$index(0, $name);
  70824. if (index != null) {
  70825. _this._async_environment0$_lastVariableName = $name;
  70826. _this._async_environment0$_lastVariableIndex = index;
  70827. t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
  70828. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  70829. }
  70830. index = _this._async_environment0$_variableIndex$1($name);
  70831. if (index == null)
  70832. return _this._async_environment0$_getVariableFromGlobalModule$1($name);
  70833. _this._async_environment0$_lastVariableName = $name;
  70834. _this._async_environment0$_lastVariableIndex = index;
  70835. t1.$indexSet(0, $name, index);
  70836. t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
  70837. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  70838. },
  70839. getVariable$1($name) {
  70840. return this.getVariable$2$namespace($name, null);
  70841. },
  70842. _async_environment0$_getVariableFromGlobalModule$1($name) {
  70843. return this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
  70844. },
  70845. getVariableNode$2$namespace($name, namespace) {
  70846. var t1, index, _this = this;
  70847. if (namespace != null)
  70848. return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  70849. if (_this._async_environment0$_lastVariableName === $name) {
  70850. t1 = _this._async_environment0$_lastVariableIndex;
  70851. t1.toString;
  70852. t1 = J.$index$asx(_this._async_environment0$_variableNodes[t1], $name);
  70853. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  70854. }
  70855. t1 = _this._async_environment0$_variableIndices;
  70856. index = t1.$index(0, $name);
  70857. if (index != null) {
  70858. _this._async_environment0$_lastVariableName = $name;
  70859. _this._async_environment0$_lastVariableIndex = index;
  70860. t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
  70861. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  70862. }
  70863. index = _this._async_environment0$_variableIndex$1($name);
  70864. if (index == null)
  70865. return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
  70866. _this._async_environment0$_lastVariableName = $name;
  70867. _this._async_environment0$_lastVariableIndex = index;
  70868. t1.$indexSet(0, $name, index);
  70869. t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
  70870. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  70871. },
  70872. _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
  70873. var t1, t2, value;
  70874. 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();) {
  70875. t1 = t2._currentIterator;
  70876. value = t1.get$current(t1).get$variableNodes().$index(0, $name);
  70877. if (value != null)
  70878. return value;
  70879. }
  70880. return null;
  70881. },
  70882. globalVariableExists$2$namespace($name, namespace) {
  70883. if (namespace != null)
  70884. return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  70885. if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
  70886. return true;
  70887. return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
  70888. },
  70889. globalVariableExists$1($name) {
  70890. return this.globalVariableExists$2$namespace($name, null);
  70891. },
  70892. _async_environment0$_variableIndex$1($name) {
  70893. var t1, i;
  70894. for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
  70895. if (t1[i].containsKey$1($name))
  70896. return i;
  70897. return null;
  70898. },
  70899. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  70900. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  70901. if (namespace != null) {
  70902. _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  70903. return;
  70904. }
  70905. if (global || _this._async_environment0$_variables.length === 1) {
  70906. _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
  70907. t1 = _this._async_environment0$_variables;
  70908. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  70909. moduleWithName = _this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name), type$.Module_AsyncCallable_2);
  70910. if (moduleWithName != null) {
  70911. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  70912. return;
  70913. }
  70914. }
  70915. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  70916. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment0$_variableNodes), $name, nodeWithSpan);
  70917. return;
  70918. }
  70919. nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
  70920. if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
  70921. 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();) {
  70922. t3 = t1.__internal$_current;
  70923. 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();) {
  70924. t5 = t3.__internal$_current;
  70925. if (t5 == null)
  70926. t5 = t4._as(t5);
  70927. if (t5.get$variables().containsKey$1($name)) {
  70928. t5.setVariable$3($name, value, nodeWithSpan);
  70929. return;
  70930. }
  70931. }
  70932. }
  70933. if (_this._async_environment0$_lastVariableName === $name) {
  70934. t1 = _this._async_environment0$_lastVariableIndex;
  70935. t1.toString;
  70936. index = t1;
  70937. } else
  70938. index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
  70939. if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
  70940. index = _this._async_environment0$_variables.length - 1;
  70941. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  70942. }
  70943. _this._async_environment0$_lastVariableName = $name;
  70944. _this._async_environment0$_lastVariableIndex = index;
  70945. J.$indexSet$ax(_this._async_environment0$_variables[index], $name, value);
  70946. J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
  70947. },
  70948. setVariable$4$global($name, value, nodeWithSpan, global) {
  70949. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  70950. },
  70951. setLocalVariable$3($name, value, nodeWithSpan) {
  70952. var index, _this = this,
  70953. t1 = _this._async_environment0$_variables,
  70954. t2 = t1.length;
  70955. _this._async_environment0$_lastVariableName = $name;
  70956. index = _this._async_environment0$_lastVariableIndex = t2 - 1;
  70957. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  70958. J.$indexSet$ax(t1[index], $name, value);
  70959. J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
  70960. },
  70961. getFunction$2$namespace($name, namespace) {
  70962. var t1, index, _this = this;
  70963. if (namespace != null) {
  70964. t1 = _this._async_environment0$_getModule$1(namespace);
  70965. return t1.get$functions(t1).$index(0, $name);
  70966. }
  70967. t1 = _this._async_environment0$_functionIndices;
  70968. index = t1.$index(0, $name);
  70969. if (index != null) {
  70970. t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
  70971. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  70972. }
  70973. index = _this._async_environment0$_functionIndex$1($name);
  70974. if (index == null)
  70975. return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
  70976. t1.$indexSet(0, $name, index);
  70977. t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
  70978. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  70979. },
  70980. _async_environment0$_getFunctionFromGlobalModule$1($name) {
  70981. return this._async_environment0$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name), type$.AsyncCallable_2);
  70982. },
  70983. _async_environment0$_functionIndex$1($name) {
  70984. var t1, i;
  70985. for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
  70986. if (t1[i].containsKey$1($name))
  70987. return i;
  70988. return null;
  70989. },
  70990. getMixin$2$namespace($name, namespace) {
  70991. var t1, index, _this = this;
  70992. if (namespace != null)
  70993. return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  70994. t1 = _this._async_environment0$_mixinIndices;
  70995. index = t1.$index(0, $name);
  70996. if (index != null) {
  70997. t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
  70998. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  70999. }
  71000. index = _this._async_environment0$_mixinIndex$1($name);
  71001. if (index == null)
  71002. return _this._async_environment0$_getMixinFromGlobalModule$1($name);
  71003. t1.$indexSet(0, $name, index);
  71004. t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
  71005. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  71006. },
  71007. _async_environment0$_getMixinFromGlobalModule$1($name) {
  71008. return this._async_environment0$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name), type$.AsyncCallable_2);
  71009. },
  71010. _async_environment0$_mixinIndex$1($name) {
  71011. var t1, i;
  71012. for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  71013. if (t1[i].containsKey$1($name))
  71014. return i;
  71015. return null;
  71016. },
  71017. withContent$2($content, callback) {
  71018. return this.withContent$body$AsyncEnvironment0($content, callback);
  71019. },
  71020. withContent$body$AsyncEnvironment0($content, callback) {
  71021. var $async$goto = 0,
  71022. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71023. $async$self = this, oldContent;
  71024. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71025. if ($async$errorCode === 1)
  71026. return A._asyncRethrow($async$result, $async$completer);
  71027. while (true)
  71028. switch ($async$goto) {
  71029. case 0:
  71030. // Function start
  71031. oldContent = $async$self._async_environment0$_content;
  71032. $async$self._async_environment0$_content = $content;
  71033. $async$goto = 2;
  71034. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  71035. case 2:
  71036. // returning from await.
  71037. $async$self._async_environment0$_content = oldContent;
  71038. // implicit return
  71039. return A._asyncReturn(null, $async$completer);
  71040. }
  71041. });
  71042. return A._asyncStartSync($async$withContent$2, $async$completer);
  71043. },
  71044. asMixin$1(callback) {
  71045. var $async$goto = 0,
  71046. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71047. $async$self = this, oldInMixin;
  71048. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71049. if ($async$errorCode === 1)
  71050. return A._asyncRethrow($async$result, $async$completer);
  71051. while (true)
  71052. switch ($async$goto) {
  71053. case 0:
  71054. // Function start
  71055. oldInMixin = $async$self._async_environment0$_inMixin;
  71056. $async$self._async_environment0$_inMixin = true;
  71057. $async$goto = 2;
  71058. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  71059. case 2:
  71060. // returning from await.
  71061. $async$self._async_environment0$_inMixin = oldInMixin;
  71062. // implicit return
  71063. return A._asyncReturn(null, $async$completer);
  71064. }
  71065. });
  71066. return A._asyncStartSync($async$asMixin$1, $async$completer);
  71067. },
  71068. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  71069. return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
  71070. },
  71071. scope$1$1(callback, $T) {
  71072. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  71073. },
  71074. scope$1$2$when(callback, when, $T) {
  71075. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  71076. },
  71077. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  71078. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  71079. },
  71080. scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
  71081. var $async$goto = 0,
  71082. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  71083. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  71084. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71085. if ($async$errorCode === 1) {
  71086. $async$currentError = $async$result;
  71087. $async$goto = $async$handler;
  71088. }
  71089. while (true)
  71090. switch ($async$goto) {
  71091. case 0:
  71092. // Function start
  71093. semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
  71094. wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
  71095. $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
  71096. $async$goto = !when ? 3 : 4;
  71097. break;
  71098. case 3:
  71099. // then
  71100. $async$handler = 5;
  71101. $async$goto = 8;
  71102. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  71103. case 8:
  71104. // returning from await.
  71105. t1 = $async$result;
  71106. $async$returnValue = t1;
  71107. $async$next = [1];
  71108. // goto finally
  71109. $async$goto = 6;
  71110. break;
  71111. $async$next.push(7);
  71112. // goto finally
  71113. $async$goto = 6;
  71114. break;
  71115. case 5:
  71116. // uncaught
  71117. $async$next = [2];
  71118. case 6:
  71119. // finally
  71120. $async$handler = 2;
  71121. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  71122. // goto the next finally handler
  71123. $async$goto = $async$next.pop();
  71124. break;
  71125. case 7:
  71126. // after finally
  71127. case 4:
  71128. // join
  71129. t1 = $async$self._async_environment0$_variables;
  71130. t2 = type$.String;
  71131. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  71132. t3 = $async$self._async_environment0$_variableNodes;
  71133. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  71134. t4 = $async$self._async_environment0$_functions;
  71135. t5 = type$.AsyncCallable_2;
  71136. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  71137. t6 = $async$self._async_environment0$_mixins;
  71138. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  71139. t5 = $async$self._async_environment0$_nestedForwardedModules;
  71140. if (t5 != null)
  71141. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
  71142. $async$handler = 9;
  71143. $async$goto = 12;
  71144. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  71145. case 12:
  71146. // returning from await.
  71147. t2 = $async$result;
  71148. $async$returnValue = t2;
  71149. $async$next = [1];
  71150. // goto finally
  71151. $async$goto = 10;
  71152. break;
  71153. $async$next.push(11);
  71154. // goto finally
  71155. $async$goto = 10;
  71156. break;
  71157. case 9:
  71158. // uncaught
  71159. $async$next = [2];
  71160. case 10:
  71161. // finally
  71162. $async$handler = 2;
  71163. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  71164. $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
  71165. 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();) {
  71166. $name = t1.get$current(t1);
  71167. t2.remove$1(0, $name);
  71168. }
  71169. B.JSArray_methods.removeLast$0(t3);
  71170. 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();) {
  71171. name0 = t1.get$current(t1);
  71172. t2.remove$1(0, name0);
  71173. }
  71174. 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();) {
  71175. name1 = t1.get$current(t1);
  71176. t2.remove$1(0, name1);
  71177. }
  71178. t1 = $async$self._async_environment0$_nestedForwardedModules;
  71179. if (t1 != null)
  71180. t1.pop();
  71181. // goto the next finally handler
  71182. $async$goto = $async$next.pop();
  71183. break;
  71184. case 11:
  71185. // after finally
  71186. case 1:
  71187. // return
  71188. return A._asyncReturn($async$returnValue, $async$completer);
  71189. case 2:
  71190. // rethrow
  71191. return A._asyncRethrow($async$currentError, $async$completer);
  71192. }
  71193. });
  71194. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  71195. },
  71196. toImplicitConfiguration$0() {
  71197. var t1, t2, i, values, nodes, t3, t4, t5, t6,
  71198. configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  71199. for (t1 = this._async_environment0$_variables, t2 = this._async_environment0$_variableNodes, i = 0; i < t1.length; ++i) {
  71200. values = t1[i];
  71201. nodes = t2[i];
  71202. for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  71203. t4 = t3.get$current(t3);
  71204. t5 = t4.key;
  71205. t4 = t4.value;
  71206. t6 = nodes.$index(0, t5);
  71207. t6.toString;
  71208. configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
  71209. }
  71210. }
  71211. return new A.Configuration0(configuration, null);
  71212. },
  71213. toModule$2(css, extensionStore) {
  71214. return A._EnvironmentModule__EnvironmentModule2(this, css, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
  71215. },
  71216. toDummyModule$0() {
  71217. 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()));
  71218. },
  71219. _async_environment0$_getModule$1(namespace) {
  71220. var module = this._async_environment0$_modules.$index(0, namespace);
  71221. if (module != null)
  71222. return module;
  71223. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  71224. },
  71225. _async_environment0$_fromOneModule$1$3($name, type, callback, $T) {
  71226. var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
  71227. nestedForwardedModules = this._async_environment0$_nestedForwardedModules;
  71228. if (nestedForwardedModules != null)
  71229. 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();) {
  71230. t3 = t1.__internal$_current;
  71231. 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();) {
  71232. t5 = t3.__internal$_current;
  71233. value = callback.call$1(t5 == null ? t4._as(t5) : t5);
  71234. if (value != null)
  71235. return value;
  71236. }
  71237. }
  71238. for (t1 = this._async_environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  71239. value = callback.call$1(t1.__js_helper$_current);
  71240. if (value != null)
  71241. return value;
  71242. }
  71243. for (t1 = this._async_environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.AsyncCallable_2, value = null, identity = null; t2.moveNext$0();) {
  71244. t4 = t2.__js_helper$_current;
  71245. valueInModule = callback.call$1(t4);
  71246. if (valueInModule == null)
  71247. continue;
  71248. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  71249. if (identityFromModule.$eq(0, identity))
  71250. continue;
  71251. if (value != null) {
  71252. spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
  71253. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  71254. for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
  71255. t4 = t1.get$current(t1);
  71256. if (t4 != null)
  71257. t2.$indexSet(0, t4, t3);
  71258. }
  71259. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  71260. }
  71261. identity = identityFromModule;
  71262. value = valueInModule;
  71263. }
  71264. return value;
  71265. }
  71266. };
  71267. A.AsyncEnvironment_importForwards_closure2.prototype = {
  71268. call$1(module) {
  71269. var t1 = module.get$variables();
  71270. return t1.get$keys(t1);
  71271. },
  71272. $signature: 108
  71273. };
  71274. A.AsyncEnvironment_importForwards_closure3.prototype = {
  71275. call$1(module) {
  71276. var t1 = module.get$functions(module);
  71277. return t1.get$keys(t1);
  71278. },
  71279. $signature: 108
  71280. };
  71281. A.AsyncEnvironment_importForwards_closure4.prototype = {
  71282. call$1(module) {
  71283. var t1 = module.get$mixins();
  71284. return t1.get$keys(t1);
  71285. },
  71286. $signature: 108
  71287. };
  71288. A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
  71289. call$1(module) {
  71290. return module.get$variables().$index(0, this.name);
  71291. },
  71292. $signature: 305
  71293. };
  71294. A.AsyncEnvironment_setVariable_closure2.prototype = {
  71295. call$0() {
  71296. var t1 = this.$this;
  71297. t1._async_environment0$_lastVariableName = this.name;
  71298. return t1._async_environment0$_lastVariableIndex = 0;
  71299. },
  71300. $signature: 12
  71301. };
  71302. A.AsyncEnvironment_setVariable_closure3.prototype = {
  71303. call$1(module) {
  71304. return module.get$variables().containsKey$1(this.name) ? module : null;
  71305. },
  71306. $signature: 306
  71307. };
  71308. A.AsyncEnvironment_setVariable_closure4.prototype = {
  71309. call$0() {
  71310. var t1 = this.$this,
  71311. t2 = t1._async_environment0$_variableIndex$1(this.name);
  71312. return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
  71313. },
  71314. $signature: 12
  71315. };
  71316. A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
  71317. call$1(module) {
  71318. return module.get$functions(module).$index(0, this.name);
  71319. },
  71320. $signature: 154
  71321. };
  71322. A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
  71323. call$1(module) {
  71324. return module.get$mixins().$index(0, this.name);
  71325. },
  71326. $signature: 154
  71327. };
  71328. A.AsyncEnvironment_toModule_closure0.prototype = {
  71329. call$1(modules) {
  71330. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  71331. },
  71332. $signature: 155
  71333. };
  71334. A.AsyncEnvironment_toDummyModule_closure0.prototype = {
  71335. call$1(modules) {
  71336. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  71337. },
  71338. $signature: 155
  71339. };
  71340. A.AsyncEnvironment__fromOneModule_closure0.prototype = {
  71341. call$1(entry) {
  71342. return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure0(entry, this.T));
  71343. },
  71344. $signature: 309
  71345. };
  71346. A.AsyncEnvironment__fromOneModule__closure0.prototype = {
  71347. call$1(_) {
  71348. return J.get$span$z(this.entry.value);
  71349. },
  71350. $signature() {
  71351. return this.T._eval$1("FileSpan(0)");
  71352. }
  71353. };
  71354. A._EnvironmentModule2.prototype = {
  71355. get$url(_) {
  71356. var t1 = this.css;
  71357. return t1.get$span(t1).file.url;
  71358. },
  71359. setVariable$3($name, value, nodeWithSpan) {
  71360. var t1, t2,
  71361. module = this._async_environment0$_modulesByVariable.$index(0, $name);
  71362. if (module != null) {
  71363. module.setVariable$3($name, value, nodeWithSpan);
  71364. return;
  71365. }
  71366. t1 = this._async_environment0$_environment;
  71367. t2 = t1._async_environment0$_variables;
  71368. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  71369. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  71370. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  71371. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment0$_variableNodes), $name, nodeWithSpan);
  71372. return;
  71373. },
  71374. variableIdentity$1($name) {
  71375. var module = this._async_environment0$_modulesByVariable.$index(0, $name);
  71376. return module == null ? this : module.variableIdentity$1($name);
  71377. },
  71378. cloneCss$0() {
  71379. var newCssAndExtensionStore, _this = this;
  71380. if (!_this.transitivelyContainsCss)
  71381. return _this;
  71382. newCssAndExtensionStore = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  71383. 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);
  71384. },
  71385. toString$0(_) {
  71386. var t1 = this.css;
  71387. if (t1.get$span(t1).file.url == null)
  71388. t1 = "<unknown url>";
  71389. else {
  71390. t1 = t1.get$span(t1);
  71391. t1 = $.$get$context().prettyUri$1(t1.file.url);
  71392. }
  71393. return t1;
  71394. },
  71395. $isModule0: 1,
  71396. get$upstream() {
  71397. return this.upstream;
  71398. },
  71399. get$variables() {
  71400. return this.variables;
  71401. },
  71402. get$variableNodes() {
  71403. return this.variableNodes;
  71404. },
  71405. get$functions(receiver) {
  71406. return this.functions;
  71407. },
  71408. get$mixins() {
  71409. return this.mixins;
  71410. },
  71411. get$extensionStore() {
  71412. return this.extensionStore;
  71413. },
  71414. get$css(receiver) {
  71415. return this.css;
  71416. },
  71417. get$transitivelyContainsCss() {
  71418. return this.transitivelyContainsCss;
  71419. },
  71420. get$transitivelyContainsExtensions() {
  71421. return this.transitivelyContainsExtensions;
  71422. }
  71423. };
  71424. A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
  71425. call$1(module) {
  71426. return module.get$variables();
  71427. },
  71428. $signature: 310
  71429. };
  71430. A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
  71431. call$1(module) {
  71432. return module.get$variableNodes();
  71433. },
  71434. $signature: 311
  71435. };
  71436. A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
  71437. call$1(module) {
  71438. return module.get$functions(module);
  71439. },
  71440. $signature: 156
  71441. };
  71442. A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
  71443. call$1(module) {
  71444. return module.get$mixins();
  71445. },
  71446. $signature: 156
  71447. };
  71448. A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
  71449. call$1(module) {
  71450. return module.get$transitivelyContainsCss();
  71451. },
  71452. $signature: 107
  71453. };
  71454. A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
  71455. call$1(module) {
  71456. return module.get$transitivelyContainsExtensions();
  71457. },
  71458. $signature: 107
  71459. };
  71460. A._EvaluateVisitor2.prototype = {
  71461. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  71462. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  71463. _s20_ = "$name, $module: null",
  71464. _s9_ = "sass:meta",
  71465. t1 = type$.JSArray_AsyncBuiltInCallable_2,
  71466. 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),
  71467. metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure38(_this), _s9_)], t1);
  71468. t1 = type$.AsyncBuiltInCallable_2;
  71469. t2 = A.List_List$of($.$get$global6(), true, t1);
  71470. B.JSArray_methods.addAll$1(t2, $.$get$local0());
  71471. B.JSArray_methods.addAll$1(t2, metaFunctions);
  71472. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  71473. 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) {
  71474. module = t1[_i];
  71475. t3.$indexSet(0, module.url, module);
  71476. }
  71477. t1 = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  71478. B.JSArray_methods.addAll$1(t1, functions);
  71479. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
  71480. B.JSArray_methods.addAll$1(t1, metaFunctions);
  71481. for (t2 = t1.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  71482. $function = t1[_i];
  71483. t4 = J.get$name$x($function);
  71484. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  71485. }
  71486. },
  71487. run$2(_, importer, node) {
  71488. return this.run$body$_EvaluateVisitor0(0, importer, node);
  71489. },
  71490. run$body$_EvaluateVisitor0(_, importer, node) {
  71491. var $async$goto = 0,
  71492. $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
  71493. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  71494. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71495. if ($async$errorCode === 1) {
  71496. $async$currentError = $async$result;
  71497. $async$goto = $async$handler;
  71498. }
  71499. while (true)
  71500. switch ($async$goto) {
  71501. case 0:
  71502. // Function start
  71503. $async$handler = 4;
  71504. t1 = type$.nullable_Object;
  71505. $async$goto = 7;
  71506. return A._asyncAwait(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), $async$run$2);
  71507. case 7:
  71508. // returning from await.
  71509. t1 = $async$result;
  71510. $async$returnValue = t1;
  71511. // goto return
  71512. $async$goto = 1;
  71513. break;
  71514. $async$handler = 2;
  71515. // goto after finally
  71516. $async$goto = 6;
  71517. break;
  71518. case 4:
  71519. // catch
  71520. $async$handler = 3;
  71521. $async$exception = $async$currentError;
  71522. t1 = A.unwrapException($async$exception);
  71523. if (t1 instanceof A.SassException0) {
  71524. error = t1;
  71525. stackTrace = A.getTraceFromException($async$exception);
  71526. A.throwWithTrace0(error.withLoadedUrls$1($async$self._async_evaluate0$_loadedUrls), stackTrace);
  71527. } else
  71528. throw $async$exception;
  71529. // goto after finally
  71530. $async$goto = 6;
  71531. break;
  71532. case 3:
  71533. // uncaught
  71534. // goto rethrow
  71535. $async$goto = 2;
  71536. break;
  71537. case 6:
  71538. // after finally
  71539. case 1:
  71540. // return
  71541. return A._asyncReturn($async$returnValue, $async$completer);
  71542. case 2:
  71543. // rethrow
  71544. return A._asyncRethrow($async$currentError, $async$completer);
  71545. }
  71546. });
  71547. return A._asyncStartSync($async$run$2, $async$completer);
  71548. },
  71549. _async_evaluate0$_assertInModule$1$2(value, $name) {
  71550. if (value != null)
  71551. return value;
  71552. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  71553. },
  71554. _async_evaluate0$_assertInModule$2(value, $name) {
  71555. return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  71556. },
  71557. _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  71558. return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  71559. },
  71560. _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  71561. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  71562. },
  71563. _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  71564. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  71565. },
  71566. _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  71567. var $async$goto = 0,
  71568. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71569. $async$returnValue, $async$self = this, t1, t2, builtInModule;
  71570. var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71571. if ($async$errorCode === 1)
  71572. return A._asyncRethrow($async$result, $async$completer);
  71573. while (true)
  71574. switch ($async$goto) {
  71575. case 0:
  71576. // Function start
  71577. builtInModule = $async$self._async_evaluate0$_builtInModules.$index(0, url);
  71578. $async$goto = builtInModule != null ? 3 : 4;
  71579. break;
  71580. case 3:
  71581. // then
  71582. if (configuration instanceof A.ExplicitConfiguration0) {
  71583. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  71584. t2 = configuration.nodeWithSpan;
  71585. throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
  71586. }
  71587. $async$goto = 5;
  71588. 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);
  71589. case 5:
  71590. // returning from await.
  71591. // goto return
  71592. $async$goto = 1;
  71593. break;
  71594. case 4:
  71595. // join
  71596. $async$goto = 6;
  71597. 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);
  71598. case 6:
  71599. // returning from await.
  71600. case 1:
  71601. // return
  71602. return A._asyncReturn($async$returnValue, $async$completer);
  71603. }
  71604. });
  71605. return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  71606. },
  71607. _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  71608. return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  71609. },
  71610. _async_evaluate0$_execute$2(importer, stylesheet) {
  71611. return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  71612. },
  71613. _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  71614. var $async$goto = 0,
  71615. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
  71616. $async$returnValue, $async$self = this, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, extensionStore, module, url, t1, alreadyLoaded;
  71617. var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71618. if ($async$errorCode === 1)
  71619. return A._asyncRethrow($async$result, $async$completer);
  71620. while (true)
  71621. switch ($async$goto) {
  71622. case 0:
  71623. // Function start
  71624. url = stylesheet.span.file.url;
  71625. t1 = $async$self._async_evaluate0$_modules;
  71626. alreadyLoaded = t1.$index(0, url);
  71627. if (alreadyLoaded != null) {
  71628. t1 = configuration == null;
  71629. currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
  71630. t2 = $async$self._async_evaluate0$_moduleConfigurations.$index(0, url);
  71631. t3 = t2._configuration$__originalConfiguration;
  71632. t2 = t3 == null ? t2 : t3;
  71633. t3 = currentConfiguration._configuration$__originalConfiguration;
  71634. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  71635. message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
  71636. t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
  71637. existingSpan = t2 == null ? null : J.get$span$z(t2);
  71638. if (t1) {
  71639. t1 = currentConfiguration.nodeWithSpan;
  71640. configurationSpan = t1.get$span(t1);
  71641. } else
  71642. configurationSpan = null;
  71643. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  71644. if (existingSpan != null)
  71645. t1.$indexSet(0, existingSpan, "original load");
  71646. if (configurationSpan != null)
  71647. t1.$indexSet(0, configurationSpan, "configuration");
  71648. throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
  71649. }
  71650. $async$returnValue = alreadyLoaded;
  71651. // goto return
  71652. $async$goto = 1;
  71653. break;
  71654. }
  71655. environment = A.AsyncEnvironment$0();
  71656. css = A._Cell$();
  71657. extensionStore = A.ExtensionStore$0();
  71658. $async$goto = 3;
  71659. 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);
  71660. case 3:
  71661. // returning from await.
  71662. module = environment.toModule$2(css._readLocal$0(), extensionStore);
  71663. if (url != null) {
  71664. t1.$indexSet(0, url, module);
  71665. $async$self._async_evaluate0$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate0$_configuration);
  71666. if (nodeWithSpan != null)
  71667. $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  71668. }
  71669. $async$returnValue = module;
  71670. // goto return
  71671. $async$goto = 1;
  71672. break;
  71673. case 1:
  71674. // return
  71675. return A._asyncReturn($async$returnValue, $async$completer);
  71676. }
  71677. });
  71678. return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  71679. },
  71680. _async_evaluate0$_addOutOfOrderImports$0() {
  71681. var t1, t2, _this = this, _s5_ = "_root",
  71682. _s13_ = "_endOfImports",
  71683. outOfOrderImports = _this._async_evaluate0$_outOfOrderImports;
  71684. if (outOfOrderImports == null)
  71685. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  71686. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  71687. t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListBase.E")), true, type$.ModifiableCssNode_2);
  71688. B.JSArray_methods.addAll$1(t1, outOfOrderImports);
  71689. t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  71690. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  71691. return t1;
  71692. },
  71693. _async_evaluate0$_combineCss$2$clone(root, clone) {
  71694. var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
  71695. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure8())) {
  71696. selectors = root.get$extensionStore().get$simpleSelectors();
  71697. unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure9(selectors)));
  71698. if (unsatisfiedExtension != null)
  71699. _this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  71700. return root.get$css(root);
  71701. }
  71702. sortedModules = _this._async_evaluate0$_topologicalModules$1(root);
  71703. if (clone) {
  71704. t1 = sortedModules.$ti._eval$1("MappedListIterable<ListBase.E,Module0<AsyncCallable0>>");
  71705. sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure10(), t1), true, t1._eval$1("ListIterable.E"));
  71706. }
  71707. _this._async_evaluate0$_extendModules$1(sortedModules);
  71708. t1 = type$.JSArray_CssNode_2;
  71709. imports = A._setArrayType([], t1);
  71710. css = A._setArrayType([], t1);
  71711. for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  71712. t3 = t1.__internal$_current;
  71713. if (t3 == null)
  71714. t3 = t2._as(t3);
  71715. t3 = t3.get$css(t3);
  71716. statements = t3.get$children(t3);
  71717. index = _this._async_evaluate0$_indexAfterImports$1(statements);
  71718. t3 = J.getInterceptor$ax(statements);
  71719. B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
  71720. B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
  71721. }
  71722. t1 = B.JSArray_methods.$add(imports, css);
  71723. t2 = root.get$css(root);
  71724. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  71725. },
  71726. _async_evaluate0$_combineCss$1(root) {
  71727. return this._async_evaluate0$_combineCss$2$clone(root, false);
  71728. },
  71729. _async_evaluate0$_extendModules$1(sortedModules) {
  71730. var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
  71731. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  71732. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  71733. for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
  71734. t2 = t1.get$current(t1);
  71735. originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
  71736. unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
  71737. $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
  71738. t3 = t2.get$extensionStore().get$addExtensions();
  71739. if ($self != null)
  71740. t3.call$1($self);
  71741. t3 = t2.get$extensionStore();
  71742. if (t3.get$isEmpty(t3))
  71743. continue;
  71744. for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  71745. upstream = t3[_i];
  71746. url = upstream.get$url(upstream);
  71747. if (url == null)
  71748. continue;
  71749. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure6()), t2.get$extensionStore());
  71750. }
  71751. unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  71752. }
  71753. if (unsatisfiedExtensions._collection$_length !== 0)
  71754. this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  71755. },
  71756. _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  71757. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  71758. },
  71759. _async_evaluate0$_topologicalModules$1(root) {
  71760. var t1 = type$.Module_AsyncCallable_2,
  71761. sorted = A.QueueList$(null, t1);
  71762. new A._EvaluateVisitor__topologicalModules_visitModule2(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
  71763. return sorted;
  71764. },
  71765. _async_evaluate0$_indexAfterImports$1(statements) {
  71766. var t1, t2, t3, lastImport, i, statement;
  71767. for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  71768. statement = t1.$index(statements, i);
  71769. if (t3._is(statement))
  71770. lastImport = i;
  71771. else if (!t2._is(statement))
  71772. break;
  71773. }
  71774. return lastImport + 1;
  71775. },
  71776. visitStylesheet$1(node) {
  71777. return this.visitStylesheet$body$_EvaluateVisitor0(node);
  71778. },
  71779. visitStylesheet$body$_EvaluateVisitor0(node) {
  71780. var $async$goto = 0,
  71781. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71782. $async$returnValue, $async$self = this, t1, t2, _i;
  71783. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71784. if ($async$errorCode === 1)
  71785. return A._asyncRethrow($async$result, $async$completer);
  71786. while (true)
  71787. switch ($async$goto) {
  71788. case 0:
  71789. // Function start
  71790. t1 = node.children, t2 = t1.length, _i = 0;
  71791. case 3:
  71792. // for condition
  71793. if (!(_i < t2)) {
  71794. // goto after for
  71795. $async$goto = 5;
  71796. break;
  71797. }
  71798. $async$goto = 6;
  71799. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  71800. case 6:
  71801. // returning from await.
  71802. case 4:
  71803. // for update
  71804. ++_i;
  71805. // goto for condition
  71806. $async$goto = 3;
  71807. break;
  71808. case 5:
  71809. // after for
  71810. $async$returnValue = null;
  71811. // goto return
  71812. $async$goto = 1;
  71813. break;
  71814. case 1:
  71815. // return
  71816. return A._asyncReturn($async$returnValue, $async$completer);
  71817. }
  71818. });
  71819. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  71820. },
  71821. visitAtRootRule$1(node) {
  71822. return this.visitAtRootRule$body$_EvaluateVisitor0(node);
  71823. },
  71824. visitAtRootRule$body$_EvaluateVisitor0(node) {
  71825. var $async$goto = 0,
  71826. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71827. $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, unparsedQuery, query, $parent, included, $async$temp1;
  71828. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71829. if ($async$errorCode === 1)
  71830. return A._asyncRethrow($async$result, $async$completer);
  71831. while (true)
  71832. switch ($async$goto) {
  71833. case 0:
  71834. // Function start
  71835. unparsedQuery = node.query;
  71836. $async$goto = unparsedQuery != null ? 3 : 5;
  71837. break;
  71838. case 3:
  71839. // then
  71840. $async$temp1 = A;
  71841. $async$goto = 6;
  71842. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
  71843. case 6:
  71844. // returning from await.
  71845. $async$result = $async$temp1.AtRootQueryParser$0($async$result.item1, $async$self._async_evaluate0$_logger, null).parse$0();
  71846. // goto join
  71847. $async$goto = 4;
  71848. break;
  71849. case 5:
  71850. // else
  71851. $async$result = B.AtRootQuery_UsS0;
  71852. case 4:
  71853. // join
  71854. query = $async$result;
  71855. $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  71856. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  71857. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
  71858. if (!query.excludes$1($parent))
  71859. included.push($parent);
  71860. grandparent = $parent._node$_parent;
  71861. if (grandparent == null)
  71862. throw A.wrapException(A.StateError$(string$.CssNod));
  71863. }
  71864. root = $async$self._async_evaluate0$_trimIncluded$1(included);
  71865. $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
  71866. break;
  71867. case 7:
  71868. // then
  71869. $async$goto = 9;
  71870. 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);
  71871. case 9:
  71872. // returning from await.
  71873. $async$returnValue = null;
  71874. // goto return
  71875. $async$goto = 1;
  71876. break;
  71877. case 8:
  71878. // join
  71879. if (included.length !== 0) {
  71880. innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
  71881. 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) {
  71882. t3 = t1.__internal$_current;
  71883. copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
  71884. copy.addChild$1(outerCopy);
  71885. }
  71886. root.addChild$1(outerCopy);
  71887. } else
  71888. innerCopy = root;
  71889. $async$goto = 10;
  71890. 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);
  71891. case 10:
  71892. // returning from await.
  71893. $async$returnValue = null;
  71894. // goto return
  71895. $async$goto = 1;
  71896. break;
  71897. case 1:
  71898. // return
  71899. return A._asyncReturn($async$returnValue, $async$completer);
  71900. }
  71901. });
  71902. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  71903. },
  71904. _async_evaluate0$_trimIncluded$1(nodes) {
  71905. var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
  71906. _s22_ = " to be an ancestor of ";
  71907. if (nodes.length === 0)
  71908. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  71909. $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
  71910. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  71911. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  71912. grandparent = $parent._node$_parent;
  71913. if (grandparent == null)
  71914. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  71915. }
  71916. if (innermostContiguous == null)
  71917. innermostContiguous = i;
  71918. grandparent = $parent._node$_parent;
  71919. if (grandparent == null)
  71920. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  71921. }
  71922. if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
  71923. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  71924. innermostContiguous.toString;
  71925. root = nodes[innermostContiguous];
  71926. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  71927. return root;
  71928. },
  71929. _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  71930. var _this = this,
  71931. scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
  71932. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  71933. if (t1 !== query.include)
  71934. scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
  71935. if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  71936. scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
  71937. if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  71938. scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
  71939. return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
  71940. },
  71941. visitContentBlock$1(node) {
  71942. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  71943. },
  71944. visitContentRule$1(node) {
  71945. return this.visitContentRule$body$_EvaluateVisitor0(node);
  71946. },
  71947. visitContentRule$body$_EvaluateVisitor0(node) {
  71948. var $async$goto = 0,
  71949. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71950. $async$returnValue, $async$self = this, $content;
  71951. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71952. if ($async$errorCode === 1)
  71953. return A._asyncRethrow($async$result, $async$completer);
  71954. while (true)
  71955. switch ($async$goto) {
  71956. case 0:
  71957. // Function start
  71958. $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
  71959. if ($content == null) {
  71960. $async$returnValue = null;
  71961. // goto return
  71962. $async$goto = 1;
  71963. break;
  71964. }
  71965. $async$goto = 3;
  71966. 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);
  71967. case 3:
  71968. // returning from await.
  71969. $async$returnValue = null;
  71970. // goto return
  71971. $async$goto = 1;
  71972. break;
  71973. case 1:
  71974. // return
  71975. return A._asyncReturn($async$returnValue, $async$completer);
  71976. }
  71977. });
  71978. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  71979. },
  71980. visitDebugRule$1(node) {
  71981. return this.visitDebugRule$body$_EvaluateVisitor0(node);
  71982. },
  71983. visitDebugRule$body$_EvaluateVisitor0(node) {
  71984. var $async$goto = 0,
  71985. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71986. $async$returnValue, $async$self = this, value, t1;
  71987. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71988. if ($async$errorCode === 1)
  71989. return A._asyncRethrow($async$result, $async$completer);
  71990. while (true)
  71991. switch ($async$goto) {
  71992. case 0:
  71993. // Function start
  71994. $async$goto = 3;
  71995. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  71996. case 3:
  71997. // returning from await.
  71998. value = $async$result;
  71999. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  72000. $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
  72001. $async$returnValue = null;
  72002. // goto return
  72003. $async$goto = 1;
  72004. break;
  72005. case 1:
  72006. // return
  72007. return A._asyncReturn($async$returnValue, $async$completer);
  72008. }
  72009. });
  72010. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  72011. },
  72012. visitDeclaration$1(node) {
  72013. return this.visitDeclaration$body$_EvaluateVisitor0(node);
  72014. },
  72015. visitDeclaration$body$_EvaluateVisitor0(node) {
  72016. var $async$goto = 0,
  72017. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72018. $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
  72019. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72020. if ($async$errorCode === 1)
  72021. return A._asyncRethrow($async$result, $async$completer);
  72022. while (true)
  72023. switch ($async$goto) {
  72024. case 0:
  72025. // Function start
  72026. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
  72027. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
  72028. if ($async$self._async_evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  72029. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarw, node.span));
  72030. t1 = node.name;
  72031. $async$goto = 3;
  72032. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
  72033. case 3:
  72034. // returning from await.
  72035. $name = $async$result;
  72036. t2 = $async$self._async_evaluate0$_declarationName;
  72037. if (t2 != null)
  72038. $name = new A.CssValue0(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  72039. t2 = node.value;
  72040. $async$goto = 4;
  72041. return A._asyncAwait(A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure5($async$self)), $async$visitDeclaration$1);
  72042. case 4:
  72043. // returning from await.
  72044. cssValue = $async$result;
  72045. t3 = cssValue != null;
  72046. if (t3) {
  72047. t4 = cssValue.value;
  72048. t4 = !t4.get$isBlank() || t4.get$asList().length === 0;
  72049. } else
  72050. t4 = false;
  72051. if (t4) {
  72052. t3 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  72053. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  72054. if ($async$self._async_evaluate0$_sourceMap) {
  72055. t2 = A.NullableExtension_andThen0(t2, $async$self.get$_async_evaluate0$_expressionNode());
  72056. t2 = t2 == null ? null : J.get$span$z(t2);
  72057. } else
  72058. t2 = null;
  72059. t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
  72060. } else if (J.startsWith$1$s($name.value, "--") && t3)
  72061. throw A.wrapException($async$self._async_evaluate0$_exception$2("Custom property values may not be empty.", cssValue.span));
  72062. children = node.children;
  72063. $async$goto = children != null ? 5 : 6;
  72064. break;
  72065. case 5:
  72066. // then
  72067. oldDeclarationName = $async$self._async_evaluate0$_declarationName;
  72068. $async$self._async_evaluate0$_declarationName = $name.value;
  72069. $async$goto = 7;
  72070. 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);
  72071. case 7:
  72072. // returning from await.
  72073. $async$self._async_evaluate0$_declarationName = oldDeclarationName;
  72074. case 6:
  72075. // join
  72076. $async$returnValue = null;
  72077. // goto return
  72078. $async$goto = 1;
  72079. break;
  72080. case 1:
  72081. // return
  72082. return A._asyncReturn($async$returnValue, $async$completer);
  72083. }
  72084. });
  72085. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  72086. },
  72087. visitEachRule$1(node) {
  72088. return this.visitEachRule$body$_EvaluateVisitor0(node);
  72089. },
  72090. visitEachRule$body$_EvaluateVisitor0(node) {
  72091. var $async$goto = 0,
  72092. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72093. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
  72094. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72095. if ($async$errorCode === 1)
  72096. return A._asyncRethrow($async$result, $async$completer);
  72097. while (true)
  72098. switch ($async$goto) {
  72099. case 0:
  72100. // Function start
  72101. t1 = node.list;
  72102. $async$goto = 3;
  72103. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  72104. case 3:
  72105. // returning from await.
  72106. list = $async$result;
  72107. nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
  72108. setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure8($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure9($async$self, node, nodeWithSpan);
  72109. $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);
  72110. // goto return
  72111. $async$goto = 1;
  72112. break;
  72113. case 1:
  72114. // return
  72115. return A._asyncReturn($async$returnValue, $async$completer);
  72116. }
  72117. });
  72118. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  72119. },
  72120. _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  72121. var i,
  72122. list = value.get$asList(),
  72123. t1 = variables.length,
  72124. minLength = Math.min(t1, list.length);
  72125. for (i = 0; i < minLength; ++i)
  72126. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  72127. for (i = minLength; i < t1; ++i)
  72128. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  72129. },
  72130. visitErrorRule$1(node) {
  72131. return this.visitErrorRule$body$_EvaluateVisitor0(node);
  72132. },
  72133. visitErrorRule$body$_EvaluateVisitor0(node) {
  72134. var $async$goto = 0,
  72135. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  72136. $async$self = this, $async$temp1, $async$temp2;
  72137. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72138. if ($async$errorCode === 1)
  72139. return A._asyncRethrow($async$result, $async$completer);
  72140. while (true)
  72141. switch ($async$goto) {
  72142. case 0:
  72143. // Function start
  72144. $async$temp1 = A;
  72145. $async$temp2 = J;
  72146. $async$goto = 2;
  72147. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  72148. case 2:
  72149. // returning from await.
  72150. throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
  72151. // implicit return
  72152. return A._asyncReturn(null, $async$completer);
  72153. }
  72154. });
  72155. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  72156. },
  72157. visitExtendRule$1(node) {
  72158. return this.visitExtendRule$body$_EvaluateVisitor0(node);
  72159. },
  72160. visitExtendRule$body$_EvaluateVisitor0(node) {
  72161. var $async$goto = 0,
  72162. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72163. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, tuple, targetText, targetMap, compound, styleRule;
  72164. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72165. if ($async$errorCode === 1)
  72166. return A._asyncRethrow($async$result, $async$completer);
  72167. while (true)
  72168. switch ($async$goto) {
  72169. case 0:
  72170. // Function start
  72171. styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  72172. if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
  72173. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
  72174. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  72175. complex = t1[_i];
  72176. if (!complex.accept$1(B._IsBogusVisitor_true0))
  72177. continue;
  72178. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  72179. complex.accept$1(visitor);
  72180. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  72181. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  72182. $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);
  72183. }
  72184. $async$goto = 3;
  72185. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  72186. case 3:
  72187. // returning from await.
  72188. tuple = $async$result;
  72189. targetText = tuple.item1;
  72190. targetMap = tuple.item2;
  72191. 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) {
  72192. complex = t1[_i];
  72193. if (complex.leadingCombinators.length === 0) {
  72194. t4 = complex.components;
  72195. t4 = t4.length === 1 && B.JSArray_methods.get$first(t4).combinators.length === 0;
  72196. } else
  72197. t4 = false;
  72198. compound = t4 ? B.JSArray_methods.get$first(complex.components).selector : null;
  72199. if (compound == null)
  72200. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, null));
  72201. t4 = compound.components;
  72202. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  72203. if (t5 == null)
  72204. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  72205. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate0$_mediaQueries);
  72206. }
  72207. $async$returnValue = null;
  72208. // goto return
  72209. $async$goto = 1;
  72210. break;
  72211. case 1:
  72212. // return
  72213. return A._asyncReturn($async$returnValue, $async$completer);
  72214. }
  72215. });
  72216. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  72217. },
  72218. visitAtRule$1(node) {
  72219. return this.visitAtRule$body$_EvaluateVisitor0(node);
  72220. },
  72221. visitAtRule$body$_EvaluateVisitor0(node) {
  72222. var $async$goto = 0,
  72223. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72224. $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
  72225. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72226. if ($async$errorCode === 1)
  72227. return A._asyncRethrow($async$result, $async$completer);
  72228. while (true)
  72229. switch ($async$goto) {
  72230. case 0:
  72231. // Function start
  72232. if ($async$self._async_evaluate0$_declarationName != null)
  72233. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  72234. $async$goto = 3;
  72235. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  72236. case 3:
  72237. // returning from await.
  72238. $name = $async$result;
  72239. $async$goto = 4;
  72240. return A._asyncAwait(A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self)), $async$visitAtRule$1);
  72241. case 4:
  72242. // returning from await.
  72243. value = $async$result;
  72244. children = node.children;
  72245. if (children == null) {
  72246. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  72247. $async$returnValue = null;
  72248. // goto return
  72249. $async$goto = 1;
  72250. break;
  72251. }
  72252. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  72253. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  72254. if (A.unvendor0($name.value) === "keyframes")
  72255. $async$self._async_evaluate0$_inKeyframes = true;
  72256. else
  72257. $async$self._async_evaluate0$_inUnknownAtRule = true;
  72258. $async$goto = 5;
  72259. 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);
  72260. case 5:
  72261. // returning from await.
  72262. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  72263. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  72264. $async$returnValue = null;
  72265. // goto return
  72266. $async$goto = 1;
  72267. break;
  72268. case 1:
  72269. // return
  72270. return A._asyncReturn($async$returnValue, $async$completer);
  72271. }
  72272. });
  72273. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  72274. },
  72275. visitForRule$1(node) {
  72276. return this.visitForRule$body$_EvaluateVisitor0(node);
  72277. },
  72278. visitForRule$body$_EvaluateVisitor0(node) {
  72279. var $async$goto = 0,
  72280. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72281. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  72282. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72283. if ($async$errorCode === 1)
  72284. return A._asyncRethrow($async$result, $async$completer);
  72285. while (true)
  72286. switch ($async$goto) {
  72287. case 0:
  72288. // Function start
  72289. t1 = {};
  72290. t2 = node.from;
  72291. t3 = type$.SassNumber_2;
  72292. $async$goto = 3;
  72293. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
  72294. case 3:
  72295. // returning from await.
  72296. fromNumber = $async$result;
  72297. t4 = node.to;
  72298. $async$goto = 4;
  72299. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
  72300. case 4:
  72301. // returning from await.
  72302. toNumber = $async$result;
  72303. from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
  72304. to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
  72305. direction = from > to ? -1 : 1;
  72306. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  72307. $async$returnValue = null;
  72308. // goto return
  72309. $async$goto = 1;
  72310. break;
  72311. }
  72312. $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);
  72313. // goto return
  72314. $async$goto = 1;
  72315. break;
  72316. case 1:
  72317. // return
  72318. return A._asyncReturn($async$returnValue, $async$completer);
  72319. }
  72320. });
  72321. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  72322. },
  72323. visitForwardRule$1(node) {
  72324. return this.visitForwardRule$body$_EvaluateVisitor0(node);
  72325. },
  72326. visitForwardRule$body$_EvaluateVisitor0(node) {
  72327. var $async$goto = 0,
  72328. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72329. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  72330. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72331. if ($async$errorCode === 1)
  72332. return A._asyncRethrow($async$result, $async$completer);
  72333. while (true)
  72334. switch ($async$goto) {
  72335. case 0:
  72336. // Function start
  72337. oldConfiguration = $async$self._async_evaluate0$_configuration;
  72338. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  72339. t1 = node.configuration;
  72340. t2 = t1.length;
  72341. t3 = node.url;
  72342. $async$goto = t2 !== 0 ? 3 : 5;
  72343. break;
  72344. case 3:
  72345. // then
  72346. $async$goto = 6;
  72347. return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  72348. case 6:
  72349. // returning from await.
  72350. newConfiguration = $async$result;
  72351. $async$goto = 7;
  72352. 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);
  72353. case 7:
  72354. // returning from await.
  72355. t3 = type$.String;
  72356. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  72357. for (_i = 0; _i < t2; ++_i) {
  72358. variable = t1[_i];
  72359. if (!variable.isGuarded)
  72360. t4.add$1(0, variable.name);
  72361. }
  72362. $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  72363. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  72364. for (_i = 0; _i < t2; ++_i)
  72365. t3.add$1(0, t1[_i].name);
  72366. 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) {
  72367. $name = t2[_i];
  72368. if (!t3.contains$1(0, $name))
  72369. if (!t1.get$isEmpty(t1))
  72370. t1.remove$1(0, $name);
  72371. }
  72372. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  72373. // goto join
  72374. $async$goto = 4;
  72375. break;
  72376. case 5:
  72377. // else
  72378. $async$self._async_evaluate0$_configuration = adjustedConfiguration;
  72379. $async$goto = 8;
  72380. return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
  72381. case 8:
  72382. // returning from await.
  72383. $async$self._async_evaluate0$_configuration = oldConfiguration;
  72384. case 4:
  72385. // join
  72386. $async$returnValue = null;
  72387. // goto return
  72388. $async$goto = 1;
  72389. break;
  72390. case 1:
  72391. // return
  72392. return A._asyncReturn($async$returnValue, $async$completer);
  72393. }
  72394. });
  72395. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  72396. },
  72397. _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
  72398. return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
  72399. },
  72400. _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
  72401. var $async$goto = 0,
  72402. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
  72403. $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  72404. var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72405. if ($async$errorCode === 1)
  72406. return A._asyncRethrow($async$result, $async$completer);
  72407. while (true)
  72408. switch ($async$goto) {
  72409. case 0:
  72410. // Function start
  72411. t1 = configuration._configuration$_values;
  72412. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  72413. t2 = node.configuration, t3 = t2.length, _i = 0;
  72414. case 3:
  72415. // for condition
  72416. if (!(_i < t3)) {
  72417. // goto after for
  72418. $async$goto = 5;
  72419. break;
  72420. }
  72421. variable = t2[_i];
  72422. if (variable.isGuarded) {
  72423. t4 = variable.name;
  72424. t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
  72425. if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
  72426. newValues.$indexSet(0, t4, t5);
  72427. // goto for update
  72428. $async$goto = 4;
  72429. break;
  72430. }
  72431. }
  72432. t4 = variable.expression;
  72433. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t4);
  72434. $async$temp1 = newValues;
  72435. $async$temp2 = variable.name;
  72436. $async$temp3 = A;
  72437. $async$goto = 6;
  72438. return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate0$_addForwardConfiguration$2);
  72439. case 6:
  72440. // returning from await.
  72441. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  72442. case 4:
  72443. // for update
  72444. ++_i;
  72445. // goto for condition
  72446. $async$goto = 3;
  72447. break;
  72448. case 5:
  72449. // after for
  72450. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
  72451. $async$returnValue = new A.ExplicitConfiguration0(node, newValues, null);
  72452. // goto return
  72453. $async$goto = 1;
  72454. break;
  72455. } else {
  72456. $async$returnValue = new A.Configuration0(newValues, null);
  72457. // goto return
  72458. $async$goto = 1;
  72459. break;
  72460. }
  72461. case 1:
  72462. // return
  72463. return A._asyncReturn($async$returnValue, $async$completer);
  72464. }
  72465. });
  72466. return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
  72467. },
  72468. _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  72469. var t1, t2, t3, t4, _i, $name;
  72470. 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) {
  72471. $name = t2[_i];
  72472. if (except.contains$1(0, $name))
  72473. continue;
  72474. if (!t4.containsKey$1($name))
  72475. if (!t1.get$isEmpty(t1))
  72476. t1.remove$1(0, $name);
  72477. }
  72478. },
  72479. _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  72480. var t1, entry;
  72481. if (!(configuration instanceof A.ExplicitConfiguration0))
  72482. return;
  72483. t1 = configuration._configuration$_values;
  72484. if (t1.get$isEmpty(t1))
  72485. return;
  72486. t1 = t1.get$entries(t1);
  72487. entry = t1.get$first(t1);
  72488. t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
  72489. throw A.wrapException(this._async_evaluate0$_exception$2(t1, entry.value.configurationSpan));
  72490. },
  72491. _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  72492. return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  72493. },
  72494. visitFunctionRule$1(node) {
  72495. return this.visitFunctionRule$body$_EvaluateVisitor0(node);
  72496. },
  72497. visitFunctionRule$body$_EvaluateVisitor0(node) {
  72498. var $async$goto = 0,
  72499. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72500. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  72501. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72502. if ($async$errorCode === 1)
  72503. return A._asyncRethrow($async$result, $async$completer);
  72504. while (true)
  72505. switch ($async$goto) {
  72506. case 0:
  72507. // Function start
  72508. t1 = $async$self._async_evaluate0$_environment;
  72509. t2 = t1.closure$0();
  72510. t3 = $async$self._async_evaluate0$_inDependency;
  72511. t4 = t1._async_environment0$_functions;
  72512. index = t4.length - 1;
  72513. t5 = node.name;
  72514. t1._async_environment0$_functionIndices.$indexSet(0, t5, index);
  72515. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  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$visitFunctionRule$1, $async$completer);
  72526. },
  72527. visitIfRule$1(node) {
  72528. return this.visitIfRule$body$_EvaluateVisitor0(node);
  72529. },
  72530. visitIfRule$body$_EvaluateVisitor0(node) {
  72531. var $async$goto = 0,
  72532. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72533. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
  72534. var $async$visitIfRule$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. _box_0 = {};
  72542. _box_0.clause = node.lastClause;
  72543. t1 = node.clauses, t2 = t1.length, _i = 0;
  72544. case 3:
  72545. // for condition
  72546. if (!(_i < t2)) {
  72547. // goto after for
  72548. $async$goto = 5;
  72549. break;
  72550. }
  72551. clauseToCheck = t1[_i];
  72552. $async$goto = 6;
  72553. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  72554. case 6:
  72555. // returning from await.
  72556. if ($async$result.get$isTruthy()) {
  72557. _box_0.clause = clauseToCheck;
  72558. // goto after for
  72559. $async$goto = 5;
  72560. break;
  72561. }
  72562. case 4:
  72563. // for update
  72564. ++_i;
  72565. // goto for condition
  72566. $async$goto = 3;
  72567. break;
  72568. case 5:
  72569. // after for
  72570. t1 = _box_0.clause;
  72571. if (t1 == null) {
  72572. $async$returnValue = null;
  72573. // goto return
  72574. $async$goto = 1;
  72575. break;
  72576. }
  72577. $async$goto = 7;
  72578. 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);
  72579. case 7:
  72580. // returning from await.
  72581. $async$returnValue = $async$result;
  72582. // goto return
  72583. $async$goto = 1;
  72584. break;
  72585. case 1:
  72586. // return
  72587. return A._asyncReturn($async$returnValue, $async$completer);
  72588. }
  72589. });
  72590. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  72591. },
  72592. visitImportRule$1(node) {
  72593. return this.visitImportRule$body$_EvaluateVisitor0(node);
  72594. },
  72595. visitImportRule$body$_EvaluateVisitor0(node) {
  72596. var $async$goto = 0,
  72597. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72598. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  72599. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72600. if ($async$errorCode === 1)
  72601. return A._asyncRethrow($async$result, $async$completer);
  72602. while (true)
  72603. switch ($async$goto) {
  72604. case 0:
  72605. // Function start
  72606. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
  72607. case 3:
  72608. // for condition
  72609. if (!(_i < t2)) {
  72610. // goto after for
  72611. $async$goto = 5;
  72612. break;
  72613. }
  72614. $import = t1[_i];
  72615. $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
  72616. break;
  72617. case 6:
  72618. // then
  72619. $async$goto = 9;
  72620. return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
  72621. case 9:
  72622. // returning from await.
  72623. // goto join
  72624. $async$goto = 7;
  72625. break;
  72626. case 8:
  72627. // else
  72628. $async$goto = 10;
  72629. return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  72630. case 10:
  72631. // returning from await.
  72632. case 7:
  72633. // join
  72634. case 4:
  72635. // for update
  72636. ++_i;
  72637. // goto for condition
  72638. $async$goto = 3;
  72639. break;
  72640. case 5:
  72641. // after for
  72642. $async$returnValue = null;
  72643. // goto return
  72644. $async$goto = 1;
  72645. break;
  72646. case 1:
  72647. // return
  72648. return A._asyncReturn($async$returnValue, $async$completer);
  72649. }
  72650. });
  72651. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  72652. },
  72653. _async_evaluate0$_visitDynamicImport$1($import) {
  72654. return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
  72655. },
  72656. _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  72657. return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
  72658. },
  72659. _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  72660. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  72661. },
  72662. _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  72663. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  72664. },
  72665. _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
  72666. var $async$goto = 0,
  72667. $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet_2),
  72668. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, importCache, parsedUrl, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, $async$exception;
  72669. var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72670. if ($async$errorCode === 1) {
  72671. $async$currentError = $async$result;
  72672. $async$goto = $async$handler;
  72673. }
  72674. while (true)
  72675. switch ($async$goto) {
  72676. case 0:
  72677. // Function start
  72678. baseUrl = baseUrl;
  72679. $async$handler = 4;
  72680. $async$self._async_evaluate0$_importSpan = span;
  72681. importCache = $async$self._async_evaluate0$_importCache;
  72682. $async$goto = importCache != null ? 7 : 9;
  72683. break;
  72684. case 7:
  72685. // then
  72686. parsedUrl = A.Uri_parse(url);
  72687. if (baseUrl == null)
  72688. baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
  72689. $async$goto = 10;
  72690. return A._asyncAwait(J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, parsedUrl, $async$self._async_evaluate0$_importer, baseUrl, forImport), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  72691. case 10:
  72692. // returning from await.
  72693. tuple = $async$result;
  72694. $async$goto = tuple != null ? 11 : 12;
  72695. break;
  72696. case 11:
  72697. // then
  72698. $async$self._async_evaluate0$_loadedUrls.add$1(0, tuple.item2);
  72699. isDependency = $async$self._async_evaluate0$_inDependency || tuple.item1 !== $async$self._async_evaluate0$_importer;
  72700. t1 = tuple.item1;
  72701. t2 = tuple.item2;
  72702. t3 = tuple.item3;
  72703. t4 = $async$self._async_evaluate0$_quietDeps && isDependency;
  72704. $async$goto = 13;
  72705. return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  72706. case 13:
  72707. // returning from await.
  72708. stylesheet = $async$result;
  72709. if (stylesheet != null) {
  72710. t1 = tuple.item1;
  72711. $async$returnValue = new A._LoadedStylesheet2(stylesheet, t1, isDependency);
  72712. $async$next = [1];
  72713. // goto finally
  72714. $async$goto = 5;
  72715. break;
  72716. }
  72717. case 12:
  72718. // join
  72719. // goto join
  72720. $async$goto = 8;
  72721. break;
  72722. case 9:
  72723. // else
  72724. t1 = baseUrl;
  72725. $async$goto = 14;
  72726. 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);
  72727. case 14:
  72728. // returning from await.
  72729. result = $async$result;
  72730. if (result != null) {
  72731. t1 = $async$self._async_evaluate0$_loadedUrls;
  72732. A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
  72733. $async$returnValue = result;
  72734. $async$next = [1];
  72735. // goto finally
  72736. $async$goto = 5;
  72737. break;
  72738. }
  72739. case 8:
  72740. // join
  72741. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  72742. throw A.wrapException(string$.x22packa);
  72743. else
  72744. throw A.wrapException("Can't find stylesheet to import.");
  72745. $async$next.push(6);
  72746. // goto finally
  72747. $async$goto = 5;
  72748. break;
  72749. case 4:
  72750. // catch
  72751. $async$handler = 3;
  72752. $async$exception = $async$currentError;
  72753. t1 = A.unwrapException($async$exception);
  72754. if (t1 instanceof A.SassException0)
  72755. throw $async$exception;
  72756. else if (t1 instanceof A.ArgumentError) {
  72757. error = t1;
  72758. stackTrace = A.getTraceFromException($async$exception);
  72759. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(J.toString$0$(error)), stackTrace);
  72760. } else {
  72761. error0 = t1;
  72762. stackTrace0 = A.getTraceFromException($async$exception);
  72763. message = null;
  72764. try {
  72765. message = A._asString(J.get$message$x(error0));
  72766. } catch (exception) {
  72767. message0 = J.toString$0$(error0);
  72768. message = message0;
  72769. }
  72770. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(message), stackTrace0);
  72771. }
  72772. $async$next.push(6);
  72773. // goto finally
  72774. $async$goto = 5;
  72775. break;
  72776. case 3:
  72777. // uncaught
  72778. $async$next = [2];
  72779. case 5:
  72780. // finally
  72781. $async$handler = 2;
  72782. $async$self._async_evaluate0$_importSpan = null;
  72783. // goto the next finally handler
  72784. $async$goto = $async$next.pop();
  72785. break;
  72786. case 6:
  72787. // after finally
  72788. case 1:
  72789. // return
  72790. return A._asyncReturn($async$returnValue, $async$completer);
  72791. case 2:
  72792. // rethrow
  72793. return A._asyncRethrow($async$currentError, $async$completer);
  72794. }
  72795. });
  72796. return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  72797. },
  72798. _async_evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  72799. return this._importLikeNode$body$_EvaluateVisitor0(originalUrl, previous, forImport);
  72800. },
  72801. _importLikeNode$body$_EvaluateVisitor0(originalUrl, previous, forImport) {
  72802. var $async$goto = 0,
  72803. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet_2),
  72804. $async$returnValue, $async$self = this, isDependency, url, t2, t1, result;
  72805. var $async$_async_evaluate0$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72806. if ($async$errorCode === 1)
  72807. return A._asyncRethrow($async$result, $async$completer);
  72808. while (true)
  72809. switch ($async$goto) {
  72810. case 0:
  72811. // Function start
  72812. t1 = $async$self._async_evaluate0$_nodeImporter;
  72813. result = t1.loadRelative$3(originalUrl, previous, forImport);
  72814. $async$goto = result != null ? 3 : 5;
  72815. break;
  72816. case 3:
  72817. // then
  72818. isDependency = $async$self._async_evaluate0$_inDependency;
  72819. // goto join
  72820. $async$goto = 4;
  72821. break;
  72822. case 5:
  72823. // else
  72824. $async$goto = 6;
  72825. return A._asyncAwait(t1.loadAsync$3(originalUrl, previous, forImport), $async$_async_evaluate0$_importLikeNode$3);
  72826. case 6:
  72827. // returning from await.
  72828. result = $async$result;
  72829. if (result == null) {
  72830. $async$returnValue = null;
  72831. // goto return
  72832. $async$goto = 1;
  72833. break;
  72834. }
  72835. isDependency = true;
  72836. case 4:
  72837. // join
  72838. url = result.item2;
  72839. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  72840. t2 = $async$self._async_evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : $async$self._async_evaluate0$_logger;
  72841. $async$returnValue = new A._LoadedStylesheet2(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
  72842. // goto return
  72843. $async$goto = 1;
  72844. break;
  72845. case 1:
  72846. // return
  72847. return A._asyncReturn($async$returnValue, $async$completer);
  72848. }
  72849. });
  72850. return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$3, $async$completer);
  72851. },
  72852. _async_evaluate0$_visitStaticImport$1($import) {
  72853. return this._visitStaticImport$body$_EvaluateVisitor0($import);
  72854. },
  72855. _visitStaticImport$body$_EvaluateVisitor0($import) {
  72856. var $async$goto = 0,
  72857. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72858. $async$self = this, t1, node, $async$temp1, $async$temp2;
  72859. var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72860. if ($async$errorCode === 1)
  72861. return A._asyncRethrow($async$result, $async$completer);
  72862. while (true)
  72863. switch ($async$goto) {
  72864. case 0:
  72865. // Function start
  72866. $async$temp1 = A;
  72867. $async$goto = 2;
  72868. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
  72869. case 2:
  72870. // returning from await.
  72871. $async$temp2 = $async$result;
  72872. $async$goto = 3;
  72873. return A._asyncAwait(A.NullableExtension_andThen0($import.modifiers, $async$self.get$_async_evaluate0$_interpolationToValue()), $async$_async_evaluate0$_visitStaticImport$1);
  72874. case 3:
  72875. // returning from await.
  72876. node = new $async$temp1.ModifiableCssImport0($async$temp2, $async$result, $import.span);
  72877. 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"))
  72878. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
  72879. 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)) {
  72880. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
  72881. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  72882. } else {
  72883. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  72884. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
  72885. }
  72886. // implicit return
  72887. return A._asyncReturn(null, $async$completer);
  72888. }
  72889. });
  72890. return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
  72891. },
  72892. visitIncludeRule$1(node) {
  72893. return this.visitIncludeRule$body$_EvaluateVisitor0(node);
  72894. },
  72895. visitIncludeRule$body$_EvaluateVisitor0(node) {
  72896. var $async$goto = 0,
  72897. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72898. $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
  72899. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72900. if ($async$errorCode === 1)
  72901. return A._asyncRethrow($async$result, $async$completer);
  72902. while (true)
  72903. switch ($async$goto) {
  72904. case 0:
  72905. // Function start
  72906. mixin = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure11($async$self, node));
  72907. if (mixin == null)
  72908. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", node.span));
  72909. nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure12(node));
  72910. $async$goto = type$.AsyncBuiltInCallable_2._is(mixin) ? 3 : 5;
  72911. break;
  72912. case 3:
  72913. // then
  72914. if (node.content != null)
  72915. throw A.wrapException($async$self._async_evaluate0$_exception$2("Mixin doesn't accept a content block.", node.span));
  72916. $async$goto = 6;
  72917. return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
  72918. case 6:
  72919. // returning from await.
  72920. // goto join
  72921. $async$goto = 4;
  72922. break;
  72923. case 5:
  72924. // else
  72925. $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin) ? 7 : 9;
  72926. break;
  72927. case 7:
  72928. // then
  72929. t1 = node.content;
  72930. if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
  72931. 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()), null));
  72932. $async$goto = 10;
  72933. 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);
  72934. case 10:
  72935. // returning from await.
  72936. // goto join
  72937. $async$goto = 8;
  72938. break;
  72939. case 9:
  72940. // else
  72941. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  72942. case 8:
  72943. // join
  72944. case 4:
  72945. // join
  72946. $async$returnValue = null;
  72947. // goto return
  72948. $async$goto = 1;
  72949. break;
  72950. case 1:
  72951. // return
  72952. return A._asyncReturn($async$returnValue, $async$completer);
  72953. }
  72954. });
  72955. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  72956. },
  72957. visitMixinRule$1(node) {
  72958. return this.visitMixinRule$body$_EvaluateVisitor0(node);
  72959. },
  72960. visitMixinRule$body$_EvaluateVisitor0(node) {
  72961. var $async$goto = 0,
  72962. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72963. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  72964. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72965. if ($async$errorCode === 1)
  72966. return A._asyncRethrow($async$result, $async$completer);
  72967. while (true)
  72968. switch ($async$goto) {
  72969. case 0:
  72970. // Function start
  72971. t1 = $async$self._async_evaluate0$_environment;
  72972. t2 = t1.closure$0();
  72973. t3 = $async$self._async_evaluate0$_inDependency;
  72974. t4 = t1._async_environment0$_mixins;
  72975. index = t4.length - 1;
  72976. t5 = node.name;
  72977. t1._async_environment0$_mixinIndices.$indexSet(0, t5, index);
  72978. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  72979. $async$returnValue = null;
  72980. // goto return
  72981. $async$goto = 1;
  72982. break;
  72983. case 1:
  72984. // return
  72985. return A._asyncReturn($async$returnValue, $async$completer);
  72986. }
  72987. });
  72988. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  72989. },
  72990. visitLoudComment$1(node) {
  72991. return this.visitLoudComment$body$_EvaluateVisitor0(node);
  72992. },
  72993. visitLoudComment$body$_EvaluateVisitor0(node) {
  72994. var $async$goto = 0,
  72995. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72996. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  72997. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72998. if ($async$errorCode === 1)
  72999. return A._asyncRethrow($async$result, $async$completer);
  73000. while (true)
  73001. switch ($async$goto) {
  73002. case 0:
  73003. // Function start
  73004. if ($async$self._async_evaluate0$_inFunction) {
  73005. $async$returnValue = null;
  73006. // goto return
  73007. $async$goto = 1;
  73008. break;
  73009. }
  73010. 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))
  73011. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  73012. t1 = node.text;
  73013. $async$temp1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  73014. $async$temp2 = A;
  73015. $async$goto = 3;
  73016. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
  73017. case 3:
  73018. // returning from await.
  73019. $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment0($async$result, t1.span));
  73020. $async$returnValue = null;
  73021. // goto return
  73022. $async$goto = 1;
  73023. break;
  73024. case 1:
  73025. // return
  73026. return A._asyncReturn($async$returnValue, $async$completer);
  73027. }
  73028. });
  73029. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  73030. },
  73031. visitMediaRule$1(node) {
  73032. return this.visitMediaRule$body$_EvaluateVisitor0(node);
  73033. },
  73034. visitMediaRule$body$_EvaluateVisitor0(node) {
  73035. var $async$goto = 0,
  73036. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  73037. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  73038. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73039. if ($async$errorCode === 1)
  73040. return A._asyncRethrow($async$result, $async$completer);
  73041. while (true)
  73042. switch ($async$goto) {
  73043. case 0:
  73044. // Function start
  73045. if ($async$self._async_evaluate0$_declarationName != null)
  73046. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  73047. $async$goto = 3;
  73048. return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  73049. case 3:
  73050. // returning from await.
  73051. queries = $async$result;
  73052. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
  73053. t1 = mergedQueries == null;
  73054. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  73055. $async$returnValue = null;
  73056. // goto return
  73057. $async$goto = 1;
  73058. break;
  73059. }
  73060. if (t1)
  73061. mergedSources = B.Set_empty5;
  73062. else {
  73063. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  73064. t2.toString;
  73065. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  73066. t3 = $async$self._async_evaluate0$_mediaQueries;
  73067. t3.toString;
  73068. t2.addAll$1(0, t3);
  73069. t2.addAll$1(0, queries);
  73070. mergedSources = t2;
  73071. }
  73072. t1 = t1 ? queries : mergedQueries;
  73073. $async$goto = 4;
  73074. 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);
  73075. case 4:
  73076. // returning from await.
  73077. $async$returnValue = null;
  73078. // goto return
  73079. $async$goto = 1;
  73080. break;
  73081. case 1:
  73082. // return
  73083. return A._asyncReturn($async$returnValue, $async$completer);
  73084. }
  73085. });
  73086. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  73087. },
  73088. _async_evaluate0$_visitMediaQueries$1(interpolation) {
  73089. return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
  73090. },
  73091. _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
  73092. var $async$goto = 0,
  73093. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
  73094. $async$returnValue, $async$self = this, tuple;
  73095. var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73096. if ($async$errorCode === 1)
  73097. return A._asyncRethrow($async$result, $async$completer);
  73098. while (true)
  73099. switch ($async$goto) {
  73100. case 0:
  73101. // Function start
  73102. $async$goto = 3;
  73103. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
  73104. case 3:
  73105. // returning from await.
  73106. tuple = $async$result;
  73107. $async$returnValue = A.CssMediaQuery_parseList0(tuple.item1, tuple.item2, $async$self._async_evaluate0$_logger);
  73108. // goto return
  73109. $async$goto = 1;
  73110. break;
  73111. case 1:
  73112. // return
  73113. return A._asyncReturn($async$returnValue, $async$completer);
  73114. }
  73115. });
  73116. return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
  73117. },
  73118. _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  73119. var t1, t2, t3, t4, t5, result,
  73120. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  73121. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
  73122. t4 = t1.get$current(t1);
  73123. for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
  73124. result = t4.merge$1(t5.get$current(t5));
  73125. if (result === B._SingletonCssMediaQueryMergeResult_empty0)
  73126. continue;
  73127. if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
  73128. return null;
  73129. queries.push(t3._as(result).query);
  73130. }
  73131. }
  73132. return queries;
  73133. },
  73134. visitReturnRule$1(node) {
  73135. return this.visitReturnRule$body$_EvaluateVisitor0(node);
  73136. },
  73137. visitReturnRule$body$_EvaluateVisitor0(node) {
  73138. var $async$goto = 0,
  73139. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  73140. $async$returnValue, $async$self = this, t1;
  73141. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73142. if ($async$errorCode === 1)
  73143. return A._asyncRethrow($async$result, $async$completer);
  73144. while (true)
  73145. switch ($async$goto) {
  73146. case 0:
  73147. // Function start
  73148. t1 = node.expression;
  73149. $async$goto = 3;
  73150. return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
  73151. case 3:
  73152. // returning from await.
  73153. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
  73154. // goto return
  73155. $async$goto = 1;
  73156. break;
  73157. case 1:
  73158. // return
  73159. return A._asyncReturn($async$returnValue, $async$completer);
  73160. }
  73161. });
  73162. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  73163. },
  73164. visitSilentComment$1(node) {
  73165. return this.visitSilentComment$body$_EvaluateVisitor0(node);
  73166. },
  73167. visitSilentComment$body$_EvaluateVisitor0(node) {
  73168. var $async$goto = 0,
  73169. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  73170. $async$returnValue;
  73171. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73172. if ($async$errorCode === 1)
  73173. return A._asyncRethrow($async$result, $async$completer);
  73174. while (true)
  73175. switch ($async$goto) {
  73176. case 0:
  73177. // Function start
  73178. $async$returnValue = null;
  73179. // goto return
  73180. $async$goto = 1;
  73181. break;
  73182. case 1:
  73183. // return
  73184. return A._asyncReturn($async$returnValue, $async$completer);
  73185. }
  73186. });
  73187. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  73188. },
  73189. visitStyleRule$1(node) {
  73190. return this.visitStyleRule$body$_EvaluateVisitor0(node);
  73191. },
  73192. visitStyleRule$body$_EvaluateVisitor0(node) {
  73193. var $async$goto = 0,
  73194. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  73195. $async$returnValue, $async$self = this, t1, tuple, selectorText, selectorMap, t2, parsedSelector, rule, oldAtRootExcludingStyleRule, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9;
  73196. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73197. if ($async$errorCode === 1)
  73198. return A._asyncRethrow($async$result, $async$completer);
  73199. while (true)
  73200. switch ($async$goto) {
  73201. case 0:
  73202. // Function start
  73203. if ($async$self._async_evaluate0$_declarationName != null)
  73204. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
  73205. t1 = node.selector;
  73206. $async$goto = 3;
  73207. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  73208. case 3:
  73209. // returning from await.
  73210. tuple = $async$result;
  73211. selectorText = tuple.item1;
  73212. selectorMap = tuple.item2;
  73213. $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
  73214. break;
  73215. case 4:
  73216. // then
  73217. $async$goto = 6;
  73218. 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);
  73219. case 6:
  73220. // returning from await.
  73221. $async$returnValue = null;
  73222. // goto return
  73223. $async$goto = 1;
  73224. break;
  73225. case 5:
  73226. // join
  73227. 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);
  73228. t2 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  73229. t2 = t2 == null ? null : t2.originalSelector;
  73230. parsedSelector = t1.resolveParentSelectors$2$implicitParent(t2, !$async$self._async_evaluate0$_atRootExcludingStyleRule);
  73231. 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);
  73232. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  73233. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  73234. $async$goto = 7;
  73235. 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);
  73236. case 7:
  73237. // returning from await.
  73238. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  73239. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  73240. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  73241. complex = t1[_i];
  73242. if (!complex.accept$1(B._IsBogusVisitor_true0))
  73243. continue;
  73244. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  73245. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  73246. complex.accept$1(visitor);
  73247. $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);
  73248. } else if (complex.leadingCombinators.length !== 0) {
  73249. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  73250. complex.accept$1(visitor);
  73251. $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);
  73252. } else {
  73253. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  73254. complex.accept$1(visitor);
  73255. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  73256. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  73257. t8 = A.SpanExtensions_trimRight0(complex.span);
  73258. if (t5.get$length(t5) === 0)
  73259. A.throwExpression(A.IterableElementError_noElement());
  73260. t9 = J.get$span$z(t5.$index(0, 0));
  73261. $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);
  73262. }
  73263. }
  73264. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
  73265. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  73266. t1 = !t1.get$isEmpty(t1);
  73267. } else
  73268. t1 = false;
  73269. if (t1) {
  73270. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  73271. t1.get$last(t1).isGroupEnd = true;
  73272. }
  73273. $async$returnValue = null;
  73274. // goto return
  73275. $async$goto = 1;
  73276. break;
  73277. case 1:
  73278. // return
  73279. return A._asyncReturn($async$returnValue, $async$completer);
  73280. }
  73281. });
  73282. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  73283. },
  73284. visitSupportsRule$1(node) {
  73285. return this.visitSupportsRule$body$_EvaluateVisitor0(node);
  73286. },
  73287. visitSupportsRule$body$_EvaluateVisitor0(node) {
  73288. var $async$goto = 0,
  73289. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  73290. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  73291. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73292. if ($async$errorCode === 1)
  73293. return A._asyncRethrow($async$result, $async$completer);
  73294. while (true)
  73295. switch ($async$goto) {
  73296. case 0:
  73297. // Function start
  73298. if ($async$self._async_evaluate0$_declarationName != null)
  73299. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  73300. t1 = node.condition;
  73301. $async$temp1 = A;
  73302. $async$temp2 = A;
  73303. $async$goto = 4;
  73304. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  73305. case 4:
  73306. // returning from await.
  73307. $async$goto = 3;
  73308. 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);
  73309. case 3:
  73310. // returning from await.
  73311. $async$returnValue = null;
  73312. // goto return
  73313. $async$goto = 1;
  73314. break;
  73315. case 1:
  73316. // return
  73317. return A._asyncReturn($async$returnValue, $async$completer);
  73318. }
  73319. });
  73320. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  73321. },
  73322. _async_evaluate0$_visitSupportsCondition$1(condition) {
  73323. return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
  73324. },
  73325. _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
  73326. var $async$goto = 0,
  73327. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  73328. $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, t2, t3, $async$temp1, $async$temp2;
  73329. var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73330. if ($async$errorCode === 1)
  73331. return A._asyncRethrow($async$result, $async$completer);
  73332. while (true)
  73333. switch ($async$goto) {
  73334. case 0:
  73335. // Function start
  73336. $async$goto = condition instanceof A.SupportsOperation0 ? 3 : 5;
  73337. break;
  73338. case 3:
  73339. // then
  73340. t1 = condition.operator;
  73341. $async$temp1 = A;
  73342. $async$goto = 6;
  73343. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  73344. case 6:
  73345. // returning from await.
  73346. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  73347. $async$temp2 = A;
  73348. $async$goto = 7;
  73349. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  73350. case 7:
  73351. // returning from await.
  73352. $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
  73353. // goto return
  73354. $async$goto = 1;
  73355. break;
  73356. // goto join
  73357. $async$goto = 4;
  73358. break;
  73359. case 5:
  73360. // else
  73361. $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 10;
  73362. break;
  73363. case 8:
  73364. // then
  73365. $async$temp1 = A;
  73366. $async$goto = 11;
  73367. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
  73368. case 11:
  73369. // returning from await.
  73370. $async$returnValue = "not " + $async$temp1.S($async$result);
  73371. // goto return
  73372. $async$goto = 1;
  73373. break;
  73374. // goto join
  73375. $async$goto = 9;
  73376. break;
  73377. case 10:
  73378. // else
  73379. $async$goto = condition instanceof A.SupportsInterpolation0 ? 12 : 14;
  73380. break;
  73381. case 12:
  73382. // then
  73383. $async$goto = 15;
  73384. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
  73385. case 15:
  73386. // returning from await.
  73387. $async$returnValue = $async$result;
  73388. // goto return
  73389. $async$goto = 1;
  73390. break;
  73391. // goto join
  73392. $async$goto = 13;
  73393. break;
  73394. case 14:
  73395. // else
  73396. $async$goto = condition instanceof A.SupportsDeclaration0 ? 16 : 18;
  73397. break;
  73398. case 16:
  73399. // then
  73400. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  73401. $async$self._async_evaluate0$_inSupportsDeclaration = true;
  73402. $async$temp1 = A;
  73403. $async$goto = 19;
  73404. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
  73405. case 19:
  73406. // returning from await.
  73407. t1 = $async$temp1.S($async$result);
  73408. t2 = condition.get$isCustomProperty() ? "" : " ";
  73409. $async$temp1 = A;
  73410. $async$goto = 20;
  73411. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.value), $async$_async_evaluate0$_visitSupportsCondition$1);
  73412. case 20:
  73413. // returning from await.
  73414. t3 = $async$temp1.S($async$result);
  73415. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  73416. $async$returnValue = "(" + t1 + ":" + t2 + t3 + ")";
  73417. // goto return
  73418. $async$goto = 1;
  73419. break;
  73420. // goto join
  73421. $async$goto = 17;
  73422. break;
  73423. case 18:
  73424. // else
  73425. $async$goto = condition instanceof A.SupportsFunction0 ? 21 : 23;
  73426. break;
  73427. case 21:
  73428. // then
  73429. $async$temp1 = A;
  73430. $async$goto = 24;
  73431. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
  73432. case 24:
  73433. // returning from await.
  73434. $async$temp1 = $async$temp1.S($async$result) + "(";
  73435. $async$temp2 = A;
  73436. $async$goto = 25;
  73437. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
  73438. case 25:
  73439. // returning from await.
  73440. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  73441. // goto return
  73442. $async$goto = 1;
  73443. break;
  73444. // goto join
  73445. $async$goto = 22;
  73446. break;
  73447. case 23:
  73448. // else
  73449. $async$goto = condition instanceof A.SupportsAnything0 ? 26 : 28;
  73450. break;
  73451. case 26:
  73452. // then
  73453. $async$temp1 = A;
  73454. $async$goto = 29;
  73455. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
  73456. case 29:
  73457. // returning from await.
  73458. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  73459. // goto return
  73460. $async$goto = 1;
  73461. break;
  73462. // goto join
  73463. $async$goto = 27;
  73464. break;
  73465. case 28:
  73466. // else
  73467. throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  73468. case 27:
  73469. // join
  73470. case 22:
  73471. // join
  73472. case 17:
  73473. // join
  73474. case 13:
  73475. // join
  73476. case 9:
  73477. // join
  73478. case 4:
  73479. // join
  73480. case 1:
  73481. // return
  73482. return A._asyncReturn($async$returnValue, $async$completer);
  73483. }
  73484. });
  73485. return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
  73486. },
  73487. _async_evaluate0$_parenthesize$2(condition, operator) {
  73488. return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
  73489. },
  73490. _async_evaluate0$_parenthesize$1(condition) {
  73491. return this._async_evaluate0$_parenthesize$2(condition, null);
  73492. },
  73493. _parenthesize$body$_EvaluateVisitor0(condition, operator) {
  73494. var $async$goto = 0,
  73495. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  73496. $async$returnValue, $async$self = this, t1, $async$temp1;
  73497. var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73498. if ($async$errorCode === 1)
  73499. return A._asyncRethrow($async$result, $async$completer);
  73500. while (true)
  73501. switch ($async$goto) {
  73502. case 0:
  73503. // Function start
  73504. if (!(condition instanceof A.SupportsNegation0))
  73505. if (condition instanceof A.SupportsOperation0)
  73506. t1 = operator == null || operator !== condition.operator;
  73507. else
  73508. t1 = false;
  73509. else
  73510. t1 = true;
  73511. $async$goto = t1 ? 3 : 5;
  73512. break;
  73513. case 3:
  73514. // then
  73515. $async$temp1 = A;
  73516. $async$goto = 6;
  73517. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  73518. case 6:
  73519. // returning from await.
  73520. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  73521. // goto return
  73522. $async$goto = 1;
  73523. break;
  73524. // goto join
  73525. $async$goto = 4;
  73526. break;
  73527. case 5:
  73528. // else
  73529. $async$goto = 7;
  73530. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  73531. case 7:
  73532. // returning from await.
  73533. $async$returnValue = $async$result;
  73534. // goto return
  73535. $async$goto = 1;
  73536. break;
  73537. case 4:
  73538. // join
  73539. case 1:
  73540. // return
  73541. return A._asyncReturn($async$returnValue, $async$completer);
  73542. }
  73543. });
  73544. return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
  73545. },
  73546. visitVariableDeclaration$1(node) {
  73547. return this.visitVariableDeclaration$body$_EvaluateVisitor0(node);
  73548. },
  73549. visitVariableDeclaration$body$_EvaluateVisitor0(node) {
  73550. var $async$goto = 0,
  73551. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  73552. $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
  73553. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73554. if ($async$errorCode === 1)
  73555. return A._asyncRethrow($async$result, $async$completer);
  73556. while (true)
  73557. switch ($async$goto) {
  73558. case 0:
  73559. // Function start
  73560. if (node.isGuarded) {
  73561. if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
  73562. t1 = $async$self._async_evaluate0$_configuration._configuration$_values;
  73563. t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
  73564. if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
  73565. $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8($async$self, node, t1));
  73566. $async$returnValue = null;
  73567. // goto return
  73568. $async$goto = 1;
  73569. break;
  73570. }
  73571. }
  73572. value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
  73573. if (value != null && !value.$eq(0, B.C__SassNull0)) {
  73574. $async$returnValue = null;
  73575. // goto return
  73576. $async$goto = 1;
  73577. break;
  73578. }
  73579. }
  73580. if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
  73581. 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.";
  73582. $async$self._async_evaluate0$_warn$3(t1, node.span, B.Deprecation_wKk);
  73583. }
  73584. t1 = node.expression;
  73585. $async$temp1 = node;
  73586. $async$temp2 = A;
  73587. $async$temp3 = node;
  73588. $async$goto = 3;
  73589. return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
  73590. case 3:
  73591. // returning from await.
  73592. $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)));
  73593. $async$returnValue = null;
  73594. // goto return
  73595. $async$goto = 1;
  73596. break;
  73597. case 1:
  73598. // return
  73599. return A._asyncReturn($async$returnValue, $async$completer);
  73600. }
  73601. });
  73602. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  73603. },
  73604. visitUseRule$1(node) {
  73605. return this.visitUseRule$body$_EvaluateVisitor0(node);
  73606. },
  73607. visitUseRule$body$_EvaluateVisitor0(node) {
  73608. var $async$goto = 0,
  73609. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  73610. $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  73611. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73612. if ($async$errorCode === 1)
  73613. return A._asyncRethrow($async$result, $async$completer);
  73614. while (true)
  73615. switch ($async$goto) {
  73616. case 0:
  73617. // Function start
  73618. t1 = node.configuration;
  73619. t2 = t1.length;
  73620. $async$goto = t2 !== 0 ? 3 : 5;
  73621. break;
  73622. case 3:
  73623. // then
  73624. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  73625. _i = 0;
  73626. case 6:
  73627. // for condition
  73628. if (!(_i < t2)) {
  73629. // goto after for
  73630. $async$goto = 8;
  73631. break;
  73632. }
  73633. variable = t1[_i];
  73634. t3 = variable.expression;
  73635. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t3);
  73636. $async$temp1 = values;
  73637. $async$temp2 = variable.name;
  73638. $async$temp3 = A;
  73639. $async$goto = 9;
  73640. return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
  73641. case 9:
  73642. // returning from await.
  73643. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  73644. case 7:
  73645. // for update
  73646. ++_i;
  73647. // goto for condition
  73648. $async$goto = 6;
  73649. break;
  73650. case 8:
  73651. // after for
  73652. configuration = new A.ExplicitConfiguration0(node, values, null);
  73653. // goto join
  73654. $async$goto = 4;
  73655. break;
  73656. case 5:
  73657. // else
  73658. configuration = B.Configuration_Map_empty_null0;
  73659. case 4:
  73660. // join
  73661. $async$goto = 10;
  73662. 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);
  73663. case 10:
  73664. // returning from await.
  73665. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
  73666. $async$returnValue = null;
  73667. // goto return
  73668. $async$goto = 1;
  73669. break;
  73670. case 1:
  73671. // return
  73672. return A._asyncReturn($async$returnValue, $async$completer);
  73673. }
  73674. });
  73675. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  73676. },
  73677. visitWarnRule$1(node) {
  73678. return this.visitWarnRule$body$_EvaluateVisitor0(node);
  73679. },
  73680. visitWarnRule$body$_EvaluateVisitor0(node) {
  73681. var $async$goto = 0,
  73682. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  73683. $async$returnValue, $async$self = this, value, t1;
  73684. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73685. if ($async$errorCode === 1)
  73686. return A._asyncRethrow($async$result, $async$completer);
  73687. while (true)
  73688. switch ($async$goto) {
  73689. case 0:
  73690. // Function start
  73691. $async$goto = 3;
  73692. 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);
  73693. case 3:
  73694. // returning from await.
  73695. value = $async$result;
  73696. t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
  73697. $async$self._async_evaluate0$_logger.warn$2$trace(0, t1, $async$self._async_evaluate0$_stackTrace$1(node.span));
  73698. $async$returnValue = null;
  73699. // goto return
  73700. $async$goto = 1;
  73701. break;
  73702. case 1:
  73703. // return
  73704. return A._asyncReturn($async$returnValue, $async$completer);
  73705. }
  73706. });
  73707. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  73708. },
  73709. visitWhileRule$1(node) {
  73710. return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  73711. },
  73712. visitBinaryOperationExpression$1(node) {
  73713. return this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(this, node), type$.Value_2);
  73714. },
  73715. visitValueExpression$1(node) {
  73716. return this.visitValueExpression$body$_EvaluateVisitor0(node);
  73717. },
  73718. visitValueExpression$body$_EvaluateVisitor0(node) {
  73719. var $async$goto = 0,
  73720. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  73721. $async$returnValue;
  73722. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73723. if ($async$errorCode === 1)
  73724. return A._asyncRethrow($async$result, $async$completer);
  73725. while (true)
  73726. switch ($async$goto) {
  73727. case 0:
  73728. // Function start
  73729. $async$returnValue = node.value;
  73730. // goto return
  73731. $async$goto = 1;
  73732. break;
  73733. case 1:
  73734. // return
  73735. return A._asyncReturn($async$returnValue, $async$completer);
  73736. }
  73737. });
  73738. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  73739. },
  73740. visitVariableExpression$1(node) {
  73741. return this.visitVariableExpression$body$_EvaluateVisitor0(node);
  73742. },
  73743. visitVariableExpression$body$_EvaluateVisitor0(node) {
  73744. var $async$goto = 0,
  73745. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  73746. $async$returnValue, $async$self = this, result;
  73747. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73748. if ($async$errorCode === 1)
  73749. return A._asyncRethrow($async$result, $async$completer);
  73750. while (true)
  73751. switch ($async$goto) {
  73752. case 0:
  73753. // Function start
  73754. result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
  73755. if (result != null) {
  73756. $async$returnValue = result;
  73757. // goto return
  73758. $async$goto = 1;
  73759. break;
  73760. }
  73761. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
  73762. case 1:
  73763. // return
  73764. return A._asyncReturn($async$returnValue, $async$completer);
  73765. }
  73766. });
  73767. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  73768. },
  73769. visitUnaryOperationExpression$1(node) {
  73770. return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(node);
  73771. },
  73772. visitUnaryOperationExpression$body$_EvaluateVisitor0(node) {
  73773. var $async$goto = 0,
  73774. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  73775. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  73776. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73777. if ($async$errorCode === 1)
  73778. return A._asyncRethrow($async$result, $async$completer);
  73779. while (true)
  73780. switch ($async$goto) {
  73781. case 0:
  73782. // Function start
  73783. $async$temp1 = node;
  73784. $async$temp2 = A;
  73785. $async$temp3 = node;
  73786. $async$goto = 3;
  73787. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  73788. case 3:
  73789. // returning from await.
  73790. $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
  73791. // goto return
  73792. $async$goto = 1;
  73793. break;
  73794. case 1:
  73795. // return
  73796. return A._asyncReturn($async$returnValue, $async$completer);
  73797. }
  73798. });
  73799. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  73800. },
  73801. visitBooleanExpression$1(node) {
  73802. return this.visitBooleanExpression$body$_EvaluateVisitor0(node);
  73803. },
  73804. visitBooleanExpression$body$_EvaluateVisitor0(node) {
  73805. var $async$goto = 0,
  73806. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
  73807. $async$returnValue;
  73808. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73809. if ($async$errorCode === 1)
  73810. return A._asyncRethrow($async$result, $async$completer);
  73811. while (true)
  73812. switch ($async$goto) {
  73813. case 0:
  73814. // Function start
  73815. $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  73816. // goto return
  73817. $async$goto = 1;
  73818. break;
  73819. case 1:
  73820. // return
  73821. return A._asyncReturn($async$returnValue, $async$completer);
  73822. }
  73823. });
  73824. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  73825. },
  73826. visitIfExpression$1(node) {
  73827. return this.visitIfExpression$body$_EvaluateVisitor0(node);
  73828. },
  73829. visitIfExpression$body$_EvaluateVisitor0(node) {
  73830. var $async$goto = 0,
  73831. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  73832. $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
  73833. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73834. if ($async$errorCode === 1)
  73835. return A._asyncRethrow($async$result, $async$completer);
  73836. while (true)
  73837. switch ($async$goto) {
  73838. case 0:
  73839. // Function start
  73840. $async$goto = 3;
  73841. return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  73842. case 3:
  73843. // returning from await.
  73844. pair = $async$result;
  73845. positional = pair.item1;
  73846. named = pair.item2;
  73847. t1 = J.getInterceptor$asx(positional);
  73848. $async$self._async_evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
  73849. if (t1.get$length(positional) > 0)
  73850. condition = t1.$index(positional, 0);
  73851. else {
  73852. t2 = named.$index(0, "condition");
  73853. t2.toString;
  73854. condition = t2;
  73855. }
  73856. if (t1.get$length(positional) > 1)
  73857. ifTrue = t1.$index(positional, 1);
  73858. else {
  73859. t2 = named.$index(0, "if-true");
  73860. t2.toString;
  73861. ifTrue = t2;
  73862. }
  73863. if (t1.get$length(positional) > 2)
  73864. ifFalse = t1.$index(positional, 2);
  73865. else {
  73866. t1 = named.$index(0, "if-false");
  73867. t1.toString;
  73868. ifFalse = t1;
  73869. }
  73870. $async$goto = 4;
  73871. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  73872. case 4:
  73873. // returning from await.
  73874. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  73875. $async$goto = 5;
  73876. return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
  73877. case 5:
  73878. // returning from await.
  73879. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
  73880. // goto return
  73881. $async$goto = 1;
  73882. break;
  73883. case 1:
  73884. // return
  73885. return A._asyncReturn($async$returnValue, $async$completer);
  73886. }
  73887. });
  73888. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  73889. },
  73890. visitNullExpression$1(node) {
  73891. return this.visitNullExpression$body$_EvaluateVisitor0(node);
  73892. },
  73893. visitNullExpression$body$_EvaluateVisitor0(node) {
  73894. var $async$goto = 0,
  73895. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  73896. $async$returnValue;
  73897. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73898. if ($async$errorCode === 1)
  73899. return A._asyncRethrow($async$result, $async$completer);
  73900. while (true)
  73901. switch ($async$goto) {
  73902. case 0:
  73903. // Function start
  73904. $async$returnValue = B.C__SassNull0;
  73905. // goto return
  73906. $async$goto = 1;
  73907. break;
  73908. case 1:
  73909. // return
  73910. return A._asyncReturn($async$returnValue, $async$completer);
  73911. }
  73912. });
  73913. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  73914. },
  73915. visitNumberExpression$1(node) {
  73916. return this.visitNumberExpression$body$_EvaluateVisitor0(node);
  73917. },
  73918. visitNumberExpression$body$_EvaluateVisitor0(node) {
  73919. var $async$goto = 0,
  73920. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  73921. $async$returnValue;
  73922. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73923. if ($async$errorCode === 1)
  73924. return A._asyncRethrow($async$result, $async$completer);
  73925. while (true)
  73926. switch ($async$goto) {
  73927. case 0:
  73928. // Function start
  73929. $async$returnValue = A.SassNumber_SassNumber0(node.value, node.unit);
  73930. // goto return
  73931. $async$goto = 1;
  73932. break;
  73933. case 1:
  73934. // return
  73935. return A._asyncReturn($async$returnValue, $async$completer);
  73936. }
  73937. });
  73938. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  73939. },
  73940. visitParenthesizedExpression$1(node) {
  73941. return node.expression.accept$1(this);
  73942. },
  73943. visitCalculationExpression$1(node) {
  73944. return this.visitCalculationExpression$body$_EvaluateVisitor0(node);
  73945. },
  73946. visitCalculationExpression$body$_EvaluateVisitor0(node) {
  73947. var $async$goto = 0,
  73948. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  73949. $async$returnValue, $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
  73950. var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73951. if ($async$errorCode === 1)
  73952. return A._asyncRethrow($async$result, $async$completer);
  73953. while (true)
  73954. $async$outer:
  73955. switch ($async$goto) {
  73956. case 0:
  73957. // Function start
  73958. t1 = A._setArrayType([], type$.JSArray_Object);
  73959. t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
  73960. case 3:
  73961. // for condition
  73962. if (!(_i < t3)) {
  73963. // goto after for
  73964. $async$goto = 5;
  73965. break;
  73966. }
  73967. argument = t2[_i];
  73968. $async$temp1 = t1;
  73969. $async$goto = 6;
  73970. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
  73971. case 6:
  73972. // returning from await.
  73973. $async$temp1.push($async$result);
  73974. case 4:
  73975. // for update
  73976. ++_i;
  73977. // goto for condition
  73978. $async$goto = 3;
  73979. break;
  73980. case 5:
  73981. // after for
  73982. $arguments = t1;
  73983. if ($async$self._async_evaluate0$_inSupportsDeclaration) {
  73984. $async$returnValue = new A.SassCalculation0(t4, A.List_List$unmodifiable($arguments, type$.Object));
  73985. // goto return
  73986. $async$goto = 1;
  73987. break;
  73988. }
  73989. try {
  73990. switch (t4) {
  73991. case "calc":
  73992. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  73993. $async$returnValue = t1;
  73994. // goto return
  73995. $async$goto = 1;
  73996. break $async$outer;
  73997. case "min":
  73998. t1 = A.SassCalculation_min0($arguments);
  73999. $async$returnValue = t1;
  74000. // goto return
  74001. $async$goto = 1;
  74002. break $async$outer;
  74003. case "max":
  74004. t1 = A.SassCalculation_max0($arguments);
  74005. $async$returnValue = t1;
  74006. // goto return
  74007. $async$goto = 1;
  74008. break $async$outer;
  74009. case "clamp":
  74010. t1 = J.$index$asx($arguments, 0);
  74011. t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
  74012. t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
  74013. $async$returnValue = t1;
  74014. // goto return
  74015. $async$goto = 1;
  74016. break $async$outer;
  74017. default:
  74018. t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
  74019. throw A.wrapException(t1);
  74020. }
  74021. } catch (exception) {
  74022. t1 = A.unwrapException(exception);
  74023. if (t1 instanceof A.SassScriptException0) {
  74024. error = t1;
  74025. stackTrace = A.getTraceFromException(exception);
  74026. $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  74027. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), stackTrace);
  74028. } else
  74029. throw exception;
  74030. }
  74031. case 1:
  74032. // return
  74033. return A._asyncReturn($async$returnValue, $async$completer);
  74034. }
  74035. });
  74036. return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
  74037. },
  74038. _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  74039. var i, t1, arg, number1, j, number2;
  74040. for (i = 0; t1 = args.length, i < t1; ++i) {
  74041. arg = args[i];
  74042. if (!(arg instanceof A.SassNumber0))
  74043. continue;
  74044. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  74045. 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])));
  74046. }
  74047. for (i = 0; i < t1 - 1; ++i) {
  74048. number1 = args[i];
  74049. if (!(number1 instanceof A.SassNumber0))
  74050. continue;
  74051. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  74052. number2 = args[j];
  74053. if (!(number2 instanceof A.SassNumber0))
  74054. continue;
  74055. if (number1.hasPossiblyCompatibleUnits$1(number2))
  74056. continue;
  74057. throw A.wrapException(A.MultiSpanSassRuntimeException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", J.get$span$z(nodesWithSpans[i]), number1.toString$0(0), A.LinkedHashMap_LinkedHashMap$_literal([J.get$span$z(nodesWithSpans[j]), number2.toString$0(0)], type$.FileSpan, type$.String), this._async_evaluate0$_stackTrace$1(J.get$span$z(nodesWithSpans[i])), null));
  74058. }
  74059. }
  74060. },
  74061. _async_evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
  74062. return this._visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax);
  74063. },
  74064. _visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax) {
  74065. var $async$goto = 0,
  74066. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  74067. $async$returnValue, $async$self = this, inner, result, t1, text, $async$temp1;
  74068. var $async$_async_evaluate0$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74069. if ($async$errorCode === 1)
  74070. return A._asyncRethrow($async$result, $async$completer);
  74071. while (true)
  74072. $async$outer:
  74073. switch ($async$goto) {
  74074. case 0:
  74075. // Function start
  74076. $async$goto = node instanceof A.ParenthesizedExpression0 ? 3 : 5;
  74077. break;
  74078. case 3:
  74079. // then
  74080. inner = node.expression;
  74081. $async$goto = 6;
  74082. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
  74083. case 6:
  74084. // returning from await.
  74085. result = $async$result;
  74086. if (inner instanceof A.FunctionExpression0)
  74087. t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
  74088. else
  74089. t1 = false;
  74090. $async$returnValue = t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  74091. // goto return
  74092. $async$goto = 1;
  74093. break;
  74094. // goto join
  74095. $async$goto = 4;
  74096. break;
  74097. case 5:
  74098. // else
  74099. $async$goto = node instanceof A.StringExpression0 ? 7 : 9;
  74100. break;
  74101. case 7:
  74102. // then
  74103. t1 = node.text;
  74104. text = t1.get$asPlain();
  74105. $async$goto = text == null ? 10 : 11;
  74106. break;
  74107. case 10:
  74108. // then
  74109. $async$temp1 = A;
  74110. $async$goto = 12;
  74111. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
  74112. case 12:
  74113. // returning from await.
  74114. $async$returnValue = new $async$temp1.CalculationInterpolation0($async$result);
  74115. // goto return
  74116. $async$goto = 1;
  74117. break;
  74118. case 11:
  74119. // join
  74120. switch (text.toLowerCase()) {
  74121. case "pi":
  74122. $async$returnValue = A.SassNumber_SassNumber0(3.141592653589793, null);
  74123. // goto return
  74124. $async$goto = 1;
  74125. break $async$outer;
  74126. case "e":
  74127. $async$returnValue = A.SassNumber_SassNumber0(2.718281828459045, null);
  74128. // goto return
  74129. $async$goto = 1;
  74130. break $async$outer;
  74131. case "infinity":
  74132. $async$returnValue = A.SassNumber_SassNumber0(1 / 0, null);
  74133. // goto return
  74134. $async$goto = 1;
  74135. break $async$outer;
  74136. case "-infinity":
  74137. $async$returnValue = A.SassNumber_SassNumber0(-1 / 0, null);
  74138. // goto return
  74139. $async$goto = 1;
  74140. break $async$outer;
  74141. case "nan":
  74142. $async$returnValue = A.SassNumber_SassNumber0(0 / 0, null);
  74143. // goto return
  74144. $async$goto = 1;
  74145. break $async$outer;
  74146. default:
  74147. $async$returnValue = new A.SassString0(text, false);
  74148. // goto return
  74149. $async$goto = 1;
  74150. break $async$outer;
  74151. }
  74152. // goto join
  74153. $async$goto = 8;
  74154. break;
  74155. case 9:
  74156. // else
  74157. $async$goto = node instanceof A.BinaryOperationExpression0 ? 13 : 15;
  74158. break;
  74159. case 13:
  74160. // then
  74161. $async$goto = 16;
  74162. 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);
  74163. case 16:
  74164. // returning from await.
  74165. $async$returnValue = $async$result;
  74166. // goto return
  74167. $async$goto = 1;
  74168. break;
  74169. // goto join
  74170. $async$goto = 14;
  74171. break;
  74172. case 15:
  74173. // else
  74174. $async$goto = 17;
  74175. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
  74176. case 17:
  74177. // returning from await.
  74178. result = $async$result;
  74179. if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0) {
  74180. $async$returnValue = result;
  74181. // goto return
  74182. $async$goto = 1;
  74183. break;
  74184. }
  74185. if (result instanceof A.SassString0 && !result._string0$_hasQuotes) {
  74186. $async$returnValue = result;
  74187. // goto return
  74188. $async$goto = 1;
  74189. break;
  74190. }
  74191. 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)));
  74192. case 14:
  74193. // join
  74194. case 8:
  74195. // join
  74196. case 4:
  74197. // join
  74198. case 1:
  74199. // return
  74200. return A._asyncReturn($async$returnValue, $async$completer);
  74201. }
  74202. });
  74203. return A._asyncStartSync($async$_async_evaluate0$_visitCalculationValue$2$inMinMax, $async$completer);
  74204. },
  74205. _async_evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
  74206. switch (operator) {
  74207. case B.BinaryOperator_anB0:
  74208. return B.CalculationOperator_IyK0;
  74209. case B.BinaryOperator_olz0:
  74210. return B.CalculationOperator_2bx0;
  74211. case B.BinaryOperator_qN20:
  74212. return B.CalculationOperator_jFr0;
  74213. case B.BinaryOperator_t8B0:
  74214. return B.CalculationOperator_OvN0;
  74215. default:
  74216. throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
  74217. }
  74218. },
  74219. visitColorExpression$1(node) {
  74220. return this.visitColorExpression$body$_EvaluateVisitor0(node);
  74221. },
  74222. visitColorExpression$body$_EvaluateVisitor0(node) {
  74223. var $async$goto = 0,
  74224. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
  74225. $async$returnValue;
  74226. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74227. if ($async$errorCode === 1)
  74228. return A._asyncRethrow($async$result, $async$completer);
  74229. while (true)
  74230. switch ($async$goto) {
  74231. case 0:
  74232. // Function start
  74233. $async$returnValue = node.value;
  74234. // goto return
  74235. $async$goto = 1;
  74236. break;
  74237. case 1:
  74238. // return
  74239. return A._asyncReturn($async$returnValue, $async$completer);
  74240. }
  74241. });
  74242. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  74243. },
  74244. visitListExpression$1(node) {
  74245. return this.visitListExpression$body$_EvaluateVisitor0(node);
  74246. },
  74247. visitListExpression$body$_EvaluateVisitor0(node) {
  74248. var $async$goto = 0,
  74249. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
  74250. $async$returnValue, $async$self = this, $async$temp1;
  74251. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74252. if ($async$errorCode === 1)
  74253. return A._asyncRethrow($async$result, $async$completer);
  74254. while (true)
  74255. switch ($async$goto) {
  74256. case 0:
  74257. // Function start
  74258. $async$temp1 = A;
  74259. $async$goto = 3;
  74260. return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
  74261. case 3:
  74262. // returning from await.
  74263. $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
  74264. // goto return
  74265. $async$goto = 1;
  74266. break;
  74267. case 1:
  74268. // return
  74269. return A._asyncReturn($async$returnValue, $async$completer);
  74270. }
  74271. });
  74272. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  74273. },
  74274. visitMapExpression$1(node) {
  74275. return this.visitMapExpression$body$_EvaluateVisitor0(node);
  74276. },
  74277. visitMapExpression$body$_EvaluateVisitor0(node) {
  74278. var $async$goto = 0,
  74279. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
  74280. $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  74281. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74282. if ($async$errorCode === 1)
  74283. return A._asyncRethrow($async$result, $async$completer);
  74284. while (true)
  74285. switch ($async$goto) {
  74286. case 0:
  74287. // Function start
  74288. t1 = type$.Value_2;
  74289. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  74290. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  74291. t2 = node.pairs, t3 = t2.length, _i = 0;
  74292. case 3:
  74293. // for condition
  74294. if (!(_i < t3)) {
  74295. // goto after for
  74296. $async$goto = 5;
  74297. break;
  74298. }
  74299. pair = t2[_i];
  74300. t4 = pair.item1;
  74301. $async$goto = 6;
  74302. return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
  74303. case 6:
  74304. // returning from await.
  74305. keyValue = $async$result;
  74306. $async$goto = 7;
  74307. return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
  74308. case 7:
  74309. // returning from await.
  74310. valueValue = $async$result;
  74311. if (map.$index(0, keyValue) != null) {
  74312. t1 = keyNodes.$index(0, keyValue);
  74313. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  74314. t1 = J.getInterceptor$z(t4);
  74315. t2 = t1.get$span(t4);
  74316. t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  74317. if (oldValueSpan != null)
  74318. t3.$indexSet(0, oldValueSpan, "first key");
  74319. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate0$_stackTrace$1(t1.get$span(t4)), null));
  74320. }
  74321. map.$indexSet(0, keyValue, valueValue);
  74322. keyNodes.$indexSet(0, keyValue, t4);
  74323. case 4:
  74324. // for update
  74325. ++_i;
  74326. // goto for condition
  74327. $async$goto = 3;
  74328. break;
  74329. case 5:
  74330. // after for
  74331. $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  74332. // goto return
  74333. $async$goto = 1;
  74334. break;
  74335. case 1:
  74336. // return
  74337. return A._asyncReturn($async$returnValue, $async$completer);
  74338. }
  74339. });
  74340. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  74341. },
  74342. visitFunctionExpression$1(node) {
  74343. return this.visitFunctionExpression$body$_EvaluateVisitor0(node);
  74344. },
  74345. visitFunctionExpression$body$_EvaluateVisitor0(node) {
  74346. var $async$goto = 0,
  74347. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  74348. $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
  74349. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74350. if ($async$errorCode === 1)
  74351. return A._asyncRethrow($async$result, $async$completer);
  74352. while (true)
  74353. switch ($async$goto) {
  74354. case 0:
  74355. // Function start
  74356. t1 = {};
  74357. $function = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5($async$self, node));
  74358. t1.$function = $function;
  74359. if ($function == null) {
  74360. if (node.namespace != null)
  74361. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
  74362. t1.$function = new A.PlainCssCallable0(node.originalName);
  74363. }
  74364. oldInFunction = $async$self._async_evaluate0$_inFunction;
  74365. $async$self._async_evaluate0$_inFunction = true;
  74366. $async$goto = 3;
  74367. 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);
  74368. case 3:
  74369. // returning from await.
  74370. result = $async$result;
  74371. $async$self._async_evaluate0$_inFunction = oldInFunction;
  74372. $async$returnValue = result;
  74373. // goto return
  74374. $async$goto = 1;
  74375. break;
  74376. case 1:
  74377. // return
  74378. return A._asyncReturn($async$returnValue, $async$completer);
  74379. }
  74380. });
  74381. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  74382. },
  74383. visitInterpolatedFunctionExpression$1(node) {
  74384. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node);
  74385. },
  74386. visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node) {
  74387. var $async$goto = 0,
  74388. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  74389. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  74390. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74391. if ($async$errorCode === 1)
  74392. return A._asyncRethrow($async$result, $async$completer);
  74393. while (true)
  74394. switch ($async$goto) {
  74395. case 0:
  74396. // Function start
  74397. $async$goto = 3;
  74398. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  74399. case 3:
  74400. // returning from await.
  74401. t1 = $async$result;
  74402. oldInFunction = $async$self._async_evaluate0$_inFunction;
  74403. $async$self._async_evaluate0$_inFunction = true;
  74404. $async$goto = 4;
  74405. 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);
  74406. case 4:
  74407. // returning from await.
  74408. result = $async$result;
  74409. $async$self._async_evaluate0$_inFunction = oldInFunction;
  74410. $async$returnValue = result;
  74411. // goto return
  74412. $async$goto = 1;
  74413. break;
  74414. case 1:
  74415. // return
  74416. return A._asyncReturn($async$returnValue, $async$completer);
  74417. }
  74418. });
  74419. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  74420. },
  74421. _async_evaluate0$_getFunction$2$namespace($name, namespace) {
  74422. var local = this._async_evaluate0$_environment.getFunction$2$namespace($name, namespace);
  74423. if (local != null || namespace != null)
  74424. return local;
  74425. return this._async_evaluate0$_builtInFunctions.$index(0, $name);
  74426. },
  74427. _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  74428. return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
  74429. },
  74430. _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  74431. var $async$goto = 0,
  74432. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  74433. $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
  74434. var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74435. if ($async$errorCode === 1)
  74436. return A._asyncRethrow($async$result, $async$completer);
  74437. while (true)
  74438. switch ($async$goto) {
  74439. case 0:
  74440. // Function start
  74441. $async$goto = 3;
  74442. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
  74443. case 3:
  74444. // returning from await.
  74445. evaluated = $async$result;
  74446. $name = callable.declaration.name;
  74447. if ($name !== "@content")
  74448. $name += "()";
  74449. oldCallable = $async$self._async_evaluate0$_currentCallable;
  74450. $async$self._async_evaluate0$_currentCallable = callable;
  74451. $async$goto = 4;
  74452. 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);
  74453. case 4:
  74454. // returning from await.
  74455. result = $async$result;
  74456. $async$self._async_evaluate0$_currentCallable = oldCallable;
  74457. $async$returnValue = result;
  74458. // goto return
  74459. $async$goto = 1;
  74460. break;
  74461. case 1:
  74462. // return
  74463. return A._asyncReturn($async$returnValue, $async$completer);
  74464. }
  74465. });
  74466. return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
  74467. },
  74468. _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  74469. return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  74470. },
  74471. _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  74472. var $async$goto = 0,
  74473. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  74474. $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;
  74475. var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74476. if ($async$errorCode === 1) {
  74477. $async$currentError = $async$result;
  74478. $async$goto = $async$handler;
  74479. }
  74480. while (true)
  74481. switch ($async$goto) {
  74482. case 0:
  74483. // Function start
  74484. $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
  74485. break;
  74486. case 3:
  74487. // then
  74488. $async$goto = 6;
  74489. return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
  74490. case 6:
  74491. // returning from await.
  74492. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
  74493. // goto return
  74494. $async$goto = 1;
  74495. break;
  74496. // goto join
  74497. $async$goto = 4;
  74498. break;
  74499. case 5:
  74500. // else
  74501. $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
  74502. break;
  74503. case 7:
  74504. // then
  74505. $async$goto = 10;
  74506. 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);
  74507. case 10:
  74508. // returning from await.
  74509. $async$returnValue = $async$result;
  74510. // goto return
  74511. $async$goto = 1;
  74512. break;
  74513. // goto join
  74514. $async$goto = 8;
  74515. break;
  74516. case 9:
  74517. // else
  74518. $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
  74519. break;
  74520. case 11:
  74521. // then
  74522. t1 = $arguments.named;
  74523. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  74524. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  74525. buffer = new A.StringBuffer(callable.name + "(");
  74526. $async$handler = 15;
  74527. first = true;
  74528. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  74529. case 18:
  74530. // for condition
  74531. if (!(_i < t2)) {
  74532. // goto after for
  74533. $async$goto = 20;
  74534. break;
  74535. }
  74536. argument = t1[_i];
  74537. if (first)
  74538. first = false;
  74539. else
  74540. buffer._contents += ", ";
  74541. $async$temp1 = buffer;
  74542. $async$temp2 = A;
  74543. $async$goto = 21;
  74544. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
  74545. case 21:
  74546. // returning from await.
  74547. $async$temp1._contents += $async$temp2.S($async$result);
  74548. case 19:
  74549. // for update
  74550. ++_i;
  74551. // goto for condition
  74552. $async$goto = 18;
  74553. break;
  74554. case 20:
  74555. // after for
  74556. restArg = $arguments.rest;
  74557. $async$goto = restArg != null ? 22 : 23;
  74558. break;
  74559. case 22:
  74560. // then
  74561. $async$goto = 24;
  74562. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
  74563. case 24:
  74564. // returning from await.
  74565. rest = $async$result;
  74566. if (!first)
  74567. buffer._contents += ", ";
  74568. buffer._contents += $async$self._async_evaluate0$_serialize$2(rest, restArg);
  74569. case 23:
  74570. // join
  74571. $async$handler = 2;
  74572. // goto after finally
  74573. $async$goto = 17;
  74574. break;
  74575. case 15:
  74576. // catch
  74577. $async$handler = 14;
  74578. $async$exception = $async$currentError;
  74579. t1 = A.unwrapException($async$exception);
  74580. if (type$.SassRuntimeException_2._is(t1)) {
  74581. error = t1;
  74582. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  74583. throw $async$exception;
  74584. throw A.wrapException(A.MultiSpanSassRuntimeException$0(error._span_exception$_message, J.get$span$z(error), "value", A.LinkedHashMap_LinkedHashMap$_literal([nodeWithSpan.get$span(nodeWithSpan), "unknown function treated as plain CSS"], type$.FileSpan, type$.String), J.get$trace$z(error), null));
  74585. } else
  74586. throw $async$exception;
  74587. // goto after finally
  74588. $async$goto = 17;
  74589. break;
  74590. case 14:
  74591. // uncaught
  74592. // goto rethrow
  74593. $async$goto = 2;
  74594. break;
  74595. case 17:
  74596. // after finally
  74597. buffer._contents += A.Primitives_stringFromCharCode(41);
  74598. t1 = buffer._contents;
  74599. $async$returnValue = new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  74600. // goto return
  74601. $async$goto = 1;
  74602. break;
  74603. // goto join
  74604. $async$goto = 12;
  74605. break;
  74606. case 13:
  74607. // else
  74608. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  74609. case 12:
  74610. // join
  74611. case 8:
  74612. // join
  74613. case 4:
  74614. // join
  74615. case 1:
  74616. // return
  74617. return A._asyncReturn($async$returnValue, $async$completer);
  74618. case 2:
  74619. // rethrow
  74620. return A._asyncRethrow($async$currentError, $async$completer);
  74621. }
  74622. });
  74623. return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
  74624. },
  74625. _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  74626. return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  74627. },
  74628. _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  74629. var $async$goto = 0,
  74630. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  74631. $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;
  74632. var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74633. if ($async$errorCode === 1) {
  74634. $async$currentError = $async$result;
  74635. $async$goto = $async$handler;
  74636. }
  74637. while (true)
  74638. switch ($async$goto) {
  74639. case 0:
  74640. // Function start
  74641. $async$goto = 3;
  74642. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
  74643. case 3:
  74644. // returning from await.
  74645. evaluated = $async$result;
  74646. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  74647. $async$self._async_evaluate0$_callableNode = nodeWithSpan;
  74648. namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
  74649. tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
  74650. overload = tuple.item1;
  74651. callback = tuple.item2;
  74652. $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure8(overload, evaluated, namedSet));
  74653. declaredArguments = overload.$arguments;
  74654. i = evaluated.positional.length, t1 = declaredArguments.length;
  74655. case 4:
  74656. // for condition
  74657. if (!(i < t1)) {
  74658. // goto after for
  74659. $async$goto = 6;
  74660. break;
  74661. }
  74662. argument = declaredArguments[i];
  74663. t2 = evaluated.positional;
  74664. t3 = evaluated.named.remove$1(0, argument.name);
  74665. $async$goto = t3 == null ? 7 : 8;
  74666. break;
  74667. case 7:
  74668. // then
  74669. t3 = argument.defaultValue;
  74670. $async$goto = 9;
  74671. return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate0$_runBuiltInCallable$3);
  74672. case 9:
  74673. // returning from await.
  74674. t3 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t3);
  74675. case 8:
  74676. // join
  74677. t2.push(t3);
  74678. case 5:
  74679. // for update
  74680. ++i;
  74681. // goto for condition
  74682. $async$goto = 4;
  74683. break;
  74684. case 6:
  74685. // after for
  74686. if (overload.restArgument != null) {
  74687. if (evaluated.positional.length > t1) {
  74688. rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
  74689. B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
  74690. } else
  74691. rest = B.List_empty19;
  74692. t1 = evaluated.named;
  74693. argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : evaluated.separator);
  74694. evaluated.positional.push(argumentList);
  74695. } else
  74696. argumentList = null;
  74697. result = null;
  74698. $async$handler = 11;
  74699. $async$goto = 14;
  74700. 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);
  74701. case 14:
  74702. // returning from await.
  74703. result = $async$result;
  74704. $async$handler = 2;
  74705. // goto after finally
  74706. $async$goto = 13;
  74707. break;
  74708. case 11:
  74709. // catch
  74710. $async$handler = 10;
  74711. $async$exception = $async$currentError;
  74712. t1 = A.unwrapException($async$exception);
  74713. if (t1 instanceof A.SassException0)
  74714. throw $async$exception;
  74715. else {
  74716. error = t1;
  74717. stackTrace = A.getTraceFromException($async$exception);
  74718. message = null;
  74719. try {
  74720. message = A._asString(J.get$message$x(error));
  74721. } catch (exception) {
  74722. message0 = J.toString$0$(error);
  74723. message = message0;
  74724. }
  74725. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace);
  74726. }
  74727. // goto after finally
  74728. $async$goto = 13;
  74729. break;
  74730. case 10:
  74731. // uncaught
  74732. // goto rethrow
  74733. $async$goto = 2;
  74734. break;
  74735. case 13:
  74736. // after finally
  74737. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  74738. if (argumentList == null) {
  74739. $async$returnValue = result;
  74740. // goto return
  74741. $async$goto = 1;
  74742. break;
  74743. }
  74744. if (evaluated.named.__js_helper$_length === 0) {
  74745. $async$returnValue = result;
  74746. // goto return
  74747. $async$goto = 1;
  74748. break;
  74749. }
  74750. if (argumentList._argument_list$_wereKeywordsAccessed) {
  74751. $async$returnValue = result;
  74752. // goto return
  74753. $async$goto = 1;
  74754. break;
  74755. }
  74756. t1 = evaluated.named;
  74757. t1 = t1.get$keys(t1);
  74758. t1 = A.pluralize0("argument", t1.get$length(t1), null);
  74759. t2 = evaluated.named;
  74760. 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)), null));
  74761. case 1:
  74762. // return
  74763. return A._asyncReturn($async$returnValue, $async$completer);
  74764. case 2:
  74765. // rethrow
  74766. return A._asyncRethrow($async$currentError, $async$completer);
  74767. }
  74768. });
  74769. return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
  74770. },
  74771. _async_evaluate0$_evaluateArguments$1($arguments) {
  74772. return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
  74773. },
  74774. _evaluateArguments$body$_EvaluateVisitor0($arguments) {
  74775. var $async$goto = 0,
  74776. $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults_2),
  74777. $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;
  74778. var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74779. if ($async$errorCode === 1)
  74780. return A._asyncRethrow($async$result, $async$completer);
  74781. while (true)
  74782. switch ($async$goto) {
  74783. case 0:
  74784. // Function start
  74785. positional = A._setArrayType([], type$.JSArray_Value_2);
  74786. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  74787. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  74788. case 3:
  74789. // for condition
  74790. if (!(_i < t2)) {
  74791. // goto after for
  74792. $async$goto = 5;
  74793. break;
  74794. }
  74795. expression = t1[_i];
  74796. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
  74797. $async$temp1 = positional;
  74798. $async$goto = 6;
  74799. return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  74800. case 6:
  74801. // returning from await.
  74802. $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  74803. positionalNodes.push(nodeForSpan);
  74804. case 4:
  74805. // for update
  74806. ++_i;
  74807. // goto for condition
  74808. $async$goto = 3;
  74809. break;
  74810. case 5:
  74811. // after for
  74812. t1 = type$.String;
  74813. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  74814. t2 = type$.AstNode_2;
  74815. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  74816. t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
  74817. case 7:
  74818. // for condition
  74819. if (!t3.moveNext$0()) {
  74820. // goto after for
  74821. $async$goto = 8;
  74822. break;
  74823. }
  74824. t4 = t3.get$current(t3);
  74825. t5 = t4.value;
  74826. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
  74827. t4 = t4.key;
  74828. $async$temp1 = named;
  74829. $async$temp2 = t4;
  74830. $async$goto = 9;
  74831. return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  74832. case 9:
  74833. // returning from await.
  74834. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  74835. namedNodes.$indexSet(0, t4, nodeForSpan);
  74836. // goto for condition
  74837. $async$goto = 7;
  74838. break;
  74839. case 8:
  74840. // after for
  74841. restArgs = $arguments.rest;
  74842. if (restArgs == null) {
  74843. $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null_undecided0);
  74844. // goto return
  74845. $async$goto = 1;
  74846. break;
  74847. }
  74848. $async$goto = 10;
  74849. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  74850. case 10:
  74851. // returning from await.
  74852. rest = $async$result;
  74853. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
  74854. if (rest instanceof A.SassMap0) {
  74855. $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
  74856. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  74857. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  74858. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  74859. namedNodes.addAll$1(0, t3);
  74860. separator = B.ListSeparator_undecided_null_undecided0;
  74861. } else if (rest instanceof A.SassList0) {
  74862. t3 = rest._list1$_contents;
  74863. 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>")));
  74864. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  74865. separator = rest._list1$_separator;
  74866. if (rest instanceof A.SassArgumentList0) {
  74867. rest._argument_list$_wereKeywordsAccessed = true;
  74868. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
  74869. }
  74870. } else {
  74871. positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  74872. positionalNodes.push(restNodeForSpan);
  74873. separator = B.ListSeparator_undecided_null_undecided0;
  74874. }
  74875. keywordRestArgs = $arguments.keywordRest;
  74876. if (keywordRestArgs == null) {
  74877. $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
  74878. // goto return
  74879. $async$goto = 1;
  74880. break;
  74881. }
  74882. $async$goto = 11;
  74883. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  74884. case 11:
  74885. // returning from await.
  74886. keywordRest = $async$result;
  74887. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
  74888. if (keywordRest instanceof A.SassMap0) {
  74889. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
  74890. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  74891. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  74892. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  74893. namedNodes.addAll$1(0, t1);
  74894. $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
  74895. // goto return
  74896. $async$goto = 1;
  74897. break;
  74898. } else
  74899. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  74900. case 1:
  74901. // return
  74902. return A._asyncReturn($async$returnValue, $async$completer);
  74903. }
  74904. });
  74905. return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
  74906. },
  74907. _async_evaluate0$_evaluateMacroArguments$1(invocation) {
  74908. return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
  74909. },
  74910. _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
  74911. var $async$goto = 0,
  74912. $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression_2),
  74913. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  74914. var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74915. if ($async$errorCode === 1)
  74916. return A._asyncRethrow($async$result, $async$completer);
  74917. while (true)
  74918. switch ($async$goto) {
  74919. case 0:
  74920. // Function start
  74921. t1 = invocation.$arguments;
  74922. restArgs_ = t1.rest;
  74923. if (restArgs_ == null) {
  74924. $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  74925. // goto return
  74926. $async$goto = 1;
  74927. break;
  74928. }
  74929. t2 = t1.positional;
  74930. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  74931. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  74932. $async$goto = 3;
  74933. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  74934. case 3:
  74935. // returning from await.
  74936. rest = $async$result;
  74937. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
  74938. if (rest instanceof A.SassMap0)
  74939. $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
  74940. else if (rest instanceof A.SassList0) {
  74941. t2 = rest._list1$_contents;
  74942. 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>")));
  74943. if (rest instanceof A.SassArgumentList0) {
  74944. rest._argument_list$_wereKeywordsAccessed = true;
  74945. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
  74946. }
  74947. } else
  74948. positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  74949. keywordRestArgs_ = t1.keywordRest;
  74950. if (keywordRestArgs_ == null) {
  74951. $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  74952. // goto return
  74953. $async$goto = 1;
  74954. break;
  74955. }
  74956. $async$goto = 4;
  74957. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  74958. case 4:
  74959. // returning from await.
  74960. keywordRest = $async$result;
  74961. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
  74962. if (keywordRest instanceof A.SassMap0) {
  74963. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  74964. $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  74965. // goto return
  74966. $async$goto = 1;
  74967. break;
  74968. } else
  74969. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  74970. case 1:
  74971. // return
  74972. return A._asyncReturn($async$returnValue, $async$completer);
  74973. }
  74974. });
  74975. return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
  74976. },
  74977. _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  74978. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  74979. },
  74980. _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  74981. return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  74982. },
  74983. _async_evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  74984. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2($arguments, positional, named));
  74985. },
  74986. visitSelectorExpression$1(node) {
  74987. return this.visitSelectorExpression$body$_EvaluateVisitor0(node);
  74988. },
  74989. visitSelectorExpression$body$_EvaluateVisitor0(node) {
  74990. var $async$goto = 0,
  74991. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  74992. $async$returnValue, $async$self = this, t1;
  74993. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74994. if ($async$errorCode === 1)
  74995. return A._asyncRethrow($async$result, $async$completer);
  74996. while (true)
  74997. switch ($async$goto) {
  74998. case 0:
  74999. // Function start
  75000. t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  75001. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  75002. $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
  75003. // goto return
  75004. $async$goto = 1;
  75005. break;
  75006. case 1:
  75007. // return
  75008. return A._asyncReturn($async$returnValue, $async$completer);
  75009. }
  75010. });
  75011. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  75012. },
  75013. visitStringExpression$1(node) {
  75014. return this.visitStringExpression$body$_EvaluateVisitor0(node);
  75015. },
  75016. visitStringExpression$body$_EvaluateVisitor0(node) {
  75017. var $async$goto = 0,
  75018. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  75019. $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, $async$temp1;
  75020. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75021. if ($async$errorCode === 1)
  75022. return A._asyncRethrow($async$result, $async$completer);
  75023. while (true)
  75024. switch ($async$goto) {
  75025. case 0:
  75026. // Function start
  75027. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  75028. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  75029. $async$temp1 = J;
  75030. $async$goto = 3;
  75031. return A._asyncAwait(A.mapAsync0(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure2($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
  75032. case 3:
  75033. // returning from await.
  75034. t1 = $async$temp1.join$0$ax($async$result);
  75035. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  75036. $async$returnValue = new A.SassString0(t1, node.hasQuotes);
  75037. // goto return
  75038. $async$goto = 1;
  75039. break;
  75040. case 1:
  75041. // return
  75042. return A._asyncReturn($async$returnValue, $async$completer);
  75043. }
  75044. });
  75045. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  75046. },
  75047. visitSupportsExpression$1(expression) {
  75048. return this.visitSupportsExpression$body$_EvaluateVisitor0(expression);
  75049. },
  75050. visitSupportsExpression$body$_EvaluateVisitor0(expression) {
  75051. var $async$goto = 0,
  75052. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  75053. $async$returnValue, $async$self = this, $async$temp1;
  75054. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75055. if ($async$errorCode === 1)
  75056. return A._asyncRethrow($async$result, $async$completer);
  75057. while (true)
  75058. switch ($async$goto) {
  75059. case 0:
  75060. // Function start
  75061. $async$temp1 = A;
  75062. $async$goto = 3;
  75063. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  75064. case 3:
  75065. // returning from await.
  75066. $async$returnValue = new $async$temp1.SassString0($async$result, false);
  75067. // goto return
  75068. $async$goto = 1;
  75069. break;
  75070. case 1:
  75071. // return
  75072. return A._asyncReturn($async$returnValue, $async$completer);
  75073. }
  75074. });
  75075. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  75076. },
  75077. visitCssAtRule$1(node) {
  75078. return this.visitCssAtRule$body$_EvaluateVisitor0(node);
  75079. },
  75080. visitCssAtRule$body$_EvaluateVisitor0(node) {
  75081. var $async$goto = 0,
  75082. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  75083. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  75084. var $async$visitCssAtRule$1 = 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. if ($async$self._async_evaluate0$_declarationName != null)
  75092. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  75093. if (node.isChildless) {
  75094. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  75095. // goto return
  75096. $async$goto = 1;
  75097. break;
  75098. }
  75099. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  75100. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  75101. t1 = node.name;
  75102. if (A.unvendor0(t1.value) === "keyframes")
  75103. $async$self._async_evaluate0$_inKeyframes = true;
  75104. else
  75105. $async$self._async_evaluate0$_inUnknownAtRule = true;
  75106. $async$goto = 3;
  75107. 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);
  75108. case 3:
  75109. // returning from await.
  75110. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  75111. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  75112. case 1:
  75113. // return
  75114. return A._asyncReturn($async$returnValue, $async$completer);
  75115. }
  75116. });
  75117. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  75118. },
  75119. visitCssComment$1(node) {
  75120. return this.visitCssComment$body$_EvaluateVisitor0(node);
  75121. },
  75122. visitCssComment$body$_EvaluateVisitor0(node) {
  75123. var $async$goto = 0,
  75124. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  75125. $async$self = this;
  75126. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75127. if ($async$errorCode === 1)
  75128. return A._asyncRethrow($async$result, $async$completer);
  75129. while (true)
  75130. switch ($async$goto) {
  75131. case 0:
  75132. // Function start
  75133. 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))
  75134. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  75135. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  75136. // implicit return
  75137. return A._asyncReturn(null, $async$completer);
  75138. }
  75139. });
  75140. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  75141. },
  75142. visitCssDeclaration$1(node) {
  75143. return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
  75144. },
  75145. visitCssDeclaration$body$_EvaluateVisitor0(node) {
  75146. var $async$goto = 0,
  75147. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  75148. $async$self = this, t1;
  75149. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75150. if ($async$errorCode === 1)
  75151. return A._asyncRethrow($async$result, $async$completer);
  75152. while (true)
  75153. switch ($async$goto) {
  75154. case 0:
  75155. // Function start
  75156. t1 = node.name;
  75157. $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));
  75158. // implicit return
  75159. return A._asyncReturn(null, $async$completer);
  75160. }
  75161. });
  75162. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  75163. },
  75164. visitCssImport$1(node) {
  75165. return this.visitCssImport$body$_EvaluateVisitor0(node);
  75166. },
  75167. visitCssImport$body$_EvaluateVisitor0(node) {
  75168. var $async$goto = 0,
  75169. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  75170. $async$self = this, t1, modifiableNode;
  75171. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75172. if ($async$errorCode === 1)
  75173. return A._asyncRethrow($async$result, $async$completer);
  75174. while (true)
  75175. switch ($async$goto) {
  75176. case 0:
  75177. // Function start
  75178. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  75179. 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"))
  75180. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
  75181. 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)) {
  75182. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
  75183. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  75184. } else {
  75185. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  75186. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  75187. }
  75188. // implicit return
  75189. return A._asyncReturn(null, $async$completer);
  75190. }
  75191. });
  75192. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  75193. },
  75194. visitCssKeyframeBlock$1(node) {
  75195. return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
  75196. },
  75197. visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
  75198. var $async$goto = 0,
  75199. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  75200. $async$self = this;
  75201. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75202. if ($async$errorCode === 1)
  75203. return A._asyncRethrow($async$result, $async$completer);
  75204. while (true)
  75205. switch ($async$goto) {
  75206. case 0:
  75207. // Function start
  75208. $async$goto = 2;
  75209. 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);
  75210. case 2:
  75211. // returning from await.
  75212. // implicit return
  75213. return A._asyncReturn(null, $async$completer);
  75214. }
  75215. });
  75216. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  75217. },
  75218. visitCssMediaRule$1(node) {
  75219. return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
  75220. },
  75221. visitCssMediaRule$body$_EvaluateVisitor0(node) {
  75222. var $async$goto = 0,
  75223. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  75224. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  75225. var $async$visitCssMediaRule$1 = 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. if ($async$self._async_evaluate0$_declarationName != null)
  75233. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  75234. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
  75235. t1 = mergedQueries == null;
  75236. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  75237. // goto return
  75238. $async$goto = 1;
  75239. break;
  75240. }
  75241. if (t1)
  75242. mergedSources = B.Set_empty5;
  75243. else {
  75244. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  75245. t2.toString;
  75246. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  75247. t3 = $async$self._async_evaluate0$_mediaQueries;
  75248. t3.toString;
  75249. t2.addAll$1(0, t3);
  75250. t2.addAll$1(0, node.queries);
  75251. mergedSources = t2;
  75252. }
  75253. t1 = t1 ? node.queries : mergedQueries;
  75254. $async$goto = 3;
  75255. 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);
  75256. case 3:
  75257. // returning from await.
  75258. case 1:
  75259. // return
  75260. return A._asyncReturn($async$returnValue, $async$completer);
  75261. }
  75262. });
  75263. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  75264. },
  75265. visitCssStyleRule$1(node) {
  75266. return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
  75267. },
  75268. visitCssStyleRule$body$_EvaluateVisitor0(node) {
  75269. var $async$goto = 0,
  75270. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  75271. $async$self = this, t1, styleRule, t2, t3, t4, originalSelector, rule, oldAtRootExcludingStyleRule;
  75272. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75273. if ($async$errorCode === 1)
  75274. return A._asyncRethrow($async$result, $async$completer);
  75275. while (true)
  75276. switch ($async$goto) {
  75277. case 0:
  75278. // Function start
  75279. if ($async$self._async_evaluate0$_declarationName != null)
  75280. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
  75281. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  75282. styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  75283. t2 = node._style_rule0$_selector._box0$_inner.value;
  75284. t3 = styleRule == null;
  75285. t4 = t3 ? null : styleRule.originalSelector;
  75286. originalSelector = t2.resolveParentSelectors$2$implicitParent(t4, !t1);
  75287. 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);
  75288. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  75289. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  75290. $async$goto = 2;
  75291. 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);
  75292. case 2:
  75293. // returning from await.
  75294. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  75295. if (t3) {
  75296. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  75297. t1 = !t1.get$isEmpty(t1);
  75298. } else
  75299. t1 = false;
  75300. if (t1) {
  75301. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  75302. t1.get$last(t1).isGroupEnd = true;
  75303. }
  75304. // implicit return
  75305. return A._asyncReturn(null, $async$completer);
  75306. }
  75307. });
  75308. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  75309. },
  75310. visitCssStylesheet$1(node) {
  75311. return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
  75312. },
  75313. visitCssStylesheet$body$_EvaluateVisitor0(node) {
  75314. var $async$goto = 0,
  75315. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  75316. $async$self = this, t1;
  75317. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75318. if ($async$errorCode === 1)
  75319. return A._asyncRethrow($async$result, $async$completer);
  75320. while (true)
  75321. switch ($async$goto) {
  75322. case 0:
  75323. // Function start
  75324. t1 = J.get$iterator$ax(node.get$children(node));
  75325. case 2:
  75326. // for condition
  75327. if (!t1.moveNext$0()) {
  75328. // goto after for
  75329. $async$goto = 3;
  75330. break;
  75331. }
  75332. $async$goto = 4;
  75333. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  75334. case 4:
  75335. // returning from await.
  75336. // goto for condition
  75337. $async$goto = 2;
  75338. break;
  75339. case 3:
  75340. // after for
  75341. // implicit return
  75342. return A._asyncReturn(null, $async$completer);
  75343. }
  75344. });
  75345. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  75346. },
  75347. visitCssSupportsRule$1(node) {
  75348. return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
  75349. },
  75350. visitCssSupportsRule$body$_EvaluateVisitor0(node) {
  75351. var $async$goto = 0,
  75352. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  75353. $async$self = this;
  75354. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75355. if ($async$errorCode === 1)
  75356. return A._asyncRethrow($async$result, $async$completer);
  75357. while (true)
  75358. switch ($async$goto) {
  75359. case 0:
  75360. // Function start
  75361. if ($async$self._async_evaluate0$_declarationName != null)
  75362. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  75363. $async$goto = 2;
  75364. 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);
  75365. case 2:
  75366. // returning from await.
  75367. // implicit return
  75368. return A._asyncReturn(null, $async$completer);
  75369. }
  75370. });
  75371. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  75372. },
  75373. _async_evaluate0$_handleReturn$1$2(list, callback) {
  75374. return this._handleReturn$body$_EvaluateVisitor0(list, callback);
  75375. },
  75376. _async_evaluate0$_handleReturn$2(list, callback) {
  75377. return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  75378. },
  75379. _handleReturn$body$_EvaluateVisitor0(list, callback) {
  75380. var $async$goto = 0,
  75381. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  75382. $async$returnValue, t1, _i, result;
  75383. var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75384. if ($async$errorCode === 1)
  75385. return A._asyncRethrow($async$result, $async$completer);
  75386. while (true)
  75387. switch ($async$goto) {
  75388. case 0:
  75389. // Function start
  75390. t1 = list.length, _i = 0;
  75391. case 3:
  75392. // for condition
  75393. if (!(_i < list.length)) {
  75394. // goto after for
  75395. $async$goto = 5;
  75396. break;
  75397. }
  75398. $async$goto = 6;
  75399. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
  75400. case 6:
  75401. // returning from await.
  75402. result = $async$result;
  75403. if (result != null) {
  75404. $async$returnValue = result;
  75405. // goto return
  75406. $async$goto = 1;
  75407. break;
  75408. }
  75409. case 4:
  75410. // for update
  75411. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  75412. // goto for condition
  75413. $async$goto = 3;
  75414. break;
  75415. case 5:
  75416. // after for
  75417. $async$returnValue = null;
  75418. // goto return
  75419. $async$goto = 1;
  75420. break;
  75421. case 1:
  75422. // return
  75423. return A._asyncReturn($async$returnValue, $async$completer);
  75424. }
  75425. });
  75426. return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
  75427. },
  75428. _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
  75429. return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
  75430. },
  75431. _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
  75432. var $async$goto = 0,
  75433. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75434. $async$returnValue, $async$self = this, result, oldEnvironment;
  75435. var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75436. if ($async$errorCode === 1)
  75437. return A._asyncRethrow($async$result, $async$completer);
  75438. while (true)
  75439. switch ($async$goto) {
  75440. case 0:
  75441. // Function start
  75442. oldEnvironment = $async$self._async_evaluate0$_environment;
  75443. $async$self._async_evaluate0$_environment = environment;
  75444. $async$goto = 3;
  75445. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
  75446. case 3:
  75447. // returning from await.
  75448. result = $async$result;
  75449. $async$self._async_evaluate0$_environment = oldEnvironment;
  75450. $async$returnValue = result;
  75451. // goto return
  75452. $async$goto = 1;
  75453. break;
  75454. case 1:
  75455. // return
  75456. return A._asyncReturn($async$returnValue, $async$completer);
  75457. }
  75458. });
  75459. return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
  75460. },
  75461. _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  75462. return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
  75463. },
  75464. _async_evaluate0$_interpolationToValue$1(interpolation) {
  75465. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  75466. },
  75467. _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  75468. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  75469. },
  75470. _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
  75471. var $async$goto = 0,
  75472. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
  75473. $async$returnValue, $async$self = this, result, t1;
  75474. var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75475. if ($async$errorCode === 1)
  75476. return A._asyncRethrow($async$result, $async$completer);
  75477. while (true)
  75478. switch ($async$goto) {
  75479. case 0:
  75480. // Function start
  75481. $async$goto = 3;
  75482. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
  75483. case 3:
  75484. // returning from await.
  75485. result = $async$result;
  75486. t1 = trim ? A.trimAscii0(result, true) : result;
  75487. $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  75488. // goto return
  75489. $async$goto = 1;
  75490. break;
  75491. case 1:
  75492. // return
  75493. return A._asyncReturn($async$returnValue, $async$completer);
  75494. }
  75495. });
  75496. return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
  75497. },
  75498. _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  75499. return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
  75500. },
  75501. _async_evaluate0$_performInterpolation$1(interpolation) {
  75502. return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  75503. },
  75504. _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
  75505. var $async$goto = 0,
  75506. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  75507. $async$returnValue, $async$self = this;
  75508. var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75509. if ($async$errorCode === 1)
  75510. return A._asyncRethrow($async$result, $async$completer);
  75511. while (true)
  75512. switch ($async$goto) {
  75513. case 0:
  75514. // Function start
  75515. $async$goto = 3;
  75516. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, warnForColor), $async$_async_evaluate0$_performInterpolation$2$warnForColor);
  75517. case 3:
  75518. // returning from await.
  75519. $async$returnValue = $async$result.item1;
  75520. // goto return
  75521. $async$goto = 1;
  75522. break;
  75523. case 1:
  75524. // return
  75525. return A._asyncReturn($async$returnValue, $async$completer);
  75526. }
  75527. });
  75528. return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
  75529. },
  75530. _async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  75531. return this._performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, true);
  75532. },
  75533. _performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, warnForColor) {
  75534. var $async$goto = 0,
  75535. $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_String_InterpolationMap_2),
  75536. $async$returnValue, $async$self = this, tuple, t1, t2;
  75537. var $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75538. if ($async$errorCode === 1)
  75539. return A._asyncRethrow($async$result, $async$completer);
  75540. while (true)
  75541. switch ($async$goto) {
  75542. case 0:
  75543. // Function start
  75544. $async$goto = 3;
  75545. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor);
  75546. case 3:
  75547. // returning from await.
  75548. tuple = $async$result;
  75549. t1 = tuple.item1;
  75550. t2 = tuple.item2;
  75551. t2.toString;
  75552. $async$returnValue = new A.Tuple2(t1, t2, type$.Tuple2_String_InterpolationMap_2);
  75553. // goto return
  75554. $async$goto = 1;
  75555. break;
  75556. case 1:
  75557. // return
  75558. return A._asyncReturn($async$returnValue, $async$completer);
  75559. }
  75560. });
  75561. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor, $async$completer);
  75562. },
  75563. _async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  75564. return this._performInterpolationHelper$body$_EvaluateVisitor0(interpolation, true, warnForColor);
  75565. },
  75566. _performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor) {
  75567. var $async$goto = 0,
  75568. $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_String_and_nullable_InterpolationMap_2),
  75569. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, t8, result0, targetLocations, oldInSupportsDeclaration;
  75570. var $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75571. if ($async$errorCode === 1)
  75572. return A._asyncRethrow($async$result, $async$completer);
  75573. while (true)
  75574. switch ($async$goto) {
  75575. case 0:
  75576. // Function start
  75577. targetLocations = A._setArrayType([], type$.JSArray_SourceLocation);
  75578. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  75579. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  75580. 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 = "";
  75581. case 3:
  75582. // for condition
  75583. if (!(_i < t2)) {
  75584. // goto after for
  75585. $async$goto = 5;
  75586. break;
  75587. }
  75588. value = t1[_i];
  75589. if (!first)
  75590. targetLocations.push(A.SourceLocation$(t7.length, null, null, null));
  75591. if (typeof value == "string") {
  75592. t7 += value;
  75593. // goto for update
  75594. $async$goto = 4;
  75595. break;
  75596. }
  75597. t3._as(value);
  75598. $async$goto = 6;
  75599. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor);
  75600. case 6:
  75601. // returning from await.
  75602. result = $async$result;
  75603. if (warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
  75604. t8 = A._setArrayType([""], t4);
  75605. result0 = A.List_List$from(t8, false, t6);
  75606. result0.fixed$length = Array;
  75607. result0.immutable$list = Array;
  75608. result0 = new A.Interpolation0(result0, t5);
  75609. result0.Interpolation$20(t8, t5);
  75610. t8 = $.$get$namesByColor0();
  75611. $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));
  75612. }
  75613. t7 += $async$self._async_evaluate0$_serialize$3$quote(result, value, false);
  75614. case 4:
  75615. // for update
  75616. ++_i, first = false;
  75617. // goto for condition
  75618. $async$goto = 3;
  75619. break;
  75620. case 5:
  75621. // after for
  75622. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  75623. t1 = A.InterpolationMap$0(interpolation, targetLocations);
  75624. $async$returnValue = new A.Tuple2(t7.charCodeAt(0) == 0 ? t7 : t7, t1, type$.Tuple2_of_String_and_nullable_InterpolationMap_2);
  75625. // goto return
  75626. $async$goto = 1;
  75627. break;
  75628. case 1:
  75629. // return
  75630. return A._asyncReturn($async$returnValue, $async$completer);
  75631. }
  75632. });
  75633. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  75634. },
  75635. _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
  75636. return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
  75637. },
  75638. _async_evaluate0$_evaluateToCss$1(expression) {
  75639. return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
  75640. },
  75641. _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
  75642. var $async$goto = 0,
  75643. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  75644. $async$returnValue, $async$self = this;
  75645. var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75646. if ($async$errorCode === 1)
  75647. return A._asyncRethrow($async$result, $async$completer);
  75648. while (true)
  75649. switch ($async$goto) {
  75650. case 0:
  75651. // Function start
  75652. $async$goto = 3;
  75653. return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateToCss$2$quote);
  75654. case 3:
  75655. // returning from await.
  75656. $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
  75657. // goto return
  75658. $async$goto = 1;
  75659. break;
  75660. case 1:
  75661. // return
  75662. return A._asyncReturn($async$returnValue, $async$completer);
  75663. }
  75664. });
  75665. return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
  75666. },
  75667. _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  75668. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
  75669. },
  75670. _async_evaluate0$_serialize$2(value, nodeWithSpan) {
  75671. return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  75672. },
  75673. _async_evaluate0$_expressionNode$1(expression) {
  75674. var t1;
  75675. if (expression instanceof A.VariableExpression0) {
  75676. t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
  75677. return t1 == null ? expression : t1;
  75678. } else
  75679. return expression;
  75680. },
  75681. _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  75682. return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
  75683. },
  75684. _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
  75685. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  75686. },
  75687. _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  75688. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  75689. },
  75690. _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
  75691. var $async$goto = 0,
  75692. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75693. $async$returnValue, $async$self = this, t1, result;
  75694. var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = 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. $async$self._async_evaluate0$_addChild$2$through(node, through);
  75702. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  75703. $async$self._async_evaluate0$__parent = node;
  75704. $async$goto = 3;
  75705. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
  75706. case 3:
  75707. // returning from await.
  75708. result = $async$result;
  75709. $async$self._async_evaluate0$__parent = t1;
  75710. $async$returnValue = result;
  75711. // goto return
  75712. $async$goto = 1;
  75713. break;
  75714. case 1:
  75715. // return
  75716. return A._asyncReturn($async$returnValue, $async$completer);
  75717. }
  75718. });
  75719. return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
  75720. },
  75721. _async_evaluate0$_addChild$2$through(node, through) {
  75722. var grandparent, t1,
  75723. $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
  75724. if (through != null) {
  75725. for (; through.call$1($parent); $parent = grandparent) {
  75726. grandparent = $parent._node$_parent;
  75727. if (grandparent == null)
  75728. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  75729. }
  75730. if ($parent.get$hasFollowingSibling()) {
  75731. grandparent = $parent._node$_parent;
  75732. t1 = grandparent.children;
  75733. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  75734. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  75735. else {
  75736. $parent = $parent.copyWithoutChildren$0();
  75737. grandparent.addChild$1($parent);
  75738. }
  75739. }
  75740. }
  75741. $parent.addChild$1(node);
  75742. },
  75743. _async_evaluate0$_addChild$1(node) {
  75744. return this._async_evaluate0$_addChild$2$through(node, null);
  75745. },
  75746. _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
  75747. return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
  75748. },
  75749. _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
  75750. var $async$goto = 0,
  75751. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75752. $async$returnValue, $async$self = this, result, oldRule;
  75753. var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75754. if ($async$errorCode === 1)
  75755. return A._asyncRethrow($async$result, $async$completer);
  75756. while (true)
  75757. switch ($async$goto) {
  75758. case 0:
  75759. // Function start
  75760. oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  75761. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
  75762. $async$goto = 3;
  75763. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
  75764. case 3:
  75765. // returning from await.
  75766. result = $async$result;
  75767. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  75768. $async$returnValue = result;
  75769. // goto return
  75770. $async$goto = 1;
  75771. break;
  75772. case 1:
  75773. // return
  75774. return A._asyncReturn($async$returnValue, $async$completer);
  75775. }
  75776. });
  75777. return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
  75778. },
  75779. _async_evaluate0$_withMediaQueries$1$3(queries, sources, callback, $T) {
  75780. return this._withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $T);
  75781. },
  75782. _withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $async$type) {
  75783. var $async$goto = 0,
  75784. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75785. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  75786. var $async$_async_evaluate0$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75787. if ($async$errorCode === 1)
  75788. return A._asyncRethrow($async$result, $async$completer);
  75789. while (true)
  75790. switch ($async$goto) {
  75791. case 0:
  75792. // Function start
  75793. oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
  75794. oldSources = $async$self._async_evaluate0$_mediaQuerySources;
  75795. $async$self._async_evaluate0$_mediaQueries = queries;
  75796. $async$self._async_evaluate0$_mediaQuerySources = sources;
  75797. $async$goto = 3;
  75798. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$3);
  75799. case 3:
  75800. // returning from await.
  75801. result = $async$result;
  75802. $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
  75803. $async$self._async_evaluate0$_mediaQuerySources = oldSources;
  75804. $async$returnValue = result;
  75805. // goto return
  75806. $async$goto = 1;
  75807. break;
  75808. case 1:
  75809. // return
  75810. return A._asyncReturn($async$returnValue, $async$completer);
  75811. }
  75812. });
  75813. return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$3, $async$completer);
  75814. },
  75815. _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  75816. return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
  75817. },
  75818. _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
  75819. var $async$goto = 0,
  75820. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75821. $async$returnValue, $async$self = this, oldMember, result, t1;
  75822. var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75823. if ($async$errorCode === 1)
  75824. return A._asyncRethrow($async$result, $async$completer);
  75825. while (true)
  75826. switch ($async$goto) {
  75827. case 0:
  75828. // Function start
  75829. t1 = $async$self._async_evaluate0$_stack;
  75830. t1.push(new A.Tuple2($async$self._async_evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
  75831. oldMember = $async$self._async_evaluate0$_member;
  75832. $async$self._async_evaluate0$_member = member;
  75833. $async$goto = 3;
  75834. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
  75835. case 3:
  75836. // returning from await.
  75837. result = $async$result;
  75838. $async$self._async_evaluate0$_member = oldMember;
  75839. t1.pop();
  75840. $async$returnValue = result;
  75841. // goto return
  75842. $async$goto = 1;
  75843. break;
  75844. case 1:
  75845. // return
  75846. return A._asyncReturn($async$returnValue, $async$completer);
  75847. }
  75848. });
  75849. return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
  75850. },
  75851. _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
  75852. if (value instanceof A.SassNumber0 && value.asSlash != null)
  75853. 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);
  75854. return value.withoutSlash$0();
  75855. },
  75856. _async_evaluate0$_stackFrame$2(member, span) {
  75857. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure2(this)));
  75858. },
  75859. _async_evaluate0$_stackTrace$1(span) {
  75860. var _this = this,
  75861. t1 = _this._async_evaluate0$_stack;
  75862. 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);
  75863. if (span != null)
  75864. t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
  75865. return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
  75866. },
  75867. _async_evaluate0$_stackTrace$0() {
  75868. return this._async_evaluate0$_stackTrace$1(null);
  75869. },
  75870. _async_evaluate0$_warn$3(message, span, deprecation) {
  75871. var t1, trace, _this = this;
  75872. if (_this._async_evaluate0$_quietDeps)
  75873. if (!_this._async_evaluate0$_inDependency) {
  75874. t1 = _this._async_evaluate0$_currentCallable;
  75875. t1 = t1 == null ? null : t1.inDependency;
  75876. t1 = t1 === true;
  75877. } else
  75878. t1 = true;
  75879. else
  75880. t1 = false;
  75881. if (t1)
  75882. return;
  75883. if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
  75884. return;
  75885. trace = _this._async_evaluate0$_stackTrace$1(span);
  75886. t1 = _this._async_evaluate0$_logger;
  75887. if (deprecation == null)
  75888. t1.warn$3$span$trace(0, message, span, trace);
  75889. else
  75890. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  75891. },
  75892. _async_evaluate0$_warn$2(message, span) {
  75893. return this._async_evaluate0$_warn$3(message, span, null);
  75894. },
  75895. _async_evaluate0$_exception$2(message, span) {
  75896. var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2) : span,
  75897. t2 = this._async_evaluate0$_stackTrace$1(span);
  75898. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  75899. },
  75900. _async_evaluate0$_exception$1(message) {
  75901. return this._async_evaluate0$_exception$2(message, null);
  75902. },
  75903. _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  75904. return A.MultiSpanSassRuntimeException$0(message, J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2), primaryLabel, secondaryLabels, this._async_evaluate0$_stackTrace$0(), null);
  75905. },
  75906. _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  75907. var error, stackTrace, t1, exception,
  75908. addStackFrame = true;
  75909. try {
  75910. t1 = callback.call$0();
  75911. return t1;
  75912. } catch (exception) {
  75913. t1 = A.unwrapException(exception);
  75914. if (t1 instanceof A.SassScriptException0) {
  75915. error = t1;
  75916. stackTrace = A.getTraceFromException(exception);
  75917. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  75918. A.throwWithTrace0(t1.withTrace$1(this._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), stackTrace);
  75919. } else
  75920. throw exception;
  75921. }
  75922. },
  75923. _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  75924. return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  75925. },
  75926. _async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  75927. return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $T);
  75928. },
  75929. _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  75930. return this._async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  75931. },
  75932. _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  75933. var $async$goto = 0,
  75934. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75935. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  75936. var $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75937. if ($async$errorCode === 1) {
  75938. $async$currentError = $async$result;
  75939. $async$goto = $async$handler;
  75940. }
  75941. while (true)
  75942. switch ($async$goto) {
  75943. case 0:
  75944. // Function start
  75945. $async$handler = 4;
  75946. $async$goto = 7;
  75947. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame);
  75948. case 7:
  75949. // returning from await.
  75950. t1 = $async$result;
  75951. $async$returnValue = t1;
  75952. // goto return
  75953. $async$goto = 1;
  75954. break;
  75955. $async$handler = 2;
  75956. // goto after finally
  75957. $async$goto = 6;
  75958. break;
  75959. case 4:
  75960. // catch
  75961. $async$handler = 3;
  75962. $async$exception = $async$currentError;
  75963. t1 = A.unwrapException($async$exception);
  75964. if (t1 instanceof A.SassScriptException0) {
  75965. error = t1;
  75966. stackTrace = A.getTraceFromException($async$exception);
  75967. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  75968. A.throwWithTrace0(t1.withTrace$1($async$self._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), stackTrace);
  75969. } else
  75970. throw $async$exception;
  75971. // goto after finally
  75972. $async$goto = 6;
  75973. break;
  75974. case 3:
  75975. // uncaught
  75976. // goto rethrow
  75977. $async$goto = 2;
  75978. break;
  75979. case 6:
  75980. // after finally
  75981. case 1:
  75982. // return
  75983. return A._asyncReturn($async$returnValue, $async$completer);
  75984. case 2:
  75985. // rethrow
  75986. return A._asyncRethrow($async$currentError, $async$completer);
  75987. }
  75988. });
  75989. return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  75990. },
  75991. _async_evaluate0$_addExceptionTrace$1$1(callback, $T) {
  75992. return this._addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $T);
  75993. },
  75994. _addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $async$type) {
  75995. var $async$goto = 0,
  75996. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75997. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  75998. var $async$_async_evaluate0$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75999. if ($async$errorCode === 1) {
  76000. $async$currentError = $async$result;
  76001. $async$goto = $async$handler;
  76002. }
  76003. while (true)
  76004. switch ($async$goto) {
  76005. case 0:
  76006. // Function start
  76007. $async$handler = 4;
  76008. $async$goto = 7;
  76009. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addExceptionTrace$1$1);
  76010. case 7:
  76011. // returning from await.
  76012. t1 = $async$result;
  76013. $async$returnValue = t1;
  76014. // goto return
  76015. $async$goto = 1;
  76016. break;
  76017. $async$handler = 2;
  76018. // goto after finally
  76019. $async$goto = 6;
  76020. break;
  76021. case 4:
  76022. // catch
  76023. $async$handler = 3;
  76024. $async$exception = $async$currentError;
  76025. t1 = A.unwrapException($async$exception);
  76026. if (type$.SassRuntimeException_2._is(t1))
  76027. throw $async$exception;
  76028. else if (t1 instanceof A.SassException0) {
  76029. error = t1;
  76030. stackTrace = A.getTraceFromException($async$exception);
  76031. t1 = error;
  76032. t2 = J.getInterceptor$z(t1);
  76033. A.throwWithTrace0(error.withTrace$1($async$self._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), stackTrace);
  76034. } else
  76035. throw $async$exception;
  76036. // goto after finally
  76037. $async$goto = 6;
  76038. break;
  76039. case 3:
  76040. // uncaught
  76041. // goto rethrow
  76042. $async$goto = 2;
  76043. break;
  76044. case 6:
  76045. // after finally
  76046. case 1:
  76047. // return
  76048. return A._asyncReturn($async$returnValue, $async$completer);
  76049. case 2:
  76050. // rethrow
  76051. return A._asyncRethrow($async$currentError, $async$completer);
  76052. }
  76053. });
  76054. return A._asyncStartSync($async$_async_evaluate0$_addExceptionTrace$1$1, $async$completer);
  76055. },
  76056. _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  76057. return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
  76058. },
  76059. _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
  76060. var $async$goto = 0,
  76061. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  76062. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  76063. var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76064. if ($async$errorCode === 1) {
  76065. $async$currentError = $async$result;
  76066. $async$goto = $async$handler;
  76067. }
  76068. while (true)
  76069. switch ($async$goto) {
  76070. case 0:
  76071. // Function start
  76072. $async$handler = 4;
  76073. $async$goto = 7;
  76074. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
  76075. case 7:
  76076. // returning from await.
  76077. t1 = $async$result;
  76078. $async$returnValue = t1;
  76079. // goto return
  76080. $async$goto = 1;
  76081. break;
  76082. $async$handler = 2;
  76083. // goto after finally
  76084. $async$goto = 6;
  76085. break;
  76086. case 4:
  76087. // catch
  76088. $async$handler = 3;
  76089. $async$exception = $async$currentError;
  76090. t1 = A.unwrapException($async$exception);
  76091. if (type$.SassRuntimeException_2._is(t1)) {
  76092. error = t1;
  76093. stackTrace = A.getTraceFromException($async$exception);
  76094. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  76095. throw $async$exception;
  76096. t1 = error._span_exception$_message;
  76097. t2 = nodeWithSpan.get$span(nodeWithSpan);
  76098. t3 = $async$self._async_evaluate0$_stackTrace$0();
  76099. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), stackTrace);
  76100. } else
  76101. throw $async$exception;
  76102. // goto after finally
  76103. $async$goto = 6;
  76104. break;
  76105. case 3:
  76106. // uncaught
  76107. // goto rethrow
  76108. $async$goto = 2;
  76109. break;
  76110. case 6:
  76111. // after finally
  76112. case 1:
  76113. // return
  76114. return A._asyncReturn($async$returnValue, $async$completer);
  76115. case 2:
  76116. // rethrow
  76117. return A._asyncRethrow($async$currentError, $async$completer);
  76118. }
  76119. });
  76120. return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
  76121. }
  76122. };
  76123. A._EvaluateVisitor_closure29.prototype = {
  76124. call$1($arguments) {
  76125. var module, t2,
  76126. t1 = J.getInterceptor$asx($arguments),
  76127. variable = t1.$index($arguments, 0).assertString$1("name");
  76128. t1 = t1.$index($arguments, 1).get$realNull();
  76129. module = t1 == null ? null : t1.assertString$1("module");
  76130. t1 = this.$this._async_evaluate0$_environment;
  76131. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  76132. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  76133. },
  76134. $signature: 20
  76135. };
  76136. A._EvaluateVisitor_closure30.prototype = {
  76137. call$1($arguments) {
  76138. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  76139. t1 = this.$this._async_evaluate0$_environment;
  76140. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  76141. },
  76142. $signature: 20
  76143. };
  76144. A._EvaluateVisitor_closure31.prototype = {
  76145. call$1($arguments) {
  76146. var module, t2, t3, t4,
  76147. t1 = J.getInterceptor$asx($arguments),
  76148. variable = t1.$index($arguments, 0).assertString$1("name");
  76149. t1 = t1.$index($arguments, 1).get$realNull();
  76150. module = t1 == null ? null : t1.assertString$1("module");
  76151. t1 = this.$this;
  76152. t2 = t1._async_evaluate0$_environment;
  76153. t3 = variable._string0$_text;
  76154. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  76155. 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;
  76156. },
  76157. $signature: 20
  76158. };
  76159. A._EvaluateVisitor_closure32.prototype = {
  76160. call$1($arguments) {
  76161. var module, t2,
  76162. t1 = J.getInterceptor$asx($arguments),
  76163. variable = t1.$index($arguments, 0).assertString$1("name");
  76164. t1 = t1.$index($arguments, 1).get$realNull();
  76165. module = t1 == null ? null : t1.assertString$1("module");
  76166. t1 = this.$this._async_evaluate0$_environment;
  76167. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  76168. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  76169. },
  76170. $signature: 20
  76171. };
  76172. A._EvaluateVisitor_closure33.prototype = {
  76173. call$1($arguments) {
  76174. var t1 = this.$this._async_evaluate0$_environment;
  76175. if (!t1._async_environment0$_inMixin)
  76176. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  76177. return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  76178. },
  76179. $signature: 20
  76180. };
  76181. A._EvaluateVisitor_closure34.prototype = {
  76182. call$1($arguments) {
  76183. var t2, t3, t4,
  76184. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  76185. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  76186. if (module == null)
  76187. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  76188. t1 = type$.Value_2;
  76189. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  76190. for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  76191. t4 = t3.get$current(t3);
  76192. t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
  76193. }
  76194. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  76195. },
  76196. $signature: 39
  76197. };
  76198. A._EvaluateVisitor_closure35.prototype = {
  76199. call$1($arguments) {
  76200. var t2, t3, t4,
  76201. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  76202. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  76203. if (module == null)
  76204. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  76205. t1 = type$.Value_2;
  76206. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  76207. for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  76208. t4 = t3.get$current(t3);
  76209. t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
  76210. }
  76211. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  76212. },
  76213. $signature: 39
  76214. };
  76215. A._EvaluateVisitor_closure36.prototype = {
  76216. call$1($arguments) {
  76217. var module, callable, t2,
  76218. t1 = J.getInterceptor$asx($arguments),
  76219. $name = t1.$index($arguments, 0).assertString$1("name"),
  76220. css = t1.$index($arguments, 1).get$isTruthy();
  76221. t1 = t1.$index($arguments, 2).get$realNull();
  76222. module = t1 == null ? null : t1.assertString$1("module");
  76223. if (css && module != null)
  76224. throw A.wrapException(string$.x24css_a);
  76225. if (css)
  76226. callable = new A.PlainCssCallable0($name._string0$_text);
  76227. else {
  76228. t1 = this.$this;
  76229. t2 = t1._async_evaluate0$_callableNode;
  76230. t2.toString;
  76231. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
  76232. }
  76233. if (callable != null)
  76234. return new A.SassFunction0(callable);
  76235. throw A.wrapException("Function not found: " + $name.toString$0(0));
  76236. },
  76237. $signature: 161
  76238. };
  76239. A._EvaluateVisitor__closure10.prototype = {
  76240. call$0() {
  76241. var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  76242. t2 = this.module;
  76243. t2 = t2 == null ? null : t2._string0$_text;
  76244. return this.$this._async_evaluate0$_getFunction$2$namespace(t1, t2);
  76245. },
  76246. $signature: 103
  76247. };
  76248. A._EvaluateVisitor_closure37.prototype = {
  76249. call$1($arguments) {
  76250. return this.$call$body$_EvaluateVisitor_closure2($arguments);
  76251. },
  76252. $call$body$_EvaluateVisitor_closure2($arguments) {
  76253. var $async$goto = 0,
  76254. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  76255. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  76256. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76257. if ($async$errorCode === 1)
  76258. return A._asyncRethrow($async$result, $async$completer);
  76259. while (true)
  76260. switch ($async$goto) {
  76261. case 0:
  76262. // Function start
  76263. t1 = J.getInterceptor$asx($arguments);
  76264. $function = t1.$index($arguments, 0);
  76265. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  76266. t1 = $async$self.$this;
  76267. t2 = t1._async_evaluate0$_callableNode;
  76268. t2.toString;
  76269. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  76270. t4 = type$.String;
  76271. t5 = type$.Expression_2;
  76272. t6 = t2.get$span(t2);
  76273. t7 = t2.get$span(t2);
  76274. args._argument_list$_wereKeywordsAccessed = true;
  76275. t8 = args._argument_list$_keywords;
  76276. if (t8.get$isEmpty(t8))
  76277. t2 = null;
  76278. else {
  76279. t9 = type$.Value_2;
  76280. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  76281. for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  76282. t11 = t8.get$current(t8);
  76283. t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
  76284. }
  76285. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  76286. }
  76287. 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);
  76288. $async$goto = $function instanceof A.SassString0 ? 3 : 4;
  76289. break;
  76290. case 3:
  76291. // then
  76292. t2 = $function.toString$0(0);
  76293. A.EvaluationContext_current0().warn$2(0, string$.Passin + t2 + "))", B.Deprecation_4iQ);
  76294. callableNode = t1._async_evaluate0$_callableNode;
  76295. $async$goto = 5;
  76296. return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
  76297. case 5:
  76298. // returning from await.
  76299. $async$returnValue = $async$result;
  76300. // goto return
  76301. $async$goto = 1;
  76302. break;
  76303. case 4:
  76304. // join
  76305. t2 = $function.assertFunction$1("function");
  76306. t3 = t1._async_evaluate0$_callableNode;
  76307. t3.toString;
  76308. $async$goto = 6;
  76309. return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  76310. case 6:
  76311. // returning from await.
  76312. t3 = $async$result;
  76313. $async$returnValue = t3;
  76314. // goto return
  76315. $async$goto = 1;
  76316. break;
  76317. case 1:
  76318. // return
  76319. return A._asyncReturn($async$returnValue, $async$completer);
  76320. }
  76321. });
  76322. return A._asyncStartSync($async$call$1, $async$completer);
  76323. },
  76324. $signature: 100
  76325. };
  76326. A._EvaluateVisitor_closure38.prototype = {
  76327. call$1($arguments) {
  76328. return this.$call$body$_EvaluateVisitor_closure1($arguments);
  76329. },
  76330. $call$body$_EvaluateVisitor_closure1($arguments) {
  76331. var $async$goto = 0,
  76332. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  76333. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  76334. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76335. if ($async$errorCode === 1)
  76336. return A._asyncRethrow($async$result, $async$completer);
  76337. while (true)
  76338. switch ($async$goto) {
  76339. case 0:
  76340. // Function start
  76341. t1 = J.getInterceptor$asx($arguments);
  76342. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  76343. t1 = t1.$index($arguments, 1).get$realNull();
  76344. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  76345. t1 = $async$self.$this;
  76346. t2 = t1._async_evaluate0$_callableNode;
  76347. t2.toString;
  76348. if (withMap != null) {
  76349. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  76350. withMap.forEach$1(0, new A._EvaluateVisitor__closure8(values, t2.get$span(t2), t2));
  76351. configuration = new A.ExplicitConfiguration0(t2, values, null);
  76352. } else
  76353. configuration = B.Configuration_Map_empty_null0;
  76354. t3 = t2.get$span(t2);
  76355. $async$goto = 2;
  76356. 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);
  76357. case 2:
  76358. // returning from await.
  76359. t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  76360. // implicit return
  76361. return A._asyncReturn(null, $async$completer);
  76362. }
  76363. });
  76364. return A._asyncStartSync($async$call$1, $async$completer);
  76365. },
  76366. $signature: 320
  76367. };
  76368. A._EvaluateVisitor__closure8.prototype = {
  76369. call$2(variable, value) {
  76370. var t1 = variable.assertString$1("with key"),
  76371. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  76372. t1 = this.values;
  76373. if (t1.containsKey$1($name))
  76374. throw A.wrapException("The variable $" + $name + " was configured twice.");
  76375. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  76376. },
  76377. $signature: 52
  76378. };
  76379. A._EvaluateVisitor__closure9.prototype = {
  76380. call$1(module) {
  76381. var t1 = this.$this;
  76382. return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  76383. },
  76384. $signature: 164
  76385. };
  76386. A._EvaluateVisitor_run_closure2.prototype = {
  76387. call$0() {
  76388. var $async$goto = 0,
  76389. $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
  76390. $async$returnValue, $async$self = this, module, t2, t1, url;
  76391. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76392. if ($async$errorCode === 1)
  76393. return A._asyncRethrow($async$result, $async$completer);
  76394. while (true)
  76395. switch ($async$goto) {
  76396. case 0:
  76397. // Function start
  76398. t1 = $async$self.node;
  76399. url = t1.span.file.url;
  76400. if (url != null) {
  76401. t2 = $async$self.$this;
  76402. t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
  76403. if (!(t2._async_evaluate0$_nodeImporter != null && J.toString$0$(url) === "stdin"))
  76404. t2._async_evaluate0$_loadedUrls.add$1(0, url);
  76405. }
  76406. t2 = $async$self.$this;
  76407. $async$goto = 3;
  76408. 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);
  76409. case 3:
  76410. // returning from await.
  76411. module = $async$result;
  76412. $async$returnValue = new A.EvaluateResult0(t2._async_evaluate0$_combineCss$1(module), t2._async_evaluate0$_loadedUrls);
  76413. // goto return
  76414. $async$goto = 1;
  76415. break;
  76416. case 1:
  76417. // return
  76418. return A._asyncReturn($async$returnValue, $async$completer);
  76419. }
  76420. });
  76421. return A._asyncStartSync($async$call$0, $async$completer);
  76422. },
  76423. $signature: 323
  76424. };
  76425. A._EvaluateVisitor_run__closure2.prototype = {
  76426. call$0() {
  76427. return this.$this._async_evaluate0$_execute$2(this.importer, this.node);
  76428. },
  76429. $signature: 324
  76430. };
  76431. A._EvaluateVisitor__loadModule_closure5.prototype = {
  76432. call$0() {
  76433. return this.callback.call$1(this.builtInModule);
  76434. },
  76435. $signature: 0
  76436. };
  76437. A._EvaluateVisitor__loadModule_closure6.prototype = {
  76438. call$0() {
  76439. return this.$call$body$_EvaluateVisitor__loadModule_closure0();
  76440. },
  76441. $call$body$_EvaluateVisitor__loadModule_closure0() {
  76442. var $async$goto = 0,
  76443. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76444. $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, oldInDependency, message, t1, t2, t3, result, stylesheet, canonicalUrl, $async$temp1;
  76445. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76446. if ($async$errorCode === 1) {
  76447. $async$currentError = $async$result;
  76448. $async$goto = $async$handler;
  76449. }
  76450. while (true)
  76451. switch ($async$goto) {
  76452. case 0:
  76453. // Function start
  76454. t1 = {};
  76455. t2 = $async$self.$this;
  76456. t3 = $async$self.nodeWithSpan;
  76457. $async$goto = 2;
  76458. 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);
  76459. case 2:
  76460. // returning from await.
  76461. result = $async$result;
  76462. stylesheet = result.stylesheet;
  76463. canonicalUrl = stylesheet.span.file.url;
  76464. if (canonicalUrl != null && t2._async_evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
  76465. message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  76466. t1 = A.NullableExtension_andThen0(t2._async_evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure5(t2, message));
  76467. throw A.wrapException(t1 == null ? t2._async_evaluate0$_exception$1(message) : t1);
  76468. }
  76469. if (canonicalUrl != null)
  76470. t2._async_evaluate0$_activeModules.$indexSet(0, canonicalUrl, t3);
  76471. oldInDependency = t2._async_evaluate0$_inDependency;
  76472. t2._async_evaluate0$_inDependency = result.isDependency;
  76473. t1.module = null;
  76474. $async$handler = 3;
  76475. $async$temp1 = t1;
  76476. $async$goto = 6;
  76477. return A._asyncAwait(t2._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  76478. case 6:
  76479. // returning from await.
  76480. $async$temp1.module = $async$result;
  76481. $async$next.push(5);
  76482. // goto finally
  76483. $async$goto = 4;
  76484. break;
  76485. case 3:
  76486. // uncaught
  76487. $async$next = [1];
  76488. case 4:
  76489. // finally
  76490. $async$handler = 1;
  76491. t2._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
  76492. t2._async_evaluate0$_inDependency = oldInDependency;
  76493. // goto the next finally handler
  76494. $async$goto = $async$next.pop();
  76495. break;
  76496. case 5:
  76497. // after finally
  76498. $async$goto = 7;
  76499. 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);
  76500. case 7:
  76501. // returning from await.
  76502. // implicit return
  76503. return A._asyncReturn(null, $async$completer);
  76504. case 1:
  76505. // rethrow
  76506. return A._asyncRethrow($async$currentError, $async$completer);
  76507. }
  76508. });
  76509. return A._asyncStartSync($async$call$0, $async$completer);
  76510. },
  76511. $signature: 2
  76512. };
  76513. A._EvaluateVisitor__loadModule__closure5.prototype = {
  76514. call$1(previousLoad) {
  76515. 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));
  76516. },
  76517. $signature: 98
  76518. };
  76519. A._EvaluateVisitor__loadModule__closure6.prototype = {
  76520. call$0() {
  76521. return this.callback.call$1(this._box_0.module);
  76522. },
  76523. $signature: 0
  76524. };
  76525. A._EvaluateVisitor__execute_closure2.prototype = {
  76526. call$0() {
  76527. var $async$goto = 0,
  76528. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76529. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  76530. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76531. if ($async$errorCode === 1)
  76532. return A._asyncRethrow($async$result, $async$completer);
  76533. while (true)
  76534. switch ($async$goto) {
  76535. case 0:
  76536. // Function start
  76537. t1 = $async$self.$this;
  76538. oldImporter = t1._async_evaluate0$_importer;
  76539. oldStylesheet = t1._async_evaluate0$__stylesheet;
  76540. oldRoot = t1._async_evaluate0$__root;
  76541. oldParent = t1._async_evaluate0$__parent;
  76542. oldEndOfImports = t1._async_evaluate0$__endOfImports;
  76543. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  76544. oldExtensionStore = t1._async_evaluate0$__extensionStore;
  76545. t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
  76546. oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  76547. oldMediaQueries = t1._async_evaluate0$_mediaQueries;
  76548. oldDeclarationName = t1._async_evaluate0$_declarationName;
  76549. oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  76550. oldInKeyframes = t1._async_evaluate0$_inKeyframes;
  76551. oldConfiguration = t1._async_evaluate0$_configuration;
  76552. t1._async_evaluate0$_importer = $async$self.importer;
  76553. t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
  76554. t4 = t3.span;
  76555. t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  76556. t1._async_evaluate0$__endOfImports = 0;
  76557. t1._async_evaluate0$_outOfOrderImports = null;
  76558. t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
  76559. t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  76560. t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
  76561. t6 = $async$self.configuration;
  76562. if (t6 != null)
  76563. t1._async_evaluate0$_configuration = t6;
  76564. $async$goto = 2;
  76565. return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
  76566. case 2:
  76567. // returning from await.
  76568. t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  76569. $async$self.css.__late_helper$_value = t3;
  76570. t1._async_evaluate0$_importer = oldImporter;
  76571. t1._async_evaluate0$__stylesheet = oldStylesheet;
  76572. t1._async_evaluate0$__root = oldRoot;
  76573. t1._async_evaluate0$__parent = oldParent;
  76574. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  76575. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  76576. t1._async_evaluate0$__extensionStore = oldExtensionStore;
  76577. t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  76578. t1._async_evaluate0$_mediaQueries = oldMediaQueries;
  76579. t1._async_evaluate0$_declarationName = oldDeclarationName;
  76580. t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  76581. t1._async_evaluate0$_atRootExcludingStyleRule = t2;
  76582. t1._async_evaluate0$_inKeyframes = oldInKeyframes;
  76583. t1._async_evaluate0$_configuration = oldConfiguration;
  76584. // implicit return
  76585. return A._asyncReturn(null, $async$completer);
  76586. }
  76587. });
  76588. return A._asyncStartSync($async$call$0, $async$completer);
  76589. },
  76590. $signature: 2
  76591. };
  76592. A._EvaluateVisitor__combineCss_closure8.prototype = {
  76593. call$1(module) {
  76594. return module.get$transitivelyContainsCss();
  76595. },
  76596. $signature: 107
  76597. };
  76598. A._EvaluateVisitor__combineCss_closure9.prototype = {
  76599. call$1(target) {
  76600. return !this.selectors.contains$1(0, target);
  76601. },
  76602. $signature: 14
  76603. };
  76604. A._EvaluateVisitor__combineCss_closure10.prototype = {
  76605. call$1(module) {
  76606. return module.cloneCss$0();
  76607. },
  76608. $signature: 326
  76609. };
  76610. A._EvaluateVisitor__extendModules_closure5.prototype = {
  76611. call$1(target) {
  76612. return !this.originalSelectors.contains$1(0, target);
  76613. },
  76614. $signature: 14
  76615. };
  76616. A._EvaluateVisitor__extendModules_closure6.prototype = {
  76617. call$0() {
  76618. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  76619. },
  76620. $signature: 166
  76621. };
  76622. A._EvaluateVisitor__topologicalModules_visitModule2.prototype = {
  76623. call$1(module) {
  76624. var t1, t2, t3, _i, upstream;
  76625. for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  76626. upstream = t1[_i];
  76627. if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
  76628. this.call$1(upstream);
  76629. }
  76630. this.sorted.addFirst$1(module);
  76631. },
  76632. $signature: 164
  76633. };
  76634. A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
  76635. call$0() {
  76636. var $async$goto = 0,
  76637. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76638. $async$self = this, t1, t2, t3, _i;
  76639. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76640. if ($async$errorCode === 1)
  76641. return A._asyncRethrow($async$result, $async$completer);
  76642. while (true)
  76643. switch ($async$goto) {
  76644. case 0:
  76645. // Function start
  76646. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  76647. case 2:
  76648. // for condition
  76649. if (!(_i < t2)) {
  76650. // goto after for
  76651. $async$goto = 4;
  76652. break;
  76653. }
  76654. $async$goto = 5;
  76655. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  76656. case 5:
  76657. // returning from await.
  76658. case 3:
  76659. // for update
  76660. ++_i;
  76661. // goto for condition
  76662. $async$goto = 2;
  76663. break;
  76664. case 4:
  76665. // after for
  76666. // implicit return
  76667. return A._asyncReturn(null, $async$completer);
  76668. }
  76669. });
  76670. return A._asyncStartSync($async$call$0, $async$completer);
  76671. },
  76672. $signature: 2
  76673. };
  76674. A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
  76675. call$0() {
  76676. var $async$goto = 0,
  76677. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  76678. $async$self = this, t1, t2, t3, _i;
  76679. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76680. if ($async$errorCode === 1)
  76681. return A._asyncRethrow($async$result, $async$completer);
  76682. while (true)
  76683. switch ($async$goto) {
  76684. case 0:
  76685. // Function start
  76686. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  76687. case 2:
  76688. // for condition
  76689. if (!(_i < t2)) {
  76690. // goto after for
  76691. $async$goto = 4;
  76692. break;
  76693. }
  76694. $async$goto = 5;
  76695. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  76696. case 5:
  76697. // returning from await.
  76698. case 3:
  76699. // for update
  76700. ++_i;
  76701. // goto for condition
  76702. $async$goto = 2;
  76703. break;
  76704. case 4:
  76705. // after for
  76706. // implicit return
  76707. return A._asyncReturn(null, $async$completer);
  76708. }
  76709. });
  76710. return A._asyncStartSync($async$call$0, $async$completer);
  76711. },
  76712. $signature: 40
  76713. };
  76714. A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
  76715. call$1(callback) {
  76716. var $async$goto = 0,
  76717. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76718. $async$self = this, t1, t2;
  76719. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76720. if ($async$errorCode === 1)
  76721. return A._asyncRethrow($async$result, $async$completer);
  76722. while (true)
  76723. switch ($async$goto) {
  76724. case 0:
  76725. // Function start
  76726. t1 = $async$self.$this;
  76727. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  76728. t1._async_evaluate0$__parent = $async$self.newParent;
  76729. $async$goto = 2;
  76730. return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  76731. case 2:
  76732. // returning from await.
  76733. t1._async_evaluate0$__parent = t2;
  76734. // implicit return
  76735. return A._asyncReturn(null, $async$completer);
  76736. }
  76737. });
  76738. return A._asyncStartSync($async$call$1, $async$completer);
  76739. },
  76740. $signature: 34
  76741. };
  76742. A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
  76743. call$1(callback) {
  76744. var $async$goto = 0,
  76745. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76746. $async$self = this, t1, oldAtRootExcludingStyleRule;
  76747. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76748. if ($async$errorCode === 1)
  76749. return A._asyncRethrow($async$result, $async$completer);
  76750. while (true)
  76751. switch ($async$goto) {
  76752. case 0:
  76753. // Function start
  76754. t1 = $async$self.$this;
  76755. oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
  76756. t1._async_evaluate0$_atRootExcludingStyleRule = true;
  76757. $async$goto = 2;
  76758. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  76759. case 2:
  76760. // returning from await.
  76761. t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  76762. // implicit return
  76763. return A._asyncReturn(null, $async$completer);
  76764. }
  76765. });
  76766. return A._asyncStartSync($async$call$1, $async$completer);
  76767. },
  76768. $signature: 34
  76769. };
  76770. A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
  76771. call$1(callback) {
  76772. return this.$this._async_evaluate0$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
  76773. },
  76774. $signature: 34
  76775. };
  76776. A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
  76777. call$0() {
  76778. return this.innerScope.call$1(this.callback);
  76779. },
  76780. $signature: 2
  76781. };
  76782. A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
  76783. call$1(callback) {
  76784. var $async$goto = 0,
  76785. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76786. $async$self = this, t1, wasInKeyframes;
  76787. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76788. if ($async$errorCode === 1)
  76789. return A._asyncRethrow($async$result, $async$completer);
  76790. while (true)
  76791. switch ($async$goto) {
  76792. case 0:
  76793. // Function start
  76794. t1 = $async$self.$this;
  76795. wasInKeyframes = t1._async_evaluate0$_inKeyframes;
  76796. t1._async_evaluate0$_inKeyframes = false;
  76797. $async$goto = 2;
  76798. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  76799. case 2:
  76800. // returning from await.
  76801. t1._async_evaluate0$_inKeyframes = wasInKeyframes;
  76802. // implicit return
  76803. return A._asyncReturn(null, $async$completer);
  76804. }
  76805. });
  76806. return A._asyncStartSync($async$call$1, $async$completer);
  76807. },
  76808. $signature: 34
  76809. };
  76810. A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
  76811. call$1($parent) {
  76812. return type$.CssAtRule_2._is($parent);
  76813. },
  76814. $signature: 167
  76815. };
  76816. A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
  76817. call$1(callback) {
  76818. var $async$goto = 0,
  76819. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76820. $async$self = this, t1, wasInUnknownAtRule;
  76821. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76822. if ($async$errorCode === 1)
  76823. return A._asyncRethrow($async$result, $async$completer);
  76824. while (true)
  76825. switch ($async$goto) {
  76826. case 0:
  76827. // Function start
  76828. t1 = $async$self.$this;
  76829. wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  76830. t1._async_evaluate0$_inUnknownAtRule = false;
  76831. $async$goto = 2;
  76832. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  76833. case 2:
  76834. // returning from await.
  76835. t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  76836. // implicit return
  76837. return A._asyncReturn(null, $async$completer);
  76838. }
  76839. });
  76840. return A._asyncStartSync($async$call$1, $async$completer);
  76841. },
  76842. $signature: 34
  76843. };
  76844. A._EvaluateVisitor_visitContentRule_closure2.prototype = {
  76845. call$0() {
  76846. var $async$goto = 0,
  76847. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76848. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  76849. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76850. if ($async$errorCode === 1)
  76851. return A._asyncRethrow($async$result, $async$completer);
  76852. while (true)
  76853. switch ($async$goto) {
  76854. case 0:
  76855. // Function start
  76856. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  76857. case 3:
  76858. // for condition
  76859. if (!(_i < t2)) {
  76860. // goto after for
  76861. $async$goto = 5;
  76862. break;
  76863. }
  76864. $async$goto = 6;
  76865. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  76866. case 6:
  76867. // returning from await.
  76868. case 4:
  76869. // for update
  76870. ++_i;
  76871. // goto for condition
  76872. $async$goto = 3;
  76873. break;
  76874. case 5:
  76875. // after for
  76876. $async$returnValue = null;
  76877. // goto return
  76878. $async$goto = 1;
  76879. break;
  76880. case 1:
  76881. // return
  76882. return A._asyncReturn($async$returnValue, $async$completer);
  76883. }
  76884. });
  76885. return A._asyncStartSync($async$call$0, $async$completer);
  76886. },
  76887. $signature: 2
  76888. };
  76889. A._EvaluateVisitor_visitDeclaration_closure5.prototype = {
  76890. call$1(value) {
  76891. return this.$call$body$_EvaluateVisitor_visitDeclaration_closure0(value);
  76892. },
  76893. $call$body$_EvaluateVisitor_visitDeclaration_closure0(value) {
  76894. var $async$goto = 0,
  76895. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value_2),
  76896. $async$returnValue, $async$self = this, $async$temp1;
  76897. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76898. if ($async$errorCode === 1)
  76899. return A._asyncRethrow($async$result, $async$completer);
  76900. while (true)
  76901. switch ($async$goto) {
  76902. case 0:
  76903. // Function start
  76904. $async$temp1 = A;
  76905. $async$goto = 3;
  76906. return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
  76907. case 3:
  76908. // returning from await.
  76909. $async$returnValue = new $async$temp1.CssValue0($async$result, value.get$span(value), type$.CssValue_Value_2);
  76910. // goto return
  76911. $async$goto = 1;
  76912. break;
  76913. case 1:
  76914. // return
  76915. return A._asyncReturn($async$returnValue, $async$completer);
  76916. }
  76917. });
  76918. return A._asyncStartSync($async$call$1, $async$completer);
  76919. },
  76920. $signature: 329
  76921. };
  76922. A._EvaluateVisitor_visitDeclaration_closure6.prototype = {
  76923. call$0() {
  76924. var $async$goto = 0,
  76925. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76926. $async$self = this, t1, t2, t3, _i;
  76927. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76928. if ($async$errorCode === 1)
  76929. return A._asyncRethrow($async$result, $async$completer);
  76930. while (true)
  76931. switch ($async$goto) {
  76932. case 0:
  76933. // Function start
  76934. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  76935. case 2:
  76936. // for condition
  76937. if (!(_i < t2)) {
  76938. // goto after for
  76939. $async$goto = 4;
  76940. break;
  76941. }
  76942. $async$goto = 5;
  76943. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  76944. case 5:
  76945. // returning from await.
  76946. case 3:
  76947. // for update
  76948. ++_i;
  76949. // goto for condition
  76950. $async$goto = 2;
  76951. break;
  76952. case 4:
  76953. // after for
  76954. // implicit return
  76955. return A._asyncReturn(null, $async$completer);
  76956. }
  76957. });
  76958. return A._asyncStartSync($async$call$0, $async$completer);
  76959. },
  76960. $signature: 2
  76961. };
  76962. A._EvaluateVisitor_visitEachRule_closure8.prototype = {
  76963. call$1(value) {
  76964. var t1 = this.$this,
  76965. t2 = this.nodeWithSpan;
  76966. return t1._async_evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
  76967. },
  76968. $signature: 55
  76969. };
  76970. A._EvaluateVisitor_visitEachRule_closure9.prototype = {
  76971. call$1(value) {
  76972. return this.$this._async_evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
  76973. },
  76974. $signature: 55
  76975. };
  76976. A._EvaluateVisitor_visitEachRule_closure10.prototype = {
  76977. call$0() {
  76978. var _this = this,
  76979. t1 = _this.$this;
  76980. return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
  76981. },
  76982. $signature: 60
  76983. };
  76984. A._EvaluateVisitor_visitEachRule__closure2.prototype = {
  76985. call$1(element) {
  76986. var t1;
  76987. this.setVariables.call$1(element);
  76988. t1 = this.$this;
  76989. return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
  76990. },
  76991. $signature: 332
  76992. };
  76993. A._EvaluateVisitor_visitEachRule___closure2.prototype = {
  76994. call$1(child) {
  76995. return child.accept$1(this.$this);
  76996. },
  76997. $signature: 93
  76998. };
  76999. A._EvaluateVisitor_visitAtRule_closure8.prototype = {
  77000. call$1(value) {
  77001. return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  77002. },
  77003. $signature: 334
  77004. };
  77005. A._EvaluateVisitor_visitAtRule_closure9.prototype = {
  77006. call$0() {
  77007. var $async$goto = 0,
  77008. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77009. $async$self = this, t2, t3, _i, t1, styleRule;
  77010. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77011. if ($async$errorCode === 1)
  77012. return A._asyncRethrow($async$result, $async$completer);
  77013. while (true)
  77014. switch ($async$goto) {
  77015. case 0:
  77016. // Function start
  77017. t1 = $async$self.$this;
  77018. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  77019. $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  77020. break;
  77021. case 2:
  77022. // then
  77023. t2 = $async$self.children, t3 = t2.length, _i = 0;
  77024. case 5:
  77025. // for condition
  77026. if (!(_i < t3)) {
  77027. // goto after for
  77028. $async$goto = 7;
  77029. break;
  77030. }
  77031. $async$goto = 8;
  77032. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  77033. case 8:
  77034. // returning from await.
  77035. case 6:
  77036. // for update
  77037. ++_i;
  77038. // goto for condition
  77039. $async$goto = 5;
  77040. break;
  77041. case 7:
  77042. // after for
  77043. // goto join
  77044. $async$goto = 3;
  77045. break;
  77046. case 4:
  77047. // else
  77048. $async$goto = 9;
  77049. 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);
  77050. case 9:
  77051. // returning from await.
  77052. case 3:
  77053. // join
  77054. // implicit return
  77055. return A._asyncReturn(null, $async$completer);
  77056. }
  77057. });
  77058. return A._asyncStartSync($async$call$0, $async$completer);
  77059. },
  77060. $signature: 2
  77061. };
  77062. A._EvaluateVisitor_visitAtRule__closure2.prototype = {
  77063. call$0() {
  77064. var $async$goto = 0,
  77065. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77066. $async$self = this, t1, t2, t3, _i;
  77067. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77068. if ($async$errorCode === 1)
  77069. return A._asyncRethrow($async$result, $async$completer);
  77070. while (true)
  77071. switch ($async$goto) {
  77072. case 0:
  77073. // Function start
  77074. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  77075. case 2:
  77076. // for condition
  77077. if (!(_i < t2)) {
  77078. // goto after for
  77079. $async$goto = 4;
  77080. break;
  77081. }
  77082. $async$goto = 5;
  77083. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  77084. case 5:
  77085. // returning from await.
  77086. case 3:
  77087. // for update
  77088. ++_i;
  77089. // goto for condition
  77090. $async$goto = 2;
  77091. break;
  77092. case 4:
  77093. // after for
  77094. // implicit return
  77095. return A._asyncReturn(null, $async$completer);
  77096. }
  77097. });
  77098. return A._asyncStartSync($async$call$0, $async$completer);
  77099. },
  77100. $signature: 2
  77101. };
  77102. A._EvaluateVisitor_visitAtRule_closure10.prototype = {
  77103. call$1(node) {
  77104. return type$.CssStyleRule_2._is(node);
  77105. },
  77106. $signature: 6
  77107. };
  77108. A._EvaluateVisitor_visitForRule_closure14.prototype = {
  77109. call$0() {
  77110. var $async$goto = 0,
  77111. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  77112. $async$returnValue, $async$self = this;
  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. $async$goto = 3;
  77121. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  77122. case 3:
  77123. // returning from await.
  77124. $async$returnValue = $async$result.assertNumber$0();
  77125. // goto return
  77126. $async$goto = 1;
  77127. break;
  77128. case 1:
  77129. // return
  77130. return A._asyncReturn($async$returnValue, $async$completer);
  77131. }
  77132. });
  77133. return A._asyncStartSync($async$call$0, $async$completer);
  77134. },
  77135. $signature: 172
  77136. };
  77137. A._EvaluateVisitor_visitForRule_closure15.prototype = {
  77138. call$0() {
  77139. var $async$goto = 0,
  77140. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  77141. $async$returnValue, $async$self = this;
  77142. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77143. if ($async$errorCode === 1)
  77144. return A._asyncRethrow($async$result, $async$completer);
  77145. while (true)
  77146. switch ($async$goto) {
  77147. case 0:
  77148. // Function start
  77149. $async$goto = 3;
  77150. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  77151. case 3:
  77152. // returning from await.
  77153. $async$returnValue = $async$result.assertNumber$0();
  77154. // goto return
  77155. $async$goto = 1;
  77156. break;
  77157. case 1:
  77158. // return
  77159. return A._asyncReturn($async$returnValue, $async$completer);
  77160. }
  77161. });
  77162. return A._asyncStartSync($async$call$0, $async$completer);
  77163. },
  77164. $signature: 172
  77165. };
  77166. A._EvaluateVisitor_visitForRule_closure16.prototype = {
  77167. call$0() {
  77168. return this.fromNumber.assertInt$0();
  77169. },
  77170. $signature: 12
  77171. };
  77172. A._EvaluateVisitor_visitForRule_closure17.prototype = {
  77173. call$0() {
  77174. var t1 = this.fromNumber;
  77175. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  77176. },
  77177. $signature: 12
  77178. };
  77179. A._EvaluateVisitor_visitForRule_closure18.prototype = {
  77180. call$0() {
  77181. var $async$goto = 0,
  77182. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  77183. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
  77184. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77185. if ($async$errorCode === 1)
  77186. return A._asyncRethrow($async$result, $async$completer);
  77187. while (true)
  77188. switch ($async$goto) {
  77189. case 0:
  77190. // Function start
  77191. t1 = $async$self.$this;
  77192. t2 = $async$self.node;
  77193. nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
  77194. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  77195. case 3:
  77196. // for condition
  77197. if (!(i !== t3.to)) {
  77198. // goto after for
  77199. $async$goto = 5;
  77200. break;
  77201. }
  77202. t7 = t1._async_evaluate0$_environment;
  77203. t8 = t6.get$numeratorUnits(t6);
  77204. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  77205. $async$goto = 6;
  77206. return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
  77207. case 6:
  77208. // returning from await.
  77209. result = $async$result;
  77210. if (result != null) {
  77211. $async$returnValue = result;
  77212. // goto return
  77213. $async$goto = 1;
  77214. break;
  77215. }
  77216. case 4:
  77217. // for update
  77218. i += t4;
  77219. // goto for condition
  77220. $async$goto = 3;
  77221. break;
  77222. case 5:
  77223. // after for
  77224. $async$returnValue = null;
  77225. // goto return
  77226. $async$goto = 1;
  77227. break;
  77228. case 1:
  77229. // return
  77230. return A._asyncReturn($async$returnValue, $async$completer);
  77231. }
  77232. });
  77233. return A._asyncStartSync($async$call$0, $async$completer);
  77234. },
  77235. $signature: 60
  77236. };
  77237. A._EvaluateVisitor_visitForRule__closure2.prototype = {
  77238. call$1(child) {
  77239. return child.accept$1(this.$this);
  77240. },
  77241. $signature: 93
  77242. };
  77243. A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
  77244. call$1(module) {
  77245. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  77246. },
  77247. $signature: 115
  77248. };
  77249. A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
  77250. call$1(module) {
  77251. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  77252. },
  77253. $signature: 115
  77254. };
  77255. A._EvaluateVisitor_visitIfRule_closure2.prototype = {
  77256. call$0() {
  77257. var t1 = this.$this;
  77258. return t1._async_evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure2(t1));
  77259. },
  77260. $signature: 60
  77261. };
  77262. A._EvaluateVisitor_visitIfRule__closure2.prototype = {
  77263. call$1(child) {
  77264. return child.accept$1(this.$this);
  77265. },
  77266. $signature: 93
  77267. };
  77268. A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
  77269. call$0() {
  77270. var $async$goto = 0,
  77271. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  77272. $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;
  77273. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77274. if ($async$errorCode === 1)
  77275. return A._asyncRethrow($async$result, $async$completer);
  77276. while (true)
  77277. switch ($async$goto) {
  77278. case 0:
  77279. // Function start
  77280. t1 = $async$self.$this;
  77281. t2 = $async$self.$import;
  77282. $async$goto = 3;
  77283. return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  77284. case 3:
  77285. // returning from await.
  77286. result = $async$result;
  77287. stylesheet = result.stylesheet;
  77288. url = stylesheet.span.file.url;
  77289. if (url != null) {
  77290. t3 = t1._async_evaluate0$_activeModules;
  77291. if (t3.containsKey$1(url)) {
  77292. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
  77293. throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
  77294. }
  77295. t3.$indexSet(0, url, t2);
  77296. }
  77297. t2 = stylesheet._stylesheet1$_uses;
  77298. t3 = type$.UnmodifiableListView_UseRule_2;
  77299. t4 = new A.UnmodifiableListView(t2, t3);
  77300. if (t4.get$length(t4) === 0) {
  77301. t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  77302. t4 = t4.get$length(t4) === 0;
  77303. } else
  77304. t4 = false;
  77305. $async$goto = t4 ? 4 : 5;
  77306. break;
  77307. case 4:
  77308. // then
  77309. oldImporter = t1._async_evaluate0$_importer;
  77310. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  77311. oldInDependency = t1._async_evaluate0$_inDependency;
  77312. t1._async_evaluate0$_importer = result.importer;
  77313. t1._async_evaluate0$__stylesheet = stylesheet;
  77314. t1._async_evaluate0$_inDependency = result.isDependency;
  77315. $async$goto = 6;
  77316. return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
  77317. case 6:
  77318. // returning from await.
  77319. t1._async_evaluate0$_importer = oldImporter;
  77320. t1._async_evaluate0$__stylesheet = t2;
  77321. t1._async_evaluate0$_inDependency = oldInDependency;
  77322. t1._async_evaluate0$_activeModules.remove$1(0, url);
  77323. // goto return
  77324. $async$goto = 1;
  77325. break;
  77326. case 5:
  77327. // join
  77328. t2 = new A.UnmodifiableListView(t2, t3);
  77329. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
  77330. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  77331. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
  77332. } else
  77333. loadsUserDefinedModules = true;
  77334. children = A._Cell$();
  77335. t2 = t1._async_evaluate0$_environment;
  77336. t3 = type$.String;
  77337. t4 = type$.Module_AsyncCallable_2;
  77338. t5 = type$.AstNode_2;
  77339. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
  77340. t7 = t2._async_environment0$_variables;
  77341. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  77342. t8 = t2._async_environment0$_variableNodes;
  77343. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  77344. t9 = t2._async_environment0$_functions;
  77345. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  77346. t10 = t2._async_environment0$_mixins;
  77347. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  77348. 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);
  77349. $async$goto = 7;
  77350. 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);
  77351. case 7:
  77352. // returning from await.
  77353. module = environment.toDummyModule$0();
  77354. t1._async_evaluate0$_environment.importForwards$1(module);
  77355. $async$goto = loadsUserDefinedModules ? 8 : 9;
  77356. break;
  77357. case 8:
  77358. // then
  77359. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  77360. break;
  77361. case 10:
  77362. // then
  77363. $async$goto = 12;
  77364. return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  77365. case 12:
  77366. // returning from await.
  77367. case 11:
  77368. // join
  77369. visitor = new A._ImportedCssVisitor2(t1);
  77370. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  77371. t2.get$current(t2).accept$1(visitor);
  77372. case 9:
  77373. // join
  77374. t1._async_evaluate0$_activeModules.remove$1(0, url);
  77375. case 1:
  77376. // return
  77377. return A._asyncReturn($async$returnValue, $async$completer);
  77378. }
  77379. });
  77380. return A._asyncStartSync($async$call$0, $async$completer);
  77381. },
  77382. $signature: 40
  77383. };
  77384. A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
  77385. call$1(previousLoad) {
  77386. 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));
  77387. },
  77388. $signature: 98
  77389. };
  77390. A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
  77391. call$1(rule) {
  77392. return rule.url.get$scheme() !== "sass";
  77393. },
  77394. $signature: 174
  77395. };
  77396. A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
  77397. call$1(rule) {
  77398. return rule.url.get$scheme() !== "sass";
  77399. },
  77400. $signature: 175
  77401. };
  77402. A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
  77403. call$0() {
  77404. var $async$goto = 0,
  77405. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77406. $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
  77407. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77408. if ($async$errorCode === 1)
  77409. return A._asyncRethrow($async$result, $async$completer);
  77410. while (true)
  77411. switch ($async$goto) {
  77412. case 0:
  77413. // Function start
  77414. t1 = $async$self.$this;
  77415. oldImporter = t1._async_evaluate0$_importer;
  77416. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  77417. t3 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
  77418. t4 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  77419. t5 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
  77420. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  77421. oldConfiguration = t1._async_evaluate0$_configuration;
  77422. oldInDependency = t1._async_evaluate0$_inDependency;
  77423. t6 = $async$self.result;
  77424. t1._async_evaluate0$_importer = t6.importer;
  77425. t7 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
  77426. t8 = $async$self.loadsUserDefinedModules;
  77427. if (t8) {
  77428. t9 = A.ModifiableCssStylesheet$0(t7.span);
  77429. t1._async_evaluate0$__root = t9;
  77430. t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t9, "_root");
  77431. t1._async_evaluate0$__endOfImports = 0;
  77432. t1._async_evaluate0$_outOfOrderImports = null;
  77433. }
  77434. t1._async_evaluate0$_inDependency = t6.isDependency;
  77435. t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  77436. if (!t6.get$isEmpty(t6))
  77437. t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
  77438. $async$goto = 2;
  77439. return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
  77440. case 2:
  77441. // returning from await.
  77442. t6 = t8 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  77443. $async$self.children.__late_helper$_value = t6;
  77444. t1._async_evaluate0$_importer = oldImporter;
  77445. t1._async_evaluate0$__stylesheet = t2;
  77446. if (t8) {
  77447. t1._async_evaluate0$__root = t3;
  77448. t1._async_evaluate0$__parent = t4;
  77449. t1._async_evaluate0$__endOfImports = t5;
  77450. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  77451. }
  77452. t1._async_evaluate0$_configuration = oldConfiguration;
  77453. t1._async_evaluate0$_inDependency = oldInDependency;
  77454. // implicit return
  77455. return A._asyncReturn(null, $async$completer);
  77456. }
  77457. });
  77458. return A._asyncStartSync($async$call$0, $async$completer);
  77459. },
  77460. $signature: 2
  77461. };
  77462. A._EvaluateVisitor_visitIncludeRule_closure11.prototype = {
  77463. call$0() {
  77464. var t1 = this.node;
  77465. return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  77466. },
  77467. $signature: 103
  77468. };
  77469. A._EvaluateVisitor_visitIncludeRule_closure12.prototype = {
  77470. call$0() {
  77471. return this.node.get$spanWithoutContent();
  77472. },
  77473. $signature: 25
  77474. };
  77475. A._EvaluateVisitor_visitIncludeRule_closure14.prototype = {
  77476. call$1($content) {
  77477. var t1 = this.$this;
  77478. return new A.UserDefinedCallable0($content, t1._async_evaluate0$_environment.closure$0(), t1._async_evaluate0$_inDependency, type$.UserDefinedCallable_AsyncEnvironment_2);
  77479. },
  77480. $signature: 340
  77481. };
  77482. A._EvaluateVisitor_visitIncludeRule_closure13.prototype = {
  77483. call$0() {
  77484. var $async$goto = 0,
  77485. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77486. $async$self = this, t1;
  77487. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77488. if ($async$errorCode === 1)
  77489. return A._asyncRethrow($async$result, $async$completer);
  77490. while (true)
  77491. switch ($async$goto) {
  77492. case 0:
  77493. // Function start
  77494. t1 = $async$self.$this;
  77495. $async$goto = 2;
  77496. 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);
  77497. case 2:
  77498. // returning from await.
  77499. // implicit return
  77500. return A._asyncReturn(null, $async$completer);
  77501. }
  77502. });
  77503. return A._asyncStartSync($async$call$0, $async$completer);
  77504. },
  77505. $signature: 2
  77506. };
  77507. A._EvaluateVisitor_visitIncludeRule__closure2.prototype = {
  77508. call$0() {
  77509. var $async$goto = 0,
  77510. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  77511. $async$self = this, t1;
  77512. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77513. if ($async$errorCode === 1)
  77514. return A._asyncRethrow($async$result, $async$completer);
  77515. while (true)
  77516. switch ($async$goto) {
  77517. case 0:
  77518. // Function start
  77519. t1 = $async$self.$this;
  77520. $async$goto = 2;
  77521. return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure2(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
  77522. case 2:
  77523. // returning from await.
  77524. // implicit return
  77525. return A._asyncReturn(null, $async$completer);
  77526. }
  77527. });
  77528. return A._asyncStartSync($async$call$0, $async$completer);
  77529. },
  77530. $signature: 40
  77531. };
  77532. A._EvaluateVisitor_visitIncludeRule___closure2.prototype = {
  77533. call$0() {
  77534. var $async$goto = 0,
  77535. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  77536. $async$self = this, t1, t2, t3, t4, t5, _i;
  77537. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77538. if ($async$errorCode === 1)
  77539. return A._asyncRethrow($async$result, $async$completer);
  77540. while (true)
  77541. switch ($async$goto) {
  77542. case 0:
  77543. // Function start
  77544. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value_2, _i = 0;
  77545. case 2:
  77546. // for condition
  77547. if (!(_i < t2)) {
  77548. // goto after for
  77549. $async$goto = 4;
  77550. break;
  77551. }
  77552. $async$goto = 5;
  77553. return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure2(t3, t1[_i]), t5), $async$call$0);
  77554. case 5:
  77555. // returning from await.
  77556. case 3:
  77557. // for update
  77558. ++_i;
  77559. // goto for condition
  77560. $async$goto = 2;
  77561. break;
  77562. case 4:
  77563. // after for
  77564. // implicit return
  77565. return A._asyncReturn(null, $async$completer);
  77566. }
  77567. });
  77568. return A._asyncStartSync($async$call$0, $async$completer);
  77569. },
  77570. $signature: 40
  77571. };
  77572. A._EvaluateVisitor_visitIncludeRule____closure2.prototype = {
  77573. call$0() {
  77574. return this.statement.accept$1(this.$this);
  77575. },
  77576. $signature: 60
  77577. };
  77578. A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
  77579. call$1(mediaQueries) {
  77580. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  77581. },
  77582. $signature: 88
  77583. };
  77584. A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
  77585. call$0() {
  77586. var $async$goto = 0,
  77587. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77588. $async$self = this, t1, t2;
  77589. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77590. if ($async$errorCode === 1)
  77591. return A._asyncRethrow($async$result, $async$completer);
  77592. while (true)
  77593. switch ($async$goto) {
  77594. case 0:
  77595. // Function start
  77596. t1 = $async$self.$this;
  77597. t2 = $async$self.mergedQueries;
  77598. if (t2 == null)
  77599. t2 = $async$self.queries;
  77600. $async$goto = 2;
  77601. 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);
  77602. case 2:
  77603. // returning from await.
  77604. // implicit return
  77605. return A._asyncReturn(null, $async$completer);
  77606. }
  77607. });
  77608. return A._asyncStartSync($async$call$0, $async$completer);
  77609. },
  77610. $signature: 2
  77611. };
  77612. A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
  77613. call$0() {
  77614. var $async$goto = 0,
  77615. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77616. $async$self = this, t2, t3, _i, t1, styleRule;
  77617. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77618. if ($async$errorCode === 1)
  77619. return A._asyncRethrow($async$result, $async$completer);
  77620. while (true)
  77621. switch ($async$goto) {
  77622. case 0:
  77623. // Function start
  77624. t1 = $async$self.$this;
  77625. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  77626. $async$goto = styleRule == null ? 2 : 4;
  77627. break;
  77628. case 2:
  77629. // then
  77630. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  77631. case 5:
  77632. // for condition
  77633. if (!(_i < t3)) {
  77634. // goto after for
  77635. $async$goto = 7;
  77636. break;
  77637. }
  77638. $async$goto = 8;
  77639. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  77640. case 8:
  77641. // returning from await.
  77642. case 6:
  77643. // for update
  77644. ++_i;
  77645. // goto for condition
  77646. $async$goto = 5;
  77647. break;
  77648. case 7:
  77649. // after for
  77650. // goto join
  77651. $async$goto = 3;
  77652. break;
  77653. case 4:
  77654. // else
  77655. $async$goto = 9;
  77656. 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);
  77657. case 9:
  77658. // returning from await.
  77659. case 3:
  77660. // join
  77661. // implicit return
  77662. return A._asyncReturn(null, $async$completer);
  77663. }
  77664. });
  77665. return A._asyncStartSync($async$call$0, $async$completer);
  77666. },
  77667. $signature: 2
  77668. };
  77669. A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
  77670. call$0() {
  77671. var $async$goto = 0,
  77672. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77673. $async$self = this, t1, t2, t3, _i;
  77674. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77675. if ($async$errorCode === 1)
  77676. return A._asyncRethrow($async$result, $async$completer);
  77677. while (true)
  77678. switch ($async$goto) {
  77679. case 0:
  77680. // Function start
  77681. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  77682. case 2:
  77683. // for condition
  77684. if (!(_i < t2)) {
  77685. // goto after for
  77686. $async$goto = 4;
  77687. break;
  77688. }
  77689. $async$goto = 5;
  77690. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  77691. case 5:
  77692. // returning from await.
  77693. case 3:
  77694. // for update
  77695. ++_i;
  77696. // goto for condition
  77697. $async$goto = 2;
  77698. break;
  77699. case 4:
  77700. // after for
  77701. // implicit return
  77702. return A._asyncReturn(null, $async$completer);
  77703. }
  77704. });
  77705. return A._asyncStartSync($async$call$0, $async$completer);
  77706. },
  77707. $signature: 2
  77708. };
  77709. A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
  77710. call$1(node) {
  77711. var t1;
  77712. if (!type$.CssStyleRule_2._is(node)) {
  77713. t1 = this.mergedSources;
  77714. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule_2._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  77715. } else
  77716. t1 = true;
  77717. return t1;
  77718. },
  77719. $signature: 6
  77720. };
  77721. A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
  77722. call$0() {
  77723. var $async$goto = 0,
  77724. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77725. $async$self = this, t1, t2, t3, _i;
  77726. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77727. if ($async$errorCode === 1)
  77728. return A._asyncRethrow($async$result, $async$completer);
  77729. while (true)
  77730. switch ($async$goto) {
  77731. case 0:
  77732. // Function start
  77733. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  77734. case 2:
  77735. // for condition
  77736. if (!(_i < t2)) {
  77737. // goto after for
  77738. $async$goto = 4;
  77739. break;
  77740. }
  77741. $async$goto = 5;
  77742. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  77743. case 5:
  77744. // returning from await.
  77745. case 3:
  77746. // for update
  77747. ++_i;
  77748. // goto for condition
  77749. $async$goto = 2;
  77750. break;
  77751. case 4:
  77752. // after for
  77753. // implicit return
  77754. return A._asyncReturn(null, $async$completer);
  77755. }
  77756. });
  77757. return A._asyncStartSync($async$call$0, $async$completer);
  77758. },
  77759. $signature: 2
  77760. };
  77761. A._EvaluateVisitor_visitStyleRule_closure15.prototype = {
  77762. call$1(node) {
  77763. return type$.CssStyleRule_2._is(node);
  77764. },
  77765. $signature: 6
  77766. };
  77767. A._EvaluateVisitor_visitStyleRule_closure16.prototype = {
  77768. call$0() {
  77769. var $async$goto = 0,
  77770. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77771. $async$self = this, t1;
  77772. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77773. if ($async$errorCode === 1)
  77774. return A._asyncRethrow($async$result, $async$completer);
  77775. while (true)
  77776. switch ($async$goto) {
  77777. case 0:
  77778. // Function start
  77779. t1 = $async$self.$this;
  77780. $async$goto = 2;
  77781. 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);
  77782. case 2:
  77783. // returning from await.
  77784. // implicit return
  77785. return A._asyncReturn(null, $async$completer);
  77786. }
  77787. });
  77788. return A._asyncStartSync($async$call$0, $async$completer);
  77789. },
  77790. $signature: 2
  77791. };
  77792. A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
  77793. call$0() {
  77794. var $async$goto = 0,
  77795. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77796. $async$self = this, t1, t2, t3, _i;
  77797. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77798. if ($async$errorCode === 1)
  77799. return A._asyncRethrow($async$result, $async$completer);
  77800. while (true)
  77801. switch ($async$goto) {
  77802. case 0:
  77803. // Function start
  77804. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  77805. case 2:
  77806. // for condition
  77807. if (!(_i < t2)) {
  77808. // goto after for
  77809. $async$goto = 4;
  77810. break;
  77811. }
  77812. $async$goto = 5;
  77813. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  77814. case 5:
  77815. // returning from await.
  77816. case 3:
  77817. // for update
  77818. ++_i;
  77819. // goto for condition
  77820. $async$goto = 2;
  77821. break;
  77822. case 4:
  77823. // after for
  77824. // implicit return
  77825. return A._asyncReturn(null, $async$completer);
  77826. }
  77827. });
  77828. return A._asyncStartSync($async$call$0, $async$completer);
  77829. },
  77830. $signature: 2
  77831. };
  77832. A._EvaluateVisitor_visitStyleRule_closure17.prototype = {
  77833. call$1(node) {
  77834. return type$.CssStyleRule_2._is(node);
  77835. },
  77836. $signature: 6
  77837. };
  77838. A._EvaluateVisitor_visitStyleRule_closure18.prototype = {
  77839. call$1(child) {
  77840. return type$.CssComment_2._is(child);
  77841. },
  77842. $signature: 117
  77843. };
  77844. A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
  77845. call$0() {
  77846. var $async$goto = 0,
  77847. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77848. $async$self = this, t2, t3, _i, t1, styleRule;
  77849. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77850. if ($async$errorCode === 1)
  77851. return A._asyncRethrow($async$result, $async$completer);
  77852. while (true)
  77853. switch ($async$goto) {
  77854. case 0:
  77855. // Function start
  77856. t1 = $async$self.$this;
  77857. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  77858. $async$goto = styleRule == null ? 2 : 4;
  77859. break;
  77860. case 2:
  77861. // then
  77862. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  77863. case 5:
  77864. // for condition
  77865. if (!(_i < t3)) {
  77866. // goto after for
  77867. $async$goto = 7;
  77868. break;
  77869. }
  77870. $async$goto = 8;
  77871. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  77872. case 8:
  77873. // returning from await.
  77874. case 6:
  77875. // for update
  77876. ++_i;
  77877. // goto for condition
  77878. $async$goto = 5;
  77879. break;
  77880. case 7:
  77881. // after for
  77882. // goto join
  77883. $async$goto = 3;
  77884. break;
  77885. case 4:
  77886. // else
  77887. $async$goto = 9;
  77888. 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);
  77889. case 9:
  77890. // returning from await.
  77891. case 3:
  77892. // join
  77893. // implicit return
  77894. return A._asyncReturn(null, $async$completer);
  77895. }
  77896. });
  77897. return A._asyncStartSync($async$call$0, $async$completer);
  77898. },
  77899. $signature: 2
  77900. };
  77901. A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
  77902. call$0() {
  77903. var $async$goto = 0,
  77904. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77905. $async$self = this, t1, t2, t3, _i;
  77906. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77907. if ($async$errorCode === 1)
  77908. return A._asyncRethrow($async$result, $async$completer);
  77909. while (true)
  77910. switch ($async$goto) {
  77911. case 0:
  77912. // Function start
  77913. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  77914. case 2:
  77915. // for condition
  77916. if (!(_i < t2)) {
  77917. // goto after for
  77918. $async$goto = 4;
  77919. break;
  77920. }
  77921. $async$goto = 5;
  77922. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  77923. case 5:
  77924. // returning from await.
  77925. case 3:
  77926. // for update
  77927. ++_i;
  77928. // goto for condition
  77929. $async$goto = 2;
  77930. break;
  77931. case 4:
  77932. // after for
  77933. // implicit return
  77934. return A._asyncReturn(null, $async$completer);
  77935. }
  77936. });
  77937. return A._asyncStartSync($async$call$0, $async$completer);
  77938. },
  77939. $signature: 2
  77940. };
  77941. A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
  77942. call$1(node) {
  77943. return type$.CssStyleRule_2._is(node);
  77944. },
  77945. $signature: 6
  77946. };
  77947. A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
  77948. call$0() {
  77949. var t1 = this.override;
  77950. this.$this._async_evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
  77951. },
  77952. $signature: 1
  77953. };
  77954. A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
  77955. call$0() {
  77956. var t1 = this.node;
  77957. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  77958. },
  77959. $signature: 38
  77960. };
  77961. A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
  77962. call$0() {
  77963. var t1 = this.$this,
  77964. t2 = this.node;
  77965. t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  77966. },
  77967. $signature: 1
  77968. };
  77969. A._EvaluateVisitor_visitUseRule_closure2.prototype = {
  77970. call$1(module) {
  77971. var t1 = this.node;
  77972. this.$this._async_evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
  77973. },
  77974. $signature: 115
  77975. };
  77976. A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
  77977. call$0() {
  77978. return this.node.expression.accept$1(this.$this);
  77979. },
  77980. $signature: 67
  77981. };
  77982. A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
  77983. call$0() {
  77984. var $async$goto = 0,
  77985. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  77986. $async$returnValue, $async$self = this, t1, t2, t3, result;
  77987. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77988. if ($async$errorCode === 1)
  77989. return A._asyncRethrow($async$result, $async$completer);
  77990. while (true)
  77991. switch ($async$goto) {
  77992. case 0:
  77993. // Function start
  77994. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  77995. case 3:
  77996. // for condition
  77997. $async$goto = 5;
  77998. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  77999. case 5:
  78000. // returning from await.
  78001. if (!$async$result.get$isTruthy()) {
  78002. // goto after for
  78003. $async$goto = 4;
  78004. break;
  78005. }
  78006. $async$goto = 6;
  78007. return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
  78008. case 6:
  78009. // returning from await.
  78010. result = $async$result;
  78011. if (result != null) {
  78012. $async$returnValue = result;
  78013. // goto return
  78014. $async$goto = 1;
  78015. break;
  78016. }
  78017. // goto for condition
  78018. $async$goto = 3;
  78019. break;
  78020. case 4:
  78021. // after for
  78022. $async$returnValue = null;
  78023. // goto return
  78024. $async$goto = 1;
  78025. break;
  78026. case 1:
  78027. // return
  78028. return A._asyncReturn($async$returnValue, $async$completer);
  78029. }
  78030. });
  78031. return A._asyncStartSync($async$call$0, $async$completer);
  78032. },
  78033. $signature: 60
  78034. };
  78035. A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
  78036. call$1(child) {
  78037. return child.accept$1(this.$this);
  78038. },
  78039. $signature: 93
  78040. };
  78041. A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
  78042. call$0() {
  78043. var $async$goto = 0,
  78044. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  78045. $async$returnValue, $async$self = this, right, result, t4, t5, t1, t2, left, t3, $async$temp1;
  78046. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78047. if ($async$errorCode === 1)
  78048. return A._asyncRethrow($async$result, $async$completer);
  78049. while (true)
  78050. switch ($async$goto) {
  78051. case 0:
  78052. // Function start
  78053. t1 = $async$self.node;
  78054. t2 = $async$self.$this;
  78055. $async$goto = 3;
  78056. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  78057. case 3:
  78058. // returning from await.
  78059. left = $async$result;
  78060. t3 = t1.operator;
  78061. case 4:
  78062. // switch
  78063. switch (t3) {
  78064. case B.BinaryOperator_2jN0:
  78065. // goto case
  78066. $async$goto = 6;
  78067. break;
  78068. case B.BinaryOperator_M6L0:
  78069. // goto case
  78070. $async$goto = 7;
  78071. break;
  78072. case B.BinaryOperator_SNp0:
  78073. // goto case
  78074. $async$goto = 8;
  78075. break;
  78076. case B.BinaryOperator_ql50:
  78077. // goto case
  78078. $async$goto = 9;
  78079. break;
  78080. case B.BinaryOperator_ViB0:
  78081. // goto case
  78082. $async$goto = 10;
  78083. break;
  78084. case B.BinaryOperator_cIH0:
  78085. // goto case
  78086. $async$goto = 11;
  78087. break;
  78088. case B.BinaryOperator_7Tg0:
  78089. // goto case
  78090. $async$goto = 12;
  78091. break;
  78092. case B.BinaryOperator_U8c0:
  78093. // goto case
  78094. $async$goto = 13;
  78095. break;
  78096. case B.BinaryOperator_kpg0:
  78097. // goto case
  78098. $async$goto = 14;
  78099. break;
  78100. case B.BinaryOperator_anB0:
  78101. // goto case
  78102. $async$goto = 15;
  78103. break;
  78104. case B.BinaryOperator_olz0:
  78105. // goto case
  78106. $async$goto = 16;
  78107. break;
  78108. case B.BinaryOperator_qN20:
  78109. // goto case
  78110. $async$goto = 17;
  78111. break;
  78112. case B.BinaryOperator_t8B0:
  78113. // goto case
  78114. $async$goto = 18;
  78115. break;
  78116. case B.BinaryOperator_OTG0:
  78117. // goto case
  78118. $async$goto = 19;
  78119. break;
  78120. default:
  78121. // goto default
  78122. $async$goto = 20;
  78123. break;
  78124. }
  78125. break;
  78126. case 6:
  78127. // case
  78128. $async$goto = 21;
  78129. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  78130. case 21:
  78131. // returning from await.
  78132. right = $async$result;
  78133. $async$returnValue = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
  78134. // goto return
  78135. $async$goto = 1;
  78136. break;
  78137. case 7:
  78138. // case
  78139. $async$goto = left.get$isTruthy() ? 22 : 24;
  78140. break;
  78141. case 22:
  78142. // then
  78143. $async$result = left;
  78144. // goto join
  78145. $async$goto = 23;
  78146. break;
  78147. case 24:
  78148. // else
  78149. $async$goto = 25;
  78150. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  78151. case 25:
  78152. // returning from await.
  78153. case 23:
  78154. // join
  78155. $async$returnValue = $async$result;
  78156. // goto return
  78157. $async$goto = 1;
  78158. break;
  78159. case 8:
  78160. // case
  78161. $async$goto = left.get$isTruthy() ? 26 : 28;
  78162. break;
  78163. case 26:
  78164. // then
  78165. $async$goto = 29;
  78166. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  78167. case 29:
  78168. // returning from await.
  78169. // goto join
  78170. $async$goto = 27;
  78171. break;
  78172. case 28:
  78173. // else
  78174. $async$result = left;
  78175. case 27:
  78176. // join
  78177. $async$returnValue = $async$result;
  78178. // goto return
  78179. $async$goto = 1;
  78180. break;
  78181. case 9:
  78182. // case
  78183. $async$temp1 = left;
  78184. $async$goto = 30;
  78185. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  78186. case 30:
  78187. // returning from await.
  78188. $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  78189. // goto return
  78190. $async$goto = 1;
  78191. break;
  78192. case 10:
  78193. // case
  78194. $async$temp1 = left;
  78195. $async$goto = 31;
  78196. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  78197. case 31:
  78198. // returning from await.
  78199. $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  78200. // goto return
  78201. $async$goto = 1;
  78202. break;
  78203. case 11:
  78204. // case
  78205. $async$temp1 = left;
  78206. $async$goto = 32;
  78207. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  78208. case 32:
  78209. // returning from await.
  78210. $async$returnValue = $async$temp1.greaterThan$1($async$result);
  78211. // goto return
  78212. $async$goto = 1;
  78213. break;
  78214. case 12:
  78215. // case
  78216. $async$temp1 = left;
  78217. $async$goto = 33;
  78218. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  78219. case 33:
  78220. // returning from await.
  78221. $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
  78222. // goto return
  78223. $async$goto = 1;
  78224. break;
  78225. case 13:
  78226. // case
  78227. $async$temp1 = left;
  78228. $async$goto = 34;
  78229. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  78230. case 34:
  78231. // returning from await.
  78232. $async$returnValue = $async$temp1.lessThan$1($async$result);
  78233. // goto return
  78234. $async$goto = 1;
  78235. break;
  78236. case 14:
  78237. // case
  78238. $async$temp1 = left;
  78239. $async$goto = 35;
  78240. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  78241. case 35:
  78242. // returning from await.
  78243. $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
  78244. // goto return
  78245. $async$goto = 1;
  78246. break;
  78247. case 15:
  78248. // case
  78249. $async$temp1 = left;
  78250. $async$goto = 36;
  78251. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  78252. case 36:
  78253. // returning from await.
  78254. $async$returnValue = $async$temp1.plus$1($async$result);
  78255. // goto return
  78256. $async$goto = 1;
  78257. break;
  78258. case 16:
  78259. // case
  78260. $async$temp1 = left;
  78261. $async$goto = 37;
  78262. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  78263. case 37:
  78264. // returning from await.
  78265. $async$returnValue = $async$temp1.minus$1($async$result);
  78266. // goto return
  78267. $async$goto = 1;
  78268. break;
  78269. case 17:
  78270. // case
  78271. $async$temp1 = left;
  78272. $async$goto = 38;
  78273. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  78274. case 38:
  78275. // returning from await.
  78276. $async$returnValue = $async$temp1.times$1($async$result);
  78277. // goto return
  78278. $async$goto = 1;
  78279. break;
  78280. case 18:
  78281. // case
  78282. $async$goto = 39;
  78283. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  78284. case 39:
  78285. // returning from await.
  78286. right = $async$result;
  78287. result = left.dividedBy$1(right);
  78288. if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
  78289. $async$returnValue = type$.SassNumber_2._as(result).withSlash$2(left, right);
  78290. // goto return
  78291. $async$goto = 1;
  78292. break;
  78293. } else {
  78294. if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
  78295. t3 = A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2().call$1(t1));
  78296. t4 = B.C__MakeExpressionCalculationSafe0.visitBinaryOperationExpression$1(t1);
  78297. t5 = t1.get$span(t1);
  78298. 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);
  78299. }
  78300. $async$returnValue = result;
  78301. // goto return
  78302. $async$goto = 1;
  78303. break;
  78304. }
  78305. case 19:
  78306. // case
  78307. $async$temp1 = left;
  78308. $async$goto = 40;
  78309. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  78310. case 40:
  78311. // returning from await.
  78312. $async$returnValue = $async$temp1.modulo$1($async$result);
  78313. // goto return
  78314. $async$goto = 1;
  78315. break;
  78316. case 20:
  78317. // default
  78318. throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
  78319. case 5:
  78320. // after switch
  78321. case 1:
  78322. // return
  78323. return A._asyncReturn($async$returnValue, $async$completer);
  78324. }
  78325. });
  78326. return A._asyncStartSync($async$call$0, $async$completer);
  78327. },
  78328. $signature: 67
  78329. };
  78330. A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2.prototype = {
  78331. call$1(expression) {
  78332. if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_t8B0)
  78333. return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  78334. else if (expression instanceof A.ParenthesizedExpression0)
  78335. return expression.expression.toString$0(0);
  78336. else
  78337. return expression.toString$0(0);
  78338. },
  78339. $signature: 124
  78340. };
  78341. A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
  78342. call$0() {
  78343. var t1 = this.node;
  78344. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  78345. },
  78346. $signature: 38
  78347. };
  78348. A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
  78349. call$0() {
  78350. var _this = this,
  78351. t1 = _this.node.operator;
  78352. switch (t1) {
  78353. case B.UnaryOperator_gg40:
  78354. return _this.operand.unaryPlus$0();
  78355. case B.UnaryOperator_TLI0:
  78356. return _this.operand.unaryMinus$0();
  78357. case B.UnaryOperator_Ix10:
  78358. return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  78359. case B.UnaryOperator_not_not_not0:
  78360. return _this.operand.unaryNot$0();
  78361. default:
  78362. throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
  78363. }
  78364. },
  78365. $signature: 42
  78366. };
  78367. A._EvaluateVisitor__visitCalculationValue_closure2.prototype = {
  78368. call$0() {
  78369. var $async$goto = 0,
  78370. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  78371. $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
  78372. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78373. if ($async$errorCode === 1)
  78374. return A._asyncRethrow($async$result, $async$completer);
  78375. while (true)
  78376. switch ($async$goto) {
  78377. case 0:
  78378. // Function start
  78379. t1 = $async$self.$this;
  78380. t2 = $async$self.node;
  78381. t3 = $async$self.inMinMax;
  78382. $async$temp1 = A;
  78383. $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$1(t2.operator);
  78384. $async$goto = 3;
  78385. return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
  78386. case 3:
  78387. // returning from await.
  78388. $async$temp3 = $async$result;
  78389. $async$goto = 4;
  78390. return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
  78391. case 4:
  78392. // returning from await.
  78393. $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate0$_inSupportsDeclaration);
  78394. // goto return
  78395. $async$goto = 1;
  78396. break;
  78397. case 1:
  78398. // return
  78399. return A._asyncReturn($async$returnValue, $async$completer);
  78400. }
  78401. });
  78402. return A._asyncStartSync($async$call$0, $async$completer);
  78403. },
  78404. $signature: 141
  78405. };
  78406. A._EvaluateVisitor_visitListExpression_closure2.prototype = {
  78407. call$1(expression) {
  78408. return expression.accept$1(this.$this);
  78409. },
  78410. $signature: 347
  78411. };
  78412. A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
  78413. call$0() {
  78414. var t1 = this.node;
  78415. return this.$this._async_evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
  78416. },
  78417. $signature: 103
  78418. };
  78419. A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
  78420. call$0() {
  78421. var t1 = this.node;
  78422. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  78423. },
  78424. $signature: 67
  78425. };
  78426. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
  78427. call$0() {
  78428. var t1 = this.node;
  78429. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  78430. },
  78431. $signature: 67
  78432. };
  78433. A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
  78434. call$0() {
  78435. var _this = this,
  78436. t1 = _this.$this,
  78437. t2 = _this.callable,
  78438. t3 = _this.V;
  78439. 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);
  78440. },
  78441. $signature() {
  78442. return this.V._eval$1("Future<0>()");
  78443. }
  78444. };
  78445. A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
  78446. call$0() {
  78447. var _this = this,
  78448. t1 = _this.$this,
  78449. t2 = _this.V;
  78450. return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  78451. },
  78452. $signature() {
  78453. return this.V._eval$1("Future<0>()");
  78454. }
  78455. };
  78456. A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
  78457. call$0() {
  78458. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
  78459. },
  78460. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
  78461. var $async$goto = 0,
  78462. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  78463. $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;
  78464. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78465. if ($async$errorCode === 1)
  78466. return A._asyncRethrow($async$result, $async$completer);
  78467. while (true)
  78468. switch ($async$goto) {
  78469. case 0:
  78470. // Function start
  78471. t1 = $async$self.$this;
  78472. t2 = $async$self.evaluated;
  78473. t3 = t2.positional;
  78474. t4 = t2.named;
  78475. t5 = $async$self.callable.declaration.$arguments;
  78476. t6 = $async$self.nodeWithSpan;
  78477. t1._async_evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
  78478. declaredArguments = t5.$arguments;
  78479. t7 = declaredArguments.length;
  78480. minLength = Math.min(t3.length, t7);
  78481. for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
  78482. t1._async_evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
  78483. i = t3.length, t8 = t2.namedNodes;
  78484. case 3:
  78485. // for condition
  78486. if (!(i < t7)) {
  78487. // goto after for
  78488. $async$goto = 5;
  78489. break;
  78490. }
  78491. argument = declaredArguments[i];
  78492. t9 = argument.name;
  78493. value = t4.remove$1(0, t9);
  78494. $async$goto = value == null ? 6 : 7;
  78495. break;
  78496. case 6:
  78497. // then
  78498. t10 = argument.defaultValue;
  78499. $async$temp1 = t1;
  78500. $async$goto = 8;
  78501. return A._asyncAwait(t10.accept$1(t1), $async$call$0);
  78502. case 8:
  78503. // returning from await.
  78504. value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t10));
  78505. case 7:
  78506. // join
  78507. t10 = t1._async_evaluate0$_environment;
  78508. t11 = t8.$index(0, t9);
  78509. if (t11 == null) {
  78510. t11 = argument.defaultValue;
  78511. t11.toString;
  78512. t11 = t1._async_evaluate0$_expressionNode$1(t11);
  78513. }
  78514. t10.setLocalVariable$3(t9, value, t11);
  78515. case 4:
  78516. // for update
  78517. ++i;
  78518. // goto for condition
  78519. $async$goto = 3;
  78520. break;
  78521. case 5:
  78522. // after for
  78523. restArgument = t5.restArgument;
  78524. if (restArgument != null) {
  78525. rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty19;
  78526. t2 = t2.separator;
  78527. argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : t2);
  78528. t1._async_evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
  78529. } else
  78530. argumentList = null;
  78531. $async$goto = 9;
  78532. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  78533. case 9:
  78534. // returning from await.
  78535. result = $async$result;
  78536. if (argumentList == null) {
  78537. $async$returnValue = result;
  78538. // goto return
  78539. $async$goto = 1;
  78540. break;
  78541. }
  78542. t2 = t4.__js_helper$_length;
  78543. if (t2 === 0) {
  78544. $async$returnValue = result;
  78545. // goto return
  78546. $async$goto = 1;
  78547. break;
  78548. }
  78549. if (argumentList._argument_list$_wereKeywordsAccessed) {
  78550. $async$returnValue = result;
  78551. // goto return
  78552. $async$goto = 1;
  78553. break;
  78554. }
  78555. t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
  78556. 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)), null));
  78557. case 1:
  78558. // return
  78559. return A._asyncReturn($async$returnValue, $async$completer);
  78560. }
  78561. });
  78562. return A._asyncStartSync($async$call$0, $async$completer);
  78563. },
  78564. $signature() {
  78565. return this.V._eval$1("Future<0>()");
  78566. }
  78567. };
  78568. A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
  78569. call$1($name) {
  78570. return "$" + $name;
  78571. },
  78572. $signature: 5
  78573. };
  78574. A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
  78575. call$0() {
  78576. var $async$goto = 0,
  78577. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  78578. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  78579. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78580. if ($async$errorCode === 1)
  78581. return A._asyncRethrow($async$result, $async$completer);
  78582. while (true)
  78583. switch ($async$goto) {
  78584. case 0:
  78585. // Function start
  78586. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  78587. case 3:
  78588. // for condition
  78589. if (!(_i < t3)) {
  78590. // goto after for
  78591. $async$goto = 5;
  78592. break;
  78593. }
  78594. $async$goto = 6;
  78595. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  78596. case 6:
  78597. // returning from await.
  78598. $returnValue = $async$result;
  78599. if ($returnValue instanceof A.Value0) {
  78600. $async$returnValue = $returnValue;
  78601. // goto return
  78602. $async$goto = 1;
  78603. break;
  78604. }
  78605. case 4:
  78606. // for update
  78607. ++_i;
  78608. // goto for condition
  78609. $async$goto = 3;
  78610. break;
  78611. case 5:
  78612. // after for
  78613. throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
  78614. case 1:
  78615. // return
  78616. return A._asyncReturn($async$returnValue, $async$completer);
  78617. }
  78618. });
  78619. return A._asyncStartSync($async$call$0, $async$completer);
  78620. },
  78621. $signature: 67
  78622. };
  78623. A._EvaluateVisitor__runBuiltInCallable_closure8.prototype = {
  78624. call$0() {
  78625. return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
  78626. },
  78627. $signature: 0
  78628. };
  78629. A._EvaluateVisitor__runBuiltInCallable_closure9.prototype = {
  78630. call$0() {
  78631. return this.callback.call$1(this.evaluated.positional);
  78632. },
  78633. $signature: 348
  78634. };
  78635. A._EvaluateVisitor__runBuiltInCallable_closure10.prototype = {
  78636. call$1($name) {
  78637. return "$" + $name;
  78638. },
  78639. $signature: 5
  78640. };
  78641. A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
  78642. call$1(value) {
  78643. return value;
  78644. },
  78645. $signature: 37
  78646. };
  78647. A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
  78648. call$1(value) {
  78649. return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  78650. },
  78651. $signature: 37
  78652. };
  78653. A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
  78654. call$2(key, value) {
  78655. var _this = this,
  78656. t1 = _this.restNodeForSpan;
  78657. _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
  78658. _this.namedNodes.$indexSet(0, key, t1);
  78659. },
  78660. $signature: 81
  78661. };
  78662. A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
  78663. call$1(value) {
  78664. return value;
  78665. },
  78666. $signature: 37
  78667. };
  78668. A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
  78669. call$1(value) {
  78670. var t1 = this.restArgs;
  78671. return new A.ValueExpression0(value, t1.get$span(t1));
  78672. },
  78673. $signature: 48
  78674. };
  78675. A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
  78676. call$1(value) {
  78677. var t1 = this.restArgs;
  78678. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  78679. },
  78680. $signature: 48
  78681. };
  78682. A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
  78683. call$2(key, value) {
  78684. var _this = this,
  78685. t1 = _this.restArgs;
  78686. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  78687. },
  78688. $signature: 81
  78689. };
  78690. A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
  78691. call$1(value) {
  78692. var t1 = this.keywordRestArgs;
  78693. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  78694. },
  78695. $signature: 48
  78696. };
  78697. A._EvaluateVisitor__addRestMap_closure2.prototype = {
  78698. call$2(key, value) {
  78699. var t2, _this = this,
  78700. t1 = _this.$this;
  78701. if (key instanceof A.SassString0)
  78702. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  78703. else {
  78704. t2 = _this.nodeWithSpan;
  78705. 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)));
  78706. }
  78707. },
  78708. $signature: 52
  78709. };
  78710. A._EvaluateVisitor__verifyArguments_closure2.prototype = {
  78711. call$0() {
  78712. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  78713. },
  78714. $signature: 0
  78715. };
  78716. A._EvaluateVisitor_visitStringExpression_closure2.prototype = {
  78717. call$1(value) {
  78718. return this.$call$body$_EvaluateVisitor_visitStringExpression_closure0(value);
  78719. },
  78720. $call$body$_EvaluateVisitor_visitStringExpression_closure0(value) {
  78721. var $async$goto = 0,
  78722. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  78723. $async$returnValue, $async$self = this, t1, result;
  78724. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78725. if ($async$errorCode === 1)
  78726. return A._asyncRethrow($async$result, $async$completer);
  78727. while (true)
  78728. switch ($async$goto) {
  78729. case 0:
  78730. // Function start
  78731. if (typeof value == "string") {
  78732. $async$returnValue = value;
  78733. // goto return
  78734. $async$goto = 1;
  78735. break;
  78736. }
  78737. type$.Expression_2._as(value);
  78738. t1 = $async$self.$this;
  78739. $async$goto = 3;
  78740. return A._asyncAwait(value.accept$1(t1), $async$call$1);
  78741. case 3:
  78742. // returning from await.
  78743. result = $async$result;
  78744. $async$returnValue = result instanceof A.SassString0 ? result._string0$_text : t1._async_evaluate0$_serialize$3$quote(result, value, false);
  78745. // goto return
  78746. $async$goto = 1;
  78747. break;
  78748. case 1:
  78749. // return
  78750. return A._asyncReturn($async$returnValue, $async$completer);
  78751. }
  78752. });
  78753. return A._asyncStartSync($async$call$1, $async$completer);
  78754. },
  78755. $signature: 140
  78756. };
  78757. A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
  78758. call$0() {
  78759. var $async$goto = 0,
  78760. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  78761. $async$self = this, t1, t2, t3, t4;
  78762. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78763. if ($async$errorCode === 1)
  78764. return A._asyncRethrow($async$result, $async$completer);
  78765. while (true)
  78766. switch ($async$goto) {
  78767. case 0:
  78768. // Function start
  78769. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  78770. case 2:
  78771. // for condition
  78772. if (!t1.moveNext$0()) {
  78773. // goto after for
  78774. $async$goto = 3;
  78775. break;
  78776. }
  78777. t4 = t1.__internal$_current;
  78778. $async$goto = 4;
  78779. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  78780. case 4:
  78781. // returning from await.
  78782. // goto for condition
  78783. $async$goto = 2;
  78784. break;
  78785. case 3:
  78786. // after for
  78787. // implicit return
  78788. return A._asyncReturn(null, $async$completer);
  78789. }
  78790. });
  78791. return A._asyncStartSync($async$call$0, $async$completer);
  78792. },
  78793. $signature: 2
  78794. };
  78795. A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
  78796. call$1(node) {
  78797. return type$.CssStyleRule_2._is(node);
  78798. },
  78799. $signature: 6
  78800. };
  78801. A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
  78802. call$0() {
  78803. var $async$goto = 0,
  78804. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  78805. $async$self = this, t1, t2, t3, t4;
  78806. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78807. if ($async$errorCode === 1)
  78808. return A._asyncRethrow($async$result, $async$completer);
  78809. while (true)
  78810. switch ($async$goto) {
  78811. case 0:
  78812. // Function start
  78813. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  78814. case 2:
  78815. // for condition
  78816. if (!t1.moveNext$0()) {
  78817. // goto after for
  78818. $async$goto = 3;
  78819. break;
  78820. }
  78821. t4 = t1.__internal$_current;
  78822. $async$goto = 4;
  78823. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  78824. case 4:
  78825. // returning from await.
  78826. // goto for condition
  78827. $async$goto = 2;
  78828. break;
  78829. case 3:
  78830. // after for
  78831. // implicit return
  78832. return A._asyncReturn(null, $async$completer);
  78833. }
  78834. });
  78835. return A._asyncStartSync($async$call$0, $async$completer);
  78836. },
  78837. $signature: 2
  78838. };
  78839. A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
  78840. call$1(node) {
  78841. return type$.CssStyleRule_2._is(node);
  78842. },
  78843. $signature: 6
  78844. };
  78845. A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
  78846. call$1(mediaQueries) {
  78847. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  78848. },
  78849. $signature: 88
  78850. };
  78851. A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
  78852. call$0() {
  78853. var $async$goto = 0,
  78854. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  78855. $async$self = this, t1, t2;
  78856. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78857. if ($async$errorCode === 1)
  78858. return A._asyncRethrow($async$result, $async$completer);
  78859. while (true)
  78860. switch ($async$goto) {
  78861. case 0:
  78862. // Function start
  78863. t1 = $async$self.$this;
  78864. t2 = $async$self.mergedQueries;
  78865. if (t2 == null)
  78866. t2 = $async$self.node.queries;
  78867. $async$goto = 2;
  78868. 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);
  78869. case 2:
  78870. // returning from await.
  78871. // implicit return
  78872. return A._asyncReturn(null, $async$completer);
  78873. }
  78874. });
  78875. return A._asyncStartSync($async$call$0, $async$completer);
  78876. },
  78877. $signature: 2
  78878. };
  78879. A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
  78880. call$0() {
  78881. var $async$goto = 0,
  78882. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  78883. $async$self = this, t2, t3, t4, t1, styleRule;
  78884. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78885. if ($async$errorCode === 1)
  78886. return A._asyncRethrow($async$result, $async$completer);
  78887. while (true)
  78888. switch ($async$goto) {
  78889. case 0:
  78890. // Function start
  78891. t1 = $async$self.$this;
  78892. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  78893. $async$goto = styleRule == null ? 2 : 4;
  78894. break;
  78895. case 2:
  78896. // then
  78897. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  78898. case 5:
  78899. // for condition
  78900. if (!t2.moveNext$0()) {
  78901. // goto after for
  78902. $async$goto = 6;
  78903. break;
  78904. }
  78905. t4 = t2.__internal$_current;
  78906. $async$goto = 7;
  78907. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  78908. case 7:
  78909. // returning from await.
  78910. // goto for condition
  78911. $async$goto = 5;
  78912. break;
  78913. case 6:
  78914. // after for
  78915. // goto join
  78916. $async$goto = 3;
  78917. break;
  78918. case 4:
  78919. // else
  78920. $async$goto = 8;
  78921. 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);
  78922. case 8:
  78923. // returning from await.
  78924. case 3:
  78925. // join
  78926. // implicit return
  78927. return A._asyncReturn(null, $async$completer);
  78928. }
  78929. });
  78930. return A._asyncStartSync($async$call$0, $async$completer);
  78931. },
  78932. $signature: 2
  78933. };
  78934. A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
  78935. call$0() {
  78936. var $async$goto = 0,
  78937. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  78938. $async$self = this, t1, t2, t3, t4;
  78939. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78940. if ($async$errorCode === 1)
  78941. return A._asyncRethrow($async$result, $async$completer);
  78942. while (true)
  78943. switch ($async$goto) {
  78944. case 0:
  78945. // Function start
  78946. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  78947. case 2:
  78948. // for condition
  78949. if (!t1.moveNext$0()) {
  78950. // goto after for
  78951. $async$goto = 3;
  78952. break;
  78953. }
  78954. t4 = t1.__internal$_current;
  78955. $async$goto = 4;
  78956. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  78957. case 4:
  78958. // returning from await.
  78959. // goto for condition
  78960. $async$goto = 2;
  78961. break;
  78962. case 3:
  78963. // after for
  78964. // implicit return
  78965. return A._asyncReturn(null, $async$completer);
  78966. }
  78967. });
  78968. return A._asyncStartSync($async$call$0, $async$completer);
  78969. },
  78970. $signature: 2
  78971. };
  78972. A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
  78973. call$1(node) {
  78974. var t1;
  78975. if (!type$.CssStyleRule_2._is(node)) {
  78976. t1 = this.mergedSources;
  78977. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule_2._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  78978. } else
  78979. t1 = true;
  78980. return t1;
  78981. },
  78982. $signature: 6
  78983. };
  78984. A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
  78985. call$0() {
  78986. var $async$goto = 0,
  78987. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  78988. $async$self = this, t1;
  78989. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78990. if ($async$errorCode === 1)
  78991. return A._asyncRethrow($async$result, $async$completer);
  78992. while (true)
  78993. switch ($async$goto) {
  78994. case 0:
  78995. // Function start
  78996. t1 = $async$self.$this;
  78997. $async$goto = 2;
  78998. 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);
  78999. case 2:
  79000. // returning from await.
  79001. // implicit return
  79002. return A._asyncReturn(null, $async$completer);
  79003. }
  79004. });
  79005. return A._asyncStartSync($async$call$0, $async$completer);
  79006. },
  79007. $signature: 2
  79008. };
  79009. A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
  79010. call$0() {
  79011. var $async$goto = 0,
  79012. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  79013. $async$self = this, t1, t2, t3, t4;
  79014. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  79015. if ($async$errorCode === 1)
  79016. return A._asyncRethrow($async$result, $async$completer);
  79017. while (true)
  79018. switch ($async$goto) {
  79019. case 0:
  79020. // Function start
  79021. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  79022. case 2:
  79023. // for condition
  79024. if (!t1.moveNext$0()) {
  79025. // goto after for
  79026. $async$goto = 3;
  79027. break;
  79028. }
  79029. t4 = t1.__internal$_current;
  79030. $async$goto = 4;
  79031. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  79032. case 4:
  79033. // returning from await.
  79034. // goto for condition
  79035. $async$goto = 2;
  79036. break;
  79037. case 3:
  79038. // after for
  79039. // implicit return
  79040. return A._asyncReturn(null, $async$completer);
  79041. }
  79042. });
  79043. return A._asyncStartSync($async$call$0, $async$completer);
  79044. },
  79045. $signature: 2
  79046. };
  79047. A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
  79048. call$1(node) {
  79049. return type$.CssStyleRule_2._is(node);
  79050. },
  79051. $signature: 6
  79052. };
  79053. A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
  79054. call$0() {
  79055. var $async$goto = 0,
  79056. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  79057. $async$self = this, t2, t3, t4, t1, styleRule;
  79058. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  79059. if ($async$errorCode === 1)
  79060. return A._asyncRethrow($async$result, $async$completer);
  79061. while (true)
  79062. switch ($async$goto) {
  79063. case 0:
  79064. // Function start
  79065. t1 = $async$self.$this;
  79066. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  79067. $async$goto = styleRule == null ? 2 : 4;
  79068. break;
  79069. case 2:
  79070. // then
  79071. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  79072. case 5:
  79073. // for condition
  79074. if (!t2.moveNext$0()) {
  79075. // goto after for
  79076. $async$goto = 6;
  79077. break;
  79078. }
  79079. t4 = t2.__internal$_current;
  79080. $async$goto = 7;
  79081. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  79082. case 7:
  79083. // returning from await.
  79084. // goto for condition
  79085. $async$goto = 5;
  79086. break;
  79087. case 6:
  79088. // after for
  79089. // goto join
  79090. $async$goto = 3;
  79091. break;
  79092. case 4:
  79093. // else
  79094. $async$goto = 8;
  79095. 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);
  79096. case 8:
  79097. // returning from await.
  79098. case 3:
  79099. // join
  79100. // implicit return
  79101. return A._asyncReturn(null, $async$completer);
  79102. }
  79103. });
  79104. return A._asyncStartSync($async$call$0, $async$completer);
  79105. },
  79106. $signature: 2
  79107. };
  79108. A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
  79109. call$0() {
  79110. var $async$goto = 0,
  79111. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  79112. $async$self = this, t1, t2, t3, t4;
  79113. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  79114. if ($async$errorCode === 1)
  79115. return A._asyncRethrow($async$result, $async$completer);
  79116. while (true)
  79117. switch ($async$goto) {
  79118. case 0:
  79119. // Function start
  79120. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  79121. case 2:
  79122. // for condition
  79123. if (!t1.moveNext$0()) {
  79124. // goto after for
  79125. $async$goto = 3;
  79126. break;
  79127. }
  79128. t4 = t1.__internal$_current;
  79129. $async$goto = 4;
  79130. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  79131. case 4:
  79132. // returning from await.
  79133. // goto for condition
  79134. $async$goto = 2;
  79135. break;
  79136. case 3:
  79137. // after for
  79138. // implicit return
  79139. return A._asyncReturn(null, $async$completer);
  79140. }
  79141. });
  79142. return A._asyncStartSync($async$call$0, $async$completer);
  79143. },
  79144. $signature: 2
  79145. };
  79146. A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
  79147. call$1(node) {
  79148. return type$.CssStyleRule_2._is(node);
  79149. },
  79150. $signature: 6
  79151. };
  79152. A._EvaluateVisitor__serialize_closure2.prototype = {
  79153. call$0() {
  79154. return A.serializeValue0(this.value, false, this.quote);
  79155. },
  79156. $signature: 31
  79157. };
  79158. A._EvaluateVisitor__expressionNode_closure2.prototype = {
  79159. call$0() {
  79160. var t1 = this.expression;
  79161. return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  79162. },
  79163. $signature: 185
  79164. };
  79165. A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
  79166. call$1(number) {
  79167. var asSlash = number.asSlash;
  79168. if (asSlash != null)
  79169. return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
  79170. else
  79171. return A.serializeValue0(number, true, true);
  79172. },
  79173. $signature: 186
  79174. };
  79175. A._EvaluateVisitor__stackFrame_closure2.prototype = {
  79176. call$1(url) {
  79177. var t1 = this.$this._async_evaluate0$_importCache;
  79178. t1 = t1 == null ? null : t1.humanize$1(url);
  79179. return t1 == null ? url : t1;
  79180. },
  79181. $signature: 84
  79182. };
  79183. A._EvaluateVisitor__stackTrace_closure2.prototype = {
  79184. call$1(tuple) {
  79185. return this.$this._async_evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
  79186. },
  79187. $signature: 187
  79188. };
  79189. A._ImportedCssVisitor2.prototype = {
  79190. visitCssAtRule$1(node) {
  79191. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
  79192. this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
  79193. },
  79194. visitCssComment$1(node) {
  79195. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
  79196. },
  79197. visitCssDeclaration$1(node) {
  79198. },
  79199. visitCssImport$1(node) {
  79200. var t2,
  79201. _s13_ = "_endOfImports",
  79202. t1 = this._async_evaluate0$_visitor;
  79203. if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
  79204. t1._async_evaluate0$_addChild$1(node);
  79205. 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)) {
  79206. t1._async_evaluate0$_addChild$1(node);
  79207. t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
  79208. } else {
  79209. t2 = t1._async_evaluate0$_outOfOrderImports;
  79210. (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  79211. }
  79212. },
  79213. visitCssKeyframeBlock$1(node) {
  79214. },
  79215. visitCssMediaRule$1(node) {
  79216. var t1 = this._async_evaluate0$_visitor,
  79217. mediaQueries = t1._async_evaluate0$_mediaQueries;
  79218. t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  79219. },
  79220. visitCssStyleRule$1(node) {
  79221. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
  79222. },
  79223. visitCssStylesheet$1(node) {
  79224. var t1, t2, t3;
  79225. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  79226. t3 = t1.__internal$_current;
  79227. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  79228. }
  79229. },
  79230. visitCssSupportsRule$1(node) {
  79231. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
  79232. }
  79233. };
  79234. A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
  79235. call$1(node) {
  79236. return type$.CssStyleRule_2._is(node);
  79237. },
  79238. $signature: 6
  79239. };
  79240. A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
  79241. call$1(node) {
  79242. var t1;
  79243. if (!type$.CssStyleRule_2._is(node))
  79244. t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
  79245. else
  79246. t1 = true;
  79247. return t1;
  79248. },
  79249. $signature: 6
  79250. };
  79251. A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
  79252. call$1(node) {
  79253. return type$.CssStyleRule_2._is(node);
  79254. },
  79255. $signature: 6
  79256. };
  79257. A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
  79258. call$1(node) {
  79259. return type$.CssStyleRule_2._is(node);
  79260. },
  79261. $signature: 6
  79262. };
  79263. A.EvaluateResult0.prototype = {};
  79264. A._EvaluationContext2.prototype = {
  79265. get$currentCallableSpan() {
  79266. var callableNode = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
  79267. if (callableNode != null)
  79268. return callableNode.get$span(callableNode);
  79269. throw A.wrapException(A.StateError$(string$.No_Sasc));
  79270. },
  79271. warn$2(_, message, deprecation) {
  79272. var t1 = this._async_evaluate0$_visitor,
  79273. t2 = t1._async_evaluate0$_importSpan;
  79274. if (t2 == null) {
  79275. t2 = t1._async_evaluate0$_callableNode;
  79276. t2 = t2 == null ? null : t2.get$span(t2);
  79277. }
  79278. t1._async_evaluate0$_warn$3(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  79279. },
  79280. $isEvaluationContext0: 1
  79281. };
  79282. A._ArgumentResults2.prototype = {};
  79283. A._LoadedStylesheet2.prototype = {};
  79284. A.NodeToDartAsyncFileImporter.prototype = {
  79285. canonicalize$1(_, url) {
  79286. return this.canonicalize$body$NodeToDartAsyncFileImporter(0, url);
  79287. },
  79288. canonicalize$body$NodeToDartAsyncFileImporter(_, url) {
  79289. var $async$goto = 0,
  79290. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  79291. $async$returnValue, $async$self = this, result, t1, resultUrl;
  79292. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  79293. if ($async$errorCode === 1)
  79294. return A._asyncRethrow($async$result, $async$completer);
  79295. while (true)
  79296. switch ($async$goto) {
  79297. case 0:
  79298. // Function start
  79299. if (url.get$scheme() === "file") {
  79300. $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, url);
  79301. // goto return
  79302. $async$goto = 1;
  79303. break;
  79304. }
  79305. result = $async$self._findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
  79306. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  79307. break;
  79308. case 3:
  79309. // then
  79310. $async$goto = 5;
  79311. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  79312. case 5:
  79313. // returning from await.
  79314. result = $async$result;
  79315. case 4:
  79316. // join
  79317. if (result == null) {
  79318. $async$returnValue = null;
  79319. // goto return
  79320. $async$goto = 1;
  79321. break;
  79322. }
  79323. t1 = self.URL;
  79324. if (!(result instanceof t1))
  79325. A.jsThrow(new self.Error(string$.The_fie));
  79326. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  79327. if (resultUrl.get$scheme() !== "file")
  79328. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  79329. $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, resultUrl);
  79330. // goto return
  79331. $async$goto = 1;
  79332. break;
  79333. case 1:
  79334. // return
  79335. return A._asyncReturn($async$returnValue, $async$completer);
  79336. }
  79337. });
  79338. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  79339. },
  79340. load$1(_, url) {
  79341. return $.$get$_filesystemImporter().load$1(0, url);
  79342. }
  79343. };
  79344. A.AsyncImportCache0.prototype = {
  79345. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  79346. return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
  79347. },
  79348. canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
  79349. var $async$goto = 0,
  79350. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
  79351. $async$returnValue, $async$self = this, relativeResult, t1;
  79352. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  79353. if ($async$errorCode === 1)
  79354. return A._asyncRethrow($async$result, $async$completer);
  79355. while (true)
  79356. switch ($async$goto) {
  79357. case 0:
  79358. // Function start
  79359. t1 = self.process;
  79360. if (t1 == null)
  79361. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && $async$self._async_import_cache0$_importers.length === 0;
  79362. else
  79363. t1 = false;
  79364. if (t1)
  79365. throw A.wrapException(string$.Custom);
  79366. $async$goto = baseImporter != null ? 3 : 4;
  79367. break;
  79368. case 3:
  79369. // then
  79370. t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2;
  79371. $async$goto = 5;
  79372. 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);
  79373. case 5:
  79374. // returning from await.
  79375. relativeResult = $async$result;
  79376. if (relativeResult != null) {
  79377. $async$returnValue = relativeResult;
  79378. // goto return
  79379. $async$goto = 1;
  79380. break;
  79381. }
  79382. case 4:
  79383. // join
  79384. t1 = type$.Tuple2_Uri_bool;
  79385. $async$goto = 6;
  79386. 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);
  79387. case 6:
  79388. // returning from await.
  79389. $async$returnValue = $async$result;
  79390. // goto return
  79391. $async$goto = 1;
  79392. break;
  79393. case 1:
  79394. // return
  79395. return A._asyncReturn($async$returnValue, $async$completer);
  79396. }
  79397. });
  79398. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  79399. },
  79400. _async_import_cache0$_canonicalize$3(importer, url, forImport) {
  79401. return this._canonicalize$body$AsyncImportCache0(importer, url, forImport);
  79402. },
  79403. _canonicalize$body$AsyncImportCache0(importer, url, forImport) {
  79404. var $async$goto = 0,
  79405. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  79406. $async$returnValue, $async$self = this, t1, result;
  79407. var $async$_async_import_cache0$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  79408. if ($async$errorCode === 1)
  79409. return A._asyncRethrow($async$result, $async$completer);
  79410. while (true)
  79411. switch ($async$goto) {
  79412. case 0:
  79413. // Function start
  79414. if (forImport) {
  79415. t1 = type$.nullable_Object;
  79416. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
  79417. } else
  79418. t1 = importer.canonicalize$1(0, url);
  79419. $async$goto = 3;
  79420. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$3);
  79421. case 3:
  79422. // returning from await.
  79423. result = $async$result;
  79424. if ((result == null ? null : result.get$scheme()) === "")
  79425. 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);
  79426. $async$returnValue = result;
  79427. // goto return
  79428. $async$goto = 1;
  79429. break;
  79430. case 1:
  79431. // return
  79432. return A._asyncReturn($async$returnValue, $async$completer);
  79433. }
  79434. });
  79435. return A._asyncStartSync($async$_async_import_cache0$_canonicalize$3, $async$completer);
  79436. },
  79437. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  79438. return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet);
  79439. },
  79440. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  79441. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  79442. },
  79443. importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet) {
  79444. var $async$goto = 0,
  79445. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  79446. $async$returnValue, $async$self = this;
  79447. var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  79448. if ($async$errorCode === 1)
  79449. return A._asyncRethrow($async$result, $async$completer);
  79450. while (true)
  79451. switch ($async$goto) {
  79452. case 0:
  79453. // Function start
  79454. $async$goto = 3;
  79455. 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);
  79456. case 3:
  79457. // returning from await.
  79458. $async$returnValue = $async$result;
  79459. // goto return
  79460. $async$goto = 1;
  79461. break;
  79462. case 1:
  79463. // return
  79464. return A._asyncReturn($async$returnValue, $async$completer);
  79465. }
  79466. });
  79467. return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
  79468. },
  79469. humanize$1(canonicalUrl) {
  79470. var t2, url,
  79471. t1 = this._async_import_cache0$_canonicalizeCache;
  79472. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri_2);
  79473. t2 = t1.$ti;
  79474. 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());
  79475. if (url == null)
  79476. return canonicalUrl;
  79477. t1 = $.$get$url();
  79478. return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
  79479. },
  79480. sourceMapUrl$1(_, canonicalUrl) {
  79481. var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
  79482. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  79483. return t1 == null ? canonicalUrl : t1;
  79484. }
  79485. };
  79486. A.AsyncImportCache_canonicalize_closure1.prototype = {
  79487. call$0() {
  79488. var $async$goto = 0,
  79489. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
  79490. $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
  79491. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  79492. if ($async$errorCode === 1)
  79493. return A._asyncRethrow($async$result, $async$completer);
  79494. while (true)
  79495. switch ($async$goto) {
  79496. case 0:
  79497. // Function start
  79498. t1 = $async$self.baseUrl;
  79499. resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
  79500. if (resolvedUrl == null)
  79501. resolvedUrl = $async$self.url;
  79502. t1 = $async$self.baseImporter;
  79503. $async$goto = 3;
  79504. return A._asyncAwait($async$self.$this._async_import_cache0$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
  79505. case 3:
  79506. // returning from await.
  79507. canonicalUrl = $async$result;
  79508. if (canonicalUrl == null) {
  79509. $async$returnValue = null;
  79510. // goto return
  79511. $async$goto = 1;
  79512. break;
  79513. }
  79514. $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri_2);
  79515. // goto return
  79516. $async$goto = 1;
  79517. break;
  79518. case 1:
  79519. // return
  79520. return A._asyncReturn($async$returnValue, $async$completer);
  79521. }
  79522. });
  79523. return A._asyncStartSync($async$call$0, $async$completer);
  79524. },
  79525. $signature: 188
  79526. };
  79527. A.AsyncImportCache_canonicalize_closure2.prototype = {
  79528. call$0() {
  79529. var $async$goto = 0,
  79530. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
  79531. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
  79532. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  79533. if ($async$errorCode === 1)
  79534. return A._asyncRethrow($async$result, $async$completer);
  79535. while (true)
  79536. switch ($async$goto) {
  79537. case 0:
  79538. // Function start
  79539. t1 = $async$self.$this, t2 = t1._async_import_cache0$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
  79540. case 3:
  79541. // for condition
  79542. if (!(_i < t2.length)) {
  79543. // goto after for
  79544. $async$goto = 5;
  79545. break;
  79546. }
  79547. importer = t2[_i];
  79548. $async$goto = 6;
  79549. return A._asyncAwait(t1._async_import_cache0$_canonicalize$3(importer, t4, t5), $async$call$0);
  79550. case 6:
  79551. // returning from await.
  79552. canonicalUrl = $async$result;
  79553. if (canonicalUrl != null) {
  79554. $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri_2);
  79555. // goto return
  79556. $async$goto = 1;
  79557. break;
  79558. }
  79559. case 4:
  79560. // for update
  79561. t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
  79562. // goto for condition
  79563. $async$goto = 3;
  79564. break;
  79565. case 5:
  79566. // after for
  79567. $async$returnValue = null;
  79568. // goto return
  79569. $async$goto = 1;
  79570. break;
  79571. case 1:
  79572. // return
  79573. return A._asyncReturn($async$returnValue, $async$completer);
  79574. }
  79575. });
  79576. return A._asyncStartSync($async$call$0, $async$completer);
  79577. },
  79578. $signature: 188
  79579. };
  79580. A.AsyncImportCache__canonicalize_closure0.prototype = {
  79581. call$0() {
  79582. return this.importer.canonicalize$1(0, this.url);
  79583. },
  79584. $signature: 200
  79585. };
  79586. A.AsyncImportCache_importCanonical_closure0.prototype = {
  79587. call$0() {
  79588. var $async$goto = 0,
  79589. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  79590. $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
  79591. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  79592. if ($async$errorCode === 1)
  79593. return A._asyncRethrow($async$result, $async$completer);
  79594. while (true)
  79595. switch ($async$goto) {
  79596. case 0:
  79597. // Function start
  79598. t1 = $async$self.canonicalUrl;
  79599. $async$goto = 3;
  79600. return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
  79601. case 3:
  79602. // returning from await.
  79603. result = $async$result;
  79604. if (result == null) {
  79605. $async$returnValue = null;
  79606. // goto return
  79607. $async$goto = 1;
  79608. break;
  79609. }
  79610. t2 = $async$self.$this;
  79611. t2._async_import_cache0$_resultsCache.$indexSet(0, t1, result);
  79612. t3 = result.contents;
  79613. t4 = result.syntax;
  79614. t1 = $async$self.originalUrl.resolveUri$1(t1);
  79615. $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t4, $async$self.quiet ? $.$get$Logger_quiet0() : t2._async_import_cache0$_logger, t1);
  79616. // goto return
  79617. $async$goto = 1;
  79618. break;
  79619. case 1:
  79620. // return
  79621. return A._asyncReturn($async$returnValue, $async$completer);
  79622. }
  79623. });
  79624. return A._asyncStartSync($async$call$0, $async$completer);
  79625. },
  79626. $signature: 356
  79627. };
  79628. A.AsyncImportCache_humanize_closure2.prototype = {
  79629. call$1(tuple) {
  79630. return tuple.item2.$eq(0, this.canonicalUrl);
  79631. },
  79632. $signature: 357
  79633. };
  79634. A.AsyncImportCache_humanize_closure3.prototype = {
  79635. call$1(tuple) {
  79636. return tuple.item3;
  79637. },
  79638. $signature: 358
  79639. };
  79640. A.AsyncImportCache_humanize_closure4.prototype = {
  79641. call$1(url) {
  79642. return url.get$path(url).length;
  79643. },
  79644. $signature: 95
  79645. };
  79646. A.AtRootQueryParser0.prototype = {
  79647. parse$0() {
  79648. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
  79649. }
  79650. };
  79651. A.AtRootQueryParser_parse_closure0.prototype = {
  79652. call$0() {
  79653. var include, atRules,
  79654. t1 = this.$this,
  79655. t2 = t1.scanner;
  79656. t2.expectChar$1(40);
  79657. t1.whitespace$0();
  79658. include = t1.scanIdentifier$1("with");
  79659. if (!include)
  79660. t1.expectIdentifier$2$name("without", '"with" or "without"');
  79661. t1.whitespace$0();
  79662. t2.expectChar$1(58);
  79663. t1.whitespace$0();
  79664. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  79665. do {
  79666. atRules.add$1(0, t1.identifier$0().toLowerCase());
  79667. t1.whitespace$0();
  79668. } while (t1.lookingAtIdentifier$0());
  79669. t2.expectChar$1(41);
  79670. t2.expectDone$0();
  79671. return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  79672. },
  79673. $signature: 359
  79674. };
  79675. A.AtRootQuery0.prototype = {
  79676. excludes$1(node) {
  79677. var _this = this;
  79678. if (_this._at_root_query0$_all)
  79679. return !_this.include;
  79680. if (type$.CssStyleRule_2._is(node))
  79681. return _this._at_root_query0$_rule !== _this.include;
  79682. if (type$.CssMediaRule_2._is(node))
  79683. return _this.excludesName$1("media");
  79684. if (type$.CssSupportsRule_2._is(node))
  79685. return _this.excludesName$1("supports");
  79686. if (type$.CssAtRule_2._is(node))
  79687. return _this.excludesName$1(node.name.value.toLowerCase());
  79688. return false;
  79689. },
  79690. excludesName$1($name) {
  79691. var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
  79692. return t1 !== this.include;
  79693. }
  79694. };
  79695. A.AtRootRule0.prototype = {
  79696. accept$1$1(visitor) {
  79697. return visitor.visitAtRootRule$1(this);
  79698. },
  79699. accept$1(visitor) {
  79700. return this.accept$1$1(visitor, type$.dynamic);
  79701. },
  79702. toString$0(_) {
  79703. var buffer = new A.StringBuffer("@at-root "),
  79704. t1 = this.query;
  79705. if (t1 != null)
  79706. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  79707. t1 = this.children;
  79708. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  79709. },
  79710. get$span(receiver) {
  79711. return this.span;
  79712. }
  79713. };
  79714. A.ModifiableCssAtRule0.prototype = {
  79715. accept$1$1(visitor) {
  79716. return visitor.visitCssAtRule$1(this);
  79717. },
  79718. accept$1(visitor) {
  79719. return this.accept$1$1(visitor, type$.dynamic);
  79720. },
  79721. equalsIgnoringChildren$1(other) {
  79722. var t1, t2;
  79723. if (other instanceof A.ModifiableCssAtRule0) {
  79724. t1 = this.name;
  79725. t2 = other.name;
  79726. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  79727. } else
  79728. t1 = false;
  79729. return t1;
  79730. },
  79731. copyWithoutChildren$0() {
  79732. var _this = this;
  79733. return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
  79734. },
  79735. addChild$1(child) {
  79736. this.super$ModifiableCssParentNode$addChild0(child);
  79737. },
  79738. $isCssAtRule0: 1,
  79739. get$isChildless() {
  79740. return this.isChildless;
  79741. },
  79742. get$span(receiver) {
  79743. return this.span;
  79744. }
  79745. };
  79746. A.AtRule0.prototype = {
  79747. accept$1$1(visitor) {
  79748. return visitor.visitAtRule$1(this);
  79749. },
  79750. accept$1(visitor) {
  79751. return this.accept$1$1(visitor, type$.dynamic);
  79752. },
  79753. toString$0(_) {
  79754. var children,
  79755. t1 = "@" + this.name.toString$0(0),
  79756. buffer = new A.StringBuffer(t1),
  79757. t2 = this.value;
  79758. if (t2 != null)
  79759. buffer._contents = t1 + (" " + t2.toString$0(0));
  79760. children = this.children;
  79761. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  79762. },
  79763. get$span(receiver) {
  79764. return this.span;
  79765. }
  79766. };
  79767. A.AttributeSelector0.prototype = {
  79768. accept$1$1(visitor) {
  79769. return visitor.visitAttributeSelector$1(this);
  79770. },
  79771. accept$1(visitor) {
  79772. return this.accept$1$1(visitor, type$.dynamic);
  79773. },
  79774. $eq(_, other) {
  79775. var _this = this;
  79776. if (other == null)
  79777. return false;
  79778. return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  79779. },
  79780. get$hashCode(_) {
  79781. var _this = this,
  79782. t1 = _this.name;
  79783. 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;
  79784. }
  79785. };
  79786. A.AttributeOperator0.prototype = {
  79787. _enumToString$0() {
  79788. return "AttributeOperator." + this._name;
  79789. },
  79790. toString$0(_) {
  79791. return this._attribute0$_text;
  79792. }
  79793. };
  79794. A.BinaryOperationExpression0.prototype = {
  79795. get$span(_) {
  79796. var right,
  79797. left = this.left;
  79798. for (; left instanceof A.BinaryOperationExpression0;)
  79799. left = left.left;
  79800. right = this.right;
  79801. for (; right instanceof A.BinaryOperationExpression0;)
  79802. right = right.right;
  79803. return left.get$span(left).expand$1(0, right.get$span(right));
  79804. },
  79805. accept$1$1(visitor) {
  79806. return visitor.visitBinaryOperationExpression$1(this);
  79807. },
  79808. accept$1(visitor) {
  79809. return this.accept$1$1(visitor, type$.dynamic);
  79810. },
  79811. toString$0(_) {
  79812. var leftNeedsParens, t1, t2, right, t3, rightNeedsParens, _this = this,
  79813. left = _this.left;
  79814. if (!(left instanceof A.BinaryOperationExpression0 && left.operator.precedence < _this.operator.precedence))
  79815. leftNeedsParens = left instanceof A.ListExpression0 && !left.hasBrackets && left.contents.length > 1;
  79816. else
  79817. leftNeedsParens = true;
  79818. t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
  79819. t1 += left.toString$0(0);
  79820. if (leftNeedsParens)
  79821. t1 += A.Primitives_stringFromCharCode(41);
  79822. t2 = _this.operator;
  79823. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  79824. right = _this.right;
  79825. if (right instanceof A.BinaryOperationExpression0) {
  79826. t3 = right.operator;
  79827. if (t3.precedence <= t2.precedence)
  79828. t2 = !(t3 === t2 && t2.isAssociative);
  79829. else
  79830. t2 = false;
  79831. } else
  79832. t2 = false;
  79833. if (!t2)
  79834. rightNeedsParens = right instanceof A.ListExpression0 && !right.hasBrackets && right.contents.length > 1;
  79835. else
  79836. rightNeedsParens = true;
  79837. if (rightNeedsParens)
  79838. t1 += A.Primitives_stringFromCharCode(40);
  79839. t1 += right.toString$0(0);
  79840. if (rightNeedsParens)
  79841. t1 += A.Primitives_stringFromCharCode(41);
  79842. return t1.charCodeAt(0) == 0 ? t1 : t1;
  79843. },
  79844. $isExpression0: 1,
  79845. $isAstNode0: 1
  79846. };
  79847. A.BinaryOperator0.prototype = {
  79848. _enumToString$0() {
  79849. return "BinaryOperator." + this._name;
  79850. },
  79851. toString$0(_) {
  79852. return this.name;
  79853. }
  79854. };
  79855. A.BooleanExpression0.prototype = {
  79856. accept$1$1(visitor) {
  79857. return visitor.visitBooleanExpression$1(this);
  79858. },
  79859. accept$1(visitor) {
  79860. return this.accept$1$1(visitor, type$.dynamic);
  79861. },
  79862. toString$0(_) {
  79863. return String(this.value);
  79864. },
  79865. $isExpression0: 1,
  79866. $isAstNode0: 1,
  79867. get$span(receiver) {
  79868. return this.span;
  79869. }
  79870. };
  79871. A.legacyBooleanClass_closure.prototype = {
  79872. call$0() {
  79873. var t1 = type$.JSClass,
  79874. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
  79875. J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
  79876. jsClass.TRUE = B.SassBoolean_true0;
  79877. jsClass.FALSE = B.SassBoolean_false0;
  79878. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  79879. return jsClass;
  79880. },
  79881. $signature: 26
  79882. };
  79883. A.legacyBooleanClass__closure.prototype = {
  79884. call$2(_, __) {
  79885. throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
  79886. },
  79887. call$1(_) {
  79888. return this.call$2(_, null);
  79889. },
  79890. "call*": "call$2",
  79891. $requiredArgCount: 1,
  79892. $defaultValues() {
  79893. return [null];
  79894. },
  79895. $signature: 189
  79896. };
  79897. A.legacyBooleanClass__closure0.prototype = {
  79898. call$1($self) {
  79899. return $self === B.SassBoolean_true0;
  79900. },
  79901. $signature: 69
  79902. };
  79903. A.booleanClass_closure.prototype = {
  79904. call$0() {
  79905. var t1 = type$.JSClass,
  79906. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
  79907. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  79908. return jsClass;
  79909. },
  79910. $signature: 26
  79911. };
  79912. A.booleanClass__closure.prototype = {
  79913. call$2($self, _) {
  79914. A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
  79915. },
  79916. call$1($self) {
  79917. return this.call$2($self, null);
  79918. },
  79919. "call*": "call$2",
  79920. $requiredArgCount: 1,
  79921. $defaultValues() {
  79922. return [null];
  79923. },
  79924. $signature: 361
  79925. };
  79926. A.SassBoolean0.prototype = {
  79927. get$isTruthy() {
  79928. return this.value;
  79929. },
  79930. accept$1$1(visitor) {
  79931. return visitor._serialize0$_buffer.write$1(0, String(this.value));
  79932. },
  79933. accept$1(visitor) {
  79934. return this.accept$1$1(visitor, type$.dynamic);
  79935. },
  79936. assertBoolean$1($name) {
  79937. return this;
  79938. },
  79939. unaryNot$0() {
  79940. return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
  79941. }
  79942. };
  79943. A.Box0.prototype = {
  79944. $eq(_, other) {
  79945. if (other == null)
  79946. return false;
  79947. return this.$ti._is(other) && other._box0$_inner === this._box0$_inner;
  79948. },
  79949. get$hashCode(_) {
  79950. return A.Primitives_objectHashCode(this._box0$_inner);
  79951. }
  79952. };
  79953. A.ModifiableBox0.prototype = {};
  79954. A.BuiltInCallable0.prototype = {
  79955. callbackFor$2(positional, names) {
  79956. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  79957. 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) {
  79958. overload = t1[_i];
  79959. t3 = overload.item1;
  79960. if (t3.matches$2(positional, names))
  79961. return overload;
  79962. mismatchDistance = t3.$arguments.length - positional;
  79963. if (minMismatchDistance != null) {
  79964. t3 = Math.abs(mismatchDistance);
  79965. t4 = Math.abs(minMismatchDistance);
  79966. if (t3 > t4)
  79967. continue;
  79968. if (t3 === t4 && mismatchDistance < 0)
  79969. continue;
  79970. }
  79971. minMismatchDistance = mismatchDistance;
  79972. fuzzyMatch = overload;
  79973. }
  79974. if (fuzzyMatch != null)
  79975. return fuzzyMatch;
  79976. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  79977. },
  79978. withName$1($name) {
  79979. return new A.BuiltInCallable0($name, this._built_in$_overloads);
  79980. },
  79981. $isAsyncCallable0: 1,
  79982. $isAsyncBuiltInCallable0: 1,
  79983. $isCallable0: 1,
  79984. get$name(receiver) {
  79985. return this.name;
  79986. }
  79987. };
  79988. A.BuiltInCallable$mixin_closure0.prototype = {
  79989. call$1($arguments) {
  79990. this.callback.call$1($arguments);
  79991. return B.C__SassNull0;
  79992. },
  79993. $signature: 3
  79994. };
  79995. A.BuiltInModule0.prototype = {
  79996. get$upstream() {
  79997. return B.List_empty18;
  79998. },
  79999. get$variableNodes() {
  80000. return B.Map_empty7;
  80001. },
  80002. get$extensionStore() {
  80003. return B.C_EmptyExtensionStore0;
  80004. },
  80005. get$css(_) {
  80006. return new A.CssStylesheet0(B.List_empty16, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  80007. },
  80008. get$transitivelyContainsCss() {
  80009. return false;
  80010. },
  80011. get$transitivelyContainsExtensions() {
  80012. return false;
  80013. },
  80014. setVariable$3($name, value, nodeWithSpan) {
  80015. if (!this.variables.containsKey$1($name))
  80016. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  80017. throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable.", null));
  80018. },
  80019. variableIdentity$1($name) {
  80020. return this;
  80021. },
  80022. cloneCss$0() {
  80023. return this;
  80024. },
  80025. $isModule0: 1,
  80026. get$url(receiver) {
  80027. return this.url;
  80028. },
  80029. get$functions(receiver) {
  80030. return this.functions;
  80031. },
  80032. get$mixins() {
  80033. return this.mixins;
  80034. },
  80035. get$variables() {
  80036. return this.variables;
  80037. }
  80038. };
  80039. A.CalculationExpression0.prototype = {
  80040. accept$1$1(visitor) {
  80041. return visitor.visitCalculationExpression$1(this);
  80042. },
  80043. accept$1(visitor) {
  80044. return this.accept$1$1(visitor, type$.dynamic);
  80045. },
  80046. toString$0(_) {
  80047. return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
  80048. },
  80049. $isExpression0: 1,
  80050. $isAstNode0: 1,
  80051. get$span(receiver) {
  80052. return this.span;
  80053. }
  80054. };
  80055. A.CalculationExpression__verifyArguments_closure0.prototype = {
  80056. call$1(arg) {
  80057. A.CalculationExpression__verify0(arg);
  80058. return arg;
  80059. },
  80060. $signature: 132
  80061. };
  80062. A.SassCalculation0.prototype = {
  80063. get$isSpecialNumber() {
  80064. return true;
  80065. },
  80066. accept$1$1(visitor) {
  80067. return visitor.visitCalculation$1(this);
  80068. },
  80069. accept$1(visitor) {
  80070. return this.accept$1$1(visitor, type$.dynamic);
  80071. },
  80072. assertCalculation$1($name) {
  80073. return this;
  80074. },
  80075. plus$1(other) {
  80076. if (other instanceof A.SassString0)
  80077. return this.super$Value$plus0(other);
  80078. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  80079. },
  80080. minus$1(other) {
  80081. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  80082. },
  80083. unaryPlus$0() {
  80084. return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".', null));
  80085. },
  80086. unaryMinus$0() {
  80087. return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".', null));
  80088. },
  80089. $eq(_, other) {
  80090. if (other == null)
  80091. return false;
  80092. return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  80093. },
  80094. get$hashCode(_) {
  80095. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  80096. }
  80097. };
  80098. A.SassCalculation__verifyLength_closure0.prototype = {
  80099. call$1(arg) {
  80100. return arg instanceof A.SassString0 || arg instanceof A.CalculationInterpolation0;
  80101. },
  80102. $signature: 69
  80103. };
  80104. A.CalculationOperation0.prototype = {
  80105. $eq(_, other) {
  80106. if (other == null)
  80107. return false;
  80108. return other instanceof A.CalculationOperation0 && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
  80109. },
  80110. get$hashCode(_) {
  80111. return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
  80112. },
  80113. toString$0(_) {
  80114. var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  80115. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  80116. }
  80117. };
  80118. A.CalculationOperator0.prototype = {
  80119. _enumToString$0() {
  80120. return "CalculationOperator." + this._name;
  80121. },
  80122. toString$0(_) {
  80123. return this.name;
  80124. }
  80125. };
  80126. A.CalculationInterpolation0.prototype = {
  80127. $eq(_, other) {
  80128. if (other == null)
  80129. return false;
  80130. return other instanceof A.CalculationInterpolation0 && this.value === other.value;
  80131. },
  80132. get$hashCode(_) {
  80133. return B.JSString_methods.get$hashCode(this.value);
  80134. },
  80135. toString$0(_) {
  80136. return this.value;
  80137. }
  80138. };
  80139. A.CallableDeclaration0.prototype = {
  80140. get$span(receiver) {
  80141. return this.span;
  80142. }
  80143. };
  80144. A.Chokidar0.prototype = {};
  80145. A.ChokidarOptions0.prototype = {};
  80146. A.ChokidarWatcher0.prototype = {};
  80147. A.ClassSelector0.prototype = {
  80148. $eq(_, other) {
  80149. if (other == null)
  80150. return false;
  80151. return other instanceof A.ClassSelector0 && other.name === this.name;
  80152. },
  80153. accept$1$1(visitor) {
  80154. return visitor.visitClassSelector$1(this);
  80155. },
  80156. accept$1(visitor) {
  80157. return this.accept$1$1(visitor, type$.dynamic);
  80158. },
  80159. addSuffix$1(suffix) {
  80160. return new A.ClassSelector0(this.name + suffix, this.span);
  80161. },
  80162. get$hashCode(_) {
  80163. return B.JSString_methods.get$hashCode(this.name);
  80164. }
  80165. };
  80166. A._CloneCssVisitor0.prototype = {
  80167. visitCssAtRule$1(node) {
  80168. var t1 = node.isChildless,
  80169. rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
  80170. return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
  80171. },
  80172. visitCssComment$1(node) {
  80173. return new A.ModifiableCssComment0(node.text, node.span);
  80174. },
  80175. visitCssDeclaration$1(node) {
  80176. return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
  80177. },
  80178. visitCssImport$1(node) {
  80179. return new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  80180. },
  80181. visitCssKeyframeBlock$1(node) {
  80182. return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
  80183. },
  80184. visitCssMediaRule$1(node) {
  80185. return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
  80186. },
  80187. visitCssStyleRule$1(node) {
  80188. var newSelector = this._clone_css$_oldToNewSelectors.$index(0, node._style_rule0$_selector._box0$_inner.value);
  80189. if (newSelector == null)
  80190. throw A.wrapException(A.StateError$(string$.The_Ex));
  80191. return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(newSelector, node.span, node.originalSelector), node);
  80192. },
  80193. visitCssStylesheet$1(node) {
  80194. return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
  80195. },
  80196. visitCssSupportsRule$1(node) {
  80197. return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
  80198. },
  80199. _clone_css$_visitChildren$1$2(newParent, oldParent) {
  80200. var t1, t2, newChild;
  80201. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  80202. t2 = t1.get$current(t1);
  80203. newChild = t2.accept$1(this);
  80204. newChild.isGroupEnd = t2.get$isGroupEnd();
  80205. newParent.addChild$1(newChild);
  80206. }
  80207. return newParent;
  80208. },
  80209. _clone_css$_visitChildren$2(newParent, oldParent) {
  80210. return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
  80211. }
  80212. };
  80213. A.ColorExpression0.prototype = {
  80214. accept$1$1(visitor) {
  80215. return visitor.visitColorExpression$1(this);
  80216. },
  80217. accept$1(visitor) {
  80218. return this.accept$1$1(visitor, type$.dynamic);
  80219. },
  80220. toString$0(_) {
  80221. return A.serializeValue0(this.value, true, true);
  80222. },
  80223. $isExpression0: 1,
  80224. $isAstNode0: 1,
  80225. get$span(receiver) {
  80226. return this.span;
  80227. }
  80228. };
  80229. A.global_closure30.prototype = {
  80230. call$1($arguments) {
  80231. return A._rgb0("rgb", $arguments);
  80232. },
  80233. $signature: 3
  80234. };
  80235. A.global_closure31.prototype = {
  80236. call$1($arguments) {
  80237. return A._rgb0("rgb", $arguments);
  80238. },
  80239. $signature: 3
  80240. };
  80241. A.global_closure32.prototype = {
  80242. call$1($arguments) {
  80243. return A._rgbTwoArg0("rgb", $arguments);
  80244. },
  80245. $signature: 3
  80246. };
  80247. A.global_closure33.prototype = {
  80248. call$1($arguments) {
  80249. var parsed = A._parseChannels0("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  80250. return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgb", type$.List_Value_2._as(parsed));
  80251. },
  80252. $signature: 3
  80253. };
  80254. A.global_closure34.prototype = {
  80255. call$1($arguments) {
  80256. return A._rgb0("rgba", $arguments);
  80257. },
  80258. $signature: 3
  80259. };
  80260. A.global_closure35.prototype = {
  80261. call$1($arguments) {
  80262. return A._rgb0("rgba", $arguments);
  80263. },
  80264. $signature: 3
  80265. };
  80266. A.global_closure36.prototype = {
  80267. call$1($arguments) {
  80268. return A._rgbTwoArg0("rgba", $arguments);
  80269. },
  80270. $signature: 3
  80271. };
  80272. A.global_closure37.prototype = {
  80273. call$1($arguments) {
  80274. var parsed = A._parseChannels0("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  80275. return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgba", type$.List_Value_2._as(parsed));
  80276. },
  80277. $signature: 3
  80278. };
  80279. A.global_closure38.prototype = {
  80280. call$1($arguments) {
  80281. var color, t2,
  80282. t1 = J.getInterceptor$asx($arguments),
  80283. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  80284. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber()) {
  80285. if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
  80286. throw A.wrapException(string$.Only_oa);
  80287. return A._functionString0("invert", t1.take$1($arguments, 1));
  80288. }
  80289. color = t1.$index($arguments, 0).assertColor$1("color");
  80290. t1 = color.get$red(color);
  80291. t2 = color.get$green(color);
  80292. return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  80293. },
  80294. $signature: 3
  80295. };
  80296. A.global_closure39.prototype = {
  80297. call$1($arguments) {
  80298. return A._hsl0("hsl", $arguments);
  80299. },
  80300. $signature: 3
  80301. };
  80302. A.global_closure40.prototype = {
  80303. call$1($arguments) {
  80304. return A._hsl0("hsl", $arguments);
  80305. },
  80306. $signature: 3
  80307. };
  80308. A.global_closure41.prototype = {
  80309. call$1($arguments) {
  80310. var t1 = J.getInterceptor$asx($arguments);
  80311. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  80312. return A._functionString0("hsl", $arguments);
  80313. else
  80314. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  80315. },
  80316. $signature: 17
  80317. };
  80318. A.global_closure42.prototype = {
  80319. call$1($arguments) {
  80320. var parsed = A._parseChannels0("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  80321. return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsl", type$.List_Value_2._as(parsed));
  80322. },
  80323. $signature: 3
  80324. };
  80325. A.global_closure43.prototype = {
  80326. call$1($arguments) {
  80327. return A._hsl0("hsla", $arguments);
  80328. },
  80329. $signature: 3
  80330. };
  80331. A.global_closure44.prototype = {
  80332. call$1($arguments) {
  80333. return A._hsl0("hsla", $arguments);
  80334. },
  80335. $signature: 3
  80336. };
  80337. A.global_closure45.prototype = {
  80338. call$1($arguments) {
  80339. var t1 = J.getInterceptor$asx($arguments);
  80340. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  80341. return A._functionString0("hsla", $arguments);
  80342. else
  80343. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  80344. },
  80345. $signature: 17
  80346. };
  80347. A.global_closure46.prototype = {
  80348. call$1($arguments) {
  80349. var parsed = A._parseChannels0("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  80350. return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsla", type$.List_Value_2._as(parsed));
  80351. },
  80352. $signature: 3
  80353. };
  80354. A.global_closure47.prototype = {
  80355. call$1($arguments) {
  80356. var t1 = J.getInterceptor$asx($arguments);
  80357. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  80358. return A._functionString0("grayscale", $arguments);
  80359. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  80360. },
  80361. $signature: 3
  80362. };
  80363. A.global_closure48.prototype = {
  80364. call$1($arguments) {
  80365. var t1 = J.getInterceptor$asx($arguments),
  80366. color = t1.$index($arguments, 0).assertColor$1("color"),
  80367. degrees = A._angleValue0(t1.$index($arguments, 1), "degrees");
  80368. return color.changeHsl$1$hue(color.get$hue(color) + degrees);
  80369. },
  80370. $signature: 23
  80371. };
  80372. A.global_closure49.prototype = {
  80373. call$1($arguments) {
  80374. var t1 = J.getInterceptor$asx($arguments),
  80375. color = t1.$index($arguments, 0).assertColor$1("color"),
  80376. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  80377. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  80378. },
  80379. $signature: 23
  80380. };
  80381. A.global_closure50.prototype = {
  80382. call$1($arguments) {
  80383. var t1 = J.getInterceptor$asx($arguments),
  80384. color = t1.$index($arguments, 0).assertColor$1("color"),
  80385. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  80386. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  80387. },
  80388. $signature: 23
  80389. };
  80390. A.global_closure51.prototype = {
  80391. call$1($arguments) {
  80392. var t1 = J.getInterceptor$asx($arguments);
  80393. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  80394. return A._functionString0("saturate", $arguments);
  80395. return new A.SassString0("saturate(" + A.serializeValue0(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  80396. },
  80397. $signature: 17
  80398. };
  80399. A.global_closure52.prototype = {
  80400. call$1($arguments) {
  80401. var t1 = J.getInterceptor$asx($arguments),
  80402. color = t1.$index($arguments, 0).assertColor$1("color"),
  80403. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  80404. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  80405. },
  80406. $signature: 23
  80407. };
  80408. A.global_closure53.prototype = {
  80409. call$1($arguments) {
  80410. var t1 = J.getInterceptor$asx($arguments),
  80411. color = t1.$index($arguments, 0).assertColor$1("color"),
  80412. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  80413. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  80414. },
  80415. $signature: 23
  80416. };
  80417. A.global_closure54.prototype = {
  80418. call$1($arguments) {
  80419. var argument = J.$index$asx($arguments, 0);
  80420. if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0()))
  80421. return A._functionString0("alpha", $arguments);
  80422. return A.SassNumber_SassNumber0(argument.assertColor$1("color")._color1$_alpha, null);
  80423. },
  80424. $signature: 3
  80425. };
  80426. A.global_closure55.prototype = {
  80427. call$1($arguments) {
  80428. var t1,
  80429. argList = J.$index$asx($arguments, 0).get$asList();
  80430. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
  80431. return A._functionString0("alpha", $arguments);
  80432. t1 = argList.length;
  80433. if (t1 === 0)
  80434. throw A.wrapException(A.SassScriptException$0("Missing argument $color.", null));
  80435. else
  80436. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed.", null));
  80437. },
  80438. $signature: 17
  80439. };
  80440. A.global__closure0.prototype = {
  80441. call$1(argument) {
  80442. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  80443. },
  80444. $signature: 46
  80445. };
  80446. A.global_closure56.prototype = {
  80447. call$1($arguments) {
  80448. var t1 = J.getInterceptor$asx($arguments);
  80449. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  80450. return A._functionString0("opacity", $arguments);
  80451. return A.SassNumber_SassNumber0(t1.$index($arguments, 0).assertColor$1("color")._color1$_alpha, null);
  80452. },
  80453. $signature: 3
  80454. };
  80455. A.module_closure10.prototype = {
  80456. call$1($arguments) {
  80457. var result, t2, color,
  80458. t1 = J.getInterceptor$asx($arguments),
  80459. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  80460. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  80461. if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
  80462. throw A.wrapException(string$.Only_oa);
  80463. result = A._functionString0("invert", t1.take$1($arguments, 1));
  80464. t1 = A.S(t1.$index($arguments, 0));
  80465. t2 = result.toString$0(0);
  80466. A.EvaluationContext_current0().warn$2(0, "Passing a number (" + t1 + string$.x29x20to_ci + t2, B.Deprecation_LT8);
  80467. return result;
  80468. }
  80469. color = t1.$index($arguments, 0).assertColor$1("color");
  80470. t1 = color.get$red(color);
  80471. t2 = color.get$green(color);
  80472. return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  80473. },
  80474. $signature: 3
  80475. };
  80476. A.module_closure11.prototype = {
  80477. call$1($arguments) {
  80478. var result, t2,
  80479. t1 = J.getInterceptor$asx($arguments);
  80480. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  80481. result = A._functionString0("grayscale", t1.take$1($arguments, 1));
  80482. t1 = A.S(t1.$index($arguments, 0));
  80483. t2 = result.toString$0(0);
  80484. A.EvaluationContext_current0().warn$2(0, "Passing a number (" + t1 + string$.x29x20to_cg + t2, B.Deprecation_LT8);
  80485. return result;
  80486. }
  80487. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  80488. },
  80489. $signature: 3
  80490. };
  80491. A.module_closure12.prototype = {
  80492. call$1($arguments) {
  80493. return A._hwb0($arguments);
  80494. },
  80495. $signature: 3
  80496. };
  80497. A.module_closure13.prototype = {
  80498. call$1($arguments) {
  80499. var parsed = A._parseChannels0("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
  80500. if (parsed instanceof A.SassString0)
  80501. throw A.wrapException(A.SassScriptException$0('Expected numeric channels, got "' + parsed.toString$0(0) + '".', null));
  80502. else
  80503. return A._hwb0(type$.List_Value_2._as(parsed));
  80504. },
  80505. $signature: 3
  80506. };
  80507. A.module_closure14.prototype = {
  80508. call$1($arguments) {
  80509. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  80510. return A.SassNumber_SassNumber0(t1.get$whiteness(t1), "%");
  80511. },
  80512. $signature: 10
  80513. };
  80514. A.module_closure15.prototype = {
  80515. call$1($arguments) {
  80516. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  80517. return A.SassNumber_SassNumber0(t1.get$blackness(t1), "%");
  80518. },
  80519. $signature: 10
  80520. };
  80521. A.module_closure16.prototype = {
  80522. call$1($arguments) {
  80523. var result, t1,
  80524. argument = J.$index$asx($arguments, 0);
  80525. if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0())) {
  80526. result = A._functionString0("alpha", $arguments);
  80527. t1 = result.toString$0(0);
  80528. A.EvaluationContext_current0().warn$2(0, string$.Using_c + t1, B.Deprecation_LT8);
  80529. return result;
  80530. }
  80531. return A.SassNumber_SassNumber0(argument.assertColor$1("color")._color1$_alpha, null);
  80532. },
  80533. $signature: 3
  80534. };
  80535. A.module_closure17.prototype = {
  80536. call$1($arguments) {
  80537. var result,
  80538. t1 = J.getInterceptor$asx($arguments);
  80539. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure4())) {
  80540. result = A._functionString0("alpha", $arguments);
  80541. t1 = result.toString$0(0);
  80542. A.EvaluationContext_current0().warn$2(0, string$.Using_c + t1, B.Deprecation_LT8);
  80543. return result;
  80544. }
  80545. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  80546. },
  80547. $signature: 17
  80548. };
  80549. A.module__closure4.prototype = {
  80550. call$1(argument) {
  80551. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  80552. },
  80553. $signature: 46
  80554. };
  80555. A.module_closure18.prototype = {
  80556. call$1($arguments) {
  80557. var result, t2,
  80558. t1 = J.getInterceptor$asx($arguments);
  80559. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  80560. result = A._functionString0("opacity", $arguments);
  80561. t1 = A.S(t1.$index($arguments, 0));
  80562. t2 = result.toString$0(0);
  80563. A.EvaluationContext_current0().warn$2(0, "Passing a number (" + t1 + string$.x20to_co + t2, B.Deprecation_LT8);
  80564. return result;
  80565. }
  80566. return A.SassNumber_SassNumber0(t1.$index($arguments, 0).assertColor$1("color")._color1$_alpha, null);
  80567. },
  80568. $signature: 3
  80569. };
  80570. A._red_closure0.prototype = {
  80571. call$1($arguments) {
  80572. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  80573. return A.SassNumber_SassNumber0(t1.get$red(t1), null);
  80574. },
  80575. $signature: 10
  80576. };
  80577. A._green_closure0.prototype = {
  80578. call$1($arguments) {
  80579. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  80580. return A.SassNumber_SassNumber0(t1.get$green(t1), null);
  80581. },
  80582. $signature: 10
  80583. };
  80584. A._blue_closure0.prototype = {
  80585. call$1($arguments) {
  80586. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  80587. return A.SassNumber_SassNumber0(t1.get$blue(t1), null);
  80588. },
  80589. $signature: 10
  80590. };
  80591. A._mix_closure0.prototype = {
  80592. call$1($arguments) {
  80593. var t1 = J.getInterceptor$asx($arguments);
  80594. return A._mixColors0(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
  80595. },
  80596. $signature: 23
  80597. };
  80598. A._hue_closure0.prototype = {
  80599. call$1($arguments) {
  80600. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  80601. return A.SassNumber_SassNumber0(t1.get$hue(t1), "deg");
  80602. },
  80603. $signature: 10
  80604. };
  80605. A._saturation_closure0.prototype = {
  80606. call$1($arguments) {
  80607. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  80608. return A.SassNumber_SassNumber0(t1.get$saturation(t1), "%");
  80609. },
  80610. $signature: 10
  80611. };
  80612. A._lightness_closure0.prototype = {
  80613. call$1($arguments) {
  80614. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  80615. return A.SassNumber_SassNumber0(t1.get$lightness(t1), "%");
  80616. },
  80617. $signature: 10
  80618. };
  80619. A._complement_closure0.prototype = {
  80620. call$1($arguments) {
  80621. var color = J.$index$asx($arguments, 0).assertColor$1("color");
  80622. return color.changeHsl$1$hue(color.get$hue(color) + 180);
  80623. },
  80624. $signature: 23
  80625. };
  80626. A._adjust_closure0.prototype = {
  80627. call$1($arguments) {
  80628. return A._updateComponents0($arguments, true, false, false);
  80629. },
  80630. $signature: 23
  80631. };
  80632. A._scale_closure0.prototype = {
  80633. call$1($arguments) {
  80634. return A._updateComponents0($arguments, false, false, true);
  80635. },
  80636. $signature: 23
  80637. };
  80638. A._change_closure0.prototype = {
  80639. call$1($arguments) {
  80640. return A._updateComponents0($arguments, false, true, false);
  80641. },
  80642. $signature: 23
  80643. };
  80644. A._ieHexStr_closure0.prototype = {
  80645. call$1($arguments) {
  80646. var color = J.$index$asx($arguments, 0).assertColor$1("color"),
  80647. t1 = new A._ieHexStr_closure_hexString0();
  80648. 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);
  80649. },
  80650. $signature: 17
  80651. };
  80652. A._ieHexStr_closure_hexString0.prototype = {
  80653. call$1(component) {
  80654. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
  80655. },
  80656. $signature: 191
  80657. };
  80658. A._updateComponents_getParam0.prototype = {
  80659. call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, checkPercent, checkUnitless) {
  80660. var t2, t3, t4, _this = this,
  80661. t1 = _this.keywords.remove$1(0, $name),
  80662. number = t1 == null ? null : t1.assertNumber$1($name);
  80663. if (number == null)
  80664. return null;
  80665. t1 = _this.scale;
  80666. t2 = !t1;
  80667. if (t2 && checkUnitless)
  80668. if (number.get$hasUnits()) {
  80669. t3 = number.get$unitString();
  80670. t4 = number.unitSuggestion$1($name);
  80671. A.EvaluationContext_current0().warn$2(0, "$" + $name + ": Passing a number with unit " + t3 + string$.x20is_de + t4 + string$.x0a_Morex3a, B.Deprecation_0bn);
  80672. }
  80673. if (t2 && checkPercent)
  80674. A._checkPercent0(number, $name);
  80675. if (!t2 || assertPercent)
  80676. number.assertUnit$2("%", $name);
  80677. if (t1)
  80678. max = 100;
  80679. if (!t2 || assertPercent)
  80680. t1 = number.valueInRange$3(_this.change ? 0 : -max, max, $name);
  80681. else {
  80682. t1 = _this.change ? 0 : -max;
  80683. t1 = number.valueInRangeWithUnit$4(t1, max, $name, checkPercent ? "%" : "");
  80684. }
  80685. return t1;
  80686. },
  80687. call$2($name, max) {
  80688. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, false);
  80689. },
  80690. call$3$checkUnitless($name, max, checkUnitless) {
  80691. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, checkUnitless);
  80692. },
  80693. call$3$checkPercent($name, max, checkPercent) {
  80694. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, checkPercent, false);
  80695. },
  80696. call$3$assertPercent($name, max, assertPercent) {
  80697. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, false, false);
  80698. },
  80699. $signature: 190
  80700. };
  80701. A._updateComponents_closure1.prototype = {
  80702. call$1(hue) {
  80703. return A._angleValue0(hue, "hue");
  80704. },
  80705. $signature: 90
  80706. };
  80707. A._updateComponents_closure2.prototype = {
  80708. call$1($name) {
  80709. return "$" + $name;
  80710. },
  80711. $signature: 5
  80712. };
  80713. A._updateComponents_updateValue0.prototype = {
  80714. call$3(current, param, max) {
  80715. var t1;
  80716. if (param == null)
  80717. return current;
  80718. if (this.change)
  80719. return param;
  80720. if (this.adjust)
  80721. return B.JSNumber_methods.clamp$2(current + param, 0, max);
  80722. t1 = param > 0 ? max - current : current;
  80723. return current + t1 * (param / 100);
  80724. },
  80725. $signature: 184
  80726. };
  80727. A._updateComponents_updateRgb0.prototype = {
  80728. call$2(current, param) {
  80729. return A.fuzzyRound0(this.updateValue.call$3(current, param, 255));
  80730. },
  80731. $signature: 183
  80732. };
  80733. A._functionString_closure0.prototype = {
  80734. call$1(argument) {
  80735. return A.serializeValue0(argument, false, true);
  80736. },
  80737. $signature: 197
  80738. };
  80739. A._removedColorFunction_closure0.prototype = {
  80740. call$1($arguments) {
  80741. var t1 = this.name,
  80742. t2 = J.getInterceptor$asx($arguments),
  80743. t3 = A.S(t2.$index($arguments, 0)),
  80744. t4 = this.negative ? "-" : "";
  80745. 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));
  80746. },
  80747. $signature: 370
  80748. };
  80749. A._rgb_closure0.prototype = {
  80750. call$1(alpha) {
  80751. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  80752. },
  80753. $signature: 90
  80754. };
  80755. A._hsl_closure0.prototype = {
  80756. call$1(alpha) {
  80757. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  80758. },
  80759. $signature: 90
  80760. };
  80761. A._hwb_closure0.prototype = {
  80762. call$1(alpha) {
  80763. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  80764. },
  80765. $signature: 90
  80766. };
  80767. A._parseChannels_closure0.prototype = {
  80768. call$1(value) {
  80769. return value.get$isVar();
  80770. },
  80771. $signature: 46
  80772. };
  80773. A._NodeSassColor.prototype = {};
  80774. A.legacyColorClass_closure.prototype = {
  80775. call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
  80776. var red, t1, t2, t3, t4;
  80777. if (dartValue != null) {
  80778. J.set$dartValue$x(thisArg, dartValue);
  80779. return;
  80780. }
  80781. if (green == null || blue == null) {
  80782. A._asInt(redOrArgb);
  80783. alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
  80784. red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
  80785. green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
  80786. blue = B.JSInt_methods.$mod(redOrArgb, 256);
  80787. } else {
  80788. redOrArgb.toString;
  80789. red = redOrArgb;
  80790. }
  80791. t1 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(red, 0, 255));
  80792. t2 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(green, 0, 255));
  80793. t3 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(blue, 0, 255));
  80794. t4 = alpha == null ? null : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  80795. J.set$dartValue$x(thisArg, A.SassColor$rgb0(t1, t2, t3, t4 == null ? 1 : t4));
  80796. },
  80797. call$2(thisArg, redOrArgb) {
  80798. return this.call$6(thisArg, redOrArgb, null, null, null, null);
  80799. },
  80800. call$3(thisArg, redOrArgb, green) {
  80801. return this.call$6(thisArg, redOrArgb, green, null, null, null);
  80802. },
  80803. call$4(thisArg, redOrArgb, green, blue) {
  80804. return this.call$6(thisArg, redOrArgb, green, blue, null, null);
  80805. },
  80806. call$5(thisArg, redOrArgb, green, blue, alpha) {
  80807. return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
  80808. },
  80809. "call*": "call$6",
  80810. $requiredArgCount: 2,
  80811. $defaultValues() {
  80812. return [null, null, null, null];
  80813. },
  80814. $signature: 371
  80815. };
  80816. A.legacyColorClass_closure0.prototype = {
  80817. call$1(thisArg) {
  80818. return J.get$red$x(J.get$dartValue$x(thisArg));
  80819. },
  80820. $signature: 101
  80821. };
  80822. A.legacyColorClass_closure1.prototype = {
  80823. call$1(thisArg) {
  80824. return J.get$green$x(J.get$dartValue$x(thisArg));
  80825. },
  80826. $signature: 101
  80827. };
  80828. A.legacyColorClass_closure2.prototype = {
  80829. call$1(thisArg) {
  80830. return J.get$blue$x(J.get$dartValue$x(thisArg));
  80831. },
  80832. $signature: 101
  80833. };
  80834. A.legacyColorClass_closure3.prototype = {
  80835. call$1(thisArg) {
  80836. return J.get$dartValue$x(thisArg)._color1$_alpha;
  80837. },
  80838. $signature: 373
  80839. };
  80840. A.legacyColorClass_closure4.prototype = {
  80841. call$2(thisArg, value) {
  80842. var t1 = J.getInterceptor$x(thisArg);
  80843. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$red(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  80844. },
  80845. $signature: 94
  80846. };
  80847. A.legacyColorClass_closure5.prototype = {
  80848. call$2(thisArg, value) {
  80849. var t1 = J.getInterceptor$x(thisArg);
  80850. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$green(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  80851. },
  80852. $signature: 94
  80853. };
  80854. A.legacyColorClass_closure6.prototype = {
  80855. call$2(thisArg, value) {
  80856. var t1 = J.getInterceptor$x(thisArg);
  80857. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$blue(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  80858. },
  80859. $signature: 94
  80860. };
  80861. A.legacyColorClass_closure7.prototype = {
  80862. call$2(thisArg, value) {
  80863. var t1 = J.getInterceptor$x(thisArg);
  80864. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$alpha(B.JSNumber_methods.clamp$2(value, 0, 1)));
  80865. },
  80866. $signature: 94
  80867. };
  80868. A.colorClass_closure.prototype = {
  80869. call$0() {
  80870. var t1 = type$.JSClass,
  80871. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure()));
  80872. J.get$$prototype$x(jsClass).change = A.allowInteropCaptureThisNamed("change", new A.colorClass__closure0());
  80873. 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));
  80874. A.JSClassExtension_injectSuperclass(t1._as(A.SassColor$rgb0(0, 0, 0, null).constructor), jsClass);
  80875. return jsClass;
  80876. },
  80877. $signature: 26
  80878. };
  80879. A.colorClass__closure.prototype = {
  80880. call$2($self, color) {
  80881. var t2, t3, t4,
  80882. t1 = J.getInterceptor$x(color);
  80883. if (t1.get$red(color) != null) {
  80884. t2 = t1.get$red(color);
  80885. t2.toString;
  80886. t2 = A.fuzzyRound0(t2);
  80887. t3 = t1.get$green(color);
  80888. t3.toString;
  80889. t3 = A.fuzzyRound0(t3);
  80890. t4 = t1.get$blue(color);
  80891. t4.toString;
  80892. return A.SassColor$rgb0(t2, t3, A.fuzzyRound0(t4), t1.get$alpha(color));
  80893. } else if (t1.get$saturation(color) != null) {
  80894. t2 = t1.get$hue(color);
  80895. t2.toString;
  80896. t3 = t1.get$saturation(color);
  80897. t3.toString;
  80898. t4 = t1.get$lightness(color);
  80899. t4.toString;
  80900. return A.SassColor$hsl(t2, t3, t4, t1.get$alpha(color));
  80901. } else {
  80902. t2 = t1.get$hue(color);
  80903. t2.toString;
  80904. t3 = t1.get$whiteness(color);
  80905. t3.toString;
  80906. t4 = t1.get$blackness(color);
  80907. t4.toString;
  80908. return A.SassColor_SassColor$hwb0(t2, t3, t4, t1.get$alpha(color));
  80909. }
  80910. },
  80911. $signature: 375
  80912. };
  80913. A.colorClass__closure0.prototype = {
  80914. call$2($self, options) {
  80915. var t2, t3, t4,
  80916. t1 = J.getInterceptor$x(options);
  80917. if (t1.get$whiteness(options) != null || t1.get$blackness(options) != null) {
  80918. t2 = t1.get$hue(options);
  80919. if (t2 == null)
  80920. t2 = $self.get$hue($self);
  80921. t3 = t1.get$whiteness(options);
  80922. if (t3 == null)
  80923. t3 = $self.get$whiteness($self);
  80924. t4 = t1.get$blackness(options);
  80925. if (t4 == null)
  80926. t4 = $self.get$blackness($self);
  80927. t1 = t1.get$alpha(options);
  80928. return $self.changeHwb$4$alpha$blackness$hue$whiteness(t1 == null ? $self._color1$_alpha : t1, t4, t2, t3);
  80929. } else if (t1.get$hue(options) != null || t1.get$saturation(options) != null || t1.get$lightness(options) != null) {
  80930. t2 = t1.get$hue(options);
  80931. if (t2 == null)
  80932. t2 = $self.get$hue($self);
  80933. t3 = t1.get$saturation(options);
  80934. if (t3 == null)
  80935. t3 = $self.get$saturation($self);
  80936. t4 = t1.get$lightness(options);
  80937. if (t4 == null)
  80938. t4 = $self.get$lightness($self);
  80939. t1 = t1.get$alpha(options);
  80940. return $self.changeHsl$4$alpha$hue$lightness$saturation(t1 == null ? $self._color1$_alpha : t1, t2, t4, t3);
  80941. } else if (t1.get$red(options) != null || t1.get$green(options) != null || t1.get$blue(options) != null) {
  80942. t2 = A.NullableExtension_andThen0(t1.get$red(options), A.number2__fuzzyRound$closure());
  80943. if (t2 == null)
  80944. t2 = $self.get$red($self);
  80945. t3 = A.NullableExtension_andThen0(t1.get$green(options), A.number2__fuzzyRound$closure());
  80946. if (t3 == null)
  80947. t3 = $self.get$green($self);
  80948. t4 = A.NullableExtension_andThen0(t1.get$blue(options), A.number2__fuzzyRound$closure());
  80949. if (t4 == null)
  80950. t4 = $self.get$blue($self);
  80951. t1 = t1.get$alpha(options);
  80952. return $self.changeRgb$4$alpha$blue$green$red(t1 == null ? $self._color1$_alpha : t1, t4, t3, t2);
  80953. } else {
  80954. t1 = t1.get$alpha(options);
  80955. return $self.changeAlpha$1(t1 == null ? $self._color1$_alpha : t1);
  80956. }
  80957. },
  80958. $signature: 376
  80959. };
  80960. A.colorClass__closure1.prototype = {
  80961. call$1($self) {
  80962. return $self.get$red($self);
  80963. },
  80964. $signature: 113
  80965. };
  80966. A.colorClass__closure2.prototype = {
  80967. call$1($self) {
  80968. return $self.get$green($self);
  80969. },
  80970. $signature: 113
  80971. };
  80972. A.colorClass__closure3.prototype = {
  80973. call$1($self) {
  80974. return $self.get$blue($self);
  80975. },
  80976. $signature: 113
  80977. };
  80978. A.colorClass__closure4.prototype = {
  80979. call$1($self) {
  80980. return $self.get$hue($self);
  80981. },
  80982. $signature: 57
  80983. };
  80984. A.colorClass__closure5.prototype = {
  80985. call$1($self) {
  80986. return $self.get$saturation($self);
  80987. },
  80988. $signature: 57
  80989. };
  80990. A.colorClass__closure6.prototype = {
  80991. call$1($self) {
  80992. return $self.get$lightness($self);
  80993. },
  80994. $signature: 57
  80995. };
  80996. A.colorClass__closure7.prototype = {
  80997. call$1($self) {
  80998. return $self.get$whiteness($self);
  80999. },
  81000. $signature: 57
  81001. };
  81002. A.colorClass__closure8.prototype = {
  81003. call$1($self) {
  81004. return $self.get$blackness($self);
  81005. },
  81006. $signature: 57
  81007. };
  81008. A.colorClass__closure9.prototype = {
  81009. call$1($self) {
  81010. return $self._color1$_alpha;
  81011. },
  81012. $signature: 57
  81013. };
  81014. A._Channels.prototype = {};
  81015. A.SassColor0.prototype = {
  81016. get$red(_) {
  81017. var t1;
  81018. if (this._color1$_red == null)
  81019. this._color1$_hslToRgb$0();
  81020. t1 = this._color1$_red;
  81021. t1.toString;
  81022. return t1;
  81023. },
  81024. get$green(_) {
  81025. var t1;
  81026. if (this._color1$_green == null)
  81027. this._color1$_hslToRgb$0();
  81028. t1 = this._color1$_green;
  81029. t1.toString;
  81030. return t1;
  81031. },
  81032. get$blue(_) {
  81033. var t1;
  81034. if (this._color1$_blue == null)
  81035. this._color1$_hslToRgb$0();
  81036. t1 = this._color1$_blue;
  81037. t1.toString;
  81038. return t1;
  81039. },
  81040. get$hue(_) {
  81041. var t1;
  81042. if (this._color1$_hue == null)
  81043. this._color1$_rgbToHsl$0();
  81044. t1 = this._color1$_hue;
  81045. t1.toString;
  81046. return t1;
  81047. },
  81048. get$saturation(_) {
  81049. var t1;
  81050. if (this._color1$_saturation == null)
  81051. this._color1$_rgbToHsl$0();
  81052. t1 = this._color1$_saturation;
  81053. t1.toString;
  81054. return t1;
  81055. },
  81056. get$lightness(_) {
  81057. var t1;
  81058. if (this._color1$_lightness == null)
  81059. this._color1$_rgbToHsl$0();
  81060. t1 = this._color1$_lightness;
  81061. t1.toString;
  81062. return t1;
  81063. },
  81064. get$whiteness(_) {
  81065. var _this = this;
  81066. return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  81067. },
  81068. get$blackness(_) {
  81069. var _this = this;
  81070. return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  81071. },
  81072. accept$1$1(visitor) {
  81073. var $name, hexLength, t1, format, t2, opaque, _this = this;
  81074. if (visitor._serialize0$_style === B.OutputStyle_10)
  81075. if (!A.fuzzyEquals0(_this._color1$_alpha, 1))
  81076. visitor._serialize0$_writeRgb$1(_this);
  81077. else {
  81078. $name = $.$get$namesByColor0().$index(0, _this);
  81079. hexLength = visitor._serialize0$_canUseShortHex$1(_this) ? 4 : 7;
  81080. if ($name != null && $name.length <= hexLength)
  81081. visitor._serialize0$_buffer.write$1(0, $name);
  81082. else {
  81083. t1 = visitor._serialize0$_buffer;
  81084. if (visitor._serialize0$_canUseShortHex$1(_this)) {
  81085. t1.writeCharCode$1(35);
  81086. t1.writeCharCode$1(A.hexCharFor0(_this.get$red(_this) & 15));
  81087. t1.writeCharCode$1(A.hexCharFor0(_this.get$green(_this) & 15));
  81088. t1.writeCharCode$1(A.hexCharFor0(_this.get$blue(_this) & 15));
  81089. } else {
  81090. t1.writeCharCode$1(35);
  81091. visitor._serialize0$_writeHexComponent$1(_this.get$red(_this));
  81092. visitor._serialize0$_writeHexComponent$1(_this.get$green(_this));
  81093. visitor._serialize0$_writeHexComponent$1(_this.get$blue(_this));
  81094. }
  81095. }
  81096. }
  81097. else {
  81098. format = _this.format;
  81099. if (format != null)
  81100. if (format === B._ColorFormatEnum_rgbFunction0)
  81101. visitor._serialize0$_writeRgb$1(_this);
  81102. else {
  81103. t1 = visitor._serialize0$_buffer;
  81104. if (format === B._ColorFormatEnum_hslFunction0) {
  81105. t2 = _this._color1$_alpha;
  81106. opaque = A.fuzzyEquals0(t2, 1);
  81107. t1.write$1(0, opaque ? "hsl(" : "hsla(");
  81108. visitor._serialize0$_writeNumber$1(_this.get$hue(_this));
  81109. t1.write$1(0, ", ");
  81110. visitor._serialize0$_writeNumber$1(_this.get$saturation(_this));
  81111. t1.writeCharCode$1(37);
  81112. t1.write$1(0, ", ");
  81113. visitor._serialize0$_writeNumber$1(_this.get$lightness(_this));
  81114. t1.writeCharCode$1(37);
  81115. if (!opaque) {
  81116. t1.write$1(0, ", ");
  81117. visitor._serialize0$_writeNumber$1(t2);
  81118. }
  81119. t1.writeCharCode$1(41);
  81120. } else
  81121. t1.write$1(0, type$.SpanColorFormat_2._as(format)._color1$_span.get$text());
  81122. }
  81123. else {
  81124. t1 = $.$get$namesByColor0();
  81125. if (t1.containsKey$1(_this) && !A.fuzzyEquals0(_this._color1$_alpha, 0))
  81126. visitor._serialize0$_buffer.write$1(0, t1.$index(0, _this));
  81127. else if (A.fuzzyEquals0(_this._color1$_alpha, 1)) {
  81128. visitor._serialize0$_buffer.writeCharCode$1(35);
  81129. visitor._serialize0$_writeHexComponent$1(_this.get$red(_this));
  81130. visitor._serialize0$_writeHexComponent$1(_this.get$green(_this));
  81131. visitor._serialize0$_writeHexComponent$1(_this.get$blue(_this));
  81132. } else
  81133. visitor._serialize0$_writeRgb$1(_this);
  81134. }
  81135. }
  81136. return null;
  81137. },
  81138. accept$1(visitor) {
  81139. return this.accept$1$1(visitor, type$.dynamic);
  81140. },
  81141. assertColor$1($name) {
  81142. return this;
  81143. },
  81144. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  81145. var _this = this,
  81146. t1 = red == null ? _this.get$red(_this) : red,
  81147. t2 = green == null ? _this.get$green(_this) : green,
  81148. t3 = blue == null ? _this.get$blue(_this) : blue;
  81149. return A.SassColor$rgb0(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
  81150. },
  81151. changeRgb$3$blue$green$red(blue, green, red) {
  81152. return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
  81153. },
  81154. changeRgb$1$alpha(alpha) {
  81155. return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
  81156. },
  81157. changeRgb$1$blue(blue) {
  81158. return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
  81159. },
  81160. changeRgb$1$green(green) {
  81161. return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
  81162. },
  81163. changeRgb$1$red(red) {
  81164. return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
  81165. },
  81166. changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
  81167. var _this = this,
  81168. t1 = hue == null ? _this.get$hue(_this) : hue,
  81169. t2 = saturation == null ? _this.get$saturation(_this) : saturation,
  81170. t3 = lightness == null ? _this.get$lightness(_this) : lightness;
  81171. return A.SassColor$hsl(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
  81172. },
  81173. changeHsl$1$saturation(saturation) {
  81174. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
  81175. },
  81176. changeHsl$1$lightness(lightness) {
  81177. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
  81178. },
  81179. changeHsl$1$hue(hue) {
  81180. return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
  81181. },
  81182. changeHwb$4$alpha$blackness$hue$whiteness(alpha, blackness, hue, whiteness) {
  81183. var t1 = hue == null ? this.get$hue(this) : hue;
  81184. return A.SassColor_SassColor$hwb0(t1, whiteness, blackness, alpha);
  81185. },
  81186. changeAlpha$1(alpha) {
  81187. var _this = this;
  81188. 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);
  81189. },
  81190. plus$1(other) {
  81191. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  81192. return this.super$Value$plus0(other);
  81193. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  81194. },
  81195. minus$1(other) {
  81196. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  81197. return this.super$Value$minus0(other);
  81198. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  81199. },
  81200. dividedBy$1(other) {
  81201. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  81202. return this.super$Value$dividedBy0(other);
  81203. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  81204. },
  81205. $eq(_, other) {
  81206. var _this = this;
  81207. if (other == null)
  81208. return false;
  81209. 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;
  81210. },
  81211. get$hashCode(_) {
  81212. var _this = this;
  81213. 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);
  81214. },
  81215. _color1$_rgbToHsl$0() {
  81216. var t2, lightness, _this = this,
  81217. scaledRed = _this.get$red(_this) / 255,
  81218. scaledGreen = _this.get$green(_this) / 255,
  81219. scaledBlue = _this.get$blue(_this) / 255,
  81220. max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
  81221. min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
  81222. delta = max - min,
  81223. t1 = max === min;
  81224. if (t1)
  81225. _this._color1$_hue = 0;
  81226. else if (max === scaledRed)
  81227. _this._color1$_hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
  81228. else if (max === scaledGreen)
  81229. _this._color1$_hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
  81230. else if (max === scaledBlue)
  81231. _this._color1$_hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
  81232. t2 = max + min;
  81233. lightness = 50 * t2;
  81234. _this._color1$_lightness = lightness;
  81235. if (t1)
  81236. _this._color1$_saturation = 0;
  81237. else {
  81238. t1 = 100 * delta;
  81239. if (lightness < 50)
  81240. _this._color1$_saturation = t1 / t2;
  81241. else
  81242. _this._color1$_saturation = t1 / (2 - max - min);
  81243. }
  81244. },
  81245. _color1$_hslToRgb$0() {
  81246. var _this = this,
  81247. scaledHue = _this.get$hue(_this) / 360,
  81248. scaledSaturation = _this.get$saturation(_this) / 100,
  81249. scaledLightness = _this.get$lightness(_this) / 100,
  81250. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  81251. m1 = scaledLightness * 2 - m2;
  81252. _this._color1$_red = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue + 0.3333333333333333) * 255);
  81253. _this._color1$_green = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue) * 255);
  81254. _this._color1$_blue = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue - 0.3333333333333333) * 255);
  81255. }
  81256. };
  81257. A.SassColor_SassColor$hwb_toRgb0.prototype = {
  81258. call$1(hue) {
  81259. return A.fuzzyRound0((A.SassColor__hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
  81260. },
  81261. $signature: 159
  81262. };
  81263. A._ColorFormatEnum0.prototype = {
  81264. toString$0(_) {
  81265. return this._color1$_name;
  81266. }
  81267. };
  81268. A.SpanColorFormat0.prototype = {};
  81269. A.Combinator0.prototype = {
  81270. _enumToString$0() {
  81271. return "Combinator." + this._name;
  81272. },
  81273. toString$0(_) {
  81274. return this._combinator0$_text;
  81275. }
  81276. };
  81277. A.ModifiableCssComment0.prototype = {
  81278. accept$1$1(visitor) {
  81279. return visitor.visitCssComment$1(this);
  81280. },
  81281. accept$1(visitor) {
  81282. return this.accept$1$1(visitor, type$.dynamic);
  81283. },
  81284. $isCssComment0: 1,
  81285. get$span(receiver) {
  81286. return this.span;
  81287. }
  81288. };
  81289. A.compileAsync_closure.prototype = {
  81290. call$0() {
  81291. var $async$goto = 0,
  81292. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  81293. $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, t11, result, t1, t2, t3, t4;
  81294. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81295. if ($async$errorCode === 1)
  81296. return A._asyncRethrow($async$result, $async$completer);
  81297. while (true)
  81298. switch ($async$goto) {
  81299. case 0:
  81300. // Function start
  81301. t1 = $async$self.options;
  81302. t2 = t1 == null;
  81303. t3 = t2 ? null : J.get$loadPaths$x(t1);
  81304. t4 = t2 ? null : J.get$quietDeps$x(t1);
  81305. if (t4 == null)
  81306. t4 = false;
  81307. t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  81308. t6 = t2 ? null : J.get$verbose$x(t1);
  81309. if (t6 == null)
  81310. t6 = false;
  81311. t7 = t2 ? null : J.get$charset$x(t1);
  81312. if (t7 == null)
  81313. t7 = true;
  81314. t8 = t2 ? null : J.get$sourceMap$x(t1);
  81315. if (t8 == null)
  81316. t8 = false;
  81317. t9 = t2 ? null : J.get$logger$x(t1);
  81318. t9 = new A.NodeToDartLogger(t9, new A.StderrLogger0($async$self.color), $async$self.ascii);
  81319. if (t2)
  81320. t10 = null;
  81321. else {
  81322. t10 = J.get$importers$x(t1);
  81323. t10 = t10 == null ? null : J.map$1$1$ax(t10, new A.compileAsync__closure(), type$.AsyncImporter);
  81324. }
  81325. t11 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  81326. $async$goto = 3;
  81327. 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);
  81328. case 3:
  81329. // returning from await.
  81330. result = $async$result;
  81331. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  81332. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  81333. // goto return
  81334. $async$goto = 1;
  81335. break;
  81336. case 1:
  81337. // return
  81338. return A._asyncReturn($async$returnValue, $async$completer);
  81339. }
  81340. });
  81341. return A._asyncStartSync($async$call$0, $async$completer);
  81342. },
  81343. $signature: 202
  81344. };
  81345. A.compileAsync__closure.prototype = {
  81346. call$1(importer) {
  81347. return A._parseAsyncImporter(importer);
  81348. },
  81349. $signature: 203
  81350. };
  81351. A.compileStringAsync_closure.prototype = {
  81352. call$0() {
  81353. var $async$goto = 0,
  81354. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  81355. $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, t14, result, t1, t2, t3, t4, t5, t6;
  81356. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81357. if ($async$errorCode === 1)
  81358. return A._asyncRethrow($async$result, $async$completer);
  81359. while (true)
  81360. switch ($async$goto) {
  81361. case 0:
  81362. // Function start
  81363. t1 = $async$self.options;
  81364. t2 = t1 == null;
  81365. t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
  81366. t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils1__jsToDartUrl$closure());
  81367. t5 = t2 ? null : J.get$loadPaths$x(t1);
  81368. t6 = t2 ? null : J.get$quietDeps$x(t1);
  81369. if (t6 == null)
  81370. t6 = false;
  81371. t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  81372. t8 = t2 ? null : J.get$verbose$x(t1);
  81373. if (t8 == null)
  81374. t8 = false;
  81375. t9 = t2 ? null : J.get$charset$x(t1);
  81376. if (t9 == null)
  81377. t9 = true;
  81378. t10 = t2 ? null : J.get$sourceMap$x(t1);
  81379. if (t10 == null)
  81380. t10 = false;
  81381. t11 = t2 ? null : J.get$logger$x(t1);
  81382. t11 = new A.NodeToDartLogger(t11, new A.StderrLogger0($async$self.color), $async$self.ascii);
  81383. if (t2)
  81384. t12 = null;
  81385. else {
  81386. t12 = J.get$importers$x(t1);
  81387. t12 = t12 == null ? null : J.map$1$1$ax(t12, new A.compileStringAsync__closure(), type$.AsyncImporter);
  81388. }
  81389. t13 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
  81390. if (t13 == null)
  81391. t13 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter0() : null;
  81392. t14 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  81393. $async$goto = 3;
  81394. 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);
  81395. case 3:
  81396. // returning from await.
  81397. result = $async$result;
  81398. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  81399. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  81400. // goto return
  81401. $async$goto = 1;
  81402. break;
  81403. case 1:
  81404. // return
  81405. return A._asyncReturn($async$returnValue, $async$completer);
  81406. }
  81407. });
  81408. return A._asyncStartSync($async$call$0, $async$completer);
  81409. },
  81410. $signature: 202
  81411. };
  81412. A.compileStringAsync__closure.prototype = {
  81413. call$1(importer) {
  81414. return A._parseAsyncImporter(importer);
  81415. },
  81416. $signature: 203
  81417. };
  81418. A.compileStringAsync__closure0.prototype = {
  81419. call$1(importer) {
  81420. return A._parseAsyncImporter(importer);
  81421. },
  81422. $signature: 381
  81423. };
  81424. A._wrapAsyncSassExceptions_closure.prototype = {
  81425. call$1(error) {
  81426. var t1;
  81427. if (error instanceof A.SassException0)
  81428. t1 = A.throwNodeException(error, this.ascii, this.color, null);
  81429. else
  81430. t1 = A.jsThrow(error == null ? type$.Object._as(error) : error);
  81431. return t1;
  81432. },
  81433. $signature: 382
  81434. };
  81435. A._parseFunctions_closure0.prototype = {
  81436. call$2(signature, callback) {
  81437. var callable,
  81438. t1 = this.result;
  81439. if (!this.asynch) {
  81440. callable = A._Cell$();
  81441. callable.__late_helper$_value = A.Callable_Callable$fromSignature(signature, new A._parseFunctions__closure2(callback, callable), true);
  81442. t1.push(callable._readLocal$0());
  81443. } else {
  81444. callable = A._Cell$();
  81445. callable.__late_helper$_value = A.AsyncCallable_AsyncCallable$fromSignature(signature, new A._parseFunctions__closure3(callback, callable), true);
  81446. t1.push(callable._readLocal$0());
  81447. }
  81448. },
  81449. $signature: 105
  81450. };
  81451. A._parseFunctions__closure2.prototype = {
  81452. call$1($arguments) {
  81453. var t1, t2,
  81454. _s42_ = string$.Invali,
  81455. result = type$.Function._as(this.callback).call$1(A.toJSArray($arguments));
  81456. if (result instanceof A.Value0)
  81457. return result;
  81458. t1 = result != null && result instanceof self.Promise;
  81459. t2 = this.callable;
  81460. if (t1)
  81461. throw A.wrapException(_s42_ + J.get$name$x(t2.readLocal$0()) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
  81462. else
  81463. throw A.wrapException(_s42_ + J.get$name$x(t2.readLocal$0()) + '": ' + A.S(result) + " is not a sass.Value.");
  81464. },
  81465. $signature: 3
  81466. };
  81467. A._parseFunctions__closure3.prototype = {
  81468. call$1($arguments) {
  81469. return this.$call$body$_parseFunctions__closure0($arguments);
  81470. },
  81471. $call$body$_parseFunctions__closure0($arguments) {
  81472. var $async$goto = 0,
  81473. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  81474. $async$returnValue, $async$self = this, result;
  81475. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81476. if ($async$errorCode === 1)
  81477. return A._asyncRethrow($async$result, $async$completer);
  81478. while (true)
  81479. switch ($async$goto) {
  81480. case 0:
  81481. // Function start
  81482. result = type$.Function._as($async$self.callback).call$1(A.toJSArray($arguments));
  81483. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  81484. break;
  81485. case 3:
  81486. // then
  81487. $async$goto = 5;
  81488. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.Object), $async$call$1);
  81489. case 5:
  81490. // returning from await.
  81491. result = $async$result;
  81492. case 4:
  81493. // join
  81494. if (result instanceof A.Value0) {
  81495. $async$returnValue = result;
  81496. // goto return
  81497. $async$goto = 1;
  81498. break;
  81499. }
  81500. throw A.wrapException(string$.Invali + J.get$name$x($async$self.callable.readLocal$0()) + '": ' + A.S(result) + " is not a sass.Value.");
  81501. case 1:
  81502. // return
  81503. return A._asyncReturn($async$returnValue, $async$completer);
  81504. }
  81505. });
  81506. return A._asyncStartSync($async$call$1, $async$completer);
  81507. },
  81508. $signature: 100
  81509. };
  81510. A._compileStylesheet_closure1.prototype = {
  81511. call$1(url) {
  81512. 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);
  81513. },
  81514. $signature: 5
  81515. };
  81516. A.CompileOptions.prototype = {};
  81517. A.CompileStringOptions.prototype = {};
  81518. A.NodeCompileResult.prototype = {};
  81519. A.CompileResult0.prototype = {};
  81520. A.ComplexSassNumber0.prototype = {
  81521. get$numeratorUnits(_) {
  81522. return this._complex0$_numeratorUnits;
  81523. },
  81524. get$denominatorUnits(_) {
  81525. return this._complex0$_denominatorUnits;
  81526. },
  81527. get$hasUnits() {
  81528. return true;
  81529. },
  81530. hasUnit$1(unit) {
  81531. return false;
  81532. },
  81533. compatibleWithUnit$1(unit) {
  81534. return false;
  81535. },
  81536. hasPossiblyCompatibleUnits$1(other) {
  81537. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  81538. },
  81539. withValue$1(value) {
  81540. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, value, null);
  81541. },
  81542. withSlash$2(numerator, denominator) {
  81543. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
  81544. }
  81545. };
  81546. A.ComplexSelector0.prototype = {
  81547. get$specificity() {
  81548. var result, _this = this,
  81549. value = _this._complex$__ComplexSelector_specificity_FI;
  81550. if (value === $) {
  81551. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure0());
  81552. _this._complex$__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  81553. _this._complex$__ComplexSelector_specificity_FI = result;
  81554. value = result;
  81555. }
  81556. return value;
  81557. },
  81558. get$singleCompound() {
  81559. if (this.leadingCombinators.length === 0) {
  81560. var t1 = this.components;
  81561. t1 = t1.length === 1 && B.JSArray_methods.get$first(t1).combinators.length === 0;
  81562. } else
  81563. t1 = false;
  81564. return t1 ? B.JSArray_methods.get$first(this.components).selector : null;
  81565. },
  81566. accept$1$1(visitor) {
  81567. return visitor.visitComplexSelector$1(this);
  81568. },
  81569. accept$1(visitor) {
  81570. return this.accept$1$1(visitor, type$.dynamic);
  81571. },
  81572. isSuperselector$1(other) {
  81573. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector0(this.components, other.components);
  81574. },
  81575. withAdditionalCombinators$1(combinators) {
  81576. var t1, t2, t3, t4, _this = this;
  81577. if (combinators.length === 0)
  81578. return _this;
  81579. else {
  81580. t1 = _this.components;
  81581. t2 = _this.leadingCombinators;
  81582. t3 = _this.span;
  81583. if (t1.length === 0) {
  81584. t1 = A.List_List$of(t2, true, type$.CssValue_Combinator_2);
  81585. B.JSArray_methods.addAll$1(t1, combinators);
  81586. return A.ComplexSelector$0(t1, B.List_empty13, t3, _this.lineBreak || false);
  81587. } else {
  81588. t4 = A.List_List$of(A.IterableExtension_get_exceptLast0(t1), true, type$.ComplexSelectorComponent_2);
  81589. t4.push(B.JSArray_methods.get$last(t1).withAdditionalCombinators$1(combinators));
  81590. return A.ComplexSelector$0(t2, t4, t3, _this.lineBreak || false);
  81591. }
  81592. }
  81593. },
  81594. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  81595. var t2, t3, t4, t5, _this = this,
  81596. t1 = child.leadingCombinators;
  81597. if (t1.length === 0) {
  81598. t1 = A.List_List$of(_this.components, true, type$.ComplexSelectorComponent_2);
  81599. B.JSArray_methods.addAll$1(t1, child.components);
  81600. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  81601. return A.ComplexSelector$0(_this.leadingCombinators, t1, span, t2);
  81602. } else {
  81603. t2 = _this.components;
  81604. t3 = _this.leadingCombinators;
  81605. t4 = child.components;
  81606. if (t2.length === 0) {
  81607. t2 = A.List_List$of(t3, true, type$.CssValue_Combinator_2);
  81608. B.JSArray_methods.addAll$1(t2, t1);
  81609. return A.ComplexSelector$0(t2, t4, span, _this.lineBreak || child.lineBreak || forceLineBreak);
  81610. } else {
  81611. t5 = A.List_List$of(A.IterableExtension_get_exceptLast0(t2), true, type$.ComplexSelectorComponent_2);
  81612. t5.push(B.JSArray_methods.get$last(t2).withAdditionalCombinators$1(t1));
  81613. B.JSArray_methods.addAll$1(t5, t4);
  81614. return A.ComplexSelector$0(t3, t5, span, _this.lineBreak || child.lineBreak || forceLineBreak);
  81615. }
  81616. }
  81617. },
  81618. concatenate$2(child, span) {
  81619. return this.concatenate$3$forceLineBreak(child, span, false);
  81620. },
  81621. get$hashCode(_) {
  81622. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  81623. },
  81624. $eq(_, other) {
  81625. if (other == null)
  81626. return false;
  81627. 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);
  81628. }
  81629. };
  81630. A.ComplexSelector_specificity_closure0.prototype = {
  81631. call$2(sum, component) {
  81632. return sum + component.selector.get$specificity();
  81633. },
  81634. $signature: 384
  81635. };
  81636. A.ComplexSelectorComponent0.prototype = {
  81637. withAdditionalCombinators$1(combinators) {
  81638. var t1, t2, _this = this;
  81639. if (combinators.length === 0)
  81640. t1 = _this;
  81641. else {
  81642. t1 = type$.CssValue_Combinator_2;
  81643. t2 = A.List_List$of(_this.combinators, true, t1);
  81644. B.JSArray_methods.addAll$1(t2, combinators);
  81645. t1 = new A.ComplexSelectorComponent0(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  81646. }
  81647. return t1;
  81648. },
  81649. get$hashCode(_) {
  81650. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  81651. },
  81652. $eq(_, other) {
  81653. var t1;
  81654. if (other == null)
  81655. return false;
  81656. if (other instanceof A.ComplexSelectorComponent0) {
  81657. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  81658. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  81659. } else
  81660. t1 = false;
  81661. return t1;
  81662. },
  81663. toString$0(_) {
  81664. var t1 = this.combinators;
  81665. 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, "");
  81666. }
  81667. };
  81668. A.ComplexSelectorComponent_toString_closure0.prototype = {
  81669. call$1(combinator) {
  81670. return " " + combinator.toString$0(0);
  81671. },
  81672. $signature: 385
  81673. };
  81674. A.CompoundSelector0.prototype = {
  81675. get$specificity() {
  81676. var result, _this = this,
  81677. value = _this._compound$__CompoundSelector_specificity_FI;
  81678. if (value === $) {
  81679. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure0());
  81680. _this._compound$__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  81681. _this._compound$__CompoundSelector_specificity_FI = result;
  81682. value = result;
  81683. }
  81684. return value;
  81685. },
  81686. accept$1$1(visitor) {
  81687. return visitor.visitCompoundSelector$1(this);
  81688. },
  81689. accept$1(visitor) {
  81690. return this.accept$1$1(visitor, type$.dynamic);
  81691. },
  81692. get$hashCode(_) {
  81693. return B.C_ListEquality0.hash$1(this.components);
  81694. },
  81695. $eq(_, other) {
  81696. if (other == null)
  81697. return false;
  81698. return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  81699. }
  81700. };
  81701. A.CompoundSelector_specificity_closure0.prototype = {
  81702. call$2(sum, component) {
  81703. return sum + component.get$specificity();
  81704. },
  81705. $signature: 386
  81706. };
  81707. A.Configuration0.prototype = {
  81708. throughForward$1($forward) {
  81709. var prefix, shownVariables, hiddenVariables, t1,
  81710. newValues = this._configuration$_values;
  81711. if (newValues.get$isEmpty(newValues))
  81712. return B.Configuration_Map_empty_null0;
  81713. prefix = $forward.prefix;
  81714. if (prefix != null)
  81715. newValues = new A.UnprefixedMapView0(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue_2);
  81716. shownVariables = $forward.shownVariables;
  81717. hiddenVariables = $forward.hiddenVariables;
  81718. if (shownVariables != null)
  81719. newValues = new A.LimitedMapView0(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
  81720. else {
  81721. if (hiddenVariables != null) {
  81722. t1 = hiddenVariables._base;
  81723. t1 = t1.get$isNotEmpty(t1);
  81724. } else
  81725. t1 = false;
  81726. if (t1)
  81727. newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
  81728. }
  81729. return this._configuration$_withValues$1(newValues);
  81730. },
  81731. _configuration$_withValues$1(values) {
  81732. var t1 = this._configuration$__originalConfiguration;
  81733. return new A.Configuration0(values, t1 == null ? this : t1);
  81734. },
  81735. toString$0(_) {
  81736. var t1 = this._configuration$_values;
  81737. return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure0(), type$.String).join$1(0, ", ") + ")";
  81738. }
  81739. };
  81740. A.Configuration_toString_closure0.prototype = {
  81741. call$1(entry) {
  81742. return "$" + A.S(entry.key) + ": " + A.S(entry.value);
  81743. },
  81744. $signature: 387
  81745. };
  81746. A.ExplicitConfiguration0.prototype = {
  81747. _configuration$_withValues$1(values) {
  81748. var t1 = this._configuration$__originalConfiguration;
  81749. if (t1 == null)
  81750. t1 = this;
  81751. return new A.ExplicitConfiguration0(this.nodeWithSpan, values, t1);
  81752. }
  81753. };
  81754. A.ConfiguredValue0.prototype = {
  81755. toString$0(_) {
  81756. return A.serializeValue0(this.value, true, true);
  81757. }
  81758. };
  81759. A.ConfiguredVariable0.prototype = {
  81760. toString$0(_) {
  81761. var t1 = this.expression.toString$0(0),
  81762. t2 = this.isGuarded ? " !default" : "";
  81763. return "$" + this.name + ": " + t1 + t2;
  81764. },
  81765. $isAstNode0: 1,
  81766. get$span(receiver) {
  81767. return this.span;
  81768. }
  81769. };
  81770. A.ContentBlock0.prototype = {
  81771. accept$1$1(visitor) {
  81772. return visitor.visitContentBlock$1(this);
  81773. },
  81774. accept$1(visitor) {
  81775. return this.accept$1$1(visitor, type$.dynamic);
  81776. },
  81777. toString$0(_) {
  81778. var t2,
  81779. t1 = this.$arguments;
  81780. t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
  81781. t2 = this.children;
  81782. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  81783. }
  81784. };
  81785. A.ContentRule0.prototype = {
  81786. accept$1$1(visitor) {
  81787. return visitor.visitContentRule$1(this);
  81788. },
  81789. accept$1(visitor) {
  81790. return this.accept$1$1(visitor, type$.dynamic);
  81791. },
  81792. toString$0(_) {
  81793. var t1 = this.$arguments;
  81794. return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  81795. },
  81796. $isAstNode0: 1,
  81797. $isStatement0: 1,
  81798. get$span(receiver) {
  81799. return this.span;
  81800. }
  81801. };
  81802. A._disallowedFunctionNames_closure0.prototype = {
  81803. call$1($function) {
  81804. return $function.name;
  81805. },
  81806. $signature: 388
  81807. };
  81808. A.CssParser0.prototype = {
  81809. get$plainCss() {
  81810. return true;
  81811. },
  81812. silentComment$0() {
  81813. var t1 = this.scanner,
  81814. t2 = t1._string_scanner$_position;
  81815. this.super$Parser$silentComment0();
  81816. this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  81817. },
  81818. atRule$2$root(child, root) {
  81819. var $name, urlStart, next, url, urlSpan, modifiers, t2, _this = this,
  81820. t1 = _this.scanner,
  81821. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  81822. t1.expectChar$1(64);
  81823. $name = _this.interpolatedIdentifier$0();
  81824. _this.whitespace$0();
  81825. switch ($name.get$asPlain()) {
  81826. case "at-root":
  81827. case "content":
  81828. case "debug":
  81829. case "each":
  81830. case "error":
  81831. case "extend":
  81832. case "for":
  81833. case "function":
  81834. case "if":
  81835. case "include":
  81836. case "mixin":
  81837. case "return":
  81838. case "warn":
  81839. case "while":
  81840. _this.almostAnyValue$0();
  81841. _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
  81842. break;
  81843. case "import":
  81844. urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  81845. next = t1.peekChar$0();
  81846. url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression0(_this.interpolatedString$0().asInterpolation$1$static(true), false);
  81847. urlSpan = t1.spanFrom$1(urlStart);
  81848. _this.whitespace$0();
  81849. modifiers = _this.tryImportModifiers$0();
  81850. _this.expectStatementSeparator$1("@import rule");
  81851. 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);
  81852. t1 = t1.spanFrom$1(start);
  81853. return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
  81854. case "media":
  81855. return _this.mediaRule$1(start);
  81856. case "-moz-document":
  81857. return _this.mozDocumentRule$2(start, $name);
  81858. case "supports":
  81859. return _this.supportsRule$1(start);
  81860. default:
  81861. return _this.unknownAtRule$2(start, $name);
  81862. }
  81863. },
  81864. identifierLike$0() {
  81865. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  81866. t1 = _this.scanner,
  81867. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  81868. identifier = _this.interpolatedIdentifier$0(),
  81869. plain = identifier.get$asPlain(),
  81870. lower = plain.toLowerCase(),
  81871. specialFunction = _this.trySpecialFunction$2(lower, start);
  81872. if (specialFunction != null)
  81873. return specialFunction;
  81874. t2 = t1._string_scanner$_position;
  81875. if (!t1.scanChar$1(40))
  81876. return new A.StringExpression0(identifier, false);
  81877. allowEmptySecondArg = lower === "var";
  81878. $arguments = A._setArrayType([], type$.JSArray_Expression_2);
  81879. if (!t1.scanChar$1(41)) {
  81880. do {
  81881. _this.whitespace$0();
  81882. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  81883. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  81884. t4 = t3.offset;
  81885. t4 = A._FileSpan$(t3.file, t4, t4);
  81886. $arguments.push(new A.StringExpression0(A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), t4), false));
  81887. break;
  81888. }
  81889. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  81890. _this.whitespace$0();
  81891. } while (t1.scanChar$1(44));
  81892. t1.expectChar$1(41);
  81893. }
  81894. if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
  81895. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  81896. t3 = A.Interpolation$0(A._setArrayType([new A.StringExpression0(identifier, false)], type$.JSArray_Object), identifier.span);
  81897. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  81898. t4 = type$.Expression_2;
  81899. 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));
  81900. },
  81901. namespacedExpression$2(namespace, start) {
  81902. var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
  81903. this.error$2(0, string$.Modulen, expression.get$span(expression));
  81904. }
  81905. };
  81906. A.DebugRule0.prototype = {
  81907. accept$1$1(visitor) {
  81908. return visitor.visitDebugRule$1(this);
  81909. },
  81910. accept$1(visitor) {
  81911. return this.accept$1$1(visitor, type$.dynamic);
  81912. },
  81913. toString$0(_) {
  81914. return "@debug " + this.expression.toString$0(0) + ";";
  81915. },
  81916. $isAstNode0: 1,
  81917. $isStatement0: 1,
  81918. get$span(receiver) {
  81919. return this.span;
  81920. }
  81921. };
  81922. A.ModifiableCssDeclaration0.prototype = {
  81923. accept$1$1(visitor) {
  81924. return visitor.visitCssDeclaration$1(this);
  81925. },
  81926. accept$1(visitor) {
  81927. return this.accept$1$1(visitor, type$.dynamic);
  81928. },
  81929. toString$0(_) {
  81930. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  81931. },
  81932. get$span(receiver) {
  81933. return this.span;
  81934. }
  81935. };
  81936. A.Declaration0.prototype = {
  81937. accept$1$1(visitor) {
  81938. return visitor.visitDeclaration$1(this);
  81939. },
  81940. accept$1(visitor) {
  81941. return this.accept$1$1(visitor, type$.dynamic);
  81942. },
  81943. toString$0(_) {
  81944. var t3, children,
  81945. buffer = new A.StringBuffer(""),
  81946. t1 = this.name,
  81947. t2 = "" + t1.toString$0(0);
  81948. buffer._contents = t2;
  81949. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  81950. t3 = this.value;
  81951. if (t3 != null) {
  81952. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  81953. buffer._contents = t1 + t3.toString$0(0);
  81954. }
  81955. children = this.children;
  81956. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  81957. },
  81958. get$span(receiver) {
  81959. return this.span;
  81960. }
  81961. };
  81962. A.SupportsDeclaration0.prototype = {
  81963. get$isCustomProperty() {
  81964. var $name = this.name;
  81965. return $name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  81966. },
  81967. toString$0(_) {
  81968. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  81969. },
  81970. $isAstNode0: 1,
  81971. get$span(receiver) {
  81972. return this.span;
  81973. }
  81974. };
  81975. A.Deprecation0.prototype = {
  81976. _enumToString$0() {
  81977. return "Deprecation." + this._name;
  81978. },
  81979. toString$0(_) {
  81980. return this.id;
  81981. }
  81982. };
  81983. A.DeprecationHandlingLogger0.prototype = {
  81984. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  81985. this._deprecation_handling$_inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  81986. },
  81987. warn$3$span$trace($receiver, message, span, trace) {
  81988. return this.warn$4$deprecation$span$trace($receiver, message, false, span, trace);
  81989. },
  81990. warn$2$span($receiver, message, span) {
  81991. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  81992. },
  81993. warn$2$trace($receiver, message, trace) {
  81994. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  81995. },
  81996. warnForDeprecation$4$span$trace(deprecation, message, span, trace) {
  81997. var t1, t2, count, _this = this;
  81998. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  81999. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20depre;
  82000. t1 = span == null;
  82001. if (!t1 && trace != null)
  82002. throw A.wrapException(A.SassRuntimeException$0(message, span, trace, null));
  82003. if (t1)
  82004. throw A.wrapException(A.SassScriptException$0(message, null));
  82005. throw A.wrapException(A.SassException$0(message, span, null));
  82006. }
  82007. if (deprecation.isFuture && !_this.futureDeprecations.contains$1(0, deprecation))
  82008. return;
  82009. if (_this.limitRepetition) {
  82010. t1 = _this._deprecation_handling$_warningCounts;
  82011. t2 = t1.$index(0, deprecation);
  82012. count = (t2 == null ? 0 : t2) + 1;
  82013. t1.$indexSet(0, deprecation, count);
  82014. if (count > 5)
  82015. return;
  82016. }
  82017. _this._deprecation_handling$_inner.warn$4$deprecation$span$trace(0, message, true, span, trace);
  82018. },
  82019. debug$2(_, message, span) {
  82020. return this._deprecation_handling$_inner.debug$2(0, message, span);
  82021. },
  82022. summarize$1$node(node) {
  82023. var t2, total,
  82024. t1 = this._deprecation_handling$_warningCounts;
  82025. t1 = t1.get$values(t1);
  82026. t2 = A._instanceType(t1);
  82027. 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>")));
  82028. if (total > 0) {
  82029. t1 = node ? "" : string$.x0aRun_i;
  82030. this._deprecation_handling$_inner.warn$1(0, "" + total + string$.x20repet + t1);
  82031. }
  82032. }
  82033. };
  82034. A.DeprecationHandlingLogger_summarize_closure1.prototype = {
  82035. call$1(count) {
  82036. return count > 5;
  82037. },
  82038. $signature: 51
  82039. };
  82040. A.DeprecationHandlingLogger_summarize_closure2.prototype = {
  82041. call$1(count) {
  82042. return count - 5;
  82043. },
  82044. $signature: 170
  82045. };
  82046. A.DynamicImport0.prototype = {
  82047. toString$0(_) {
  82048. return A.StringExpression_quoteText0(this.urlString);
  82049. },
  82050. $isImport0: 1,
  82051. $isAstNode0: 1,
  82052. get$span(receiver) {
  82053. return this.span;
  82054. }
  82055. };
  82056. A.EachRule0.prototype = {
  82057. accept$1$1(visitor) {
  82058. return visitor.visitEachRule$1(this);
  82059. },
  82060. accept$1(visitor) {
  82061. return this.accept$1$1(visitor, type$.dynamic);
  82062. },
  82063. toString$0(_) {
  82064. var t1 = this.variables,
  82065. t2 = this.children;
  82066. 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, " ") + "}";
  82067. },
  82068. get$span(receiver) {
  82069. return this.span;
  82070. }
  82071. };
  82072. A.EachRule_toString_closure0.prototype = {
  82073. call$1(variable) {
  82074. return "$" + variable;
  82075. },
  82076. $signature: 5
  82077. };
  82078. A.EmptyExtensionStore0.prototype = {
  82079. get$_extension_store$_extensions() {
  82080. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store0$_extensions", 1, [], [], 0)));
  82081. },
  82082. get$_extension_store$_sourceSpecificity() {
  82083. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store0$_sourceSpecificity", 1, [], [], 0)));
  82084. },
  82085. get$isEmpty(_) {
  82086. return true;
  82087. },
  82088. get$simpleSelectors() {
  82089. return B.C_EmptyUnmodifiableSet0;
  82090. },
  82091. extensionsWhereTarget$1(callback) {
  82092. return B.List_empty17;
  82093. },
  82094. addSelector$2(selector, mediaContext) {
  82095. throw A.wrapException(A.UnsupportedError$(string$.addSel));
  82096. },
  82097. addExtension$4(extender, target, extend, mediaContext) {
  82098. throw A.wrapException(A.UnsupportedError$(string$.addExt_));
  82099. },
  82100. addExtensions$1(extenders) {
  82101. throw A.wrapException(A.UnsupportedError$(string$.addExts));
  82102. },
  82103. clone$0() {
  82104. return B.Tuple2_EmptyExtensionStore_Map_empty0;
  82105. },
  82106. $isExtensionStore0: 1
  82107. };
  82108. A.Environment0.prototype = {
  82109. closure$0() {
  82110. var t4, t5, t6, _this = this,
  82111. t1 = _this._environment0$_forwardedModules,
  82112. t2 = _this._environment0$_nestedForwardedModules,
  82113. t3 = _this._environment0$_variables;
  82114. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  82115. t4 = _this._environment0$_variableNodes;
  82116. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  82117. t5 = _this._environment0$_functions;
  82118. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  82119. t6 = _this._environment0$_mixins;
  82120. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  82121. 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);
  82122. },
  82123. addModule$3$namespace(module, nodeWithSpan, namespace) {
  82124. var t1, t2, span, _this = this;
  82125. if (namespace == null) {
  82126. _this._environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
  82127. _this._environment0$_allModules.push(module);
  82128. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._environment0$_variables))); t1.moveNext$0();) {
  82129. t2 = t1.get$current(t1);
  82130. if (module.get$variables().containsKey$1(t2))
  82131. throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".', null));
  82132. }
  82133. } else {
  82134. t1 = _this._environment0$_modules;
  82135. if (t1.containsKey$1(namespace)) {
  82136. t1 = _this._environment0$_namespaceNodes.$index(0, namespace);
  82137. span = t1 == null ? null : t1.span;
  82138. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  82139. if (span != null)
  82140. t1.$indexSet(0, span, "original @use");
  82141. throw A.wrapException(A.MultiSpanSassScriptException$0(string$.There_ + namespace + '".', "new @use", t1));
  82142. }
  82143. t1.$indexSet(0, namespace, module);
  82144. _this._environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
  82145. _this._environment0$_allModules.push(module);
  82146. }
  82147. },
  82148. forwardModule$2(module, rule) {
  82149. var view, t1, t2, _this = this,
  82150. forwardedModules = _this._environment0$_forwardedModules;
  82151. if (forwardedModules == null)
  82152. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  82153. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
  82154. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  82155. t2 = t1.__js_helper$_current;
  82156. _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  82157. _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  82158. _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  82159. }
  82160. _this._environment0$_allModules.push(module);
  82161. forwardedModules.$indexSet(0, view, rule);
  82162. },
  82163. _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  82164. var larger, smaller, t1, t2, $name, span;
  82165. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  82166. larger = oldMembers;
  82167. smaller = newMembers;
  82168. } else {
  82169. larger = newMembers;
  82170. smaller = oldMembers;
  82171. }
  82172. for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
  82173. $name = t1.get$current(t1);
  82174. if (!larger.containsKey$1($name))
  82175. continue;
  82176. if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
  82177. continue;
  82178. if (t2)
  82179. $name = "$" + $name;
  82180. t1 = this._environment0$_forwardedModules;
  82181. if (t1 == null)
  82182. span = null;
  82183. else {
  82184. t1 = t1.$index(0, oldModule);
  82185. span = t1 == null ? null : J.get$span$z(t1);
  82186. }
  82187. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  82188. if (span != null)
  82189. t1.$indexSet(0, span, "original @forward");
  82190. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
  82191. }
  82192. },
  82193. importForwards$1(module) {
  82194. var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
  82195. forwarded = module._environment0$_environment._environment0$_forwardedModules;
  82196. if (forwarded == null)
  82197. return;
  82198. forwardedModules = _this._environment0$_forwardedModules;
  82199. if (forwardedModules != null) {
  82200. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  82201. for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._environment0$_globalModules; t2.moveNext$0();) {
  82202. t4 = t2.get$current(t2);
  82203. t5 = t4.key;
  82204. if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
  82205. t1.$indexSet(0, t5, t4.value);
  82206. }
  82207. forwarded = t1;
  82208. } else
  82209. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  82210. t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
  82211. t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
  82212. t3 = t2._eval$1("Iterable.E");
  82213. forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure2(), t2), t3);
  82214. forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure3(), t2), t3);
  82215. forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure4(), t2), t3);
  82216. t2 = _this._environment0$_variables;
  82217. t3 = t2.length;
  82218. if (t3 === 1) {
  82219. 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) {
  82220. entry = t3[_i];
  82221. module = entry.key;
  82222. shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  82223. if (shadowed != null) {
  82224. t1.remove$1(0, module);
  82225. t6 = shadowed.variables;
  82226. if (t6.get$isEmpty(t6)) {
  82227. t6 = shadowed.functions;
  82228. if (t6.get$isEmpty(t6)) {
  82229. t6 = shadowed.mixins;
  82230. if (t6.get$isEmpty(t6)) {
  82231. t6 = shadowed._shadowed_view0$_inner;
  82232. t6 = t6.get$css(t6);
  82233. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  82234. } else
  82235. t6 = false;
  82236. } else
  82237. t6 = false;
  82238. } else
  82239. t6 = false;
  82240. if (!t6)
  82241. t1.$indexSet(0, shadowed, entry.value);
  82242. }
  82243. }
  82244. 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) {
  82245. entry = t3[_i];
  82246. module = entry.key;
  82247. shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  82248. if (shadowed != null) {
  82249. forwardedModules.remove$1(0, module);
  82250. t6 = shadowed.variables;
  82251. if (t6.get$isEmpty(t6)) {
  82252. t6 = shadowed.functions;
  82253. if (t6.get$isEmpty(t6)) {
  82254. t6 = shadowed.mixins;
  82255. if (t6.get$isEmpty(t6)) {
  82256. t6 = shadowed._shadowed_view0$_inner;
  82257. t6 = t6.get$css(t6);
  82258. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  82259. } else
  82260. t6 = false;
  82261. } else
  82262. t6 = false;
  82263. } else
  82264. t6 = false;
  82265. if (!t6)
  82266. forwardedModules.$indexSet(0, shadowed, entry.value);
  82267. }
  82268. }
  82269. t1.addAll$1(0, forwarded);
  82270. forwardedModules.addAll$1(0, forwarded);
  82271. } else {
  82272. t4 = _this._environment0$_nestedForwardedModules;
  82273. if (t4 == null) {
  82274. _length = t3 - 1;
  82275. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
  82276. for (t3 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
  82277. _list[_i] = A._setArrayType([], t3);
  82278. _this._environment0$_nestedForwardedModules = _list;
  82279. t3 = _list;
  82280. } else
  82281. t3 = t4;
  82282. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
  82283. }
  82284. for (t1 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = _this._environment0$_variableIndices, t4 = _this._environment0$_variableNodes, t5 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  82285. t6 = t1._collection$_current;
  82286. if (t6 == null)
  82287. t6 = t5._as(t6);
  82288. t3.remove$1(0, t6);
  82289. J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
  82290. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  82291. }
  82292. for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = _this._environment0$_functionIndices, t3 = _this._environment0$_functions, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  82293. t5 = t1._collection$_current;
  82294. if (t5 == null)
  82295. t5 = t4._as(t5);
  82296. t2.remove$1(0, t5);
  82297. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  82298. }
  82299. for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = _this._environment0$_mixinIndices, t3 = _this._environment0$_mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  82300. t5 = t1._collection$_current;
  82301. if (t5 == null)
  82302. t5 = t4._as(t5);
  82303. t2.remove$1(0, t5);
  82304. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  82305. }
  82306. },
  82307. getVariable$2$namespace($name, namespace) {
  82308. var t1, index, _this = this;
  82309. if (namespace != null)
  82310. return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  82311. if (_this._environment0$_lastVariableName === $name) {
  82312. t1 = _this._environment0$_lastVariableIndex;
  82313. t1.toString;
  82314. t1 = J.$index$asx(_this._environment0$_variables[t1], $name);
  82315. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  82316. }
  82317. t1 = _this._environment0$_variableIndices;
  82318. index = t1.$index(0, $name);
  82319. if (index != null) {
  82320. _this._environment0$_lastVariableName = $name;
  82321. _this._environment0$_lastVariableIndex = index;
  82322. t1 = J.$index$asx(_this._environment0$_variables[index], $name);
  82323. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  82324. }
  82325. index = _this._environment0$_variableIndex$1($name);
  82326. if (index == null)
  82327. return _this._environment0$_getVariableFromGlobalModule$1($name);
  82328. _this._environment0$_lastVariableName = $name;
  82329. _this._environment0$_lastVariableIndex = index;
  82330. t1.$indexSet(0, $name, index);
  82331. t1 = J.$index$asx(_this._environment0$_variables[index], $name);
  82332. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  82333. },
  82334. getVariable$1($name) {
  82335. return this.getVariable$2$namespace($name, null);
  82336. },
  82337. _environment0$_getVariableFromGlobalModule$1($name) {
  82338. return this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
  82339. },
  82340. getVariableNode$2$namespace($name, namespace) {
  82341. var t1, index, _this = this;
  82342. if (namespace != null)
  82343. return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  82344. if (_this._environment0$_lastVariableName === $name) {
  82345. t1 = _this._environment0$_lastVariableIndex;
  82346. t1.toString;
  82347. t1 = J.$index$asx(_this._environment0$_variableNodes[t1], $name);
  82348. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  82349. }
  82350. t1 = _this._environment0$_variableIndices;
  82351. index = t1.$index(0, $name);
  82352. if (index != null) {
  82353. _this._environment0$_lastVariableName = $name;
  82354. _this._environment0$_lastVariableIndex = index;
  82355. t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
  82356. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  82357. }
  82358. index = _this._environment0$_variableIndex$1($name);
  82359. if (index == null)
  82360. return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
  82361. _this._environment0$_lastVariableName = $name;
  82362. _this._environment0$_lastVariableIndex = index;
  82363. t1.$indexSet(0, $name, index);
  82364. t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
  82365. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  82366. },
  82367. _environment0$_getVariableNodeFromGlobalModule$1($name) {
  82368. var t1, t2, value;
  82369. 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();) {
  82370. t1 = t2._currentIterator;
  82371. value = t1.get$current(t1).get$variableNodes().$index(0, $name);
  82372. if (value != null)
  82373. return value;
  82374. }
  82375. return null;
  82376. },
  82377. globalVariableExists$2$namespace($name, namespace) {
  82378. if (namespace != null)
  82379. return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  82380. if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
  82381. return true;
  82382. return this._environment0$_getVariableFromGlobalModule$1($name) != null;
  82383. },
  82384. globalVariableExists$1($name) {
  82385. return this.globalVariableExists$2$namespace($name, null);
  82386. },
  82387. _environment0$_variableIndex$1($name) {
  82388. var t1, i;
  82389. for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
  82390. if (t1[i].containsKey$1($name))
  82391. return i;
  82392. return null;
  82393. },
  82394. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  82395. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  82396. if (namespace != null) {
  82397. _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  82398. return;
  82399. }
  82400. if (global || _this._environment0$_variables.length === 1) {
  82401. _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
  82402. t1 = _this._environment0$_variables;
  82403. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  82404. moduleWithName = _this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure3($name), type$.Module_Callable_2);
  82405. if (moduleWithName != null) {
  82406. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  82407. return;
  82408. }
  82409. }
  82410. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  82411. J.$indexSet$ax(B.JSArray_methods.get$first(_this._environment0$_variableNodes), $name, nodeWithSpan);
  82412. return;
  82413. }
  82414. nestedForwardedModules = _this._environment0$_nestedForwardedModules;
  82415. if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
  82416. 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();) {
  82417. t3 = t1.__internal$_current;
  82418. 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();) {
  82419. t5 = t3.__internal$_current;
  82420. if (t5 == null)
  82421. t5 = t4._as(t5);
  82422. if (t5.get$variables().containsKey$1($name)) {
  82423. t5.setVariable$3($name, value, nodeWithSpan);
  82424. return;
  82425. }
  82426. }
  82427. }
  82428. if (_this._environment0$_lastVariableName === $name) {
  82429. t1 = _this._environment0$_lastVariableIndex;
  82430. t1.toString;
  82431. index = t1;
  82432. } else
  82433. index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
  82434. if (!_this._environment0$_inSemiGlobalScope && index === 0) {
  82435. index = _this._environment0$_variables.length - 1;
  82436. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  82437. }
  82438. _this._environment0$_lastVariableName = $name;
  82439. _this._environment0$_lastVariableIndex = index;
  82440. J.$indexSet$ax(_this._environment0$_variables[index], $name, value);
  82441. J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
  82442. },
  82443. setVariable$4$global($name, value, nodeWithSpan, global) {
  82444. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  82445. },
  82446. setLocalVariable$3($name, value, nodeWithSpan) {
  82447. var index, _this = this,
  82448. t1 = _this._environment0$_variables,
  82449. t2 = t1.length;
  82450. _this._environment0$_lastVariableName = $name;
  82451. index = _this._environment0$_lastVariableIndex = t2 - 1;
  82452. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  82453. J.$indexSet$ax(t1[index], $name, value);
  82454. J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
  82455. },
  82456. getFunction$2$namespace($name, namespace) {
  82457. var t1, index, _this = this;
  82458. if (namespace != null) {
  82459. t1 = _this._environment0$_getModule$1(namespace);
  82460. return t1.get$functions(t1).$index(0, $name);
  82461. }
  82462. t1 = _this._environment0$_functionIndices;
  82463. index = t1.$index(0, $name);
  82464. if (index != null) {
  82465. t1 = J.$index$asx(_this._environment0$_functions[index], $name);
  82466. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  82467. }
  82468. index = _this._environment0$_functionIndex$1($name);
  82469. if (index == null)
  82470. return _this._environment0$_getFunctionFromGlobalModule$1($name);
  82471. t1.$indexSet(0, $name, index);
  82472. t1 = J.$index$asx(_this._environment0$_functions[index], $name);
  82473. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  82474. },
  82475. _environment0$_getFunctionFromGlobalModule$1($name) {
  82476. return this._environment0$_fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name), type$.Callable_2);
  82477. },
  82478. _environment0$_functionIndex$1($name) {
  82479. var t1, i;
  82480. for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
  82481. if (t1[i].containsKey$1($name))
  82482. return i;
  82483. return null;
  82484. },
  82485. getMixin$2$namespace($name, namespace) {
  82486. var t1, index, _this = this;
  82487. if (namespace != null)
  82488. return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  82489. t1 = _this._environment0$_mixinIndices;
  82490. index = t1.$index(0, $name);
  82491. if (index != null) {
  82492. t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
  82493. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  82494. }
  82495. index = _this._environment0$_mixinIndex$1($name);
  82496. if (index == null)
  82497. return _this._environment0$_getMixinFromGlobalModule$1($name);
  82498. t1.$indexSet(0, $name, index);
  82499. t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
  82500. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  82501. },
  82502. _environment0$_getMixinFromGlobalModule$1($name) {
  82503. return this._environment0$_fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name), type$.Callable_2);
  82504. },
  82505. _environment0$_mixinIndex$1($name) {
  82506. var t1, i;
  82507. for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  82508. if (t1[i].containsKey$1($name))
  82509. return i;
  82510. return null;
  82511. },
  82512. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  82513. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  82514. semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
  82515. wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
  82516. _this._environment0$_inSemiGlobalScope = semiGlobal;
  82517. if (!when)
  82518. try {
  82519. t1 = callback.call$0();
  82520. return t1;
  82521. } finally {
  82522. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  82523. }
  82524. t1 = _this._environment0$_variables;
  82525. t2 = type$.String;
  82526. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  82527. t3 = _this._environment0$_variableNodes;
  82528. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  82529. t4 = _this._environment0$_functions;
  82530. t5 = type$.Callable_2;
  82531. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  82532. t6 = _this._environment0$_mixins;
  82533. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  82534. t5 = _this._environment0$_nestedForwardedModules;
  82535. if (t5 != null)
  82536. t5.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
  82537. try {
  82538. t2 = callback.call$0();
  82539. return t2;
  82540. } finally {
  82541. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  82542. _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
  82543. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
  82544. $name = t1.get$current(t1);
  82545. t2.remove$1(0, $name);
  82546. }
  82547. B.JSArray_methods.removeLast$0(t3);
  82548. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
  82549. name0 = t1.get$current(t1);
  82550. t2.remove$1(0, name0);
  82551. }
  82552. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
  82553. name1 = t1.get$current(t1);
  82554. t2.remove$1(0, name1);
  82555. }
  82556. t1 = _this._environment0$_nestedForwardedModules;
  82557. if (t1 != null)
  82558. t1.pop();
  82559. }
  82560. },
  82561. scope$1$1(callback, $T) {
  82562. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  82563. },
  82564. scope$1$2$when(callback, when, $T) {
  82565. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  82566. },
  82567. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  82568. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  82569. },
  82570. toImplicitConfiguration$0() {
  82571. var t1, t2, i, values, nodes, t3, t4, t5, t6,
  82572. configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  82573. for (t1 = this._environment0$_variables, t2 = this._environment0$_variableNodes, i = 0; i < t1.length; ++i) {
  82574. values = t1[i];
  82575. nodes = t2[i];
  82576. for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  82577. t4 = t3.get$current(t3);
  82578. t5 = t4.key;
  82579. t4 = t4.value;
  82580. t6 = nodes.$index(0, t5);
  82581. t6.toString;
  82582. configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
  82583. }
  82584. }
  82585. return new A.Configuration0(configuration, null);
  82586. },
  82587. toModule$2(css, extensionStore) {
  82588. return A._EnvironmentModule__EnvironmentModule1(this, css, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
  82589. },
  82590. toDummyModule$0() {
  82591. 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()));
  82592. },
  82593. _environment0$_getModule$1(namespace) {
  82594. var module = this._environment0$_modules.$index(0, namespace);
  82595. if (module != null)
  82596. return module;
  82597. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  82598. },
  82599. _environment0$_fromOneModule$1$3($name, type, callback, $T) {
  82600. var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
  82601. nestedForwardedModules = this._environment0$_nestedForwardedModules;
  82602. if (nestedForwardedModules != null)
  82603. 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();) {
  82604. t3 = t1.__internal$_current;
  82605. 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();) {
  82606. t5 = t3.__internal$_current;
  82607. value = callback.call$1(t5 == null ? t4._as(t5) : t5);
  82608. if (value != null)
  82609. return value;
  82610. }
  82611. }
  82612. for (t1 = this._environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  82613. value = callback.call$1(t1.__js_helper$_current);
  82614. if (value != null)
  82615. return value;
  82616. }
  82617. for (t1 = this._environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.Callable_2, value = null, identity = null; t2.moveNext$0();) {
  82618. t4 = t2.__js_helper$_current;
  82619. valueInModule = callback.call$1(t4);
  82620. if (valueInModule == null)
  82621. continue;
  82622. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  82623. if (identityFromModule.$eq(0, identity))
  82624. continue;
  82625. if (value != null) {
  82626. spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
  82627. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  82628. for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
  82629. t4 = t1.get$current(t1);
  82630. if (t4 != null)
  82631. t2.$indexSet(0, t4, t3);
  82632. }
  82633. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  82634. }
  82635. identity = identityFromModule;
  82636. value = valueInModule;
  82637. }
  82638. return value;
  82639. }
  82640. };
  82641. A.Environment_importForwards_closure2.prototype = {
  82642. call$1(module) {
  82643. var t1 = module.get$variables();
  82644. return t1.get$keys(t1);
  82645. },
  82646. $signature: 114
  82647. };
  82648. A.Environment_importForwards_closure3.prototype = {
  82649. call$1(module) {
  82650. var t1 = module.get$functions(module);
  82651. return t1.get$keys(t1);
  82652. },
  82653. $signature: 114
  82654. };
  82655. A.Environment_importForwards_closure4.prototype = {
  82656. call$1(module) {
  82657. var t1 = module.get$mixins();
  82658. return t1.get$keys(t1);
  82659. },
  82660. $signature: 114
  82661. };
  82662. A.Environment__getVariableFromGlobalModule_closure0.prototype = {
  82663. call$1(module) {
  82664. return module.get$variables().$index(0, this.name);
  82665. },
  82666. $signature: 391
  82667. };
  82668. A.Environment_setVariable_closure2.prototype = {
  82669. call$0() {
  82670. var t1 = this.$this;
  82671. t1._environment0$_lastVariableName = this.name;
  82672. return t1._environment0$_lastVariableIndex = 0;
  82673. },
  82674. $signature: 12
  82675. };
  82676. A.Environment_setVariable_closure3.prototype = {
  82677. call$1(module) {
  82678. return module.get$variables().containsKey$1(this.name) ? module : null;
  82679. },
  82680. $signature: 392
  82681. };
  82682. A.Environment_setVariable_closure4.prototype = {
  82683. call$0() {
  82684. var t1 = this.$this,
  82685. t2 = t1._environment0$_variableIndex$1(this.name);
  82686. return t2 == null ? t1._environment0$_variables.length - 1 : t2;
  82687. },
  82688. $signature: 12
  82689. };
  82690. A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
  82691. call$1(module) {
  82692. return module.get$functions(module).$index(0, this.name);
  82693. },
  82694. $signature: 207
  82695. };
  82696. A.Environment__getMixinFromGlobalModule_closure0.prototype = {
  82697. call$1(module) {
  82698. return module.get$mixins().$index(0, this.name);
  82699. },
  82700. $signature: 207
  82701. };
  82702. A.Environment_toModule_closure0.prototype = {
  82703. call$1(modules) {
  82704. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  82705. },
  82706. $signature: 208
  82707. };
  82708. A.Environment_toDummyModule_closure0.prototype = {
  82709. call$1(modules) {
  82710. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  82711. },
  82712. $signature: 208
  82713. };
  82714. A.Environment__fromOneModule_closure0.prototype = {
  82715. call$1(entry) {
  82716. return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure0(entry, this.T));
  82717. },
  82718. $signature: 395
  82719. };
  82720. A.Environment__fromOneModule__closure0.prototype = {
  82721. call$1(_) {
  82722. return J.get$span$z(this.entry.value);
  82723. },
  82724. $signature() {
  82725. return this.T._eval$1("FileSpan(0)");
  82726. }
  82727. };
  82728. A._EnvironmentModule1.prototype = {
  82729. get$url(_) {
  82730. var t1 = this.css;
  82731. return t1.get$span(t1).file.url;
  82732. },
  82733. setVariable$3($name, value, nodeWithSpan) {
  82734. var t1, t2,
  82735. module = this._environment0$_modulesByVariable.$index(0, $name);
  82736. if (module != null) {
  82737. module.setVariable$3($name, value, nodeWithSpan);
  82738. return;
  82739. }
  82740. t1 = this._environment0$_environment;
  82741. t2 = t1._environment0$_variables;
  82742. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  82743. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  82744. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  82745. J.$indexSet$ax(B.JSArray_methods.get$first(t1._environment0$_variableNodes), $name, nodeWithSpan);
  82746. return;
  82747. },
  82748. variableIdentity$1($name) {
  82749. var module = this._environment0$_modulesByVariable.$index(0, $name);
  82750. return module == null ? this : module.variableIdentity$1($name);
  82751. },
  82752. cloneCss$0() {
  82753. var newCssAndExtensionStore, _this = this;
  82754. if (!_this.transitivelyContainsCss)
  82755. return _this;
  82756. newCssAndExtensionStore = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  82757. 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);
  82758. },
  82759. toString$0(_) {
  82760. var t1 = this.css;
  82761. if (t1.get$span(t1).file.url == null)
  82762. t1 = "<unknown url>";
  82763. else {
  82764. t1 = t1.get$span(t1);
  82765. t1 = $.$get$context().prettyUri$1(t1.file.url);
  82766. }
  82767. return t1;
  82768. },
  82769. $isModule0: 1,
  82770. get$upstream() {
  82771. return this.upstream;
  82772. },
  82773. get$variables() {
  82774. return this.variables;
  82775. },
  82776. get$variableNodes() {
  82777. return this.variableNodes;
  82778. },
  82779. get$functions(receiver) {
  82780. return this.functions;
  82781. },
  82782. get$mixins() {
  82783. return this.mixins;
  82784. },
  82785. get$extensionStore() {
  82786. return this.extensionStore;
  82787. },
  82788. get$css(receiver) {
  82789. return this.css;
  82790. },
  82791. get$transitivelyContainsCss() {
  82792. return this.transitivelyContainsCss;
  82793. },
  82794. get$transitivelyContainsExtensions() {
  82795. return this.transitivelyContainsExtensions;
  82796. }
  82797. };
  82798. A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
  82799. call$1(module) {
  82800. return module.get$variables();
  82801. },
  82802. $signature: 396
  82803. };
  82804. A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
  82805. call$1(module) {
  82806. return module.get$variableNodes();
  82807. },
  82808. $signature: 397
  82809. };
  82810. A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
  82811. call$1(module) {
  82812. return module.get$functions(module);
  82813. },
  82814. $signature: 209
  82815. };
  82816. A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
  82817. call$1(module) {
  82818. return module.get$mixins();
  82819. },
  82820. $signature: 209
  82821. };
  82822. A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
  82823. call$1(module) {
  82824. return module.get$transitivelyContainsCss();
  82825. },
  82826. $signature: 119
  82827. };
  82828. A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
  82829. call$1(module) {
  82830. return module.get$transitivelyContainsExtensions();
  82831. },
  82832. $signature: 119
  82833. };
  82834. A.ErrorRule0.prototype = {
  82835. accept$1$1(visitor) {
  82836. return visitor.visitErrorRule$1(this);
  82837. },
  82838. accept$1(visitor) {
  82839. return this.accept$1$1(visitor, type$.dynamic);
  82840. },
  82841. toString$0(_) {
  82842. return "@error " + this.expression.toString$0(0) + ";";
  82843. },
  82844. $isAstNode0: 1,
  82845. $isStatement0: 1,
  82846. get$span(receiver) {
  82847. return this.span;
  82848. }
  82849. };
  82850. A._EvaluateVisitor1.prototype = {
  82851. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  82852. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  82853. _s20_ = "$name, $module: null",
  82854. _s9_ = "sass:meta",
  82855. t1 = type$.JSArray_BuiltInCallable_2,
  82856. 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),
  82857. metaMixins = A._setArrayType([A.BuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure28(_this), _s9_)], t1);
  82858. t1 = type$.BuiltInCallable_2;
  82859. t2 = A.List_List$of($.$get$global6(), true, t1);
  82860. B.JSArray_methods.addAll$1(t2, $.$get$local0());
  82861. B.JSArray_methods.addAll$1(t2, metaFunctions);
  82862. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  82863. 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) {
  82864. module = t1[_i];
  82865. t3.$indexSet(0, module.url, module);
  82866. }
  82867. t1 = A._setArrayType([], type$.JSArray_Callable_2);
  82868. B.JSArray_methods.addAll$1(t1, functions);
  82869. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
  82870. B.JSArray_methods.addAll$1(t1, metaFunctions);
  82871. for (t2 = t1.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  82872. $function = t1[_i];
  82873. t4 = J.get$name$x($function);
  82874. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  82875. }
  82876. },
  82877. run$2(_, importer, node) {
  82878. var error, stackTrace, t1, exception;
  82879. try {
  82880. t1 = type$.nullable_Object;
  82881. t1 = A.runZoned(new A._EvaluateVisitor_run_closure1(this, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext1(this, node)], t1, t1), type$.EvaluateResult_2);
  82882. return t1;
  82883. } catch (exception) {
  82884. t1 = A.unwrapException(exception);
  82885. if (t1 instanceof A.SassException0) {
  82886. error = t1;
  82887. stackTrace = A.getTraceFromException(exception);
  82888. A.throwWithTrace0(error.withLoadedUrls$1(this._evaluate0$_loadedUrls), stackTrace);
  82889. } else
  82890. throw exception;
  82891. }
  82892. },
  82893. _evaluate0$_assertInModule$1$2(value, $name) {
  82894. if (value != null)
  82895. return value;
  82896. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  82897. },
  82898. _evaluate0$_assertInModule$2(value, $name) {
  82899. return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  82900. },
  82901. _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  82902. var t1, t2, _this = this,
  82903. builtInModule = _this._evaluate0$_builtInModules.$index(0, url);
  82904. if (builtInModule != null) {
  82905. if (configuration instanceof A.ExplicitConfiguration0) {
  82906. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  82907. t2 = configuration.nodeWithSpan;
  82908. throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
  82909. }
  82910. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(callback, builtInModule));
  82911. return;
  82912. }
  82913. _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  82914. },
  82915. _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  82916. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  82917. },
  82918. _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  82919. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  82920. },
  82921. _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  82922. var currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
  82923. url = stylesheet.span.file.url,
  82924. t1 = _this._evaluate0$_modules,
  82925. alreadyLoaded = t1.$index(0, url);
  82926. if (alreadyLoaded != null) {
  82927. t1 = configuration == null;
  82928. currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration;
  82929. t2 = _this._evaluate0$_moduleConfigurations.$index(0, url);
  82930. t3 = t2._configuration$__originalConfiguration;
  82931. t2 = t3 == null ? t2 : t3;
  82932. t3 = currentConfiguration._configuration$__originalConfiguration;
  82933. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  82934. message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
  82935. t2 = _this._evaluate0$_moduleNodes.$index(0, url);
  82936. existingSpan = t2 == null ? null : J.get$span$z(t2);
  82937. if (t1) {
  82938. t1 = currentConfiguration.nodeWithSpan;
  82939. configurationSpan = t1.get$span(t1);
  82940. } else
  82941. configurationSpan = null;
  82942. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  82943. if (existingSpan != null)
  82944. t1.$indexSet(0, existingSpan, "original load");
  82945. if (configurationSpan != null)
  82946. t1.$indexSet(0, configurationSpan, "configuration");
  82947. throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
  82948. }
  82949. return alreadyLoaded;
  82950. }
  82951. environment = A.Environment$0();
  82952. css = A._Cell$();
  82953. extensionStore = A.ExtensionStore$0();
  82954. _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css));
  82955. module = environment.toModule$2(css._readLocal$0(), extensionStore);
  82956. if (url != null) {
  82957. t1.$indexSet(0, url, module);
  82958. _this._evaluate0$_moduleConfigurations.$indexSet(0, url, _this._evaluate0$_configuration);
  82959. if (nodeWithSpan != null)
  82960. _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  82961. }
  82962. return module;
  82963. },
  82964. _evaluate0$_execute$2(importer, stylesheet) {
  82965. return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  82966. },
  82967. _evaluate0$_addOutOfOrderImports$0() {
  82968. var t1, t2, _this = this, _s5_ = "_root",
  82969. _s13_ = "_endOfImports",
  82970. outOfOrderImports = _this._evaluate0$_outOfOrderImports;
  82971. if (outOfOrderImports == null)
  82972. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  82973. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  82974. t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListBase.E")), true, type$.ModifiableCssNode_2);
  82975. B.JSArray_methods.addAll$1(t1, outOfOrderImports);
  82976. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  82977. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  82978. return t1;
  82979. },
  82980. _evaluate0$_combineCss$2$clone(root, clone) {
  82981. var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
  82982. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
  82983. selectors = root.get$extensionStore().get$simpleSelectors();
  82984. unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
  82985. if (unsatisfiedExtension != null)
  82986. _this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  82987. return root.get$css(root);
  82988. }
  82989. sortedModules = _this._evaluate0$_topologicalModules$1(root);
  82990. if (clone) {
  82991. t1 = sortedModules.$ti._eval$1("MappedListIterable<ListBase.E,Module0<Callable0>>");
  82992. sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure7(), t1), true, t1._eval$1("ListIterable.E"));
  82993. }
  82994. _this._evaluate0$_extendModules$1(sortedModules);
  82995. t1 = type$.JSArray_CssNode_2;
  82996. imports = A._setArrayType([], t1);
  82997. css = A._setArrayType([], t1);
  82998. for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  82999. t3 = t1.__internal$_current;
  83000. if (t3 == null)
  83001. t3 = t2._as(t3);
  83002. t3 = t3.get$css(t3);
  83003. statements = t3.get$children(t3);
  83004. index = _this._evaluate0$_indexAfterImports$1(statements);
  83005. t3 = J.getInterceptor$ax(statements);
  83006. B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
  83007. B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
  83008. }
  83009. t1 = B.JSArray_methods.$add(imports, css);
  83010. t2 = root.get$css(root);
  83011. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  83012. },
  83013. _evaluate0$_combineCss$1(root) {
  83014. return this._evaluate0$_combineCss$2$clone(root, false);
  83015. },
  83016. _evaluate0$_extendModules$1(sortedModules) {
  83017. var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
  83018. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  83019. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  83020. for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
  83021. t2 = t1.get$current(t1);
  83022. originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
  83023. unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
  83024. $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
  83025. t3 = t2.get$extensionStore().get$addExtensions();
  83026. if ($self != null)
  83027. t3.call$1($self);
  83028. t3 = t2.get$extensionStore();
  83029. if (t3.get$isEmpty(t3))
  83030. continue;
  83031. for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  83032. upstream = t3[_i];
  83033. url = upstream.get$url(upstream);
  83034. if (url == null)
  83035. continue;
  83036. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure4()), t2.get$extensionStore());
  83037. }
  83038. unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  83039. }
  83040. if (unsatisfiedExtensions._collection$_length !== 0)
  83041. this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  83042. },
  83043. _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  83044. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  83045. },
  83046. _evaluate0$_topologicalModules$1(root) {
  83047. var t1 = type$.Module_Callable_2,
  83048. sorted = A.QueueList$(null, t1);
  83049. new A._EvaluateVisitor__topologicalModules_visitModule1(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
  83050. return sorted;
  83051. },
  83052. _evaluate0$_indexAfterImports$1(statements) {
  83053. var t1, t2, t3, lastImport, i, statement;
  83054. for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  83055. statement = t1.$index(statements, i);
  83056. if (t3._is(statement))
  83057. lastImport = i;
  83058. else if (!t2._is(statement))
  83059. break;
  83060. }
  83061. return lastImport + 1;
  83062. },
  83063. visitStylesheet$1(node) {
  83064. var t1, t2, _i;
  83065. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  83066. t1[_i].accept$1(this);
  83067. return null;
  83068. },
  83069. visitAtRootRule$1(node) {
  83070. var t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, _this = this, _null = null,
  83071. _s8_ = "__parent",
  83072. unparsedQuery = node.query,
  83073. query = unparsedQuery != null ? A.AtRootQueryParser$0(_this._evaluate0$_performInterpolationWithMap$2$warnForColor(unparsedQuery, true).item1, _this._evaluate0$_logger, _null).parse$0() : B.AtRootQuery_UsS0,
  83074. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
  83075. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  83076. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
  83077. if (!query.excludes$1($parent))
  83078. included.push($parent);
  83079. grandparent = $parent._node$_parent;
  83080. if (grandparent == null)
  83081. throw A.wrapException(A.StateError$(string$.CssNod));
  83082. }
  83083. root = _this._evaluate0$_trimIncluded$1(included);
  83084. if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
  83085. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure3(_this, node), node.hasDeclarations, type$.Null);
  83086. return _null;
  83087. }
  83088. if (included.length !== 0) {
  83089. innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
  83090. 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) {
  83091. t3 = t1.__internal$_current;
  83092. copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
  83093. copy.addChild$1(outerCopy);
  83094. }
  83095. root.addChild$1(outerCopy);
  83096. } else
  83097. innerCopy = root;
  83098. _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure4(_this, node));
  83099. return _null;
  83100. },
  83101. _evaluate0$_trimIncluded$1(nodes) {
  83102. var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
  83103. _s22_ = " to be an ancestor of ";
  83104. if (nodes.length === 0)
  83105. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  83106. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  83107. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  83108. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  83109. grandparent = $parent._node$_parent;
  83110. if (grandparent == null)
  83111. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  83112. }
  83113. if (innermostContiguous == null)
  83114. innermostContiguous = i;
  83115. grandparent = $parent._node$_parent;
  83116. if (grandparent == null)
  83117. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  83118. }
  83119. if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  83120. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  83121. innermostContiguous.toString;
  83122. root = nodes[innermostContiguous];
  83123. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  83124. return root;
  83125. },
  83126. _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  83127. var _this = this,
  83128. scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
  83129. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  83130. if (t1 !== query.include)
  83131. scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
  83132. if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  83133. scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
  83134. if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  83135. scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
  83136. return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
  83137. },
  83138. visitContentBlock$1(node) {
  83139. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  83140. },
  83141. visitContentRule$1(node) {
  83142. var $content = this._evaluate0$_environment._environment0$_content;
  83143. if ($content == null)
  83144. return null;
  83145. this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
  83146. return null;
  83147. },
  83148. visitDebugRule$1(node) {
  83149. var value = node.expression.accept$1(this),
  83150. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  83151. this._evaluate0$_logger.debug$2(0, t1, node.span);
  83152. return null;
  83153. },
  83154. visitDeclaration$1(node) {
  83155. var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
  83156. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
  83157. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
  83158. if (_this._evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  83159. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarw, node.span));
  83160. t1 = node.name;
  83161. $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t1, true);
  83162. t2 = _this._evaluate0$_declarationName;
  83163. if (t2 != null)
  83164. $name = new A.CssValue0(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  83165. t2 = node.value;
  83166. cssValue = A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure3(_this));
  83167. t3 = cssValue != null;
  83168. if (t3) {
  83169. t4 = cssValue.value;
  83170. t4 = !t4.get$isBlank() || t4.get$asList().length === 0;
  83171. } else
  83172. t4 = false;
  83173. if (t4) {
  83174. t3 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  83175. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  83176. if (_this._evaluate0$_sourceMap) {
  83177. t2 = A.NullableExtension_andThen0(t2, _this.get$_evaluate0$_expressionNode());
  83178. t2 = t2 == null ? _null : J.get$span$z(t2);
  83179. } else
  83180. t2 = _null;
  83181. t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
  83182. } else if (J.startsWith$1$s($name.value, "--") && t3)
  83183. throw A.wrapException(_this._evaluate0$_exception$2("Custom property values may not be empty.", cssValue.span));
  83184. children = node.children;
  83185. if (children != null) {
  83186. oldDeclarationName = _this._evaluate0$_declarationName;
  83187. _this._evaluate0$_declarationName = $name.value;
  83188. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure4(_this, children), node.hasDeclarations, type$.Null);
  83189. _this._evaluate0$_declarationName = oldDeclarationName;
  83190. }
  83191. return _null;
  83192. },
  83193. visitEachRule$1(node) {
  83194. var _this = this,
  83195. t1 = node.list,
  83196. list = t1.accept$1(_this),
  83197. nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
  83198. setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure5(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure6(_this, node, nodeWithSpan);
  83199. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, setVariables, node), true, type$.nullable_Value_2);
  83200. },
  83201. _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  83202. var i,
  83203. list = value.get$asList(),
  83204. t1 = variables.length,
  83205. minLength = Math.min(t1, list.length);
  83206. for (i = 0; i < minLength; ++i)
  83207. this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  83208. for (i = minLength; i < t1; ++i)
  83209. this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  83210. },
  83211. visitErrorRule$1(node) {
  83212. throw A.wrapException(this._evaluate0$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
  83213. },
  83214. visitExtendRule$1(node) {
  83215. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, tuple, compound, _this = this, _null = null,
  83216. styleRule = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  83217. if (styleRule == null || _this._evaluate0$_declarationName != null)
  83218. throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
  83219. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  83220. complex = t1[_i];
  83221. if (!complex.accept$1(B._IsBogusVisitor_true0))
  83222. continue;
  83223. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  83224. complex.accept$1(visitor);
  83225. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  83226. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  83227. _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);
  83228. }
  83229. tuple = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true);
  83230. 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) {
  83231. complex = t1[_i];
  83232. if (complex.leadingCombinators.length === 0) {
  83233. t4 = complex.components;
  83234. t4 = t4.length === 1 && B.JSArray_methods.get$first(t4).combinators.length === 0;
  83235. } else
  83236. t4 = false;
  83237. compound = t4 ? B.JSArray_methods.get$first(complex.components).selector : _null;
  83238. if (compound == null)
  83239. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, _null));
  83240. t4 = compound.components;
  83241. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  83242. if (t5 == null)
  83243. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  83244. _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._evaluate0$_mediaQueries);
  83245. }
  83246. return _null;
  83247. },
  83248. visitAtRule$1(node) {
  83249. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  83250. if (_this._evaluate0$_declarationName != null)
  83251. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  83252. $name = _this._evaluate0$_interpolationToValue$1(node.name);
  83253. value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
  83254. children = node.children;
  83255. if (children == null) {
  83256. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  83257. return null;
  83258. }
  83259. wasInKeyframes = _this._evaluate0$_inKeyframes;
  83260. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  83261. if (A.unvendor0($name.value) === "keyframes")
  83262. _this._evaluate0$_inKeyframes = true;
  83263. else
  83264. _this._evaluate0$_inUnknownAtRule = true;
  83265. _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);
  83266. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  83267. _this._evaluate0$_inKeyframes = wasInKeyframes;
  83268. return null;
  83269. },
  83270. visitForRule$1(node) {
  83271. var _this = this, t1 = {},
  83272. t2 = node.from,
  83273. fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
  83274. t3 = node.to,
  83275. toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
  83276. from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
  83277. to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
  83278. direction = from > to ? -1 : 1;
  83279. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  83280. return null;
  83281. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
  83282. },
  83283. visitForwardRule$1(node) {
  83284. var newConfiguration, t4, _i, variable, $name, _this = this,
  83285. _s8_ = "@forward",
  83286. oldConfiguration = _this._evaluate0$_configuration,
  83287. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  83288. t1 = node.configuration,
  83289. t2 = t1.length,
  83290. t3 = node.url;
  83291. if (t2 !== 0) {
  83292. newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
  83293. _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
  83294. t3 = type$.String;
  83295. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  83296. for (_i = 0; _i < t2; ++_i) {
  83297. variable = t1[_i];
  83298. if (!variable.isGuarded)
  83299. t4.add$1(0, variable.name);
  83300. }
  83301. _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  83302. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  83303. for (_i = 0; _i < t2; ++_i)
  83304. t3.add$1(0, t1[_i].name);
  83305. 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) {
  83306. $name = t2[_i];
  83307. if (!t3.contains$1(0, $name))
  83308. if (!t1.get$isEmpty(t1))
  83309. t1.remove$1(0, $name);
  83310. }
  83311. _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  83312. } else {
  83313. _this._evaluate0$_configuration = adjustedConfiguration;
  83314. _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
  83315. _this._evaluate0$_configuration = oldConfiguration;
  83316. }
  83317. return null;
  83318. },
  83319. _evaluate0$_addForwardConfiguration$2(configuration, node) {
  83320. var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
  83321. t1 = configuration._configuration$_values,
  83322. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  83323. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  83324. variable = t2[_i];
  83325. if (variable.isGuarded) {
  83326. t4 = variable.name;
  83327. t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
  83328. if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
  83329. newValues.$indexSet(0, t4, t5);
  83330. continue;
  83331. }
  83332. }
  83333. t4 = variable.expression;
  83334. variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
  83335. newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  83336. }
  83337. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
  83338. return new A.ExplicitConfiguration0(node, newValues, null);
  83339. else
  83340. return new A.Configuration0(newValues, null);
  83341. },
  83342. _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  83343. var t1, t2, t3, t4, _i, $name;
  83344. 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) {
  83345. $name = t2[_i];
  83346. if (except.contains$1(0, $name))
  83347. continue;
  83348. if (!t4.containsKey$1($name))
  83349. if (!t1.get$isEmpty(t1))
  83350. t1.remove$1(0, $name);
  83351. }
  83352. },
  83353. _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  83354. var t1, entry;
  83355. if (!(configuration instanceof A.ExplicitConfiguration0))
  83356. return;
  83357. t1 = configuration._configuration$_values;
  83358. if (t1.get$isEmpty(t1))
  83359. return;
  83360. t1 = t1.get$entries(t1);
  83361. entry = t1.get$first(t1);
  83362. t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
  83363. throw A.wrapException(this._evaluate0$_exception$2(t1, entry.value.configurationSpan));
  83364. },
  83365. _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  83366. return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  83367. },
  83368. visitFunctionRule$1(node) {
  83369. var t1 = this._evaluate0$_environment,
  83370. t2 = t1.closure$0(),
  83371. t3 = this._evaluate0$_inDependency,
  83372. t4 = t1._environment0$_functions,
  83373. index = t4.length - 1,
  83374. t5 = node.name;
  83375. t1._environment0$_functionIndices.$indexSet(0, t5, index);
  83376. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  83377. return null;
  83378. },
  83379. visitIfRule$1(node) {
  83380. var t1, t2, _i, clauseToCheck, _box_0 = {};
  83381. _box_0.clause = node.lastClause;
  83382. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  83383. clauseToCheck = t1[_i];
  83384. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  83385. _box_0.clause = clauseToCheck;
  83386. break;
  83387. }
  83388. }
  83389. t1 = _box_0.clause;
  83390. if (t1 == null)
  83391. return null;
  83392. return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure1(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value_2);
  83393. },
  83394. visitImportRule$1(node) {
  83395. var t1, t2, t3, t4, t5, t6, _i, $import, t7, tuple, $self, t8, _this = this,
  83396. _s8_ = "__parent",
  83397. _s5_ = "_root",
  83398. _s13_ = "_endOfImports";
  83399. 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) {
  83400. $import = t1[_i];
  83401. if ($import instanceof A.DynamicImport0)
  83402. _this._evaluate0$_visitDynamicImport$1($import);
  83403. else {
  83404. t5._as($import);
  83405. t7 = $import.url;
  83406. tuple = _this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(t7, true, false);
  83407. $self = $import.modifiers;
  83408. t8 = $self == null ? null : t4.call$1($self);
  83409. node = new A.ModifiableCssImport0(new A.CssValue0(tuple.item1, t7.span, t3), t8, $import.span);
  83410. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  83411. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
  83412. 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)) {
  83413. t7 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  83414. node._node$_parent = t7;
  83415. t7 = t7._node$_children;
  83416. node._node$_indexInParent = t7.length;
  83417. t7.push(node);
  83418. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  83419. } else {
  83420. t7 = _this._evaluate0$_outOfOrderImports;
  83421. (t7 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  83422. }
  83423. }
  83424. }
  83425. return null;
  83426. },
  83427. _evaluate0$_visitDynamicImport$1($import) {
  83428. return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
  83429. },
  83430. _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  83431. var importCache, parsedUrl, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this,
  83432. _s11_ = "_stylesheet";
  83433. baseUrl = baseUrl;
  83434. try {
  83435. _this._evaluate0$_importSpan = span;
  83436. importCache = _this._evaluate0$_importCache;
  83437. if (importCache != null) {
  83438. parsedUrl = A.Uri_parse(url);
  83439. if (baseUrl == null)
  83440. baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url;
  83441. tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, parsedUrl, _this._evaluate0$_importer, baseUrl, forImport);
  83442. if (tuple != null) {
  83443. _this._evaluate0$_loadedUrls.add$1(0, tuple.item2);
  83444. isDependency = _this._evaluate0$_inDependency || tuple.item1 !== _this._evaluate0$_importer;
  83445. t1 = tuple.item1;
  83446. t2 = tuple.item2;
  83447. t3 = tuple.item3;
  83448. t4 = _this._evaluate0$_quietDeps && isDependency;
  83449. stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
  83450. if (stylesheet != null) {
  83451. t1 = tuple.item1;
  83452. return new A._LoadedStylesheet1(stylesheet, t1, isDependency);
  83453. }
  83454. }
  83455. } else {
  83456. t1 = baseUrl;
  83457. result = _this._evaluate0$_importLikeNode$3(url, t1 == null ? _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url : t1, forImport);
  83458. if (result != null) {
  83459. t1 = _this._evaluate0$_loadedUrls;
  83460. A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
  83461. return result;
  83462. }
  83463. }
  83464. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  83465. throw A.wrapException(string$.x22packa);
  83466. else
  83467. throw A.wrapException("Can't find stylesheet to import.");
  83468. } catch (exception) {
  83469. t1 = A.unwrapException(exception);
  83470. if (t1 instanceof A.SassException0)
  83471. throw exception;
  83472. else if (t1 instanceof A.ArgumentError) {
  83473. error = t1;
  83474. stackTrace = A.getTraceFromException(exception);
  83475. A.throwWithTrace0(_this._evaluate0$_exception$1(J.toString$0$(error)), stackTrace);
  83476. } else {
  83477. error0 = t1;
  83478. stackTrace0 = A.getTraceFromException(exception);
  83479. message = null;
  83480. try {
  83481. message = A._asString(J.get$message$x(error0));
  83482. } catch (exception) {
  83483. message0 = J.toString$0$(error0);
  83484. message = message0;
  83485. }
  83486. A.throwWithTrace0(_this._evaluate0$_exception$1(message), stackTrace0);
  83487. }
  83488. } finally {
  83489. _this._evaluate0$_importSpan = null;
  83490. }
  83491. },
  83492. _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  83493. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  83494. },
  83495. _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  83496. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  83497. },
  83498. _evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  83499. var isDependency, url, t2, _this = this,
  83500. t1 = _this._evaluate0$_nodeImporter,
  83501. result = t1.loadRelative$3(originalUrl, previous, forImport);
  83502. if (result != null)
  83503. isDependency = _this._evaluate0$_inDependency;
  83504. else {
  83505. result = t1.load$3(0, originalUrl, previous, forImport);
  83506. if (result == null)
  83507. return null;
  83508. isDependency = true;
  83509. }
  83510. url = result.item2;
  83511. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  83512. t2 = _this._evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : _this._evaluate0$_logger;
  83513. return new A._LoadedStylesheet1(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
  83514. },
  83515. visitIncludeRule$1(node) {
  83516. var nodeWithSpan, t1, _this = this,
  83517. _s37_ = "Mixin doesn't accept a content block.",
  83518. mixin = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure7(_this, node));
  83519. if (mixin == null)
  83520. throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", node.span));
  83521. nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure8(node));
  83522. if (mixin instanceof A.BuiltInCallable0) {
  83523. if (node.content != null)
  83524. throw A.wrapException(_this._evaluate0$_exception$2(_s37_, node.span));
  83525. _this._evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
  83526. } else if (type$.UserDefinedCallable_Environment_2._is(mixin)) {
  83527. t1 = node.content;
  83528. if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
  83529. 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()), null));
  83530. _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);
  83531. } else
  83532. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  83533. return null;
  83534. },
  83535. visitMixinRule$1(node) {
  83536. var t1 = this._evaluate0$_environment,
  83537. t2 = t1.closure$0(),
  83538. t3 = this._evaluate0$_inDependency,
  83539. t4 = t1._environment0$_mixins,
  83540. index = t4.length - 1,
  83541. t5 = node.name;
  83542. t1._environment0$_mixinIndices.$indexSet(0, t5, index);
  83543. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  83544. return null;
  83545. },
  83546. visitLoudComment$1(node) {
  83547. var t1, _this = this,
  83548. _s8_ = "__parent",
  83549. _s13_ = "_endOfImports";
  83550. if (_this._evaluate0$_inFunction)
  83551. return null;
  83552. 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))
  83553. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  83554. t1 = node.text;
  83555. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(_this._evaluate0$_performInterpolation$1(t1), t1.span));
  83556. return null;
  83557. },
  83558. visitMediaRule$1(node) {
  83559. var tuple, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  83560. if (_this._evaluate0$_declarationName != null)
  83561. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  83562. tuple = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.query, true);
  83563. queries = A.CssMediaQuery_parseList0(tuple.item1, tuple.item2, _this._evaluate0$_logger);
  83564. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
  83565. t1 = mergedQueries == null;
  83566. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  83567. return null;
  83568. if (t1)
  83569. mergedSources = B.Set_empty5;
  83570. else {
  83571. t2 = _this._evaluate0$_mediaQuerySources;
  83572. t2.toString;
  83573. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  83574. t3 = _this._evaluate0$_mediaQueries;
  83575. t3.toString;
  83576. t2.addAll$1(0, t3);
  83577. t2.addAll$1(0, queries);
  83578. mergedSources = t2;
  83579. }
  83580. t1 = t1 ? queries : mergedQueries;
  83581. _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);
  83582. return null;
  83583. },
  83584. _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  83585. var t1, t2, t3, t4, t5, result,
  83586. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  83587. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
  83588. t4 = t1.get$current(t1);
  83589. for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
  83590. result = t4.merge$1(t5.get$current(t5));
  83591. if (result === B._SingletonCssMediaQueryMergeResult_empty0)
  83592. continue;
  83593. if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
  83594. return null;
  83595. queries.push(t3._as(result).query);
  83596. }
  83597. }
  83598. return queries;
  83599. },
  83600. visitReturnRule$1(node) {
  83601. var t1 = node.expression;
  83602. return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
  83603. },
  83604. visitSilentComment$1(node) {
  83605. return null;
  83606. },
  83607. visitStyleRule$1(node) {
  83608. var t1, tuple, selectorText, selectorMap, t2, parsedSelector, rule, oldAtRootExcludingStyleRule, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null,
  83609. _s11_ = "_stylesheet",
  83610. _s8_ = "__parent";
  83611. if (_this._evaluate0$_declarationName != null)
  83612. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
  83613. t1 = node.selector;
  83614. tuple = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true);
  83615. selectorText = tuple.item1;
  83616. selectorMap = tuple.item2;
  83617. if (_this._evaluate0$_inKeyframes) {
  83618. _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);
  83619. return _null;
  83620. }
  83621. 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);
  83622. t2 = _this._evaluate0$_styleRuleIgnoringAtRoot;
  83623. t2 = t2 == null ? _null : t2.originalSelector;
  83624. parsedSelector = t1.resolveParentSelectors$2$implicitParent(t2, !_this._evaluate0$_atRootExcludingStyleRule);
  83625. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._evaluate0$_mediaQueries), node.span, parsedSelector);
  83626. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  83627. _this._evaluate0$_atRootExcludingStyleRule = false;
  83628. _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);
  83629. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  83630. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  83631. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  83632. complex = t1[_i];
  83633. if (!complex.accept$1(B._IsBogusVisitor_true0))
  83634. continue;
  83635. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  83636. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  83637. complex.accept$1(visitor);
  83638. _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);
  83639. } else if (complex.leadingCombinators.length !== 0) {
  83640. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  83641. complex.accept$1(visitor);
  83642. _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);
  83643. } else {
  83644. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  83645. complex.accept$1(visitor);
  83646. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  83647. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  83648. t8 = A.SpanExtensions_trimRight0(complex.span);
  83649. if (t5.get$length(t5) === 0)
  83650. A.throwExpression(A.IterableElementError_noElement());
  83651. t9 = J.get$span$z(t5.$index(0, 0));
  83652. _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);
  83653. }
  83654. }
  83655. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
  83656. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  83657. t1 = !t1.get$isEmpty(t1);
  83658. } else
  83659. t1 = false;
  83660. if (t1) {
  83661. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  83662. t1.get$last(t1).isGroupEnd = true;
  83663. }
  83664. return _null;
  83665. },
  83666. visitSupportsRule$1(node) {
  83667. var t1, _this = this;
  83668. if (_this._evaluate0$_declarationName != null)
  83669. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  83670. t1 = node.condition;
  83671. _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);
  83672. return null;
  83673. },
  83674. _evaluate0$_visitSupportsCondition$1(condition) {
  83675. var t1, oldInSupportsDeclaration, t2, t3, _this = this;
  83676. if (condition instanceof A.SupportsOperation0) {
  83677. t1 = condition.operator;
  83678. return _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
  83679. } else if (condition instanceof A.SupportsNegation0)
  83680. return "not " + _this._evaluate0$_parenthesize$1(condition.condition);
  83681. else if (condition instanceof A.SupportsInterpolation0) {
  83682. t1 = condition.expression;
  83683. return _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
  83684. } else if (condition instanceof A.SupportsDeclaration0) {
  83685. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  83686. _this._evaluate0$_inSupportsDeclaration = true;
  83687. t1 = condition.name;
  83688. t1 = _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, true);
  83689. t2 = condition.get$isCustomProperty() ? "" : " ";
  83690. t3 = condition.value;
  83691. t3 = _this._evaluate0$_serialize$3$quote(t3.accept$1(_this), t3, true);
  83692. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  83693. return "(" + t1 + ":" + t2 + t3 + ")";
  83694. } else if (condition instanceof A.SupportsFunction0)
  83695. return _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
  83696. else if (condition instanceof A.SupportsAnything0)
  83697. return "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
  83698. else
  83699. throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  83700. },
  83701. _evaluate0$_parenthesize$2(condition, operator) {
  83702. var t1;
  83703. if (!(condition instanceof A.SupportsNegation0))
  83704. if (condition instanceof A.SupportsOperation0)
  83705. t1 = operator == null || operator !== condition.operator;
  83706. else
  83707. t1 = false;
  83708. else
  83709. t1 = true;
  83710. if (t1)
  83711. return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
  83712. else
  83713. return this._evaluate0$_visitSupportsCondition$1(condition);
  83714. },
  83715. _evaluate0$_parenthesize$1(condition) {
  83716. return this._evaluate0$_parenthesize$2(condition, null);
  83717. },
  83718. visitVariableDeclaration$1(node) {
  83719. var t1, value, _this = this, _null = null;
  83720. if (node.isGuarded) {
  83721. if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
  83722. t1 = _this._evaluate0$_configuration._configuration$_values;
  83723. t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
  83724. if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
  83725. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(_this, node, t1));
  83726. return _null;
  83727. }
  83728. }
  83729. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
  83730. if (value != null && !value.$eq(0, B.C__SassNull0))
  83731. return _null;
  83732. }
  83733. if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
  83734. 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.";
  83735. _this._evaluate0$_warn$3(t1, node.span, B.Deprecation_wKk);
  83736. }
  83737. t1 = node.expression;
  83738. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
  83739. return _null;
  83740. },
  83741. visitUseRule$1(node) {
  83742. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  83743. t1 = node.configuration,
  83744. t2 = t1.length;
  83745. if (t2 !== 0) {
  83746. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  83747. for (_i = 0; _i < t2; ++_i) {
  83748. variable = t1[_i];
  83749. t3 = variable.expression;
  83750. variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
  83751. values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  83752. }
  83753. configuration = new A.ExplicitConfiguration0(node, values, null);
  83754. } else
  83755. configuration = B.Configuration_Map_empty_null0;
  83756. _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
  83757. _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
  83758. return null;
  83759. },
  83760. visitWarnRule$1(node) {
  83761. var _this = this,
  83762. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
  83763. t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression);
  83764. _this._evaluate0$_logger.warn$2$trace(0, t1, _this._evaluate0$_stackTrace$1(node.span));
  83765. return null;
  83766. },
  83767. visitWhileRule$1(node) {
  83768. return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  83769. },
  83770. visitBinaryOperationExpression$1(node) {
  83771. return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(this, node));
  83772. },
  83773. visitValueExpression$1(node) {
  83774. return node.value;
  83775. },
  83776. visitVariableExpression$1(node) {
  83777. var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
  83778. if (result != null)
  83779. return result;
  83780. throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
  83781. },
  83782. visitUnaryOperationExpression$1(node) {
  83783. return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
  83784. },
  83785. visitBooleanExpression$1(node) {
  83786. return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  83787. },
  83788. visitIfExpression$1(node) {
  83789. var condition, t2, ifTrue, ifFalse, result, _this = this,
  83790. pair = _this._evaluate0$_evaluateMacroArguments$1(node),
  83791. positional = pair.item1,
  83792. named = pair.item2,
  83793. t1 = J.getInterceptor$asx(positional);
  83794. _this._evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
  83795. if (t1.get$length(positional) > 0)
  83796. condition = t1.$index(positional, 0);
  83797. else {
  83798. t2 = named.$index(0, "condition");
  83799. t2.toString;
  83800. condition = t2;
  83801. }
  83802. if (t1.get$length(positional) > 1)
  83803. ifTrue = t1.$index(positional, 1);
  83804. else {
  83805. t2 = named.$index(0, "if-true");
  83806. t2.toString;
  83807. ifTrue = t2;
  83808. }
  83809. if (t1.get$length(positional) > 2)
  83810. ifFalse = t1.$index(positional, 2);
  83811. else {
  83812. t1 = named.$index(0, "if-false");
  83813. t1.toString;
  83814. ifFalse = t1;
  83815. }
  83816. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  83817. return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
  83818. },
  83819. visitNullExpression$1(node) {
  83820. return B.C__SassNull0;
  83821. },
  83822. visitNumberExpression$1(node) {
  83823. return A.SassNumber_SassNumber0(node.value, node.unit);
  83824. },
  83825. visitParenthesizedExpression$1(node) {
  83826. return node.expression.accept$1(this);
  83827. },
  83828. visitCalculationExpression$1(node) {
  83829. var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, _this = this,
  83830. t1 = A._setArrayType([], type$.JSArray_Object);
  83831. for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
  83832. argument = t2[_i];
  83833. t1.push(_this._evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6));
  83834. }
  83835. $arguments = t1;
  83836. if (_this._evaluate0$_inSupportsDeclaration)
  83837. return new A.SassCalculation0(t4, A.List_List$unmodifiable($arguments, type$.Object));
  83838. try {
  83839. switch (t4) {
  83840. case "calc":
  83841. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  83842. return t1;
  83843. case "min":
  83844. t1 = A.SassCalculation_min0($arguments);
  83845. return t1;
  83846. case "max":
  83847. t1 = A.SassCalculation_max0($arguments);
  83848. return t1;
  83849. case "clamp":
  83850. t1 = J.$index$asx($arguments, 0);
  83851. t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
  83852. t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
  83853. return t1;
  83854. default:
  83855. t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
  83856. throw A.wrapException(t1);
  83857. }
  83858. } catch (exception) {
  83859. t1 = A.unwrapException(exception);
  83860. if (t1 instanceof A.SassScriptException0) {
  83861. error = t1;
  83862. stackTrace = A.getTraceFromException(exception);
  83863. _this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  83864. A.throwWithTrace0(_this._evaluate0$_exception$2(error.message, node.span), stackTrace);
  83865. } else
  83866. throw exception;
  83867. }
  83868. },
  83869. _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  83870. var i, t1, arg, number1, j, number2;
  83871. for (i = 0; t1 = args.length, i < t1; ++i) {
  83872. arg = args[i];
  83873. if (!(arg instanceof A.SassNumber0))
  83874. continue;
  83875. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  83876. throw A.wrapException(this._evaluate0$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  83877. }
  83878. for (i = 0; i < t1 - 1; ++i) {
  83879. number1 = args[i];
  83880. if (!(number1 instanceof A.SassNumber0))
  83881. continue;
  83882. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  83883. number2 = args[j];
  83884. if (!(number2 instanceof A.SassNumber0))
  83885. continue;
  83886. if (number1.hasPossiblyCompatibleUnits$1(number2))
  83887. continue;
  83888. throw A.wrapException(A.MultiSpanSassRuntimeException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", J.get$span$z(nodesWithSpans[i]), number1.toString$0(0), A.LinkedHashMap_LinkedHashMap$_literal([J.get$span$z(nodesWithSpans[j]), number2.toString$0(0)], type$.FileSpan, type$.String), this._evaluate0$_stackTrace$1(J.get$span$z(nodesWithSpans[i])), null));
  83889. }
  83890. }
  83891. },
  83892. _evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
  83893. var inner, result, t1, text, _this = this, _null = null;
  83894. if (node instanceof A.ParenthesizedExpression0) {
  83895. inner = node.expression;
  83896. result = _this._evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax);
  83897. if (inner instanceof A.FunctionExpression0)
  83898. t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
  83899. else
  83900. t1 = false;
  83901. return t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  83902. } else if (node instanceof A.StringExpression0) {
  83903. t1 = node.text;
  83904. text = t1.get$asPlain();
  83905. if (text == null)
  83906. return new A.CalculationInterpolation0(_this._evaluate0$_performInterpolation$1(t1));
  83907. switch (text.toLowerCase()) {
  83908. case "pi":
  83909. return A.SassNumber_SassNumber0(3.141592653589793, _null);
  83910. case "e":
  83911. return A.SassNumber_SassNumber0(2.718281828459045, _null);
  83912. case "infinity":
  83913. return A.SassNumber_SassNumber0(1 / 0, _null);
  83914. case "-infinity":
  83915. return A.SassNumber_SassNumber0(-1 / 0, _null);
  83916. case "nan":
  83917. return A.SassNumber_SassNumber0(0 / 0, _null);
  83918. default:
  83919. return new A.SassString0(text, false);
  83920. }
  83921. } else if (node instanceof A.BinaryOperationExpression0)
  83922. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure1(_this, node, inMinMax));
  83923. else {
  83924. result = node.accept$1(_this);
  83925. if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0)
  83926. return result;
  83927. if (result instanceof A.SassString0 && !result._string0$_hasQuotes)
  83928. return result;
  83929. throw A.wrapException(_this._evaluate0$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  83930. }
  83931. },
  83932. _evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
  83933. switch (operator) {
  83934. case B.BinaryOperator_anB0:
  83935. return B.CalculationOperator_IyK0;
  83936. case B.BinaryOperator_olz0:
  83937. return B.CalculationOperator_2bx0;
  83938. case B.BinaryOperator_qN20:
  83939. return B.CalculationOperator_jFr0;
  83940. case B.BinaryOperator_t8B0:
  83941. return B.CalculationOperator_OvN0;
  83942. default:
  83943. throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
  83944. }
  83945. },
  83946. visitColorExpression$1(node) {
  83947. return node.value;
  83948. },
  83949. visitListExpression$1(node) {
  83950. var t1 = node.contents;
  83951. 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);
  83952. },
  83953. visitMapExpression$1(node) {
  83954. var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
  83955. t1 = type$.Value_2,
  83956. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  83957. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  83958. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  83959. pair = t2[_i];
  83960. t4 = pair.item1;
  83961. keyValue = t4.accept$1(this);
  83962. valueValue = pair.item2.accept$1(this);
  83963. if (map.$index(0, keyValue) != null) {
  83964. t1 = keyNodes.$index(0, keyValue);
  83965. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  83966. t1 = J.getInterceptor$z(t4);
  83967. t2 = t1.get$span(t4);
  83968. t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  83969. if (oldValueSpan != null)
  83970. t3.$indexSet(0, oldValueSpan, "first key");
  83971. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, this._evaluate0$_stackTrace$1(t1.get$span(t4)), null));
  83972. }
  83973. map.$indexSet(0, keyValue, valueValue);
  83974. keyNodes.$indexSet(0, keyValue, t4);
  83975. }
  83976. return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  83977. },
  83978. visitFunctionExpression$1(node) {
  83979. var oldInFunction, result, _this = this, t1 = {},
  83980. $function = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure3(_this, node));
  83981. t1.$function = $function;
  83982. if ($function == null) {
  83983. if (node.namespace != null)
  83984. throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
  83985. t1.$function = new A.PlainCssCallable0(node.originalName);
  83986. }
  83987. oldInFunction = _this._evaluate0$_inFunction;
  83988. _this._evaluate0$_inFunction = true;
  83989. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure4(t1, _this, node));
  83990. _this._evaluate0$_inFunction = oldInFunction;
  83991. return result;
  83992. },
  83993. visitInterpolatedFunctionExpression$1(node) {
  83994. var result, _this = this,
  83995. t1 = _this._evaluate0$_performInterpolation$1(node.name),
  83996. oldInFunction = _this._evaluate0$_inFunction;
  83997. _this._evaluate0$_inFunction = true;
  83998. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
  83999. _this._evaluate0$_inFunction = oldInFunction;
  84000. return result;
  84001. },
  84002. _evaluate0$_getFunction$2$namespace($name, namespace) {
  84003. var local = this._evaluate0$_environment.getFunction$2$namespace($name, namespace);
  84004. if (local != null || namespace != null)
  84005. return local;
  84006. return this._evaluate0$_builtInFunctions.$index(0, $name);
  84007. },
  84008. _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  84009. var oldCallable, result, _this = this,
  84010. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  84011. $name = callable.declaration.name;
  84012. if ($name !== "@content")
  84013. $name += "()";
  84014. oldCallable = _this._evaluate0$_currentCallable;
  84015. _this._evaluate0$_currentCallable = callable;
  84016. result = _this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(_this, callable, evaluated, nodeWithSpan, run, $V));
  84017. _this._evaluate0$_currentCallable = oldCallable;
  84018. return result;
  84019. },
  84020. _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  84021. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, exception, _this = this;
  84022. if (callable instanceof A.BuiltInCallable0)
  84023. return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  84024. else if (type$.UserDefinedCallable_Environment_2._is(callable))
  84025. return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
  84026. else if (callable instanceof A.PlainCssCallable0) {
  84027. t1 = $arguments.named;
  84028. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  84029. throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  84030. buffer = new A.StringBuffer(callable.name + "(");
  84031. try {
  84032. first = true;
  84033. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  84034. argument = t1[_i];
  84035. if (first)
  84036. first = false;
  84037. else
  84038. buffer._contents += ", ";
  84039. t3 = argument;
  84040. buffer._contents += _this._evaluate0$_serialize$3$quote(t3.accept$1(_this), t3, true);
  84041. }
  84042. restArg = $arguments.rest;
  84043. if (restArg != null) {
  84044. rest = restArg.accept$1(_this);
  84045. if (!first)
  84046. buffer._contents += ", ";
  84047. buffer._contents += _this._evaluate0$_serialize$2(rest, restArg);
  84048. }
  84049. } catch (exception) {
  84050. t1 = A.unwrapException(exception);
  84051. if (type$.SassRuntimeException_2._is(t1)) {
  84052. error = t1;
  84053. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  84054. throw exception;
  84055. throw A.wrapException(A.MultiSpanSassRuntimeException$0(error._span_exception$_message, J.get$span$z(error), "value", A.LinkedHashMap_LinkedHashMap$_literal([nodeWithSpan.get$span(nodeWithSpan), "unknown function treated as plain CSS"], type$.FileSpan, type$.String), J.get$trace$z(error), null));
  84056. } else
  84057. throw exception;
  84058. }
  84059. buffer._contents += A.Primitives_stringFromCharCode(41);
  84060. t1 = buffer._contents;
  84061. return new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  84062. } else
  84063. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  84064. },
  84065. _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  84066. var callback, result, error, stackTrace, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, message0, _this = this,
  84067. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  84068. oldCallableNode = _this._evaluate0$_callableNode;
  84069. _this._evaluate0$_callableNode = nodeWithSpan;
  84070. namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
  84071. tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
  84072. overload = tuple.item1;
  84073. callback = tuple.item2;
  84074. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(overload, evaluated, namedSet));
  84075. declaredArguments = overload.$arguments;
  84076. for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
  84077. argument = declaredArguments[i];
  84078. t2 = evaluated.positional;
  84079. t3 = evaluated.named.remove$1(0, argument.name);
  84080. if (t3 == null) {
  84081. t3 = argument.defaultValue;
  84082. t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
  84083. }
  84084. t2.push(t3);
  84085. }
  84086. if (overload.restArgument != null) {
  84087. if (evaluated.positional.length > t1) {
  84088. rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
  84089. B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
  84090. } else
  84091. rest = B.List_empty19;
  84092. t1 = evaluated.named;
  84093. argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : evaluated.separator);
  84094. evaluated.positional.push(argumentList);
  84095. } else
  84096. argumentList = null;
  84097. result = null;
  84098. try {
  84099. result = _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure6(callback, evaluated));
  84100. } catch (exception) {
  84101. t1 = A.unwrapException(exception);
  84102. if (t1 instanceof A.SassException0)
  84103. throw exception;
  84104. else {
  84105. error = t1;
  84106. stackTrace = A.getTraceFromException(exception);
  84107. message = null;
  84108. try {
  84109. message = A._asString(J.get$message$x(error));
  84110. } catch (exception) {
  84111. message0 = J.toString$0$(error);
  84112. message = message0;
  84113. }
  84114. A.throwWithTrace0(_this._evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace);
  84115. }
  84116. }
  84117. _this._evaluate0$_callableNode = oldCallableNode;
  84118. if (argumentList == null)
  84119. return result;
  84120. if (evaluated.named.__js_helper$_length === 0)
  84121. return result;
  84122. if (argumentList._argument_list$_wereKeywordsAccessed)
  84123. return result;
  84124. t1 = evaluated.named;
  84125. t1 = t1.get$keys(t1);
  84126. t1 = A.pluralize0("argument", t1.get$length(t1), null);
  84127. t2 = evaluated.named;
  84128. 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)), null));
  84129. },
  84130. _evaluate0$_evaluateArguments$1($arguments) {
  84131. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  84132. positional = A._setArrayType([], type$.JSArray_Value_2),
  84133. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  84134. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  84135. expression = t1[_i];
  84136. nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
  84137. positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  84138. positionalNodes.push(nodeForSpan);
  84139. }
  84140. t1 = type$.String;
  84141. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  84142. t2 = type$.AstNode_2;
  84143. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  84144. for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  84145. t4 = t3.get$current(t3);
  84146. t5 = t4.value;
  84147. nodeForSpan = _this._evaluate0$_expressionNode$1(t5);
  84148. t4 = t4.key;
  84149. named.$indexSet(0, t4, _this._evaluate0$_withoutSlash$2(t5.accept$1(_this), nodeForSpan));
  84150. namedNodes.$indexSet(0, t4, nodeForSpan);
  84151. }
  84152. restArgs = $arguments.rest;
  84153. if (restArgs == null)
  84154. return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null_undecided0);
  84155. rest = restArgs.accept$1(_this);
  84156. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
  84157. if (rest instanceof A.SassMap0) {
  84158. _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
  84159. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  84160. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  84161. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  84162. namedNodes.addAll$1(0, t3);
  84163. separator = B.ListSeparator_undecided_null_undecided0;
  84164. } else if (rest instanceof A.SassList0) {
  84165. t3 = rest._list1$_contents;
  84166. 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>")));
  84167. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  84168. separator = rest._list1$_separator;
  84169. if (rest instanceof A.SassArgumentList0) {
  84170. rest._argument_list$_wereKeywordsAccessed = true;
  84171. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
  84172. }
  84173. } else {
  84174. positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  84175. positionalNodes.push(restNodeForSpan);
  84176. separator = B.ListSeparator_undecided_null_undecided0;
  84177. }
  84178. keywordRestArgs = $arguments.keywordRest;
  84179. if (keywordRestArgs == null)
  84180. return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
  84181. keywordRest = keywordRestArgs.accept$1(_this);
  84182. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
  84183. if (keywordRest instanceof A.SassMap0) {
  84184. _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
  84185. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  84186. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  84187. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  84188. namedNodes.addAll$1(0, t1);
  84189. return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
  84190. } else
  84191. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  84192. },
  84193. _evaluate0$_evaluateMacroArguments$1(invocation) {
  84194. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  84195. t1 = invocation.$arguments,
  84196. restArgs_ = t1.rest;
  84197. if (restArgs_ == null)
  84198. return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  84199. t2 = t1.positional;
  84200. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  84201. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  84202. rest = restArgs_.accept$1(_this);
  84203. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
  84204. if (rest instanceof A.SassMap0)
  84205. _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
  84206. else if (rest instanceof A.SassList0) {
  84207. t2 = rest._list1$_contents;
  84208. 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>")));
  84209. if (rest instanceof A.SassArgumentList0) {
  84210. rest._argument_list$_wereKeywordsAccessed = true;
  84211. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
  84212. }
  84213. } else
  84214. positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  84215. keywordRestArgs_ = t1.keywordRest;
  84216. if (keywordRestArgs_ == null)
  84217. return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  84218. keywordRest = keywordRestArgs_.accept$1(_this);
  84219. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
  84220. if (keywordRest instanceof A.SassMap0) {
  84221. _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
  84222. return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  84223. } else
  84224. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  84225. },
  84226. _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  84227. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  84228. },
  84229. _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  84230. return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  84231. },
  84232. _evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  84233. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1($arguments, positional, named));
  84234. },
  84235. visitSelectorExpression$1(node) {
  84236. var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
  84237. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  84238. return t1 == null ? B.C__SassNull0 : t1;
  84239. },
  84240. visitStringExpression$1(node) {
  84241. var t1, _this = this,
  84242. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  84243. _this._evaluate0$_inSupportsDeclaration = false;
  84244. t1 = node.text.contents;
  84245. t1 = new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure1(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  84246. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  84247. return new A.SassString0(t1, node.hasQuotes);
  84248. },
  84249. visitSupportsExpression$1(expression) {
  84250. return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(expression.condition), false);
  84251. },
  84252. visitCssAtRule$1(node) {
  84253. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  84254. if (_this._evaluate0$_declarationName != null)
  84255. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  84256. if (node.isChildless) {
  84257. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  84258. return;
  84259. }
  84260. wasInKeyframes = _this._evaluate0$_inKeyframes;
  84261. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  84262. t1 = node.name;
  84263. if (A.unvendor0(t1.value) === "keyframes")
  84264. _this._evaluate0$_inKeyframes = true;
  84265. else
  84266. _this._evaluate0$_inUnknownAtRule = true;
  84267. _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);
  84268. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  84269. _this._evaluate0$_inKeyframes = wasInKeyframes;
  84270. },
  84271. visitCssComment$1(node) {
  84272. var _this = this,
  84273. _s8_ = "__parent",
  84274. _s13_ = "_endOfImports";
  84275. 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))
  84276. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  84277. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  84278. },
  84279. visitCssDeclaration$1(node) {
  84280. var t1 = node.name;
  84281. 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));
  84282. },
  84283. visitCssImport$1(node) {
  84284. var t1, _this = this,
  84285. _s8_ = "__parent",
  84286. _s5_ = "_root",
  84287. _s13_ = "_endOfImports",
  84288. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  84289. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  84290. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
  84291. 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)) {
  84292. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
  84293. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  84294. } else {
  84295. t1 = _this._evaluate0$_outOfOrderImports;
  84296. (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  84297. }
  84298. },
  84299. visitCssKeyframeBlock$1(node) {
  84300. 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);
  84301. },
  84302. visitCssMediaRule$1(node) {
  84303. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  84304. if (_this._evaluate0$_declarationName != null)
  84305. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  84306. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
  84307. t1 = mergedQueries == null;
  84308. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  84309. return;
  84310. if (t1)
  84311. mergedSources = B.Set_empty5;
  84312. else {
  84313. t2 = _this._evaluate0$_mediaQuerySources;
  84314. t2.toString;
  84315. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  84316. t3 = _this._evaluate0$_mediaQueries;
  84317. t3.toString;
  84318. t2.addAll$1(0, t3);
  84319. t2.addAll$1(0, node.queries);
  84320. mergedSources = t2;
  84321. }
  84322. t1 = t1 ? node.queries : mergedQueries;
  84323. _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);
  84324. },
  84325. visitCssStyleRule$1(node) {
  84326. var t1, styleRule, t2, t3, t4, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
  84327. _s8_ = "__parent";
  84328. if (_this._evaluate0$_declarationName != null)
  84329. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
  84330. t1 = _this._evaluate0$_atRootExcludingStyleRule;
  84331. styleRule = t1 ? null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  84332. t2 = node._style_rule0$_selector._box0$_inner.value;
  84333. t3 = styleRule == null;
  84334. t4 = t3 ? null : styleRule.originalSelector;
  84335. originalSelector = t2.resolveParentSelectors$2$implicitParent(t4, !t1);
  84336. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._evaluate0$_mediaQueries), node.span, originalSelector);
  84337. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  84338. _this._evaluate0$_atRootExcludingStyleRule = false;
  84339. _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);
  84340. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  84341. if (t3) {
  84342. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  84343. t1 = !t1.get$isEmpty(t1);
  84344. } else
  84345. t1 = false;
  84346. if (t1) {
  84347. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  84348. t1.get$last(t1).isGroupEnd = true;
  84349. }
  84350. },
  84351. visitCssStylesheet$1(node) {
  84352. var t1;
  84353. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  84354. t1.get$current(t1).accept$1(this);
  84355. },
  84356. visitCssSupportsRule$1(node) {
  84357. var _this = this;
  84358. if (_this._evaluate0$_declarationName != null)
  84359. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  84360. _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);
  84361. },
  84362. _evaluate0$_handleReturn$1$2(list, callback) {
  84363. var t1, _i, result;
  84364. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  84365. result = callback.call$1(list[_i]);
  84366. if (result != null)
  84367. return result;
  84368. }
  84369. return null;
  84370. },
  84371. _evaluate0$_handleReturn$2(list, callback) {
  84372. return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  84373. },
  84374. _evaluate0$_withEnvironment$1$2(environment, callback) {
  84375. var result,
  84376. oldEnvironment = this._evaluate0$_environment;
  84377. this._evaluate0$_environment = environment;
  84378. result = callback.call$0();
  84379. this._evaluate0$_environment = oldEnvironment;
  84380. return result;
  84381. },
  84382. _evaluate0$_withEnvironment$2(environment, callback) {
  84383. return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
  84384. },
  84385. _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  84386. var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
  84387. t1 = trim ? A.trimAscii0(result, true) : result;
  84388. return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  84389. },
  84390. _evaluate0$_interpolationToValue$1(interpolation) {
  84391. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  84392. },
  84393. _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  84394. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  84395. },
  84396. _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  84397. return this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, warnForColor).item1;
  84398. },
  84399. _evaluate0$_performInterpolation$1(interpolation) {
  84400. return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  84401. },
  84402. _evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  84403. var tuple = this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  84404. t1 = tuple.item2;
  84405. t1.toString;
  84406. return new A.Tuple2(tuple.item1, t1, type$.Tuple2_String_InterpolationMap_2);
  84407. },
  84408. _evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  84409. var t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, t8, result0, _this = this, _null = null,
  84410. targetLocations = A._setArrayType([], type$.JSArray_SourceLocation),
  84411. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  84412. _this._evaluate0$_inSupportsDeclaration = false;
  84413. 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) {
  84414. value = t1[_i];
  84415. if (!first)
  84416. targetLocations.push(A.SourceLocation$(t7.length, _null, _null, _null));
  84417. if (typeof value == "string") {
  84418. t7 += value;
  84419. continue;
  84420. }
  84421. t3._as(value);
  84422. result = value.accept$1(_this);
  84423. if (warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
  84424. t8 = A._setArrayType([""], t4);
  84425. result0 = A.List_List$from(t8, false, t6);
  84426. result0.fixed$length = Array;
  84427. result0.immutable$list = Array;
  84428. result0 = new A.Interpolation0(result0, t5);
  84429. result0.Interpolation$20(t8, t5);
  84430. t8 = $.$get$namesByColor0();
  84431. _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));
  84432. }
  84433. t7 += _this._evaluate0$_serialize$3$quote(result, value, false);
  84434. }
  84435. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  84436. t1 = A.InterpolationMap$0(interpolation, targetLocations);
  84437. return new A.Tuple2(t7.charCodeAt(0) == 0 ? t7 : t7, t1, type$.Tuple2_of_String_and_nullable_InterpolationMap_2);
  84438. },
  84439. _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  84440. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
  84441. },
  84442. _evaluate0$_serialize$2(value, nodeWithSpan) {
  84443. return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  84444. },
  84445. _evaluate0$_expressionNode$1(expression) {
  84446. var t1;
  84447. if (expression instanceof A.VariableExpression0) {
  84448. t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
  84449. return t1 == null ? expression : t1;
  84450. } else
  84451. return expression;
  84452. },
  84453. _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  84454. var t1, result, _this = this;
  84455. _this._evaluate0$_addChild$2$through(node, through);
  84456. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  84457. _this._evaluate0$__parent = node;
  84458. result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
  84459. _this._evaluate0$__parent = t1;
  84460. return result;
  84461. },
  84462. _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  84463. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  84464. },
  84465. _evaluate0$_withParent$2$2(node, callback, $S, $T) {
  84466. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  84467. },
  84468. _evaluate0$_addChild$2$through(node, through) {
  84469. var grandparent, t1,
  84470. $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
  84471. if (through != null) {
  84472. for (; through.call$1($parent); $parent = grandparent) {
  84473. grandparent = $parent._node$_parent;
  84474. if (grandparent == null)
  84475. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  84476. }
  84477. if ($parent.get$hasFollowingSibling()) {
  84478. grandparent = $parent._node$_parent;
  84479. t1 = grandparent.children;
  84480. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  84481. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  84482. else {
  84483. $parent = $parent.copyWithoutChildren$0();
  84484. grandparent.addChild$1($parent);
  84485. }
  84486. }
  84487. }
  84488. $parent.addChild$1(node);
  84489. },
  84490. _evaluate0$_addChild$1(node) {
  84491. return this._evaluate0$_addChild$2$through(node, null);
  84492. },
  84493. _evaluate0$_withStyleRule$1$2(rule, callback) {
  84494. var result,
  84495. oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
  84496. this._evaluate0$_styleRuleIgnoringAtRoot = rule;
  84497. result = callback.call$0();
  84498. this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  84499. return result;
  84500. },
  84501. _evaluate0$_withStyleRule$2(rule, callback) {
  84502. return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
  84503. },
  84504. _evaluate0$_withMediaQueries$1$3(queries, sources, callback) {
  84505. var result, _this = this,
  84506. oldMediaQueries = _this._evaluate0$_mediaQueries,
  84507. oldSources = _this._evaluate0$_mediaQuerySources;
  84508. _this._evaluate0$_mediaQueries = queries;
  84509. _this._evaluate0$_mediaQuerySources = sources;
  84510. result = callback.call$0();
  84511. _this._evaluate0$_mediaQueries = oldMediaQueries;
  84512. _this._evaluate0$_mediaQuerySources = oldSources;
  84513. return result;
  84514. },
  84515. _evaluate0$_withMediaQueries$3(queries, sources, callback) {
  84516. return this._evaluate0$_withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  84517. },
  84518. _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
  84519. var oldMember, result, _this = this,
  84520. t1 = _this._evaluate0$_stack;
  84521. t1.push(new A.Tuple2(_this._evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
  84522. oldMember = _this._evaluate0$_member;
  84523. _this._evaluate0$_member = member;
  84524. result = callback.call$0();
  84525. _this._evaluate0$_member = oldMember;
  84526. t1.pop();
  84527. return result;
  84528. },
  84529. _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
  84530. return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  84531. },
  84532. _evaluate0$_withoutSlash$2(value, nodeForSpan) {
  84533. if (value instanceof A.SassNumber0 && value.asSlash != null)
  84534. 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);
  84535. return value.withoutSlash$0();
  84536. },
  84537. _evaluate0$_stackFrame$2(member, span) {
  84538. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure1(this)));
  84539. },
  84540. _evaluate0$_stackTrace$1(span) {
  84541. var _this = this,
  84542. t1 = _this._evaluate0$_stack;
  84543. 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);
  84544. if (span != null)
  84545. t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
  84546. return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
  84547. },
  84548. _evaluate0$_stackTrace$0() {
  84549. return this._evaluate0$_stackTrace$1(null);
  84550. },
  84551. _evaluate0$_warn$3(message, span, deprecation) {
  84552. var t1, trace, _this = this;
  84553. if (_this._evaluate0$_quietDeps)
  84554. if (!_this._evaluate0$_inDependency) {
  84555. t1 = _this._evaluate0$_currentCallable;
  84556. t1 = t1 == null ? null : t1.inDependency;
  84557. t1 = t1 === true;
  84558. } else
  84559. t1 = true;
  84560. else
  84561. t1 = false;
  84562. if (t1)
  84563. return;
  84564. if (!_this._evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
  84565. return;
  84566. trace = _this._evaluate0$_stackTrace$1(span);
  84567. t1 = _this._evaluate0$_logger;
  84568. if (deprecation == null)
  84569. t1.warn$3$span$trace(0, message, span, trace);
  84570. else
  84571. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  84572. },
  84573. _evaluate0$_warn$2(message, span) {
  84574. return this._evaluate0$_warn$3(message, span, null);
  84575. },
  84576. _evaluate0$_exception$2(message, span) {
  84577. var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2) : span,
  84578. t2 = this._evaluate0$_stackTrace$1(span);
  84579. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  84580. },
  84581. _evaluate0$_exception$1(message) {
  84582. return this._evaluate0$_exception$2(message, null);
  84583. },
  84584. _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  84585. return A.MultiSpanSassRuntimeException$0(message, J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2), primaryLabel, secondaryLabels, this._evaluate0$_stackTrace$0(), null);
  84586. },
  84587. _evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  84588. var error, stackTrace, t1, exception;
  84589. try {
  84590. t1 = callback.call$0();
  84591. return t1;
  84592. } catch (exception) {
  84593. t1 = A.unwrapException(exception);
  84594. if (t1 instanceof A.SassScriptException0) {
  84595. error = t1;
  84596. stackTrace = A.getTraceFromException(exception);
  84597. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  84598. A.throwWithTrace0(t1.withTrace$1(this._evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), stackTrace);
  84599. } else
  84600. throw exception;
  84601. }
  84602. },
  84603. _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  84604. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  84605. },
  84606. _evaluate0$_addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  84607. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  84608. },
  84609. _evaluate0$_addExceptionTrace$1$1(callback) {
  84610. var error, stackTrace, t1, exception, t2;
  84611. try {
  84612. t1 = callback.call$0();
  84613. return t1;
  84614. } catch (exception) {
  84615. t1 = A.unwrapException(exception);
  84616. if (type$.SassRuntimeException_2._is(t1))
  84617. throw exception;
  84618. else if (t1 instanceof A.SassException0) {
  84619. error = t1;
  84620. stackTrace = A.getTraceFromException(exception);
  84621. t1 = error;
  84622. t2 = J.getInterceptor$z(t1);
  84623. A.throwWithTrace0(error.withTrace$1(this._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), stackTrace);
  84624. } else
  84625. throw exception;
  84626. }
  84627. },
  84628. _evaluate0$_addExceptionTrace$1(callback) {
  84629. return this._evaluate0$_addExceptionTrace$1$1(callback, type$.dynamic);
  84630. },
  84631. _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
  84632. var error, stackTrace, t1, exception, t2, t3;
  84633. try {
  84634. t1 = callback.call$0();
  84635. return t1;
  84636. } catch (exception) {
  84637. t1 = A.unwrapException(exception);
  84638. if (type$.SassRuntimeException_2._is(t1)) {
  84639. error = t1;
  84640. stackTrace = A.getTraceFromException(exception);
  84641. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  84642. throw exception;
  84643. t1 = error._span_exception$_message;
  84644. t2 = nodeWithSpan.get$span(nodeWithSpan);
  84645. t3 = this._evaluate0$_stackTrace$0();
  84646. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), stackTrace);
  84647. } else
  84648. throw exception;
  84649. }
  84650. },
  84651. _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
  84652. return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  84653. }
  84654. };
  84655. A._EvaluateVisitor_closure19.prototype = {
  84656. call$1($arguments) {
  84657. var module, t2,
  84658. t1 = J.getInterceptor$asx($arguments),
  84659. variable = t1.$index($arguments, 0).assertString$1("name");
  84660. t1 = t1.$index($arguments, 1).get$realNull();
  84661. module = t1 == null ? null : t1.assertString$1("module");
  84662. t1 = this.$this._evaluate0$_environment;
  84663. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  84664. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  84665. },
  84666. $signature: 20
  84667. };
  84668. A._EvaluateVisitor_closure20.prototype = {
  84669. call$1($arguments) {
  84670. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  84671. t1 = this.$this._evaluate0$_environment;
  84672. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  84673. },
  84674. $signature: 20
  84675. };
  84676. A._EvaluateVisitor_closure21.prototype = {
  84677. call$1($arguments) {
  84678. var module, t2, t3, t4,
  84679. t1 = J.getInterceptor$asx($arguments),
  84680. variable = t1.$index($arguments, 0).assertString$1("name");
  84681. t1 = t1.$index($arguments, 1).get$realNull();
  84682. module = t1 == null ? null : t1.assertString$1("module");
  84683. t1 = this.$this;
  84684. t2 = t1._evaluate0$_environment;
  84685. t3 = variable._string0$_text;
  84686. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  84687. 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;
  84688. },
  84689. $signature: 20
  84690. };
  84691. A._EvaluateVisitor_closure22.prototype = {
  84692. call$1($arguments) {
  84693. var module, t2,
  84694. t1 = J.getInterceptor$asx($arguments),
  84695. variable = t1.$index($arguments, 0).assertString$1("name");
  84696. t1 = t1.$index($arguments, 1).get$realNull();
  84697. module = t1 == null ? null : t1.assertString$1("module");
  84698. t1 = this.$this._evaluate0$_environment;
  84699. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  84700. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  84701. },
  84702. $signature: 20
  84703. };
  84704. A._EvaluateVisitor_closure23.prototype = {
  84705. call$1($arguments) {
  84706. var t1 = this.$this._evaluate0$_environment;
  84707. if (!t1._environment0$_inMixin)
  84708. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  84709. return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  84710. },
  84711. $signature: 20
  84712. };
  84713. A._EvaluateVisitor_closure24.prototype = {
  84714. call$1($arguments) {
  84715. var t2, t3, t4,
  84716. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  84717. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  84718. if (module == null)
  84719. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  84720. t1 = type$.Value_2;
  84721. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  84722. for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  84723. t4 = t3.get$current(t3);
  84724. t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
  84725. }
  84726. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  84727. },
  84728. $signature: 39
  84729. };
  84730. A._EvaluateVisitor_closure25.prototype = {
  84731. call$1($arguments) {
  84732. var t2, t3, t4,
  84733. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  84734. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  84735. if (module == null)
  84736. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  84737. t1 = type$.Value_2;
  84738. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  84739. for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  84740. t4 = t3.get$current(t3);
  84741. t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
  84742. }
  84743. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  84744. },
  84745. $signature: 39
  84746. };
  84747. A._EvaluateVisitor_closure26.prototype = {
  84748. call$1($arguments) {
  84749. var module, callable, t2,
  84750. t1 = J.getInterceptor$asx($arguments),
  84751. $name = t1.$index($arguments, 0).assertString$1("name"),
  84752. css = t1.$index($arguments, 1).get$isTruthy();
  84753. t1 = t1.$index($arguments, 2).get$realNull();
  84754. module = t1 == null ? null : t1.assertString$1("module");
  84755. if (css && module != null)
  84756. throw A.wrapException(string$.x24css_a);
  84757. if (css)
  84758. callable = new A.PlainCssCallable0($name._string0$_text);
  84759. else {
  84760. t1 = this.$this;
  84761. t2 = t1._evaluate0$_callableNode;
  84762. t2.toString;
  84763. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure7(t1, $name, module));
  84764. }
  84765. if (callable != null)
  84766. return new A.SassFunction0(callable);
  84767. throw A.wrapException("Function not found: " + $name.toString$0(0));
  84768. },
  84769. $signature: 161
  84770. };
  84771. A._EvaluateVisitor__closure7.prototype = {
  84772. call$0() {
  84773. var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  84774. t2 = this.module;
  84775. t2 = t2 == null ? null : t2._string0$_text;
  84776. return this.$this._evaluate0$_getFunction$2$namespace(t1, t2);
  84777. },
  84778. $signature: 136
  84779. };
  84780. A._EvaluateVisitor_closure27.prototype = {
  84781. call$1($arguments) {
  84782. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  84783. t1 = J.getInterceptor$asx($arguments),
  84784. $function = t1.$index($arguments, 0),
  84785. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  84786. t1 = this.$this;
  84787. t2 = t1._evaluate0$_callableNode;
  84788. t2.toString;
  84789. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  84790. t4 = type$.String;
  84791. t5 = type$.Expression_2;
  84792. t6 = t2.get$span(t2);
  84793. t7 = t2.get$span(t2);
  84794. args._argument_list$_wereKeywordsAccessed = true;
  84795. t8 = args._argument_list$_keywords;
  84796. if (t8.get$isEmpty(t8))
  84797. t2 = null;
  84798. else {
  84799. t9 = type$.Value_2;
  84800. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  84801. for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  84802. t11 = t8.get$current(t8);
  84803. t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
  84804. }
  84805. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  84806. }
  84807. 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);
  84808. if ($function instanceof A.SassString0) {
  84809. t2 = $function.toString$0(0);
  84810. A.EvaluationContext_current0().warn$2(0, string$.Passin + t2 + "))", B.Deprecation_4iQ);
  84811. callableNode = t1._evaluate0$_callableNode;
  84812. return t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode)));
  84813. }
  84814. callable = $function.assertFunction$1("function").callable;
  84815. if (type$.Callable_2._is(callable)) {
  84816. t2 = t1._evaluate0$_callableNode;
  84817. t2.toString;
  84818. return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
  84819. } else
  84820. throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as, null));
  84821. },
  84822. $signature: 3
  84823. };
  84824. A._EvaluateVisitor_closure28.prototype = {
  84825. call$1($arguments) {
  84826. var withMap, t2, values, configuration, t3,
  84827. t1 = J.getInterceptor$asx($arguments),
  84828. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  84829. t1 = t1.$index($arguments, 1).get$realNull();
  84830. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  84831. t1 = this.$this;
  84832. t2 = t1._evaluate0$_callableNode;
  84833. t2.toString;
  84834. if (withMap != null) {
  84835. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  84836. withMap.forEach$1(0, new A._EvaluateVisitor__closure5(values, t2.get$span(t2), t2));
  84837. configuration = new A.ExplicitConfiguration0(t2, values, null);
  84838. } else
  84839. configuration = B.Configuration_Map_empty_null0;
  84840. t3 = t2.get$span(t2);
  84841. t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure6(t1), t3.get$sourceUrl(t3), configuration, true);
  84842. t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  84843. },
  84844. $signature: 604
  84845. };
  84846. A._EvaluateVisitor__closure5.prototype = {
  84847. call$2(variable, value) {
  84848. var t1 = variable.assertString$1("with key"),
  84849. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  84850. t1 = this.values;
  84851. if (t1.containsKey$1($name))
  84852. throw A.wrapException("The variable $" + $name + " was configured twice.");
  84853. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  84854. },
  84855. $signature: 52
  84856. };
  84857. A._EvaluateVisitor__closure6.prototype = {
  84858. call$1(module) {
  84859. var t1 = this.$this;
  84860. return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  84861. },
  84862. $signature: 64
  84863. };
  84864. A._EvaluateVisitor_run_closure1.prototype = {
  84865. call$0() {
  84866. var module, t2, _this = this,
  84867. t1 = _this.node,
  84868. url = t1.span.file.url;
  84869. if (url != null) {
  84870. t2 = _this.$this;
  84871. t2._evaluate0$_activeModules.$indexSet(0, url, null);
  84872. if (!(t2._evaluate0$_nodeImporter != null && J.toString$0$(url) === "stdin"))
  84873. t2._evaluate0$_loadedUrls.add$1(0, url);
  84874. }
  84875. t2 = _this.$this;
  84876. module = t2._evaluate0$_addExceptionTrace$1(new A._EvaluateVisitor_run__closure1(t2, _this.importer, t1));
  84877. return new A.EvaluateResult0(t2._evaluate0$_combineCss$1(module), t2._evaluate0$_loadedUrls);
  84878. },
  84879. $signature: 404
  84880. };
  84881. A._EvaluateVisitor_run__closure1.prototype = {
  84882. call$0() {
  84883. return this.$this._evaluate0$_execute$2(this.importer, this.node);
  84884. },
  84885. $signature: 405
  84886. };
  84887. A._EvaluateVisitor__loadModule_closure3.prototype = {
  84888. call$0() {
  84889. return this.callback.call$1(this.builtInModule);
  84890. },
  84891. $signature: 0
  84892. };
  84893. A._EvaluateVisitor__loadModule_closure4.prototype = {
  84894. call$0() {
  84895. var oldInDependency, message, _this = this, t1 = {},
  84896. t2 = _this.$this,
  84897. t3 = _this.nodeWithSpan,
  84898. result = t2._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl),
  84899. stylesheet = result.stylesheet,
  84900. canonicalUrl = stylesheet.span.file.url;
  84901. if (canonicalUrl != null && t2._evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
  84902. message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  84903. t1 = A.NullableExtension_andThen0(t2._evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure3(t2, message));
  84904. throw A.wrapException(t1 == null ? t2._evaluate0$_exception$1(message) : t1);
  84905. }
  84906. if (canonicalUrl != null)
  84907. t2._evaluate0$_activeModules.$indexSet(0, canonicalUrl, t3);
  84908. oldInDependency = t2._evaluate0$_inDependency;
  84909. t2._evaluate0$_inDependency = result.isDependency;
  84910. t1.module = null;
  84911. try {
  84912. t1.module = t2._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  84913. } finally {
  84914. t2._evaluate0$_activeModules.remove$1(0, canonicalUrl);
  84915. t2._evaluate0$_inDependency = oldInDependency;
  84916. }
  84917. t2._evaluate0$_addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure4(t1, _this.callback), false);
  84918. },
  84919. $signature: 1
  84920. };
  84921. A._EvaluateVisitor__loadModule__closure3.prototype = {
  84922. call$1(previousLoad) {
  84923. return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  84924. },
  84925. $signature: 98
  84926. };
  84927. A._EvaluateVisitor__loadModule__closure4.prototype = {
  84928. call$0() {
  84929. return this.callback.call$1(this._box_0.module);
  84930. },
  84931. $signature: 0
  84932. };
  84933. A._EvaluateVisitor__execute_closure1.prototype = {
  84934. call$0() {
  84935. var t3, t4, t5, t6, _this = this,
  84936. t1 = _this.$this,
  84937. oldImporter = t1._evaluate0$_importer,
  84938. oldStylesheet = t1._evaluate0$__stylesheet,
  84939. oldRoot = t1._evaluate0$__root,
  84940. oldParent = t1._evaluate0$__parent,
  84941. oldEndOfImports = t1._evaluate0$__endOfImports,
  84942. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  84943. oldExtensionStore = t1._evaluate0$__extensionStore,
  84944. t2 = t1._evaluate0$_atRootExcludingStyleRule,
  84945. oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
  84946. oldMediaQueries = t1._evaluate0$_mediaQueries,
  84947. oldDeclarationName = t1._evaluate0$_declarationName,
  84948. oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
  84949. oldInKeyframes = t1._evaluate0$_inKeyframes,
  84950. oldConfiguration = t1._evaluate0$_configuration;
  84951. t1._evaluate0$_importer = _this.importer;
  84952. t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
  84953. t4 = t3.span;
  84954. t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  84955. t1._evaluate0$__endOfImports = 0;
  84956. t1._evaluate0$_outOfOrderImports = null;
  84957. t1._evaluate0$__extensionStore = _this.extensionStore;
  84958. t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
  84959. t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
  84960. t6 = _this.configuration;
  84961. if (t6 != null)
  84962. t1._evaluate0$_configuration = t6;
  84963. t1.visitStylesheet$1(t3);
  84964. t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  84965. _this.css.__late_helper$_value = t3;
  84966. t1._evaluate0$_importer = oldImporter;
  84967. t1._evaluate0$__stylesheet = oldStylesheet;
  84968. t1._evaluate0$__root = oldRoot;
  84969. t1._evaluate0$__parent = oldParent;
  84970. t1._evaluate0$__endOfImports = oldEndOfImports;
  84971. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  84972. t1._evaluate0$__extensionStore = oldExtensionStore;
  84973. t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  84974. t1._evaluate0$_mediaQueries = oldMediaQueries;
  84975. t1._evaluate0$_declarationName = oldDeclarationName;
  84976. t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  84977. t1._evaluate0$_atRootExcludingStyleRule = t2;
  84978. t1._evaluate0$_inKeyframes = oldInKeyframes;
  84979. t1._evaluate0$_configuration = oldConfiguration;
  84980. },
  84981. $signature: 1
  84982. };
  84983. A._EvaluateVisitor__combineCss_closure5.prototype = {
  84984. call$1(module) {
  84985. return module.get$transitivelyContainsCss();
  84986. },
  84987. $signature: 119
  84988. };
  84989. A._EvaluateVisitor__combineCss_closure6.prototype = {
  84990. call$1(target) {
  84991. return !this.selectors.contains$1(0, target);
  84992. },
  84993. $signature: 14
  84994. };
  84995. A._EvaluateVisitor__combineCss_closure7.prototype = {
  84996. call$1(module) {
  84997. return module.cloneCss$0();
  84998. },
  84999. $signature: 406
  85000. };
  85001. A._EvaluateVisitor__extendModules_closure3.prototype = {
  85002. call$1(target) {
  85003. return !this.originalSelectors.contains$1(0, target);
  85004. },
  85005. $signature: 14
  85006. };
  85007. A._EvaluateVisitor__extendModules_closure4.prototype = {
  85008. call$0() {
  85009. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  85010. },
  85011. $signature: 166
  85012. };
  85013. A._EvaluateVisitor__topologicalModules_visitModule1.prototype = {
  85014. call$1(module) {
  85015. var t1, t2, t3, _i, upstream;
  85016. for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  85017. upstream = t1[_i];
  85018. if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
  85019. this.call$1(upstream);
  85020. }
  85021. this.sorted.addFirst$1(module);
  85022. },
  85023. $signature: 64
  85024. };
  85025. A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
  85026. call$0() {
  85027. var t1, t2, t3, _i;
  85028. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  85029. t1[_i].accept$1(t3);
  85030. },
  85031. $signature: 1
  85032. };
  85033. A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
  85034. call$0() {
  85035. var t1, t2, t3, _i;
  85036. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  85037. t1[_i].accept$1(t3);
  85038. },
  85039. $signature: 0
  85040. };
  85041. A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
  85042. call$1(callback) {
  85043. var t1 = this.$this,
  85044. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
  85045. t1._evaluate0$__parent = this.newParent;
  85046. t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  85047. t1._evaluate0$__parent = t2;
  85048. },
  85049. $signature: 30
  85050. };
  85051. A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
  85052. call$1(callback) {
  85053. var t1 = this.$this,
  85054. oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
  85055. t1._evaluate0$_atRootExcludingStyleRule = true;
  85056. this.innerScope.call$1(callback);
  85057. t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  85058. },
  85059. $signature: 30
  85060. };
  85061. A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
  85062. call$1(callback) {
  85063. return this.$this._evaluate0$_withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
  85064. },
  85065. $signature: 30
  85066. };
  85067. A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
  85068. call$0() {
  85069. return this.innerScope.call$1(this.callback);
  85070. },
  85071. $signature: 1
  85072. };
  85073. A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
  85074. call$1(callback) {
  85075. var t1 = this.$this,
  85076. wasInKeyframes = t1._evaluate0$_inKeyframes;
  85077. t1._evaluate0$_inKeyframes = false;
  85078. this.innerScope.call$1(callback);
  85079. t1._evaluate0$_inKeyframes = wasInKeyframes;
  85080. },
  85081. $signature: 30
  85082. };
  85083. A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
  85084. call$1($parent) {
  85085. return type$.CssAtRule_2._is($parent);
  85086. },
  85087. $signature: 167
  85088. };
  85089. A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
  85090. call$1(callback) {
  85091. var t1 = this.$this,
  85092. wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
  85093. t1._evaluate0$_inUnknownAtRule = false;
  85094. this.innerScope.call$1(callback);
  85095. t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  85096. },
  85097. $signature: 30
  85098. };
  85099. A._EvaluateVisitor_visitContentRule_closure1.prototype = {
  85100. call$0() {
  85101. var t1, t2, t3, _i;
  85102. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  85103. t1[_i].accept$1(t3);
  85104. return null;
  85105. },
  85106. $signature: 1
  85107. };
  85108. A._EvaluateVisitor_visitDeclaration_closure3.prototype = {
  85109. call$1(value) {
  85110. return new A.CssValue0(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value_2);
  85111. },
  85112. $signature: 407
  85113. };
  85114. A._EvaluateVisitor_visitDeclaration_closure4.prototype = {
  85115. call$0() {
  85116. var t1, t2, t3, _i;
  85117. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  85118. t1[_i].accept$1(t3);
  85119. },
  85120. $signature: 1
  85121. };
  85122. A._EvaluateVisitor_visitEachRule_closure5.prototype = {
  85123. call$1(value) {
  85124. var t1 = this.$this,
  85125. t2 = this.nodeWithSpan;
  85126. return t1._evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._evaluate0$_withoutSlash$2(value, t2), t2);
  85127. },
  85128. $signature: 55
  85129. };
  85130. A._EvaluateVisitor_visitEachRule_closure6.prototype = {
  85131. call$1(value) {
  85132. return this.$this._evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
  85133. },
  85134. $signature: 55
  85135. };
  85136. A._EvaluateVisitor_visitEachRule_closure7.prototype = {
  85137. call$0() {
  85138. var _this = this,
  85139. t1 = _this.$this;
  85140. return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
  85141. },
  85142. $signature: 38
  85143. };
  85144. A._EvaluateVisitor_visitEachRule__closure1.prototype = {
  85145. call$1(element) {
  85146. var t1;
  85147. this.setVariables.call$1(element);
  85148. t1 = this.$this;
  85149. return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
  85150. },
  85151. $signature: 213
  85152. };
  85153. A._EvaluateVisitor_visitEachRule___closure1.prototype = {
  85154. call$1(child) {
  85155. return child.accept$1(this.$this);
  85156. },
  85157. $signature: 85
  85158. };
  85159. A._EvaluateVisitor_visitAtRule_closure5.prototype = {
  85160. call$1(value) {
  85161. return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  85162. },
  85163. $signature: 410
  85164. };
  85165. A._EvaluateVisitor_visitAtRule_closure6.prototype = {
  85166. call$0() {
  85167. var t2, t3, _i, _this = this,
  85168. t1 = _this.$this,
  85169. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  85170. if (styleRule == null || t1._evaluate0$_inKeyframes || J.$eq$(_this.name.value, "font-face"))
  85171. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  85172. t2[_i].accept$1(t1);
  85173. else
  85174. 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);
  85175. },
  85176. $signature: 1
  85177. };
  85178. A._EvaluateVisitor_visitAtRule__closure1.prototype = {
  85179. call$0() {
  85180. var t1, t2, t3, _i;
  85181. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  85182. t1[_i].accept$1(t3);
  85183. },
  85184. $signature: 1
  85185. };
  85186. A._EvaluateVisitor_visitAtRule_closure7.prototype = {
  85187. call$1(node) {
  85188. return type$.CssStyleRule_2._is(node);
  85189. },
  85190. $signature: 6
  85191. };
  85192. A._EvaluateVisitor_visitForRule_closure9.prototype = {
  85193. call$0() {
  85194. return this.node.from.accept$1(this.$this).assertNumber$0();
  85195. },
  85196. $signature: 215
  85197. };
  85198. A._EvaluateVisitor_visitForRule_closure10.prototype = {
  85199. call$0() {
  85200. return this.node.to.accept$1(this.$this).assertNumber$0();
  85201. },
  85202. $signature: 215
  85203. };
  85204. A._EvaluateVisitor_visitForRule_closure11.prototype = {
  85205. call$0() {
  85206. return this.fromNumber.assertInt$0();
  85207. },
  85208. $signature: 12
  85209. };
  85210. A._EvaluateVisitor_visitForRule_closure12.prototype = {
  85211. call$0() {
  85212. var t1 = this.fromNumber;
  85213. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  85214. },
  85215. $signature: 12
  85216. };
  85217. A._EvaluateVisitor_visitForRule_closure13.prototype = {
  85218. call$0() {
  85219. var i, t3, t4, t5, t6, t7, t8, result, _this = this,
  85220. t1 = _this.$this,
  85221. t2 = _this.node,
  85222. nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
  85223. 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) {
  85224. t7 = t1._evaluate0$_environment;
  85225. t8 = t6.get$numeratorUnits(t6);
  85226. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  85227. result = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
  85228. if (result != null)
  85229. return result;
  85230. }
  85231. return null;
  85232. },
  85233. $signature: 38
  85234. };
  85235. A._EvaluateVisitor_visitForRule__closure1.prototype = {
  85236. call$1(child) {
  85237. return child.accept$1(this.$this);
  85238. },
  85239. $signature: 85
  85240. };
  85241. A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
  85242. call$1(module) {
  85243. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  85244. },
  85245. $signature: 64
  85246. };
  85247. A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
  85248. call$1(module) {
  85249. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  85250. },
  85251. $signature: 64
  85252. };
  85253. A._EvaluateVisitor_visitIfRule_closure1.prototype = {
  85254. call$0() {
  85255. var t1 = this.$this;
  85256. return t1._evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure1(t1));
  85257. },
  85258. $signature: 38
  85259. };
  85260. A._EvaluateVisitor_visitIfRule__closure1.prototype = {
  85261. call$1(child) {
  85262. return child.accept$1(this.$this);
  85263. },
  85264. $signature: 85
  85265. };
  85266. A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
  85267. call$0() {
  85268. var t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
  85269. t1 = this.$this,
  85270. t2 = this.$import,
  85271. result = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true),
  85272. stylesheet = result.stylesheet,
  85273. url = stylesheet.span.file.url;
  85274. if (url != null) {
  85275. t3 = t1._evaluate0$_activeModules;
  85276. if (t3.containsKey$1(url)) {
  85277. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
  85278. throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
  85279. }
  85280. t3.$indexSet(0, url, t2);
  85281. }
  85282. t2 = stylesheet._stylesheet1$_uses;
  85283. t3 = type$.UnmodifiableListView_UseRule_2;
  85284. t4 = new A.UnmodifiableListView(t2, t3);
  85285. if (t4.get$length(t4) === 0) {
  85286. t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  85287. t4 = t4.get$length(t4) === 0;
  85288. } else
  85289. t4 = false;
  85290. if (t4) {
  85291. oldImporter = t1._evaluate0$_importer;
  85292. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
  85293. oldInDependency = t1._evaluate0$_inDependency;
  85294. t1._evaluate0$_importer = result.importer;
  85295. t1._evaluate0$__stylesheet = stylesheet;
  85296. t1._evaluate0$_inDependency = result.isDependency;
  85297. t1.visitStylesheet$1(stylesheet);
  85298. t1._evaluate0$_importer = oldImporter;
  85299. t1._evaluate0$__stylesheet = t2;
  85300. t1._evaluate0$_inDependency = oldInDependency;
  85301. t1._evaluate0$_activeModules.remove$1(0, url);
  85302. return;
  85303. }
  85304. t2 = new A.UnmodifiableListView(t2, t3);
  85305. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
  85306. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  85307. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
  85308. } else
  85309. loadsUserDefinedModules = true;
  85310. children = A._Cell$();
  85311. t2 = t1._evaluate0$_environment;
  85312. t3 = type$.String;
  85313. t4 = type$.Module_Callable_2;
  85314. t5 = type$.AstNode_2;
  85315. t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
  85316. t7 = t2._environment0$_variables;
  85317. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  85318. t8 = t2._environment0$_variableNodes;
  85319. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  85320. t9 = t2._environment0$_functions;
  85321. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  85322. t10 = t2._environment0$_mixins;
  85323. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  85324. 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);
  85325. t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
  85326. module = environment.toDummyModule$0();
  85327. t1._evaluate0$_environment.importForwards$1(module);
  85328. if (loadsUserDefinedModules) {
  85329. if (module.transitivelyContainsCss)
  85330. t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  85331. visitor = new A._ImportedCssVisitor1(t1);
  85332. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  85333. t2.get$current(t2).accept$1(visitor);
  85334. }
  85335. t1._evaluate0$_activeModules.remove$1(0, url);
  85336. },
  85337. $signature: 0
  85338. };
  85339. A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
  85340. call$1(previousLoad) {
  85341. 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));
  85342. },
  85343. $signature: 98
  85344. };
  85345. A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
  85346. call$1(rule) {
  85347. return rule.url.get$scheme() !== "sass";
  85348. },
  85349. $signature: 174
  85350. };
  85351. A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
  85352. call$1(rule) {
  85353. return rule.url.get$scheme() !== "sass";
  85354. },
  85355. $signature: 175
  85356. };
  85357. A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
  85358. call$0() {
  85359. var t7, t8, t9, _this = this,
  85360. t1 = _this.$this,
  85361. oldImporter = t1._evaluate0$_importer,
  85362. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
  85363. t3 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
  85364. t4 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
  85365. t5 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
  85366. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  85367. oldConfiguration = t1._evaluate0$_configuration,
  85368. oldInDependency = t1._evaluate0$_inDependency,
  85369. t6 = _this.result;
  85370. t1._evaluate0$_importer = t6.importer;
  85371. t7 = t1._evaluate0$__stylesheet = _this.stylesheet;
  85372. t8 = _this.loadsUserDefinedModules;
  85373. if (t8) {
  85374. t9 = A.ModifiableCssStylesheet$0(t7.span);
  85375. t1._evaluate0$__root = t9;
  85376. t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t9, "_root");
  85377. t1._evaluate0$__endOfImports = 0;
  85378. t1._evaluate0$_outOfOrderImports = null;
  85379. }
  85380. t1._evaluate0$_inDependency = t6.isDependency;
  85381. t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  85382. if (!t6.get$isEmpty(t6))
  85383. t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
  85384. t1.visitStylesheet$1(t7);
  85385. t6 = t8 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  85386. _this.children.__late_helper$_value = t6;
  85387. t1._evaluate0$_importer = oldImporter;
  85388. t1._evaluate0$__stylesheet = t2;
  85389. if (t8) {
  85390. t1._evaluate0$__root = t3;
  85391. t1._evaluate0$__parent = t4;
  85392. t1._evaluate0$__endOfImports = t5;
  85393. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  85394. }
  85395. t1._evaluate0$_configuration = oldConfiguration;
  85396. t1._evaluate0$_inDependency = oldInDependency;
  85397. },
  85398. $signature: 1
  85399. };
  85400. A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
  85401. call$0() {
  85402. var t1 = this.node;
  85403. return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  85404. },
  85405. $signature: 136
  85406. };
  85407. A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
  85408. call$0() {
  85409. return this.node.get$spanWithoutContent();
  85410. },
  85411. $signature: 25
  85412. };
  85413. A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
  85414. call$1($content) {
  85415. var t1 = this.$this;
  85416. return new A.UserDefinedCallable0($content, t1._evaluate0$_environment.closure$0(), t1._evaluate0$_inDependency, type$.UserDefinedCallable_Environment_2);
  85417. },
  85418. $signature: 412
  85419. };
  85420. A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
  85421. call$0() {
  85422. var _this = this,
  85423. t1 = _this.$this,
  85424. t2 = t1._evaluate0$_environment,
  85425. oldContent = t2._environment0$_content;
  85426. t2._environment0$_content = _this.contentCallable;
  85427. new A._EvaluateVisitor_visitIncludeRule__closure1(t1, _this.mixin, _this.nodeWithSpan).call$0();
  85428. t2._environment0$_content = oldContent;
  85429. },
  85430. $signature: 1
  85431. };
  85432. A._EvaluateVisitor_visitIncludeRule__closure1.prototype = {
  85433. call$0() {
  85434. var t1 = this.$this,
  85435. t2 = t1._evaluate0$_environment,
  85436. oldInMixin = t2._environment0$_inMixin;
  85437. t2._environment0$_inMixin = true;
  85438. new A._EvaluateVisitor_visitIncludeRule___closure1(t1, this.mixin, this.nodeWithSpan).call$0();
  85439. t2._environment0$_inMixin = oldInMixin;
  85440. },
  85441. $signature: 0
  85442. };
  85443. A._EvaluateVisitor_visitIncludeRule___closure1.prototype = {
  85444. call$0() {
  85445. var t1, t2, t3, t4, _i;
  85446. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
  85447. t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure1(t3, t1[_i]));
  85448. },
  85449. $signature: 0
  85450. };
  85451. A._EvaluateVisitor_visitIncludeRule____closure1.prototype = {
  85452. call$0() {
  85453. return this.statement.accept$1(this.$this);
  85454. },
  85455. $signature: 38
  85456. };
  85457. A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
  85458. call$1(mediaQueries) {
  85459. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  85460. },
  85461. $signature: 88
  85462. };
  85463. A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
  85464. call$0() {
  85465. var _this = this,
  85466. t1 = _this.$this,
  85467. t2 = _this.mergedQueries;
  85468. if (t2 == null)
  85469. t2 = _this.queries;
  85470. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
  85471. },
  85472. $signature: 1
  85473. };
  85474. A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
  85475. call$0() {
  85476. var t2, t3, _i,
  85477. t1 = this.$this,
  85478. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  85479. if (styleRule == null)
  85480. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  85481. t2[_i].accept$1(t1);
  85482. else
  85483. 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);
  85484. },
  85485. $signature: 1
  85486. };
  85487. A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
  85488. call$0() {
  85489. var t1, t2, t3, _i;
  85490. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  85491. t1[_i].accept$1(t3);
  85492. },
  85493. $signature: 1
  85494. };
  85495. A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
  85496. call$1(node) {
  85497. var t1;
  85498. if (!type$.CssStyleRule_2._is(node)) {
  85499. t1 = this.mergedSources;
  85500. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule_2._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  85501. } else
  85502. t1 = true;
  85503. return t1;
  85504. },
  85505. $signature: 6
  85506. };
  85507. A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
  85508. call$0() {
  85509. var t1, t2, t3, _i;
  85510. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  85511. t1[_i].accept$1(t3);
  85512. },
  85513. $signature: 1
  85514. };
  85515. A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
  85516. call$1(node) {
  85517. return type$.CssStyleRule_2._is(node);
  85518. },
  85519. $signature: 6
  85520. };
  85521. A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
  85522. call$0() {
  85523. var t1 = this.$this;
  85524. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
  85525. },
  85526. $signature: 1
  85527. };
  85528. A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
  85529. call$0() {
  85530. var t1, t2, t3, _i;
  85531. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  85532. t1[_i].accept$1(t3);
  85533. },
  85534. $signature: 1
  85535. };
  85536. A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
  85537. call$1(node) {
  85538. return type$.CssStyleRule_2._is(node);
  85539. },
  85540. $signature: 6
  85541. };
  85542. A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
  85543. call$1(child) {
  85544. return type$.CssComment_2._is(child);
  85545. },
  85546. $signature: 117
  85547. };
  85548. A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
  85549. call$0() {
  85550. var t2, t3, _i,
  85551. t1 = this.$this,
  85552. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  85553. if (styleRule == null)
  85554. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  85555. t2[_i].accept$1(t1);
  85556. else
  85557. 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);
  85558. },
  85559. $signature: 1
  85560. };
  85561. A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
  85562. call$0() {
  85563. var t1, t2, t3, _i;
  85564. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  85565. t1[_i].accept$1(t3);
  85566. },
  85567. $signature: 1
  85568. };
  85569. A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
  85570. call$1(node) {
  85571. return type$.CssStyleRule_2._is(node);
  85572. },
  85573. $signature: 6
  85574. };
  85575. A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
  85576. call$0() {
  85577. var t1 = this.override;
  85578. this.$this._evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
  85579. },
  85580. $signature: 1
  85581. };
  85582. A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
  85583. call$0() {
  85584. var t1 = this.node;
  85585. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  85586. },
  85587. $signature: 38
  85588. };
  85589. A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
  85590. call$0() {
  85591. var t1 = this.$this,
  85592. t2 = this.node;
  85593. t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  85594. },
  85595. $signature: 1
  85596. };
  85597. A._EvaluateVisitor_visitUseRule_closure1.prototype = {
  85598. call$1(module) {
  85599. var t1 = this.node;
  85600. this.$this._evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
  85601. },
  85602. $signature: 64
  85603. };
  85604. A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
  85605. call$0() {
  85606. return this.node.expression.accept$1(this.$this);
  85607. },
  85608. $signature: 42
  85609. };
  85610. A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
  85611. call$0() {
  85612. var t1, t2, t3, result;
  85613. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  85614. result = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
  85615. if (result != null)
  85616. return result;
  85617. }
  85618. return null;
  85619. },
  85620. $signature: 38
  85621. };
  85622. A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
  85623. call$1(child) {
  85624. return child.accept$1(this.$this);
  85625. },
  85626. $signature: 85
  85627. };
  85628. A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
  85629. call$0() {
  85630. var right, result, t4, t5,
  85631. t1 = this.node,
  85632. t2 = this.$this,
  85633. left = t1.left.accept$1(t2),
  85634. t3 = t1.operator;
  85635. switch (t3) {
  85636. case B.BinaryOperator_2jN0:
  85637. right = t1.right.accept$1(t2);
  85638. return new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
  85639. case B.BinaryOperator_M6L0:
  85640. return left.get$isTruthy() ? left : t1.right.accept$1(t2);
  85641. case B.BinaryOperator_SNp0:
  85642. return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  85643. case B.BinaryOperator_ql50:
  85644. return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  85645. case B.BinaryOperator_ViB0:
  85646. return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  85647. case B.BinaryOperator_cIH0:
  85648. return left.greaterThan$1(t1.right.accept$1(t2));
  85649. case B.BinaryOperator_7Tg0:
  85650. return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  85651. case B.BinaryOperator_U8c0:
  85652. return left.lessThan$1(t1.right.accept$1(t2));
  85653. case B.BinaryOperator_kpg0:
  85654. return left.lessThanOrEquals$1(t1.right.accept$1(t2));
  85655. case B.BinaryOperator_anB0:
  85656. return left.plus$1(t1.right.accept$1(t2));
  85657. case B.BinaryOperator_olz0:
  85658. return left.minus$1(t1.right.accept$1(t2));
  85659. case B.BinaryOperator_qN20:
  85660. return left.times$1(t1.right.accept$1(t2));
  85661. case B.BinaryOperator_t8B0:
  85662. right = t1.right.accept$1(t2);
  85663. result = left.dividedBy$1(right);
  85664. if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  85665. return type$.SassNumber_2._as(result).withSlash$2(left, right);
  85666. else {
  85667. if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
  85668. t3 = A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1().call$1(t1));
  85669. t4 = B.C__MakeExpressionCalculationSafe0.visitBinaryOperationExpression$1(t1);
  85670. t5 = t1.get$span(t1);
  85671. 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);
  85672. }
  85673. return result;
  85674. }
  85675. case B.BinaryOperator_OTG0:
  85676. return left.modulo$1(t1.right.accept$1(t2));
  85677. default:
  85678. throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
  85679. }
  85680. },
  85681. $signature: 42
  85682. };
  85683. A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1.prototype = {
  85684. call$1(expression) {
  85685. if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_t8B0)
  85686. return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  85687. else if (expression instanceof A.ParenthesizedExpression0)
  85688. return expression.expression.toString$0(0);
  85689. else
  85690. return expression.toString$0(0);
  85691. },
  85692. $signature: 124
  85693. };
  85694. A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
  85695. call$0() {
  85696. var t1 = this.node;
  85697. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  85698. },
  85699. $signature: 38
  85700. };
  85701. A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
  85702. call$0() {
  85703. var _this = this,
  85704. t1 = _this.node.operator;
  85705. switch (t1) {
  85706. case B.UnaryOperator_gg40:
  85707. return _this.operand.unaryPlus$0();
  85708. case B.UnaryOperator_TLI0:
  85709. return _this.operand.unaryMinus$0();
  85710. case B.UnaryOperator_Ix10:
  85711. return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  85712. case B.UnaryOperator_not_not_not0:
  85713. return _this.operand.unaryNot$0();
  85714. default:
  85715. throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
  85716. }
  85717. },
  85718. $signature: 42
  85719. };
  85720. A._EvaluateVisitor__visitCalculationValue_closure1.prototype = {
  85721. call$0() {
  85722. var t1 = this.$this,
  85723. t2 = this.node,
  85724. t3 = this.inMinMax;
  85725. 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);
  85726. },
  85727. $signature: 89
  85728. };
  85729. A._EvaluateVisitor_visitListExpression_closure1.prototype = {
  85730. call$1(expression) {
  85731. return expression.accept$1(this.$this);
  85732. },
  85733. $signature: 413
  85734. };
  85735. A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
  85736. call$0() {
  85737. var t1 = this.node;
  85738. return this.$this._evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
  85739. },
  85740. $signature: 136
  85741. };
  85742. A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
  85743. call$0() {
  85744. var t1 = this.node;
  85745. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  85746. },
  85747. $signature: 42
  85748. };
  85749. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
  85750. call$0() {
  85751. var t1 = this.node;
  85752. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  85753. },
  85754. $signature: 42
  85755. };
  85756. A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
  85757. call$0() {
  85758. var _this = this,
  85759. t1 = _this.$this,
  85760. t2 = _this.callable;
  85761. return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  85762. },
  85763. $signature() {
  85764. return this.V._eval$1("0()");
  85765. }
  85766. };
  85767. A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
  85768. call$0() {
  85769. var _this = this,
  85770. t1 = _this.$this,
  85771. t2 = _this.V;
  85772. return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  85773. },
  85774. $signature() {
  85775. return this.V._eval$1("0()");
  85776. }
  85777. };
  85778. A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
  85779. call$0() {
  85780. var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, _this = this,
  85781. t1 = _this.$this,
  85782. t2 = _this.evaluated,
  85783. t3 = t2.positional,
  85784. t4 = t2.named,
  85785. t5 = _this.callable.declaration.$arguments,
  85786. t6 = _this.nodeWithSpan;
  85787. t1._evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
  85788. declaredArguments = t5.$arguments;
  85789. t7 = declaredArguments.length;
  85790. minLength = Math.min(t3.length, t7);
  85791. for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
  85792. t1._evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
  85793. for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
  85794. argument = declaredArguments[i];
  85795. t9 = argument.name;
  85796. value = t4.remove$1(0, t9);
  85797. if (value == null) {
  85798. t10 = argument.defaultValue;
  85799. value = t1._evaluate0$_withoutSlash$2(t10.accept$1(t1), t1._evaluate0$_expressionNode$1(t10));
  85800. }
  85801. t10 = t1._evaluate0$_environment;
  85802. t11 = t8.$index(0, t9);
  85803. if (t11 == null) {
  85804. t11 = argument.defaultValue;
  85805. t11.toString;
  85806. t11 = t1._evaluate0$_expressionNode$1(t11);
  85807. }
  85808. t10.setLocalVariable$3(t9, value, t11);
  85809. }
  85810. restArgument = t5.restArgument;
  85811. if (restArgument != null) {
  85812. rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty19;
  85813. t2 = t2.separator;
  85814. argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : t2);
  85815. t1._evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
  85816. } else
  85817. argumentList = null;
  85818. result = _this.run.call$0();
  85819. if (argumentList == null)
  85820. return result;
  85821. t2 = t4.__js_helper$_length;
  85822. if (t2 === 0)
  85823. return result;
  85824. if (argumentList._argument_list$_wereKeywordsAccessed)
  85825. return result;
  85826. t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
  85827. 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)), null));
  85828. },
  85829. $signature() {
  85830. return this.V._eval$1("0()");
  85831. }
  85832. };
  85833. A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
  85834. call$1($name) {
  85835. return "$" + $name;
  85836. },
  85837. $signature: 5
  85838. };
  85839. A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
  85840. call$0() {
  85841. var t1, t2, t3, t4, _i, $returnValue;
  85842. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  85843. $returnValue = t2[_i].accept$1(t4);
  85844. if ($returnValue instanceof A.Value0)
  85845. return $returnValue;
  85846. }
  85847. throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
  85848. },
  85849. $signature: 42
  85850. };
  85851. A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
  85852. call$0() {
  85853. return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
  85854. },
  85855. $signature: 0
  85856. };
  85857. A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
  85858. call$0() {
  85859. return this.callback.call$1(this.evaluated.positional);
  85860. },
  85861. $signature: 42
  85862. };
  85863. A._EvaluateVisitor__runBuiltInCallable_closure7.prototype = {
  85864. call$1($name) {
  85865. return "$" + $name;
  85866. },
  85867. $signature: 5
  85868. };
  85869. A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
  85870. call$1(value) {
  85871. return value;
  85872. },
  85873. $signature: 37
  85874. };
  85875. A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
  85876. call$1(value) {
  85877. return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  85878. },
  85879. $signature: 37
  85880. };
  85881. A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
  85882. call$2(key, value) {
  85883. var _this = this,
  85884. t1 = _this.restNodeForSpan;
  85885. _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
  85886. _this.namedNodes.$indexSet(0, key, t1);
  85887. },
  85888. $signature: 81
  85889. };
  85890. A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
  85891. call$1(value) {
  85892. return value;
  85893. },
  85894. $signature: 37
  85895. };
  85896. A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
  85897. call$1(value) {
  85898. var t1 = this.restArgs;
  85899. return new A.ValueExpression0(value, t1.get$span(t1));
  85900. },
  85901. $signature: 48
  85902. };
  85903. A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
  85904. call$1(value) {
  85905. var t1 = this.restArgs;
  85906. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  85907. },
  85908. $signature: 48
  85909. };
  85910. A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
  85911. call$2(key, value) {
  85912. var _this = this,
  85913. t1 = _this.restArgs;
  85914. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  85915. },
  85916. $signature: 81
  85917. };
  85918. A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
  85919. call$1(value) {
  85920. var t1 = this.keywordRestArgs;
  85921. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  85922. },
  85923. $signature: 48
  85924. };
  85925. A._EvaluateVisitor__addRestMap_closure1.prototype = {
  85926. call$2(key, value) {
  85927. var t2, _this = this,
  85928. t1 = _this.$this;
  85929. if (key instanceof A.SassString0)
  85930. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  85931. else {
  85932. t2 = _this.nodeWithSpan;
  85933. 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)));
  85934. }
  85935. },
  85936. $signature: 52
  85937. };
  85938. A._EvaluateVisitor__verifyArguments_closure1.prototype = {
  85939. call$0() {
  85940. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  85941. },
  85942. $signature: 0
  85943. };
  85944. A._EvaluateVisitor_visitStringExpression_closure1.prototype = {
  85945. call$1(value) {
  85946. var t1, result;
  85947. if (typeof value == "string")
  85948. return value;
  85949. type$.Expression_2._as(value);
  85950. t1 = this.$this;
  85951. result = value.accept$1(t1);
  85952. return result instanceof A.SassString0 ? result._string0$_text : t1._evaluate0$_serialize$3$quote(result, value, false);
  85953. },
  85954. $signature: 63
  85955. };
  85956. A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
  85957. call$0() {
  85958. var t1, t2, t3, t4;
  85959. 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();) {
  85960. t4 = t1.__internal$_current;
  85961. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  85962. }
  85963. },
  85964. $signature: 1
  85965. };
  85966. A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
  85967. call$1(node) {
  85968. return type$.CssStyleRule_2._is(node);
  85969. },
  85970. $signature: 6
  85971. };
  85972. A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
  85973. call$0() {
  85974. var t1, t2, t3, t4;
  85975. 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();) {
  85976. t4 = t1.__internal$_current;
  85977. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  85978. }
  85979. },
  85980. $signature: 1
  85981. };
  85982. A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
  85983. call$1(node) {
  85984. return type$.CssStyleRule_2._is(node);
  85985. },
  85986. $signature: 6
  85987. };
  85988. A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
  85989. call$1(mediaQueries) {
  85990. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  85991. },
  85992. $signature: 88
  85993. };
  85994. A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
  85995. call$0() {
  85996. var _this = this,
  85997. t1 = _this.$this,
  85998. t2 = _this.mergedQueries;
  85999. if (t2 == null)
  86000. t2 = _this.node.queries;
  86001. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
  86002. },
  86003. $signature: 1
  86004. };
  86005. A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
  86006. call$0() {
  86007. var t2, t3, t4,
  86008. t1 = this.$this,
  86009. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  86010. if (styleRule == null)
  86011. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  86012. t4 = t2.__internal$_current;
  86013. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  86014. }
  86015. else
  86016. 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);
  86017. },
  86018. $signature: 1
  86019. };
  86020. A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
  86021. call$0() {
  86022. var t1, t2, t3, t4;
  86023. 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();) {
  86024. t4 = t1.__internal$_current;
  86025. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  86026. }
  86027. },
  86028. $signature: 1
  86029. };
  86030. A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
  86031. call$1(node) {
  86032. var t1;
  86033. if (!type$.CssStyleRule_2._is(node)) {
  86034. t1 = this.mergedSources;
  86035. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule_2._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  86036. } else
  86037. t1 = true;
  86038. return t1;
  86039. },
  86040. $signature: 6
  86041. };
  86042. A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
  86043. call$0() {
  86044. var t1 = this.$this;
  86045. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
  86046. },
  86047. $signature: 1
  86048. };
  86049. A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
  86050. call$0() {
  86051. var t1, t2, t3, t4;
  86052. 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();) {
  86053. t4 = t1.__internal$_current;
  86054. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  86055. }
  86056. },
  86057. $signature: 1
  86058. };
  86059. A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
  86060. call$1(node) {
  86061. return type$.CssStyleRule_2._is(node);
  86062. },
  86063. $signature: 6
  86064. };
  86065. A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
  86066. call$0() {
  86067. var t2, t3, t4,
  86068. t1 = this.$this,
  86069. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  86070. if (styleRule == null)
  86071. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  86072. t4 = t2.__internal$_current;
  86073. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  86074. }
  86075. else
  86076. 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);
  86077. },
  86078. $signature: 1
  86079. };
  86080. A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
  86081. call$0() {
  86082. var t1, t2, t3, t4;
  86083. 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();) {
  86084. t4 = t1.__internal$_current;
  86085. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  86086. }
  86087. },
  86088. $signature: 1
  86089. };
  86090. A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
  86091. call$1(node) {
  86092. return type$.CssStyleRule_2._is(node);
  86093. },
  86094. $signature: 6
  86095. };
  86096. A._EvaluateVisitor__serialize_closure1.prototype = {
  86097. call$0() {
  86098. return A.serializeValue0(this.value, false, this.quote);
  86099. },
  86100. $signature: 31
  86101. };
  86102. A._EvaluateVisitor__expressionNode_closure1.prototype = {
  86103. call$0() {
  86104. var t1 = this.expression;
  86105. return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  86106. },
  86107. $signature: 185
  86108. };
  86109. A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
  86110. call$1(number) {
  86111. var asSlash = number.asSlash;
  86112. if (asSlash != null)
  86113. return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
  86114. else
  86115. return A.serializeValue0(number, true, true);
  86116. },
  86117. $signature: 186
  86118. };
  86119. A._EvaluateVisitor__stackFrame_closure1.prototype = {
  86120. call$1(url) {
  86121. var t1 = this.$this._evaluate0$_importCache;
  86122. t1 = t1 == null ? null : t1.humanize$1(url);
  86123. return t1 == null ? url : t1;
  86124. },
  86125. $signature: 84
  86126. };
  86127. A._EvaluateVisitor__stackTrace_closure1.prototype = {
  86128. call$1(tuple) {
  86129. return this.$this._evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
  86130. },
  86131. $signature: 187
  86132. };
  86133. A._ImportedCssVisitor1.prototype = {
  86134. visitCssAtRule$1(node) {
  86135. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
  86136. this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
  86137. },
  86138. visitCssComment$1(node) {
  86139. return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
  86140. },
  86141. visitCssDeclaration$1(node) {
  86142. },
  86143. visitCssImport$1(node) {
  86144. var t2,
  86145. _s13_ = "_endOfImports",
  86146. t1 = this._evaluate0$_visitor;
  86147. if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
  86148. t1._evaluate0$_addChild$1(node);
  86149. 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)) {
  86150. t1._evaluate0$_addChild$1(node);
  86151. t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
  86152. } else {
  86153. t2 = t1._evaluate0$_outOfOrderImports;
  86154. (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  86155. }
  86156. },
  86157. visitCssKeyframeBlock$1(node) {
  86158. },
  86159. visitCssMediaRule$1(node) {
  86160. var t1 = this._evaluate0$_visitor,
  86161. mediaQueries = t1._evaluate0$_mediaQueries;
  86162. t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  86163. },
  86164. visitCssStyleRule$1(node) {
  86165. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
  86166. },
  86167. visitCssStylesheet$1(node) {
  86168. var t1, t2, t3;
  86169. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  86170. t3 = t1.__internal$_current;
  86171. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  86172. }
  86173. },
  86174. visitCssSupportsRule$1(node) {
  86175. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
  86176. }
  86177. };
  86178. A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
  86179. call$1(node) {
  86180. return type$.CssStyleRule_2._is(node);
  86181. },
  86182. $signature: 6
  86183. };
  86184. A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
  86185. call$1(node) {
  86186. var t1;
  86187. if (!type$.CssStyleRule_2._is(node))
  86188. t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
  86189. else
  86190. t1 = true;
  86191. return t1;
  86192. },
  86193. $signature: 6
  86194. };
  86195. A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
  86196. call$1(node) {
  86197. return type$.CssStyleRule_2._is(node);
  86198. },
  86199. $signature: 6
  86200. };
  86201. A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
  86202. call$1(node) {
  86203. return type$.CssStyleRule_2._is(node);
  86204. },
  86205. $signature: 6
  86206. };
  86207. A._EvaluationContext1.prototype = {
  86208. get$currentCallableSpan() {
  86209. var callableNode = this._evaluate0$_visitor._evaluate0$_callableNode;
  86210. if (callableNode != null)
  86211. return callableNode.get$span(callableNode);
  86212. throw A.wrapException(A.StateError$(string$.No_Sasc));
  86213. },
  86214. warn$2(_, message, deprecation) {
  86215. var t1 = this._evaluate0$_visitor,
  86216. t2 = t1._evaluate0$_importSpan;
  86217. if (t2 == null) {
  86218. t2 = t1._evaluate0$_callableNode;
  86219. t2 = t2 == null ? null : t2.get$span(t2);
  86220. }
  86221. t1._evaluate0$_warn$3(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  86222. },
  86223. $isEvaluationContext0: 1
  86224. };
  86225. A._ArgumentResults1.prototype = {};
  86226. A._LoadedStylesheet1.prototype = {};
  86227. A.EveryCssVisitor0.prototype = {
  86228. visitCssAtRule$1(node) {
  86229. var t1 = node.children;
  86230. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure0(this));
  86231. },
  86232. visitCssComment$1(node) {
  86233. return false;
  86234. },
  86235. visitCssDeclaration$1(node) {
  86236. return false;
  86237. },
  86238. visitCssImport$1(node) {
  86239. return false;
  86240. },
  86241. visitCssKeyframeBlock$1(node) {
  86242. var t1 = node.children;
  86243. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure0(this));
  86244. },
  86245. visitCssMediaRule$1(node) {
  86246. var t1 = node.children;
  86247. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure0(this));
  86248. },
  86249. visitCssStyleRule$1(node) {
  86250. var t1 = node.children;
  86251. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure0(this));
  86252. },
  86253. visitCssStylesheet$1(node) {
  86254. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure0(this));
  86255. },
  86256. visitCssSupportsRule$1(node) {
  86257. var t1 = node.children;
  86258. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure0(this));
  86259. }
  86260. };
  86261. A.EveryCssVisitor_visitCssAtRule_closure0.prototype = {
  86262. call$1(child) {
  86263. return child.accept$1(this.$this);
  86264. },
  86265. $signature: 6
  86266. };
  86267. A.EveryCssVisitor_visitCssKeyframeBlock_closure0.prototype = {
  86268. call$1(child) {
  86269. return child.accept$1(this.$this);
  86270. },
  86271. $signature: 6
  86272. };
  86273. A.EveryCssVisitor_visitCssMediaRule_closure0.prototype = {
  86274. call$1(child) {
  86275. return child.accept$1(this.$this);
  86276. },
  86277. $signature: 6
  86278. };
  86279. A.EveryCssVisitor_visitCssStyleRule_closure0.prototype = {
  86280. call$1(child) {
  86281. return child.accept$1(this.$this);
  86282. },
  86283. $signature: 6
  86284. };
  86285. A.EveryCssVisitor_visitCssStylesheet_closure0.prototype = {
  86286. call$1(child) {
  86287. return child.accept$1(this.$this);
  86288. },
  86289. $signature: 6
  86290. };
  86291. A.EveryCssVisitor_visitCssSupportsRule_closure0.prototype = {
  86292. call$1(child) {
  86293. return child.accept$1(this.$this);
  86294. },
  86295. $signature: 6
  86296. };
  86297. A._NodeException.prototype = {};
  86298. A.exceptionClass_closure.prototype = {
  86299. call$0() {
  86300. 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());
  86301. A.defineGetter(jsClass, "name", null, "sass.Exception");
  86302. 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));
  86303. return jsClass;
  86304. },
  86305. $signature: 26
  86306. };
  86307. A.exceptionClass__closure.prototype = {
  86308. call$1(exception) {
  86309. return J.get$_dartException$x(exception)._span_exception$_message;
  86310. },
  86311. $signature: 216
  86312. };
  86313. A.exceptionClass__closure0.prototype = {
  86314. call$1(exception) {
  86315. return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
  86316. },
  86317. $signature: 216
  86318. };
  86319. A.exceptionClass__closure1.prototype = {
  86320. call$1(exception) {
  86321. var t1 = J.get$_dartException$x(exception),
  86322. t2 = J.getInterceptor$z(t1);
  86323. return A.SourceSpanException.prototype.get$span.call(t2, t1);
  86324. },
  86325. $signature: 415
  86326. };
  86327. A.SassException0.prototype = {
  86328. get$trace(_) {
  86329. return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
  86330. },
  86331. get$span(_) {
  86332. return A.SourceSpanException.prototype.get$span.call(this, this);
  86333. },
  86334. withAdditionalSpan$2(span, label) {
  86335. var _this = this;
  86336. return A.MultiSpanSassException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), _this.loadedUrls);
  86337. },
  86338. withTrace$1(trace) {
  86339. var _this = this,
  86340. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  86341. t2 = A.Set_Set$unmodifiable(_this.loadedUrls, type$.Uri);
  86342. return new A.SassRuntimeException0(trace, t2, _this._span_exception$_message, t1);
  86343. },
  86344. withLoadedUrls$1(loadedUrls) {
  86345. var t1 = A.SourceSpanException.prototype.get$span.call(this, this),
  86346. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  86347. return new A.SassException0(t2, this._span_exception$_message, t1);
  86348. },
  86349. toString$1$color(_, color) {
  86350. var t2, _i, frame, t3, _this = this,
  86351. buffer = new A.StringBuffer(""),
  86352. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  86353. buffer._contents = t1;
  86354. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
  86355. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  86356. frame = t1[_i];
  86357. if (J.get$length$asx(frame) === 0)
  86358. continue;
  86359. t3 = buffer._contents += "\n";
  86360. buffer._contents = t3 + (" " + A.S(frame));
  86361. }
  86362. t1 = buffer._contents;
  86363. return t1.charCodeAt(0) == 0 ? t1 : t1;
  86364. },
  86365. toString$0($receiver) {
  86366. return this.toString$1$color($receiver, null);
  86367. }
  86368. };
  86369. A.MultiSpanSassException0.prototype = {
  86370. withAdditionalSpan$2(span, label) {
  86371. var _this = this,
  86372. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  86373. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  86374. t2.$indexSet(0, span, label);
  86375. return A.MultiSpanSassException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  86376. },
  86377. withTrace$1(trace) {
  86378. var _this = this;
  86379. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  86380. },
  86381. withLoadedUrls$1(loadedUrls) {
  86382. var _this = this;
  86383. return A.MultiSpanSassException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  86384. },
  86385. toString$1$color(_, color) {
  86386. var t1, t2, _i, frame, _this = this,
  86387. useColor = color === true && true,
  86388. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  86389. 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));
  86390. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  86391. frame = t1[_i];
  86392. if (J.get$length$asx(frame) === 0)
  86393. continue;
  86394. buffer._contents += "\n";
  86395. buffer._contents += " " + A.S(frame);
  86396. }
  86397. t1 = buffer._contents;
  86398. return t1.charCodeAt(0) == 0 ? t1 : t1;
  86399. },
  86400. toString$0($receiver) {
  86401. return this.toString$1$color($receiver, null);
  86402. },
  86403. get$primaryLabel() {
  86404. return this.primaryLabel;
  86405. },
  86406. get$secondarySpans() {
  86407. return this.secondarySpans;
  86408. }
  86409. };
  86410. A.SassRuntimeException0.prototype = {
  86411. withAdditionalSpan$2(span, label) {
  86412. var _this = this;
  86413. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), _this.trace, _this.loadedUrls);
  86414. },
  86415. withLoadedUrls$1(loadedUrls) {
  86416. var _this = this,
  86417. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  86418. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  86419. return new A.SassRuntimeException0(_this.trace, t2, _this._span_exception$_message, t1);
  86420. },
  86421. get$trace(receiver) {
  86422. return this.trace;
  86423. }
  86424. };
  86425. A.MultiSpanSassRuntimeException0.prototype = {
  86426. withAdditionalSpan$2(span, label) {
  86427. var _this = this,
  86428. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  86429. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  86430. t2.$indexSet(0, span, label);
  86431. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  86432. },
  86433. withLoadedUrls$1(loadedUrls) {
  86434. var _this = this;
  86435. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  86436. },
  86437. $isSassRuntimeException0: 1,
  86438. get$trace(receiver) {
  86439. return this.trace;
  86440. }
  86441. };
  86442. A.SassFormatException0.prototype = {
  86443. get$source() {
  86444. var t1 = A.SourceSpanException.prototype.get$span.call(this, this);
  86445. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  86446. },
  86447. withAdditionalSpan$2(span, label) {
  86448. var _this = this;
  86449. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), _this.loadedUrls);
  86450. },
  86451. withLoadedUrls$1(loadedUrls) {
  86452. var t1 = A.SourceSpanException.prototype.get$span.call(this, this),
  86453. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  86454. return new A.SassFormatException0(t2, this._span_exception$_message, t1);
  86455. },
  86456. $isFormatException: 1,
  86457. $isSourceSpanFormatException: 1
  86458. };
  86459. A.MultiSpanSassFormatException0.prototype = {
  86460. get$source() {
  86461. var t1 = A.SourceSpanException.prototype.get$span.call(this, this);
  86462. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  86463. },
  86464. withAdditionalSpan$2(span, label) {
  86465. var _this = this,
  86466. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  86467. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  86468. t2.$indexSet(0, span, label);
  86469. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  86470. },
  86471. withLoadedUrls$1(loadedUrls) {
  86472. var _this = this;
  86473. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  86474. },
  86475. $isFormatException: 1,
  86476. $isSourceSpanFormatException: 1,
  86477. $isMultiSourceSpanFormatException: 1,
  86478. $isSassFormatException0: 1
  86479. };
  86480. A.SassScriptException0.prototype = {
  86481. withSpan$1(span) {
  86482. return new A.SassException0(B.Set_empty, this.message, span);
  86483. },
  86484. toString$0(_) {
  86485. return this.message + string$.x0a_BUG_;
  86486. },
  86487. get$message(receiver) {
  86488. return this.message;
  86489. }
  86490. };
  86491. A.MultiSpanSassScriptException0.prototype = {
  86492. withSpan$1(span) {
  86493. return A.MultiSpanSassException$0(this.message, span, this.primaryLabel, this.secondarySpans, null);
  86494. }
  86495. };
  86496. A.Exports.prototype = {};
  86497. A.LoggerNamespace.prototype = {};
  86498. A._MakeExpressionCalculationSafe0.prototype = {
  86499. visitCalculationExpression$1(node) {
  86500. return node;
  86501. },
  86502. visitBinaryOperationExpression$1(node) {
  86503. var t1, t2, t3;
  86504. if (node.operator === B.BinaryOperator_OTG0) {
  86505. t1 = A._setArrayType([node], type$.JSArray_Expression_2);
  86506. t2 = node.get$span(node);
  86507. t3 = type$.Expression_2;
  86508. 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));
  86509. t1 = t2;
  86510. } else
  86511. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0(node);
  86512. return t1;
  86513. },
  86514. visitInterpolatedFunctionExpression$1(node) {
  86515. return node;
  86516. },
  86517. visitUnaryOperationExpression$1(node) {
  86518. var t1 = node.operator;
  86519. if (t1 === B.UnaryOperator_gg40)
  86520. return node.operand;
  86521. else if (t1 === B.UnaryOperator_TLI0)
  86522. return new A.BinaryOperationExpression0(B.BinaryOperator_qN20, new A.NumberExpression0(-1, null, node.span), node.operand, false);
  86523. else
  86524. return this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0(node);
  86525. }
  86526. };
  86527. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0.prototype = {};
  86528. A.ExtendRule0.prototype = {
  86529. accept$1$1(visitor) {
  86530. return visitor.visitExtendRule$1(this);
  86531. },
  86532. accept$1(visitor) {
  86533. return this.accept$1$1(visitor, type$.dynamic);
  86534. },
  86535. toString$0(_) {
  86536. var t1 = this.selector.toString$0(0),
  86537. t2 = this.isOptional ? " !optional" : "";
  86538. return "@extend " + t1 + t2 + ";";
  86539. },
  86540. $isAstNode0: 1,
  86541. $isStatement0: 1,
  86542. get$span(receiver) {
  86543. return this.span;
  86544. }
  86545. };
  86546. A.Extension0.prototype = {
  86547. toString$0(_) {
  86548. var t1 = this.extender.toString$0(0),
  86549. t2 = this.target.toString$0(0),
  86550. t3 = this.isOptional ? " !optional" : "";
  86551. return t1 + " {@extend " + t2 + t3 + "}";
  86552. }
  86553. };
  86554. A.Extender0.prototype = {
  86555. assertCompatibleMediaContext$1(mediaContext) {
  86556. var expectedMediaContext,
  86557. extension = this._extension$_extension;
  86558. if (extension == null)
  86559. return;
  86560. expectedMediaContext = extension.mediaContext;
  86561. if (expectedMediaContext == null)
  86562. return;
  86563. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  86564. return;
  86565. throw A.wrapException(A.SassException$0(string$.You_ma, extension.span, null));
  86566. },
  86567. toString$0(_) {
  86568. return A.serializeSelector0(this.selector, true);
  86569. }
  86570. };
  86571. A.ExtensionStore0.prototype = {
  86572. get$isEmpty(_) {
  86573. return this._extension_store$_extensions.__js_helper$_length === 0;
  86574. },
  86575. get$simpleSelectors() {
  86576. return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
  86577. },
  86578. extensionsWhereTarget$1($async$callback) {
  86579. var $async$self = this;
  86580. return A._makeSyncStarIterable(function() {
  86581. var callback = $async$callback;
  86582. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
  86583. return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
  86584. if ($async$errorCode === 1) {
  86585. $async$currentError = $async$result;
  86586. $async$goto = $async$handler;
  86587. }
  86588. while (true)
  86589. switch ($async$goto) {
  86590. case 0:
  86591. // Function start
  86592. t1 = $async$self._extension_store$_extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
  86593. case 2:
  86594. // for condition
  86595. if (!t1.moveNext$0()) {
  86596. // goto after for
  86597. $async$goto = 3;
  86598. break;
  86599. }
  86600. t2 = t1.get$current(t1);
  86601. if (!callback.call$1(t2.key)) {
  86602. // goto for condition
  86603. $async$goto = 2;
  86604. break;
  86605. }
  86606. t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
  86607. case 4:
  86608. // for condition
  86609. if (!t2.moveNext$0()) {
  86610. // goto after for
  86611. $async$goto = 5;
  86612. break;
  86613. }
  86614. t3 = t2.get$current(t2);
  86615. $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
  86616. break;
  86617. case 6:
  86618. // then
  86619. t3 = t3.unmerge$0();
  86620. $async$goto = 9;
  86621. return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  86622. case 9:
  86623. // after yield
  86624. // goto join
  86625. $async$goto = 7;
  86626. break;
  86627. case 8:
  86628. // else
  86629. $async$goto = !t3.isOptional ? 10 : 11;
  86630. break;
  86631. case 10:
  86632. // then
  86633. $async$goto = 12;
  86634. return t3;
  86635. case 12:
  86636. // after yield
  86637. case 11:
  86638. // join
  86639. case 7:
  86640. // join
  86641. // goto for condition
  86642. $async$goto = 4;
  86643. break;
  86644. case 5:
  86645. // after for
  86646. // goto for condition
  86647. $async$goto = 2;
  86648. break;
  86649. case 3:
  86650. // after for
  86651. // implicit return
  86652. return A._IterationMarker_endOfIteration();
  86653. case 1:
  86654. // rethrow
  86655. return A._IterationMarker_uncaughtError($async$currentError);
  86656. }
  86657. };
  86658. }, type$.Extension_2);
  86659. },
  86660. addSelector$2(selector, mediaContext) {
  86661. var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
  86662. selector = selector;
  86663. originalSelector = selector;
  86664. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true0))
  86665. for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._extension_store$_originals, _i = 0; _i < t2; ++_i)
  86666. t3.add$1(0, t1[_i]);
  86667. t1 = _this._extension_store$_extensions;
  86668. if (t1.__js_helper$_length !== 0)
  86669. try {
  86670. selector = _this._extension_store$_extendList$3(originalSelector, t1, mediaContext);
  86671. } catch (exception) {
  86672. t1 = A.unwrapException(exception);
  86673. if (t1 instanceof A.SassException0) {
  86674. error = t1;
  86675. stackTrace = A.getTraceFromException(exception);
  86676. t1 = error;
  86677. t2 = J.getInterceptor$z(t1);
  86678. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  86679. t2 = error._span_exception$_message;
  86680. t3 = error;
  86681. t4 = J.getInterceptor$z(t3);
  86682. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  86683. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t1 + "\n" + t2, t3), stackTrace);
  86684. } else
  86685. throw exception;
  86686. }
  86687. modifiableSelector = new A.ModifiableBox0(selector, type$.ModifiableBox_SelectorList_2);
  86688. if (mediaContext != null)
  86689. _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  86690. _this._extension_store$_registerSelector$2(selector, modifiableSelector);
  86691. return new A.Box0(modifiableSelector, type$.Box_SelectorList_2);
  86692. },
  86693. _extension_store$_registerSelector$2(list, selector) {
  86694. var t1, t2, t3, _i, t4, t5, _i0, t6, t7, _i1, simple, selectorInPseudo;
  86695. for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, _i = 0; _i < t2; ++_i)
  86696. for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0)
  86697. for (t6 = t4[_i0].selector.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
  86698. simple = t6[_i1];
  86699. J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()), selector);
  86700. if (!(simple instanceof A.PseudoSelector0))
  86701. continue;
  86702. selectorInPseudo = simple.selector;
  86703. if (selectorInPseudo != null)
  86704. this._extension_store$_registerSelector$2(selectorInPseudo, selector);
  86705. }
  86706. },
  86707. addExtension$4(extender, target, extend, mediaContext) {
  86708. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, existingExtension, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  86709. selectors = _this._extension_store$_selectors.$index(0, target),
  86710. t1 = _this._extension_store$_extensionsByExtender,
  86711. existingExtensions = t1.$index(0, target),
  86712. sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
  86713. 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) {
  86714. complex = t2[_i];
  86715. if (complex.accept$1(B.C__IsUselessVisitor0))
  86716. continue;
  86717. complex.get$specificity();
  86718. t11 = new A.Extender0(complex, false);
  86719. extension = t11._extension$_extension = new A.Extension0(t11, target, mediaContext, t7, t6);
  86720. existingExtension = sources.$index(0, complex);
  86721. if (existingExtension != null) {
  86722. sources.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, extension));
  86723. continue;
  86724. }
  86725. sources.$indexSet(0, complex, extension);
  86726. for (t11 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  86727. t12 = t11.get$current(t11);
  86728. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure3()), extension);
  86729. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure4(complex));
  86730. }
  86731. if (!t4 || t8) {
  86732. if (newExtensions == null)
  86733. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  86734. newExtensions.$indexSet(0, complex, extension);
  86735. }
  86736. }
  86737. if (newExtensions == null)
  86738. return;
  86739. t1 = type$.SimpleSelector_2;
  86740. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
  86741. if (t8) {
  86742. additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  86743. if (additionalExtensions != null)
  86744. A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  86745. }
  86746. if (!t4)
  86747. _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
  86748. },
  86749. _extension_store$_simpleSelectors$1(complex) {
  86750. return this._simpleSelectors$body$ExtensionStore0(complex);
  86751. },
  86752. _simpleSelectors$body$ExtensionStore0($async$complex) {
  86753. var $async$self = this;
  86754. return A._makeSyncStarIterable(function() {
  86755. var complex = $async$complex;
  86756. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, t3, t4, _i0, simple, selector, t5, t6, _i1;
  86757. return function $async$_extension_store$_simpleSelectors$1($async$errorCode, $async$result) {
  86758. if ($async$errorCode === 1) {
  86759. $async$currentError = $async$result;
  86760. $async$goto = $async$handler;
  86761. }
  86762. while (true)
  86763. switch ($async$goto) {
  86764. case 0:
  86765. // Function start
  86766. t1 = complex.components, t2 = t1.length, _i = 0;
  86767. case 2:
  86768. // for condition
  86769. if (!(_i < t2)) {
  86770. // goto after for
  86771. $async$goto = 4;
  86772. break;
  86773. }
  86774. t3 = t1[_i].selector.components, t4 = t3.length, _i0 = 0;
  86775. case 5:
  86776. // for condition
  86777. if (!(_i0 < t4)) {
  86778. // goto after for
  86779. $async$goto = 7;
  86780. break;
  86781. }
  86782. simple = t3[_i0];
  86783. $async$goto = 8;
  86784. return simple;
  86785. case 8:
  86786. // after yield
  86787. if (!(simple instanceof A.PseudoSelector0)) {
  86788. // goto for update
  86789. $async$goto = 6;
  86790. break;
  86791. }
  86792. selector = simple.selector;
  86793. if (selector == null) {
  86794. // goto for update
  86795. $async$goto = 6;
  86796. break;
  86797. }
  86798. t5 = selector.components, t6 = t5.length, _i1 = 0;
  86799. case 9:
  86800. // for condition
  86801. if (!(_i1 < t6)) {
  86802. // goto after for
  86803. $async$goto = 11;
  86804. break;
  86805. }
  86806. $async$goto = 12;
  86807. return A._IterationMarker_yieldStar($async$self._extension_store$_simpleSelectors$1(t5[_i1]));
  86808. case 12:
  86809. // after yield
  86810. case 10:
  86811. // for update
  86812. ++_i1;
  86813. // goto for condition
  86814. $async$goto = 9;
  86815. break;
  86816. case 11:
  86817. // after for
  86818. case 6:
  86819. // for update
  86820. ++_i0;
  86821. // goto for condition
  86822. $async$goto = 5;
  86823. break;
  86824. case 7:
  86825. // after for
  86826. case 3:
  86827. // for update
  86828. ++_i;
  86829. // goto for condition
  86830. $async$goto = 2;
  86831. break;
  86832. case 4:
  86833. // after for
  86834. // implicit return
  86835. return A._IterationMarker_endOfIteration();
  86836. case 1:
  86837. // rethrow
  86838. return A._IterationMarker_uncaughtError($async$currentError);
  86839. }
  86840. };
  86841. }, type$.SimpleSelector_2);
  86842. },
  86843. _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
  86844. 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;
  86845. 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) {
  86846. extension = t1[_i];
  86847. t7 = t6.$index(0, extension.target);
  86848. t7.toString;
  86849. selectors = null;
  86850. try {
  86851. selectors = this._extension_store$_extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  86852. if (selectors == null)
  86853. continue;
  86854. } catch (exception) {
  86855. t8 = A.unwrapException(exception);
  86856. if (t8 instanceof A.SassException0) {
  86857. error = t8;
  86858. stackTrace = A.getTraceFromException(exception);
  86859. A.throwWithTrace0(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), stackTrace);
  86860. } else
  86861. throw exception;
  86862. }
  86863. t8 = J.get$first$ax(selectors);
  86864. t9 = extension.extender.selector;
  86865. containsExtension = B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components);
  86866. for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
  86867. complex = t8[_i0];
  86868. if (containsExtension && first) {
  86869. first = false;
  86870. continue;
  86871. }
  86872. t10 = extension;
  86873. t11 = t10.target;
  86874. t12 = t10.span;
  86875. t13 = t10.mediaContext;
  86876. t10 = t10.isOptional;
  86877. complex.get$specificity();
  86878. t14 = new A.Extender0(complex, false);
  86879. withExtender = t14._extension$_extension = new A.Extension0(t14, t11, t13, t10, t12);
  86880. existingExtension = t7.$index(0, complex);
  86881. if (existingExtension != null)
  86882. t7.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, withExtender));
  86883. else {
  86884. t7.$indexSet(0, complex, withExtender);
  86885. for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1)
  86886. for (t12 = t10[_i1].selector.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
  86887. J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
  86888. if (newExtensions.containsKey$1(extension.target)) {
  86889. if (additionalExtensions == null)
  86890. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  86891. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, complex, withExtender);
  86892. }
  86893. }
  86894. }
  86895. if (!containsExtension)
  86896. t7.remove$1(0, extension.extender);
  86897. }
  86898. return additionalExtensions;
  86899. },
  86900. _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
  86901. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  86902. for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
  86903. selector = t1.get$current(t1);
  86904. oldValue = selector.value;
  86905. try {
  86906. selector.value = this._extension_store$_extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  86907. } catch (exception) {
  86908. t3 = A.unwrapException(exception);
  86909. if (t3 instanceof A.SassException0) {
  86910. error = t3;
  86911. stackTrace = A.getTraceFromException(exception);
  86912. t3 = selector.value.span.message$1(0, "");
  86913. t4 = error._span_exception$_message;
  86914. t5 = error;
  86915. t6 = J.getInterceptor$z(t5);
  86916. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  86917. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t3 + "\n" + t4, t5), stackTrace);
  86918. } else
  86919. throw exception;
  86920. }
  86921. if (oldValue === selector.value)
  86922. continue;
  86923. this._extension_store$_registerSelector$2(selector.value, selector);
  86924. }
  86925. },
  86926. addExtensions$1(extensionStores) {
  86927. var t1, t2, t3, _box_0 = {};
  86928. _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
  86929. for (t1 = J.get$iterator$ax(extensionStores), t2 = this._extension_store$_sourceSpecificity; t1.moveNext$0();) {
  86930. t3 = t1.get$current(t1);
  86931. if (t3.get$isEmpty(t3))
  86932. continue;
  86933. t2.addAll$1(0, t3.get$_extension_store$_sourceSpecificity());
  86934. t3.get$_extension_store$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure1(_box_0, this));
  86935. }
  86936. A.NullableExtension_andThen0(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure2(_box_0, this));
  86937. },
  86938. _extension_store$_extendList$3(list, extensions, mediaQueryContext) {
  86939. var t1, t2, t3, extended, i, complex, result, t4;
  86940. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
  86941. complex = t1[i];
  86942. result = this._extension_store$_extendComplex$3(complex, extensions, mediaQueryContext);
  86943. if (result == null) {
  86944. if (extended != null)
  86945. extended.push(complex);
  86946. } else {
  86947. if (extended == null)
  86948. if (i === 0)
  86949. extended = A._setArrayType([], t3);
  86950. else {
  86951. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  86952. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  86953. }
  86954. B.JSArray_methods.addAll$1(extended, result);
  86955. }
  86956. }
  86957. if (extended == null)
  86958. return list;
  86959. t1 = this._extension_store$_originals;
  86960. return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)), list.span);
  86961. },
  86962. _extension_store$_extendList$2(list, extensions) {
  86963. return this._extension_store$_extendList$3(list, extensions, null);
  86964. },
  86965. _extension_store$_extendComplex$3(complex, extensions, mediaQueryContext) {
  86966. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  86967. t1 = complex.leadingCombinators,
  86968. t2 = t1.length;
  86969. if (t2 > 1)
  86970. return null;
  86971. isOriginal = this._extension_store$_originals.contains$1(0, complex);
  86972. 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) {
  86973. component = t3[i];
  86974. extended = this._extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  86975. if (extended == null) {
  86976. if (extendedNotExpanded != null)
  86977. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$0(B.List_empty14, A._setArrayType([component], t10), t8, t6)], t9));
  86978. } else if (extendedNotExpanded != null)
  86979. extendedNotExpanded.push(extended);
  86980. else if (i !== 0) {
  86981. t11 = A._arrayInstanceType(t3);
  86982. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  86983. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  86984. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$0(t1, t12, t8, t6)], t9), extended], t5);
  86985. } else if (t2)
  86986. extendedNotExpanded = A._setArrayType([extended], t5);
  86987. else {
  86988. t11 = A._setArrayType([], t9);
  86989. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  86990. t13 = t12.get$current(t12);
  86991. t14 = t13.leadingCombinators;
  86992. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  86993. t14 = t13.components;
  86994. t11.push(A.ComplexSelector$0(t1, t14, t8, !t7 || t13.lineBreak));
  86995. }
  86996. }
  86997. extendedNotExpanded = A._setArrayType([t11], t5);
  86998. }
  86999. }
  87000. if (extendedNotExpanded == null)
  87001. return null;
  87002. _box_0.first = true;
  87003. t1 = type$.ComplexSelector_2;
  87004. t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
  87005. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  87006. },
  87007. _extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  87008. 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,
  87009. t1 = _this._extension_store$_mode,
  87010. targetsUsed = t1 === B.ExtendMode_normal_normal0 || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2),
  87011. t2 = component.selector,
  87012. simples = t2.components;
  87013. 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) {
  87014. simple = simples[i];
  87015. extended = _this._extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  87016. if (extended == null) {
  87017. if (options != null)
  87018. options.push(A._setArrayType([_this._extension_store$_extenderForSimple$1(simple)], t5));
  87019. } else {
  87020. if (options == null) {
  87021. options = A._setArrayType([], t4);
  87022. if (i !== 0) {
  87023. t12 = new A.SubListIterable(simples, 0, i, t8);
  87024. t12.SubListIterable$3(simples, 0, i, t9);
  87025. result = A.List_List$from(t12, false, t11);
  87026. result.fixed$length = Array;
  87027. result.immutable$list = Array;
  87028. t12 = result;
  87029. compound = new A.CompoundSelector0(t12, t10);
  87030. if (t12.length === 0)
  87031. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  87032. result = A.List_List$from(B.List_empty14, false, t6);
  87033. result.fixed$length = Array;
  87034. result.immutable$list = Array;
  87035. t12 = A.ComplexSelector$0(B.List_empty14, A._setArrayType([new A.ComplexSelectorComponent0(compound, result, t10)], t7), t10, false);
  87036. _this._extension_store$_sourceSpecificityFor$1(compound);
  87037. options.push(A._setArrayType([new A.Extender0(t12, true)], t5));
  87038. }
  87039. }
  87040. B.JSArray_methods.addAll$1(options, extended);
  87041. }
  87042. }
  87043. if (options == null)
  87044. return _null;
  87045. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
  87046. return _null;
  87047. if (options.length === 1) {
  87048. 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();) {
  87049. t4 = t1.get$current(t1);
  87050. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  87051. complex = t4.selector.withAdditionalCombinators$1(t2);
  87052. if (complex.accept$1(B.C__IsUselessVisitor0))
  87053. continue;
  87054. if (result == null)
  87055. result = A._setArrayType([], t3);
  87056. result.push(complex);
  87057. }
  87058. return result;
  87059. }
  87060. extenderPaths = A.paths0(options, type$.Extender_2);
  87061. t3 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  87062. t1 = t1 === B.ExtendMode_replace_replace0;
  87063. t4 = !t1;
  87064. if (t4)
  87065. 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));
  87066. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  87067. t2 = t2.get$iterator(t2);
  87068. t5 = component.combinators;
  87069. for (; t2.moveNext$0();) {
  87070. extended = _this._extension_store$_unifyExtenders$3(t2.get$current(t2), mediaQueryContext, t10);
  87071. if (extended == null)
  87072. continue;
  87073. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  87074. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t5);
  87075. if (!withCombinators.accept$1(B.C__IsUselessVisitor0))
  87076. t3.push(withCombinators);
  87077. }
  87078. }
  87079. isOriginal = new A.ExtensionStore__extendCompound_closure3();
  87080. return _this._extension_store$_trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure4(B.JSArray_methods.get$first(t3)) : isOriginal);
  87081. },
  87082. _extension_store$_unifyExtenders$3(extenders, mediaQueryContext, span) {
  87083. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  87084. toUnify = A.QueueList$(_null, type$.ComplexSelector_2);
  87085. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector_2, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  87086. t4 = t2.get$current(t2);
  87087. if (t4.isOriginal) {
  87088. if (originals == null)
  87089. originals = A._setArrayType([], t3);
  87090. t4 = t4.selector;
  87091. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  87092. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  87093. } else {
  87094. t4 = t4.selector;
  87095. if (t4.accept$1(B.C__IsUselessVisitor0))
  87096. return _null;
  87097. else
  87098. toUnify._add$1(t4);
  87099. }
  87100. }
  87101. if (originals != null)
  87102. 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));
  87103. complexes = A.unifyComplex0(toUnify, span);
  87104. if (complexes == null)
  87105. return _null;
  87106. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  87107. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  87108. return complexes;
  87109. },
  87110. _extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  87111. var extended,
  87112. t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed);
  87113. if (simple instanceof A.PseudoSelector0 && simple.selector != null) {
  87114. extended = this._extension_store$_extendPseudo$3(simple, extensions, mediaQueryContext);
  87115. if (extended != null)
  87116. return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure1(this, t1), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender0>>"));
  87117. }
  87118. return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
  87119. },
  87120. _extension_store$_extenderForSimple$1(simple) {
  87121. var t1 = simple.span;
  87122. 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);
  87123. this._extension_store$_sourceSpecificity.$index(0, simple);
  87124. return new A.Extender0(t1, true);
  87125. },
  87126. _extension_store$_extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  87127. var extended, complexes, t1, result,
  87128. selector = pseudo.selector;
  87129. if (selector == null)
  87130. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  87131. extended = this._extension_store$_extendList$3(selector, extensions, mediaQueryContext);
  87132. if (extended === selector)
  87133. return null;
  87134. complexes = extended.components;
  87135. t1 = pseudo.normalizedName === "not";
  87136. 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()))
  87137. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  87138. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
  87139. if (t1 && selector.components.length === 1) {
  87140. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
  87141. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  87142. return result.length === 0 ? null : result;
  87143. } else
  87144. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$0(complexes, selector.span))], type$.JSArray_PseudoSelector_2);
  87145. },
  87146. _extension_store$_trim$2(selectors, isOriginal) {
  87147. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  87148. if (selectors.length > 100)
  87149. return selectors;
  87150. result = A.QueueList$(null, type$.ComplexSelector_2);
  87151. $label0$0:
  87152. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  87153. _box_0 = {};
  87154. complex1 = selectors[i];
  87155. if (isOriginal.call$1(complex1)) {
  87156. for (j = 0; j < numOriginals; ++j)
  87157. if (J.$eq$(result.$index(0, j), complex1)) {
  87158. A.rotateSlice0(result, 0, j + 1);
  87159. continue $label0$0;
  87160. }
  87161. ++numOriginals;
  87162. result.addFirst$1(complex1);
  87163. continue $label0$0;
  87164. }
  87165. _box_0.maxSpecificity = 0;
  87166. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  87167. maxSpecificity = Math.max(t5, this._extension_store$_sourceSpecificityFor$1(t3[_i].selector));
  87168. _box_0.maxSpecificity = maxSpecificity;
  87169. }
  87170. if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
  87171. continue $label0$0;
  87172. t3 = new A.SubListIterable(selectors, 0, i, t1);
  87173. t3.SubListIterable$3(selectors, 0, i, t2);
  87174. if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
  87175. continue $label0$0;
  87176. result.addFirst$1(complex1);
  87177. }
  87178. return result;
  87179. },
  87180. _extension_store$_sourceSpecificityFor$1(compound) {
  87181. var t1, t2, t3, specificity, _i, t4;
  87182. for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  87183. t4 = t3.$index(0, t1[_i]);
  87184. specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
  87185. }
  87186. return specificity;
  87187. },
  87188. clone$0() {
  87189. var t2, t3, t4, _this = this,
  87190. t1 = type$.SimpleSelector_2,
  87191. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList_2),
  87192. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList_2, type$.List_CssMediaQuery_2),
  87193. oldToNewSelectors = new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_of_SelectorList_and_Box_SelectorList_2);
  87194. _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  87195. t2 = type$.Extension_2;
  87196. t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
  87197. t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
  87198. t1 = new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int_2);
  87199. t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
  87200. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
  87201. t4.addAll$1(0, _this._extension_store$_originals);
  87202. 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);
  87203. },
  87204. get$_extension_store$_extensions() {
  87205. return this._extension_store$_extensions;
  87206. },
  87207. get$_extension_store$_sourceSpecificity() {
  87208. return this._extension_store$_sourceSpecificity;
  87209. }
  87210. };
  87211. A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
  87212. call$1(extension) {
  87213. return !extension.isOptional;
  87214. },
  87215. $signature: 416
  87216. };
  87217. A.ExtensionStore__registerSelector_closure0.prototype = {
  87218. call$0() {
  87219. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList_2);
  87220. },
  87221. $signature: 417
  87222. };
  87223. A.ExtensionStore_addExtension_closure2.prototype = {
  87224. call$0() {
  87225. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  87226. },
  87227. $signature: 133
  87228. };
  87229. A.ExtensionStore_addExtension_closure3.prototype = {
  87230. call$0() {
  87231. return A._setArrayType([], type$.JSArray_Extension_2);
  87232. },
  87233. $signature: 218
  87234. };
  87235. A.ExtensionStore_addExtension_closure4.prototype = {
  87236. call$0() {
  87237. return this.complex.get$specificity();
  87238. },
  87239. $signature: 12
  87240. };
  87241. A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
  87242. call$0() {
  87243. return A._setArrayType([], type$.JSArray_Extension_2);
  87244. },
  87245. $signature: 218
  87246. };
  87247. A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
  87248. call$0() {
  87249. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  87250. },
  87251. $signature: 133
  87252. };
  87253. A.ExtensionStore_addExtensions_closure1.prototype = {
  87254. call$2(target, newSources) {
  87255. var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
  87256. if (target instanceof A.PlaceholderSelector0) {
  87257. first = B.JSString_methods._codeUnitAt$1(target.name, 0);
  87258. t1 = first === 45 || first === 95;
  87259. } else
  87260. t1 = false;
  87261. if (t1)
  87262. return;
  87263. t1 = _this.$this;
  87264. extensionsForTarget = t1._extension_store$_extensionsByExtender.$index(0, target);
  87265. t2 = extensionsForTarget == null;
  87266. if (!t2) {
  87267. t3 = _this._box_0;
  87268. t4 = t3.extensionsToExtend;
  87269. B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension_2) : t4, extensionsForTarget);
  87270. }
  87271. selectorsForTarget = t1._extension_store$_selectors.$index(0, target);
  87272. t3 = selectorsForTarget != null;
  87273. if (t3) {
  87274. t4 = _this._box_0;
  87275. t5 = t4.selectorsToExtend;
  87276. (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList_2) : t5).addAll$1(0, selectorsForTarget);
  87277. }
  87278. t1 = t1._extension_store$_extensions;
  87279. existingSources = t1.$index(0, target);
  87280. if (existingSources == null) {
  87281. t4 = type$.ComplexSelector_2;
  87282. t5 = type$.Extension_2;
  87283. t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
  87284. if (!t2 || t3) {
  87285. t1 = _this._box_0;
  87286. t2 = t1.newExtensions;
  87287. t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
  87288. t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
  87289. }
  87290. } else
  87291. newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure4(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
  87292. },
  87293. $signature: 420
  87294. };
  87295. A.ExtensionStore_addExtensions__closure4.prototype = {
  87296. call$2(extender, extension) {
  87297. var t2, _this = this,
  87298. t1 = _this.existingSources;
  87299. if (t1.containsKey$1(extender)) {
  87300. t2 = t1.$index(0, extender);
  87301. extension = A.MergedExtension_merge0(t2, extension);
  87302. t1.$indexSet(0, extender, extension);
  87303. } else
  87304. t1.$indexSet(0, extender, extension);
  87305. if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
  87306. t1 = _this._box_0;
  87307. t2 = t1.newExtensions;
  87308. t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
  87309. J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure0()), extender, extension);
  87310. }
  87311. },
  87312. $signature: 421
  87313. };
  87314. A.ExtensionStore_addExtensions___closure0.prototype = {
  87315. call$0() {
  87316. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  87317. },
  87318. $signature: 133
  87319. };
  87320. A.ExtensionStore_addExtensions_closure2.prototype = {
  87321. call$1(newExtensions) {
  87322. var t1 = this._box_0,
  87323. t2 = this.$this;
  87324. A.NullableExtension_andThen0(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure2(t2, newExtensions));
  87325. A.NullableExtension_andThen0(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure3(t2, newExtensions));
  87326. },
  87327. $signature: 422
  87328. };
  87329. A.ExtensionStore_addExtensions__closure2.prototype = {
  87330. call$1(extensionsToExtend) {
  87331. return this.$this._extension_store$_extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
  87332. },
  87333. $signature: 423
  87334. };
  87335. A.ExtensionStore_addExtensions__closure3.prototype = {
  87336. call$1(selectorsToExtend) {
  87337. return this.$this._extension_store$_extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
  87338. },
  87339. $signature: 424
  87340. };
  87341. A.ExtensionStore__extendComplex_closure0.prototype = {
  87342. call$1(path) {
  87343. var t1 = this.complex;
  87344. 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);
  87345. },
  87346. $signature: 425
  87347. };
  87348. A.ExtensionStore__extendComplex__closure0.prototype = {
  87349. call$1(outputComplex) {
  87350. var _this = this,
  87351. t1 = _this._box_0;
  87352. if (t1.first && _this.$this._extension_store$_originals.contains$1(0, _this.complex))
  87353. _this.$this._extension_store$_originals.add$1(0, outputComplex);
  87354. t1.first = false;
  87355. return outputComplex;
  87356. },
  87357. $signature: 58
  87358. };
  87359. A.ExtensionStore__extendCompound_closure2.prototype = {
  87360. call$1(extender) {
  87361. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  87362. },
  87363. $signature: 427
  87364. };
  87365. A.ExtensionStore__extendCompound_closure3.prototype = {
  87366. call$1(_) {
  87367. return false;
  87368. },
  87369. $signature: 15
  87370. };
  87371. A.ExtensionStore__extendCompound_closure4.prototype = {
  87372. call$1(complex) {
  87373. return complex.$eq(0, this.original);
  87374. },
  87375. $signature: 15
  87376. };
  87377. A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
  87378. call$1(simple) {
  87379. var t1, t2,
  87380. extensionsForSimple = this.extensions.$index(0, simple);
  87381. if (extensionsForSimple == null)
  87382. return null;
  87383. t1 = this.targetsUsed;
  87384. if (t1 != null)
  87385. t1.add$1(0, simple);
  87386. t1 = A._setArrayType([], type$.JSArray_Extender_2);
  87387. t2 = this.$this;
  87388. if (t2._extension_store$_mode !== B.ExtendMode_replace_replace0)
  87389. t1.push(t2._extension_store$_extenderForSimple$1(simple));
  87390. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  87391. t1.push(t2.get$current(t2).extender);
  87392. return t1;
  87393. },
  87394. $signature: 428
  87395. };
  87396. A.ExtensionStore__extendSimple_closure1.prototype = {
  87397. call$1(pseudo) {
  87398. var t1 = this.withoutPseudo.call$1(pseudo);
  87399. return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$1(pseudo)], type$.JSArray_Extender_2) : t1;
  87400. },
  87401. $signature: 429
  87402. };
  87403. A.ExtensionStore__extendSimple_closure2.prototype = {
  87404. call$1(result) {
  87405. return A._setArrayType([result], type$.JSArray_List_Extender_2);
  87406. },
  87407. $signature: 430
  87408. };
  87409. A.ExtensionStore__extendPseudo_closure4.prototype = {
  87410. call$1(complex) {
  87411. return complex.components.length > 1;
  87412. },
  87413. $signature: 15
  87414. };
  87415. A.ExtensionStore__extendPseudo_closure5.prototype = {
  87416. call$1(complex) {
  87417. return complex.components.length === 1;
  87418. },
  87419. $signature: 15
  87420. };
  87421. A.ExtensionStore__extendPseudo_closure6.prototype = {
  87422. call$1(complex) {
  87423. return complex.components.length <= 1;
  87424. },
  87425. $signature: 15
  87426. };
  87427. A.ExtensionStore__extendPseudo_closure7.prototype = {
  87428. call$1(complex) {
  87429. var innerPseudo, innerSelector,
  87430. t1 = complex.get$singleCompound();
  87431. if (t1 == null)
  87432. innerPseudo = null;
  87433. else {
  87434. t1 = t1.components;
  87435. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  87436. }
  87437. if (!(innerPseudo instanceof A.PseudoSelector0))
  87438. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  87439. innerSelector = innerPseudo.selector;
  87440. if (innerSelector == null)
  87441. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  87442. t1 = this.pseudo;
  87443. switch (t1.normalizedName) {
  87444. case "not":
  87445. if (!B.Set_aAXJu._map.containsKey$1(innerPseudo.normalizedName))
  87446. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  87447. return innerSelector.components;
  87448. case "is":
  87449. case "matches":
  87450. case "where":
  87451. case "any":
  87452. case "current":
  87453. case "nth-child":
  87454. case "nth-last-child":
  87455. if (innerPseudo.name !== t1.name)
  87456. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  87457. if (innerPseudo.argument != t1.argument)
  87458. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  87459. return innerSelector.components;
  87460. case "has":
  87461. case "host":
  87462. case "host-context":
  87463. case "slotted":
  87464. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  87465. default:
  87466. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  87467. }
  87468. },
  87469. $signature: 431
  87470. };
  87471. A.ExtensionStore__extendPseudo_closure8.prototype = {
  87472. call$1(complex) {
  87473. return this.pseudo.withSelector$1(A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2), this.selector.span));
  87474. },
  87475. $signature: 432
  87476. };
  87477. A.ExtensionStore__trim_closure1.prototype = {
  87478. call$1(complex2) {
  87479. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  87480. },
  87481. $signature: 15
  87482. };
  87483. A.ExtensionStore__trim_closure2.prototype = {
  87484. call$1(complex2) {
  87485. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  87486. },
  87487. $signature: 15
  87488. };
  87489. A.ExtensionStore_clone_closure0.prototype = {
  87490. call$2(simple, selectors) {
  87491. var t2, t3, t4, t5, t6, t7, newSelector, mediaContext, _this = this,
  87492. t1 = type$.ModifiableBox_SelectorList_2,
  87493. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  87494. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  87495. 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();) {
  87496. t7 = t2.get$current(t2);
  87497. newSelector = new A.ModifiableBox0(t7.value, t1);
  87498. newSelectorSet.add$1(0, newSelector);
  87499. t3.$indexSet(0, t7.value, new A.Box0(newSelector, t4));
  87500. mediaContext = t5.$index(0, t7);
  87501. if (mediaContext != null)
  87502. t6.$indexSet(0, newSelector, mediaContext);
  87503. }
  87504. },
  87505. $signature: 433
  87506. };
  87507. A.FiberClass.prototype = {};
  87508. A.Fiber.prototype = {};
  87509. A.NodeToDartFileImporter.prototype = {
  87510. canonicalize$1(_, url) {
  87511. var result, t1, resultUrl;
  87512. if (url.get$scheme() === "file")
  87513. return $.$get$_filesystemImporter0().canonicalize$1(0, url);
  87514. result = this._file0$_findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
  87515. if (result == null)
  87516. return null;
  87517. t1 = self.Promise;
  87518. if (result instanceof t1)
  87519. A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
  87520. else {
  87521. t1 = self.URL;
  87522. if (!(result instanceof t1))
  87523. A.jsThrow(new self.Error(string$.The_fie));
  87524. }
  87525. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  87526. if (resultUrl.get$scheme() !== "file")
  87527. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  87528. return $.$get$_filesystemImporter0().canonicalize$1(0, resultUrl);
  87529. },
  87530. load$1(_, url) {
  87531. return $.$get$_filesystemImporter0().load$1(0, url);
  87532. }
  87533. };
  87534. A.FilesystemImporter0.prototype = {
  87535. canonicalize$1(_, url) {
  87536. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  87537. return null;
  87538. 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());
  87539. },
  87540. load$1(_, url) {
  87541. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  87542. return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
  87543. },
  87544. toString$0(_) {
  87545. return this._filesystem$_loadPath;
  87546. }
  87547. };
  87548. A.FilesystemImporter_canonicalize_closure0.prototype = {
  87549. call$1(resolved) {
  87550. var t2, t0, _null = null,
  87551. t1 = self.process;
  87552. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  87553. t1 = self.process;
  87554. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  87555. } else
  87556. t1 = true;
  87557. if (t1) {
  87558. t1 = $.$get$context();
  87559. t2 = A._realCasePath0(A.absolute(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  87560. t0 = t2;
  87561. t2 = t1;
  87562. t1 = t0;
  87563. } else {
  87564. t1 = $.$get$context();
  87565. t2 = t1.canonicalize$1(0, resolved);
  87566. t0 = t2;
  87567. t2 = t1;
  87568. t1 = t0;
  87569. }
  87570. return t2.toUri$1(t1);
  87571. },
  87572. $signature: 179
  87573. };
  87574. A.ForRule0.prototype = {
  87575. accept$1$1(visitor) {
  87576. return visitor.visitForRule$1(this);
  87577. },
  87578. accept$1(visitor) {
  87579. return this.accept$1$1(visitor, type$.dynamic);
  87580. },
  87581. toString$0(_) {
  87582. var _this = this,
  87583. t1 = _this.from.toString$0(0),
  87584. t2 = _this.isExclusive ? "to" : "through",
  87585. t3 = _this.children;
  87586. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  87587. },
  87588. get$span(receiver) {
  87589. return this.span;
  87590. }
  87591. };
  87592. A.ForwardRule0.prototype = {
  87593. accept$1$1(visitor) {
  87594. return visitor.visitForwardRule$1(this);
  87595. },
  87596. accept$1(visitor) {
  87597. return this.accept$1$1(visitor, type$.dynamic);
  87598. },
  87599. toString$0(_) {
  87600. var t2, prefix, _this = this,
  87601. t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
  87602. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  87603. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  87604. if (shownMixinsAndFunctions != null) {
  87605. t2 = _this.shownVariables;
  87606. t2.toString;
  87607. t2 = t1 + " show " + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
  87608. t1 = t2;
  87609. } else {
  87610. if (hiddenMixinsAndFunctions != null) {
  87611. t2 = hiddenMixinsAndFunctions._base;
  87612. t2 = t2.get$isNotEmpty(t2);
  87613. } else
  87614. t2 = false;
  87615. if (t2) {
  87616. t2 = _this.hiddenVariables;
  87617. t2.toString;
  87618. t2 = t1 + " hide " + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
  87619. t1 = t2;
  87620. }
  87621. }
  87622. prefix = _this.prefix;
  87623. if (prefix != null)
  87624. t1 += " as " + prefix + "*";
  87625. t2 = _this.configuration;
  87626. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  87627. return t1.charCodeAt(0) == 0 ? t1 : t1;
  87628. },
  87629. _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
  87630. var t2,
  87631. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  87632. for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
  87633. t1.push("$" + t2.get$current(t2));
  87634. return B.JSArray_methods.join$1(t1, ", ");
  87635. },
  87636. $isAstNode0: 1,
  87637. $isStatement0: 1,
  87638. get$span(receiver) {
  87639. return this.span;
  87640. }
  87641. };
  87642. A.ForwardedModuleView0.prototype = {
  87643. get$url(_) {
  87644. var t1 = this._forwarded_view0$_inner;
  87645. return t1.get$url(t1);
  87646. },
  87647. get$upstream() {
  87648. return this._forwarded_view0$_inner.get$upstream();
  87649. },
  87650. get$extensionStore() {
  87651. return this._forwarded_view0$_inner.get$extensionStore();
  87652. },
  87653. get$css(_) {
  87654. var t1 = this._forwarded_view0$_inner;
  87655. return t1.get$css(t1);
  87656. },
  87657. get$transitivelyContainsCss() {
  87658. return this._forwarded_view0$_inner.get$transitivelyContainsCss();
  87659. },
  87660. get$transitivelyContainsExtensions() {
  87661. return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
  87662. },
  87663. setVariable$3($name, value, nodeWithSpan) {
  87664. var prefix,
  87665. _s19_ = "Undefined variable.",
  87666. t1 = this._forwarded_view0$_rule,
  87667. shownVariables = t1.shownVariables,
  87668. hiddenVariables = t1.hiddenVariables;
  87669. if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
  87670. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  87671. else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
  87672. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  87673. prefix = t1.prefix;
  87674. if (prefix != null) {
  87675. if (!B.JSString_methods.startsWith$1($name, prefix))
  87676. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  87677. $name = B.JSString_methods.substring$1($name, prefix.length);
  87678. }
  87679. return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  87680. },
  87681. variableIdentity$1($name) {
  87682. var prefix = this._forwarded_view0$_rule.prefix;
  87683. if (prefix != null)
  87684. $name = B.JSString_methods.substring$1($name, prefix.length);
  87685. return this._forwarded_view0$_inner.variableIdentity$1($name);
  87686. },
  87687. $eq(_, other) {
  87688. if (other == null)
  87689. return false;
  87690. return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
  87691. },
  87692. get$hashCode(_) {
  87693. var t1 = this._forwarded_view0$_inner;
  87694. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
  87695. },
  87696. cloneCss$0() {
  87697. return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
  87698. },
  87699. toString$0(_) {
  87700. return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
  87701. },
  87702. $isModule0: 1,
  87703. get$variables() {
  87704. return this.variables;
  87705. },
  87706. get$variableNodes() {
  87707. return this.variableNodes;
  87708. },
  87709. get$functions(receiver) {
  87710. return this.functions;
  87711. },
  87712. get$mixins() {
  87713. return this.mixins;
  87714. }
  87715. };
  87716. A.FunctionExpression0.prototype = {
  87717. accept$1$1(visitor) {
  87718. return visitor.visitFunctionExpression$1(this);
  87719. },
  87720. accept$1(visitor) {
  87721. return this.accept$1$1(visitor, type$.dynamic);
  87722. },
  87723. toString$0(_) {
  87724. var t1 = this.namespace;
  87725. t1 = t1 != null ? "" + (t1 + ".") : "";
  87726. t1 += this.originalName + this.$arguments.toString$0(0);
  87727. return t1.charCodeAt(0) == 0 ? t1 : t1;
  87728. },
  87729. $isExpression0: 1,
  87730. $isAstNode0: 1,
  87731. get$span(receiver) {
  87732. return this.span;
  87733. }
  87734. };
  87735. A.JSFunction0.prototype = {};
  87736. A.SupportsFunction0.prototype = {
  87737. toString$0(_) {
  87738. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  87739. },
  87740. $isAstNode0: 1,
  87741. get$span(receiver) {
  87742. return this.span;
  87743. }
  87744. };
  87745. A.functionClass_closure.prototype = {
  87746. call$0() {
  87747. var t1 = type$.JSClass,
  87748. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
  87749. A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null)).constructor), jsClass);
  87750. return jsClass;
  87751. },
  87752. $signature: 26
  87753. };
  87754. A.functionClass__closure.prototype = {
  87755. call$3($self, signature, callback) {
  87756. var paren = B.JSString_methods.indexOf$1(signature, "(");
  87757. if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
  87758. A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
  87759. 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));
  87760. },
  87761. "call*": "call$3",
  87762. $requiredArgCount: 3,
  87763. $signature: 434
  87764. };
  87765. A.functionClass__closure0.prototype = {
  87766. call$1(_) {
  87767. return B.C__SassNull0;
  87768. },
  87769. $signature: 3
  87770. };
  87771. A.SassFunction0.prototype = {
  87772. accept$1$1(visitor) {
  87773. var t1, t2;
  87774. if (!visitor._serialize0$_inspect)
  87775. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  87776. t1 = visitor._serialize0$_buffer;
  87777. t1.write$1(0, "get-function(");
  87778. t2 = this.callable;
  87779. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  87780. t1.writeCharCode$1(41);
  87781. return null;
  87782. },
  87783. accept$1(visitor) {
  87784. return this.accept$1$1(visitor, type$.dynamic);
  87785. },
  87786. assertFunction$1($name) {
  87787. return this;
  87788. },
  87789. $eq(_, other) {
  87790. if (other == null)
  87791. return false;
  87792. return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
  87793. },
  87794. get$hashCode(_) {
  87795. var t1 = this.callable;
  87796. return t1.get$hashCode(t1);
  87797. }
  87798. };
  87799. A.FunctionRule0.prototype = {
  87800. accept$1$1(visitor) {
  87801. return visitor.visitFunctionRule$1(this);
  87802. },
  87803. accept$1(visitor) {
  87804. return this.accept$1$1(visitor, type$.dynamic);
  87805. },
  87806. toString$0(_) {
  87807. var t1 = this.children;
  87808. return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  87809. }
  87810. };
  87811. A.unifyComplex_closure0.prototype = {
  87812. call$1(complex) {
  87813. return complex.lineBreak;
  87814. },
  87815. $signature: 15
  87816. };
  87817. A._weaveParents_closure3.prototype = {
  87818. call$2(group1, group2) {
  87819. var t1, unified;
  87820. if (B.C_ListEquality.equals$2(0, group1, group2))
  87821. return group1;
  87822. if (A._complexIsParentSuperselector0(group1, group2))
  87823. return group2;
  87824. if (A._complexIsParentSuperselector0(group2, group1))
  87825. return group1;
  87826. if (!A._mustUnify0(group1, group2))
  87827. return null;
  87828. t1 = this.span;
  87829. 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);
  87830. if (unified == null)
  87831. return null;
  87832. t1 = J.getInterceptor$asx(unified);
  87833. if (t1.get$length(unified) > 1)
  87834. return null;
  87835. return t1.get$first(unified).components;
  87836. },
  87837. $signature: 435
  87838. };
  87839. A._weaveParents_closure4.prototype = {
  87840. call$1(sequence) {
  87841. return A._complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
  87842. },
  87843. $signature: 220
  87844. };
  87845. A._weaveParents_closure5.prototype = {
  87846. call$1(sequence) {
  87847. return sequence.get$length(sequence) === 0;
  87848. },
  87849. $signature: 220
  87850. };
  87851. A._weaveParents_closure6.prototype = {
  87852. call$1(choice) {
  87853. return J.get$isNotEmpty$asx(choice);
  87854. },
  87855. $signature: 437
  87856. };
  87857. A._mustUnify_closure0.prototype = {
  87858. call$1(component) {
  87859. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure0(this.uniqueSelectors));
  87860. },
  87861. $signature: 47
  87862. };
  87863. A._mustUnify__closure0.prototype = {
  87864. call$1(simple) {
  87865. var t1;
  87866. if (!(simple instanceof A.IDSelector0))
  87867. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  87868. else
  87869. t1 = true;
  87870. return t1 && this.uniqueSelectors.contains$1(0, simple);
  87871. },
  87872. $signature: 14
  87873. };
  87874. A.paths_closure0.prototype = {
  87875. call$2(paths, choice) {
  87876. var t1 = this.T;
  87877. t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
  87878. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  87879. },
  87880. $signature() {
  87881. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  87882. }
  87883. };
  87884. A.paths__closure0.prototype = {
  87885. call$1(option) {
  87886. var t1 = this.T;
  87887. return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
  87888. },
  87889. $signature() {
  87890. return this.T._eval$1("Iterable<List<0>>(0)");
  87891. }
  87892. };
  87893. A.paths___closure0.prototype = {
  87894. call$1(path) {
  87895. var t1 = A.List_List$of(path, true, this.T);
  87896. t1.push(this.option);
  87897. return t1;
  87898. },
  87899. $signature() {
  87900. return this.T._eval$1("List<0>(List<0>)");
  87901. }
  87902. };
  87903. A.listIsSuperselector_closure0.prototype = {
  87904. call$1(complex1) {
  87905. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
  87906. },
  87907. $signature: 15
  87908. };
  87909. A.listIsSuperselector__closure0.prototype = {
  87910. call$1(complex2) {
  87911. return complex2.isSuperselector$1(this.complex1);
  87912. },
  87913. $signature: 15
  87914. };
  87915. A.complexIsSuperselector_closure1.prototype = {
  87916. call$1($parent) {
  87917. return $parent.combinators.length > 1;
  87918. },
  87919. $signature: 47
  87920. };
  87921. A.complexIsSuperselector_closure2.prototype = {
  87922. call$1(component) {
  87923. return A._isSupercombinator0(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  87924. },
  87925. $signature: 47
  87926. };
  87927. A._compatibleWithPreviousCombinator_closure0.prototype = {
  87928. call$1(component) {
  87929. var t1 = component.combinators,
  87930. t2 = A.IterableExtension_get_firstOrNull(t1);
  87931. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_Htt0)) {
  87932. t1 = A.IterableExtension_get_firstOrNull(t1);
  87933. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_4QF0);
  87934. } else
  87935. t1 = true;
  87936. return t1;
  87937. },
  87938. $signature: 47
  87939. };
  87940. A._selectorPseudoIsSuperselector_closure6.prototype = {
  87941. call$1(selector2) {
  87942. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  87943. },
  87944. $signature: 70
  87945. };
  87946. A._selectorPseudoIsSuperselector_closure7.prototype = {
  87947. call$1(complex1) {
  87948. var t1, t2, t3;
  87949. if (complex1.leadingCombinators.length === 0) {
  87950. t1 = complex1.components;
  87951. t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  87952. t3 = this.parents;
  87953. if (t3 != null)
  87954. B.JSArray_methods.addAll$1(t2, t3);
  87955. t3 = this.compound2;
  87956. t2.push(new A.ComplexSelectorComponent0(t3, A.List_List$unmodifiable(B.List_empty14, type$.CssValue_Combinator_2), t3.span));
  87957. t2 = A.complexIsSuperselector0(t1, t2);
  87958. t1 = t2;
  87959. } else
  87960. t1 = false;
  87961. return t1;
  87962. },
  87963. $signature: 15
  87964. };
  87965. A._selectorPseudoIsSuperselector_closure8.prototype = {
  87966. call$1(selector2) {
  87967. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  87968. },
  87969. $signature: 70
  87970. };
  87971. A._selectorPseudoIsSuperselector_closure9.prototype = {
  87972. call$1(selector2) {
  87973. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  87974. },
  87975. $signature: 70
  87976. };
  87977. A._selectorPseudoIsSuperselector_closure10.prototype = {
  87978. call$1(complex) {
  87979. if (complex.accept$1(B._IsBogusVisitor_true0))
  87980. return false;
  87981. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
  87982. },
  87983. $signature: 15
  87984. };
  87985. A._selectorPseudoIsSuperselector__closure0.prototype = {
  87986. call$1(simple2) {
  87987. var selector2, _this = this;
  87988. if (simple2 instanceof A.TypeSelector0)
  87989. return B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
  87990. else if (simple2 instanceof A.IDSelector0)
  87991. return B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
  87992. else if (simple2 instanceof A.PseudoSelector0 && simple2.name === _this.pseudo1.name) {
  87993. selector2 = simple2.selector;
  87994. if (selector2 == null)
  87995. return false;
  87996. return A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
  87997. } else
  87998. return false;
  87999. },
  88000. $signature: 14
  88001. };
  88002. A._selectorPseudoIsSuperselector___closure1.prototype = {
  88003. call$1(simple1) {
  88004. var t1;
  88005. if (simple1 instanceof A.TypeSelector0) {
  88006. t1 = this.simple2.name.$eq(0, simple1.name);
  88007. t1 = !t1;
  88008. } else
  88009. t1 = false;
  88010. return t1;
  88011. },
  88012. $signature: 14
  88013. };
  88014. A._selectorPseudoIsSuperselector___closure2.prototype = {
  88015. call$1(simple1) {
  88016. var t1;
  88017. if (simple1 instanceof A.IDSelector0) {
  88018. t1 = simple1.name;
  88019. t1 = this.simple2.name !== t1;
  88020. } else
  88021. t1 = false;
  88022. return t1;
  88023. },
  88024. $signature: 14
  88025. };
  88026. A._selectorPseudoIsSuperselector_closure11.prototype = {
  88027. call$1(selector2) {
  88028. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  88029. return t1;
  88030. },
  88031. $signature: 70
  88032. };
  88033. A._selectorPseudoIsSuperselector_closure12.prototype = {
  88034. call$1(pseudo2) {
  88035. var t1, selector2;
  88036. if (!(pseudo2 instanceof A.PseudoSelector0))
  88037. return false;
  88038. t1 = this.pseudo1;
  88039. if (pseudo2.name !== t1.name)
  88040. return false;
  88041. if (pseudo2.argument != t1.argument)
  88042. return false;
  88043. selector2 = pseudo2.selector;
  88044. if (selector2 == null)
  88045. return false;
  88046. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  88047. },
  88048. $signature: 14
  88049. };
  88050. A._selectorPseudoArgs_closure1.prototype = {
  88051. call$1(pseudo) {
  88052. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  88053. },
  88054. $signature: 439
  88055. };
  88056. A._selectorPseudoArgs_closure2.prototype = {
  88057. call$1(pseudo) {
  88058. return pseudo.selector;
  88059. },
  88060. $signature: 440
  88061. };
  88062. A.globalFunctions_closure0.prototype = {
  88063. call$1($arguments) {
  88064. var t1 = J.getInterceptor$asx($arguments);
  88065. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  88066. },
  88067. $signature: 3
  88068. };
  88069. A.IDSelector0.prototype = {
  88070. get$specificity() {
  88071. return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$specificity.call(this), 2));
  88072. },
  88073. accept$1$1(visitor) {
  88074. return visitor.visitIDSelector$1(this);
  88075. },
  88076. accept$1(visitor) {
  88077. return this.accept$1$1(visitor, type$.dynamic);
  88078. },
  88079. addSuffix$1(suffix) {
  88080. return new A.IDSelector0(this.name + suffix, this.span);
  88081. },
  88082. unify$1(compound) {
  88083. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
  88084. return null;
  88085. return this.super$SimpleSelector$unify0(compound);
  88086. },
  88087. $eq(_, other) {
  88088. if (other == null)
  88089. return false;
  88090. return other instanceof A.IDSelector0 && other.name === this.name;
  88091. },
  88092. get$hashCode(_) {
  88093. return B.JSString_methods.get$hashCode(this.name);
  88094. }
  88095. };
  88096. A.IDSelector_unify_closure0.prototype = {
  88097. call$1(simple) {
  88098. var t1;
  88099. if (simple instanceof A.IDSelector0) {
  88100. t1 = simple.name;
  88101. t1 = this.$this.name !== t1;
  88102. } else
  88103. t1 = false;
  88104. return t1;
  88105. },
  88106. $signature: 14
  88107. };
  88108. A.IfExpression0.prototype = {
  88109. accept$1$1(visitor) {
  88110. return visitor.visitIfExpression$1(this);
  88111. },
  88112. accept$1(visitor) {
  88113. return this.accept$1$1(visitor, type$.dynamic);
  88114. },
  88115. toString$0(_) {
  88116. return "if" + this.$arguments.toString$0(0);
  88117. },
  88118. $isExpression0: 1,
  88119. $isAstNode0: 1,
  88120. get$span(receiver) {
  88121. return this.span;
  88122. }
  88123. };
  88124. A.IfRule0.prototype = {
  88125. accept$1$1(visitor) {
  88126. return visitor.visitIfRule$1(this);
  88127. },
  88128. accept$1(visitor) {
  88129. return this.accept$1$1(visitor, type$.dynamic);
  88130. },
  88131. toString$0(_) {
  88132. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
  88133. lastClause = this.lastClause;
  88134. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  88135. },
  88136. $isAstNode0: 1,
  88137. $isStatement0: 1,
  88138. get$span(receiver) {
  88139. return this.span;
  88140. }
  88141. };
  88142. A.IfRule_toString_closure0.prototype = {
  88143. call$2(index, clause) {
  88144. var t1 = index === 0 ? "if" : "else if";
  88145. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  88146. },
  88147. $signature: 441
  88148. };
  88149. A.IfRuleClause0.prototype = {};
  88150. A.IfRuleClause$__closure0.prototype = {
  88151. call$1(child) {
  88152. var t1;
  88153. if (!(child instanceof A.VariableDeclaration0))
  88154. if (!(child instanceof A.FunctionRule0))
  88155. if (!(child instanceof A.MixinRule0))
  88156. t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
  88157. else
  88158. t1 = true;
  88159. else
  88160. t1 = true;
  88161. else
  88162. t1 = true;
  88163. return t1;
  88164. },
  88165. $signature: 222
  88166. };
  88167. A.IfRuleClause$___closure0.prototype = {
  88168. call$1($import) {
  88169. return $import instanceof A.DynamicImport0;
  88170. },
  88171. $signature: 223
  88172. };
  88173. A.IfClause0.prototype = {
  88174. toString$0(_) {
  88175. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  88176. }
  88177. };
  88178. A.ElseClause0.prototype = {
  88179. toString$0(_) {
  88180. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  88181. }
  88182. };
  88183. A.ImmutableList.prototype = {};
  88184. A.ImmutableMap.prototype = {};
  88185. A.immutableMapToDartMap_closure.prototype = {
  88186. call$3(value, key, _) {
  88187. this.dartMap.$indexSet(0, key, value);
  88188. },
  88189. "call*": "call$3",
  88190. $requiredArgCount: 3,
  88191. $signature: 444
  88192. };
  88193. A.NodeImporter.prototype = {
  88194. loadRelative$3(url, previous, forImport) {
  88195. var t1, t2, _null = null;
  88196. if ($.$get$url().style.rootLength$1(url) > 0) {
  88197. if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
  88198. return _null;
  88199. return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
  88200. }
  88201. if ((previous == null ? _null : previous.get$scheme()) !== "file")
  88202. return _null;
  88203. t1 = $.$get$context();
  88204. t2 = t1.style;
  88205. return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
  88206. },
  88207. load$3(_, url, previous, forImport) {
  88208. var t1, t2, t3, t4, t5, _i, importer, context, value, _this = this,
  88209. previousString = _this._previousToString$1(previous);
  88210. for (t1 = _this._implementation$_importers, t2 = t1.length, t3 = _this._implementation$_options, t4 = type$.RenderContextOptions, t5 = type$.JSArray_Object, _i = 0; _i < t2; ++_i) {
  88211. importer = t1[_i];
  88212. context = {options: t4._as(t3), fromImport: forImport};
  88213. J.set$context$x(J.get$options$x(context), context);
  88214. value = J.apply$2$x(importer, context, A._setArrayType([url, previousString], t5));
  88215. if (value != null)
  88216. return _this._handleImportResult$4(url, previous, value, forImport);
  88217. }
  88218. return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  88219. },
  88220. loadAsync$3(url, previous, forImport) {
  88221. return this.loadAsync$body$NodeImporter(url, previous, forImport);
  88222. },
  88223. loadAsync$body$NodeImporter(url, previous, forImport) {
  88224. var $async$goto = 0,
  88225. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple2_String_String),
  88226. $async$returnValue, $async$self = this, t1, t2, _i, value, previousString;
  88227. var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88228. if ($async$errorCode === 1)
  88229. return A._asyncRethrow($async$result, $async$completer);
  88230. while (true)
  88231. switch ($async$goto) {
  88232. case 0:
  88233. // Function start
  88234. previousString = $async$self._previousToString$1(previous);
  88235. t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
  88236. case 3:
  88237. // for condition
  88238. if (!(_i < t2)) {
  88239. // goto after for
  88240. $async$goto = 5;
  88241. break;
  88242. }
  88243. $async$goto = 6;
  88244. return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
  88245. case 6:
  88246. // returning from await.
  88247. value = $async$result;
  88248. if (value != null) {
  88249. $async$returnValue = $async$self._handleImportResult$4(url, previous, value, forImport);
  88250. // goto return
  88251. $async$goto = 1;
  88252. break;
  88253. }
  88254. case 4:
  88255. // for update
  88256. ++_i;
  88257. // goto for condition
  88258. $async$goto = 3;
  88259. break;
  88260. case 5:
  88261. // after for
  88262. $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  88263. // goto return
  88264. $async$goto = 1;
  88265. break;
  88266. case 1:
  88267. // return
  88268. return A._asyncReturn($async$returnValue, $async$completer);
  88269. }
  88270. });
  88271. return A._asyncStartSync($async$loadAsync$3, $async$completer);
  88272. },
  88273. _previousToString$1(previous) {
  88274. if (previous == null)
  88275. return "stdin";
  88276. if (previous.get$scheme() === "file")
  88277. return $.$get$context().style.pathFromUri$1(A._parseUri(previous));
  88278. return previous.toString$0(0);
  88279. },
  88280. _resolveLoadPathFromUrl$2(url, forImport) {
  88281. return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
  88282. },
  88283. _resolveLoadPath$2(path, forImport) {
  88284. var t1, t2, _i, t3, result, _null = null,
  88285. cwdResult = this._tryPath$2(A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), forImport);
  88286. if (cwdResult != null)
  88287. return cwdResult;
  88288. for (t1 = this._includePaths, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  88289. t3 = A.join(t1[_i], path, _null);
  88290. result = this._tryPath$2($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), forImport);
  88291. if (result != null)
  88292. return result;
  88293. }
  88294. return _null;
  88295. },
  88296. _tryPath$2(path, forImport) {
  88297. var t1;
  88298. if (forImport) {
  88299. t1 = type$.nullable_Object;
  88300. t1 = A.runZoned(new A.NodeImporter__tryPath_closure(path), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_String);
  88301. } else
  88302. t1 = A.resolveImportPath0(path);
  88303. return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
  88304. },
  88305. _handleImportResult$4(url, previous, value, forImport) {
  88306. var t1, file, contents, t2, resolved;
  88307. if (value instanceof self.Error)
  88308. throw A.wrapException(value);
  88309. if (!type$.NodeImporterResult_2._is(value))
  88310. return null;
  88311. t1 = J.getInterceptor$x(value);
  88312. file = t1.get$file(value);
  88313. contents = t1.get$contents(value);
  88314. t1 = contents == null;
  88315. t2 = !t1;
  88316. if (t2 && A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  88317. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  88318. if (file == null) {
  88319. t1 = t1 ? "" : contents;
  88320. return new A.Tuple2(t1, url, type$.Tuple2_String_String);
  88321. } else if (t2)
  88322. return new A.Tuple2(contents, $.$get$context().toUri$1(file).toString$0(0), type$.Tuple2_String_String);
  88323. else {
  88324. resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
  88325. if (resolved == null)
  88326. resolved = this._resolveLoadPath$2(file, forImport);
  88327. if (resolved != null)
  88328. return resolved;
  88329. throw A.wrapException("Can't find stylesheet to import.");
  88330. }
  88331. },
  88332. _callImporterAsync$4(importer, url, previousString, forImport) {
  88333. return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
  88334. },
  88335. _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
  88336. var $async$goto = 0,
  88337. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
  88338. $async$returnValue, $async$self = this, t1, result;
  88339. var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88340. if ($async$errorCode === 1)
  88341. return A._asyncRethrow($async$result, $async$completer);
  88342. while (true)
  88343. switch ($async$goto) {
  88344. case 0:
  88345. // Function start
  88346. t1 = new A._Future($.Zone__current, type$._Future_Object);
  88347. 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));
  88348. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
  88349. break;
  88350. case 3:
  88351. // then
  88352. $async$goto = 5;
  88353. return A._asyncAwait(t1, $async$_callImporterAsync$4);
  88354. case 5:
  88355. // returning from await.
  88356. $async$returnValue = $async$result;
  88357. // goto return
  88358. $async$goto = 1;
  88359. break;
  88360. case 4:
  88361. // join
  88362. $async$returnValue = result;
  88363. // goto return
  88364. $async$goto = 1;
  88365. break;
  88366. case 1:
  88367. // return
  88368. return A._asyncReturn($async$returnValue, $async$completer);
  88369. }
  88370. });
  88371. return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
  88372. },
  88373. _renderContext$1(fromImport) {
  88374. var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
  88375. J.set$context$x(J.get$options$x(context), context);
  88376. return context;
  88377. }
  88378. };
  88379. A.NodeImporter__tryPath_closure.prototype = {
  88380. call$0() {
  88381. return A.resolveImportPath0(this.path);
  88382. },
  88383. $signature: 43
  88384. };
  88385. A.NodeImporter__tryPath_closure0.prototype = {
  88386. call$1(resolved) {
  88387. return new A.Tuple2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0), type$.Tuple2_String_String);
  88388. },
  88389. $signature: 445
  88390. };
  88391. A.ModifiableCssImport0.prototype = {
  88392. accept$1$1(visitor) {
  88393. return visitor.visitCssImport$1(this);
  88394. },
  88395. accept$1(visitor) {
  88396. return this.accept$1$1(visitor, type$.dynamic);
  88397. },
  88398. $isCssImport0: 1,
  88399. get$span(receiver) {
  88400. return this.span;
  88401. }
  88402. };
  88403. A.ImportCache0.prototype = {
  88404. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  88405. var relativeResult, _this = this,
  88406. t1 = self.process;
  88407. if (t1 == null)
  88408. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && _this._import_cache$_importers.length === 0;
  88409. else
  88410. t1 = false;
  88411. if (t1)
  88412. throw A.wrapException(string$.Custom);
  88413. if (baseImporter != null) {
  88414. 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));
  88415. if (relativeResult != null)
  88416. return relativeResult;
  88417. }
  88418. return _this._import_cache$_canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure2(_this, url, forImport));
  88419. },
  88420. _import_cache$_canonicalize$3(importer, url, forImport) {
  88421. var t1, result;
  88422. if (forImport) {
  88423. t1 = type$.nullable_Object;
  88424. result = A.runZoned(new A.ImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
  88425. } else
  88426. result = importer.canonicalize$1(0, url);
  88427. if ((result == null ? null : result.get$scheme()) === "")
  88428. 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);
  88429. return result;
  88430. },
  88431. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  88432. return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl, quiet));
  88433. },
  88434. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  88435. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  88436. },
  88437. humanize$1(canonicalUrl) {
  88438. var t2, url,
  88439. t1 = this._import_cache$_canonicalizeCache;
  88440. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri_2);
  88441. t2 = t1.$ti;
  88442. 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());
  88443. if (url == null)
  88444. return canonicalUrl;
  88445. t1 = $.$get$url();
  88446. return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
  88447. },
  88448. sourceMapUrl$1(_, canonicalUrl) {
  88449. var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
  88450. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  88451. return t1 == null ? canonicalUrl : t1;
  88452. }
  88453. };
  88454. A.ImportCache_canonicalize_closure1.prototype = {
  88455. call$0() {
  88456. var canonicalUrl, _this = this,
  88457. t1 = _this.baseUrl,
  88458. resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
  88459. if (resolvedUrl == null)
  88460. resolvedUrl = _this.url;
  88461. t1 = _this.baseImporter;
  88462. canonicalUrl = _this.$this._import_cache$_canonicalize$3(t1, resolvedUrl, _this.forImport);
  88463. if (canonicalUrl == null)
  88464. return null;
  88465. return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri_2);
  88466. },
  88467. $signature: 224
  88468. };
  88469. A.ImportCache_canonicalize_closure2.prototype = {
  88470. call$0() {
  88471. var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
  88472. 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) {
  88473. importer = t2[_i];
  88474. canonicalUrl = t1._import_cache$_canonicalize$3(importer, t4, t5);
  88475. if (canonicalUrl != null)
  88476. return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri_2);
  88477. }
  88478. return null;
  88479. },
  88480. $signature: 224
  88481. };
  88482. A.ImportCache__canonicalize_closure0.prototype = {
  88483. call$0() {
  88484. return this.importer.canonicalize$1(0, this.url);
  88485. },
  88486. $signature: 180
  88487. };
  88488. A.ImportCache_importCanonical_closure0.prototype = {
  88489. call$0() {
  88490. var t2, t3, t4, _this = this,
  88491. t1 = _this.canonicalUrl,
  88492. result = _this.importer.load$1(0, t1);
  88493. if (result == null)
  88494. return null;
  88495. t2 = _this.$this;
  88496. t2._import_cache$_resultsCache.$indexSet(0, t1, result);
  88497. t3 = result.contents;
  88498. t4 = result.syntax;
  88499. t1 = _this.originalUrl.resolveUri$1(t1);
  88500. return A.Stylesheet_Stylesheet$parse0(t3, t4, _this.quiet ? $.$get$Logger_quiet0() : t2._import_cache$_logger, t1);
  88501. },
  88502. $signature: 447
  88503. };
  88504. A.ImportCache_humanize_closure2.prototype = {
  88505. call$1(tuple) {
  88506. return tuple.item2.$eq(0, this.canonicalUrl);
  88507. },
  88508. $signature: 448
  88509. };
  88510. A.ImportCache_humanize_closure3.prototype = {
  88511. call$1(tuple) {
  88512. return tuple.item3;
  88513. },
  88514. $signature: 449
  88515. };
  88516. A.ImportCache_humanize_closure4.prototype = {
  88517. call$1(url) {
  88518. return url.get$path(url).length;
  88519. },
  88520. $signature: 95
  88521. };
  88522. A.ImportRule0.prototype = {
  88523. accept$1$1(visitor) {
  88524. return visitor.visitImportRule$1(this);
  88525. },
  88526. accept$1(visitor) {
  88527. return this.accept$1$1(visitor, type$.dynamic);
  88528. },
  88529. toString$0(_) {
  88530. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  88531. },
  88532. $isAstNode0: 1,
  88533. $isStatement0: 1,
  88534. get$span(receiver) {
  88535. return this.span;
  88536. }
  88537. };
  88538. A.NodeImporter0.prototype = {};
  88539. A.CanonicalizeOptions.prototype = {};
  88540. A.NodeImporterResult0.prototype = {};
  88541. A.Importer0.prototype = {};
  88542. A.NodeImporterResult1.prototype = {};
  88543. A.IncludeRule0.prototype = {
  88544. get$spanWithoutContent() {
  88545. var t2, t3,
  88546. t1 = this.span;
  88547. if (!(this.content == null)) {
  88548. t2 = t1.file;
  88549. t3 = this.$arguments.span;
  88550. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  88551. t1 = t3;
  88552. }
  88553. return t1;
  88554. },
  88555. accept$1$1(visitor) {
  88556. return visitor.visitIncludeRule$1(this);
  88557. },
  88558. accept$1(visitor) {
  88559. return this.accept$1$1(visitor, type$.dynamic);
  88560. },
  88561. toString$0(_) {
  88562. var t2, _this = this,
  88563. t1 = _this.namespace;
  88564. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  88565. t1 += _this.name;
  88566. t2 = _this.$arguments;
  88567. if (!t2.get$isEmpty(t2))
  88568. t1 += "(" + t2.toString$0(0) + ")";
  88569. t2 = _this.content;
  88570. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  88571. return t1.charCodeAt(0) == 0 ? t1 : t1;
  88572. },
  88573. $isAstNode0: 1,
  88574. $isStatement0: 1,
  88575. get$span(receiver) {
  88576. return this.span;
  88577. }
  88578. };
  88579. A.InterpolatedFunctionExpression0.prototype = {
  88580. accept$1$1(visitor) {
  88581. return visitor.visitInterpolatedFunctionExpression$1(this);
  88582. },
  88583. accept$1(visitor) {
  88584. return this.accept$1$1(visitor, type$.dynamic);
  88585. },
  88586. toString$0(_) {
  88587. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  88588. },
  88589. $isExpression0: 1,
  88590. $isAstNode0: 1,
  88591. get$span(receiver) {
  88592. return this.span;
  88593. }
  88594. };
  88595. A.Interpolation0.prototype = {
  88596. get$asPlain() {
  88597. var first,
  88598. t1 = this.contents,
  88599. t2 = t1.length;
  88600. if (t2 === 0)
  88601. return "";
  88602. if (t2 > 1)
  88603. return null;
  88604. first = B.JSArray_methods.get$first(t1);
  88605. return typeof first == "string" ? first : null;
  88606. },
  88607. get$initialPlain() {
  88608. var first = B.JSArray_methods.get$first(this.contents);
  88609. return typeof first == "string" ? first : "";
  88610. },
  88611. Interpolation$20(contents, span) {
  88612. var t1, t2, t3, i, t4, t5,
  88613. _s8_ = "contents";
  88614. for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression_2, i = 0; i < t2; ++i) {
  88615. t4 = t1[i];
  88616. t5 = typeof t4 == "string";
  88617. if (!t5 && !t3._is(t4))
  88618. throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
  88619. if (i !== 0 && typeof t1[i - 1] == "string" && t5)
  88620. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  88621. }
  88622. },
  88623. toString$0(_) {
  88624. var t1 = this.contents;
  88625. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  88626. },
  88627. $isAstNode0: 1,
  88628. get$span(receiver) {
  88629. return this.span;
  88630. }
  88631. };
  88632. A.Interpolation_toString_closure0.prototype = {
  88633. call$1(value) {
  88634. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  88635. },
  88636. $signature: 63
  88637. };
  88638. A.SupportsInterpolation0.prototype = {
  88639. toString$0(_) {
  88640. return "#{" + this.expression.toString$0(0) + "}";
  88641. },
  88642. $isAstNode0: 1,
  88643. get$span(receiver) {
  88644. return this.span;
  88645. }
  88646. };
  88647. A.InterpolationBuffer0.prototype = {
  88648. writeCharCode$1(character) {
  88649. this._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(character);
  88650. return null;
  88651. },
  88652. addInterpolation$1(interpolation) {
  88653. var first, t1, _this = this,
  88654. toAdd = interpolation.contents;
  88655. if (toAdd.length === 0)
  88656. return;
  88657. first = B.JSArray_methods.get$first(toAdd);
  88658. if (typeof first == "string") {
  88659. _this._interpolation_buffer0$_text._contents += first;
  88660. toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
  88661. }
  88662. _this._interpolation_buffer0$_flushText$0();
  88663. t1 = _this._interpolation_buffer0$_contents;
  88664. B.JSArray_methods.addAll$1(t1, toAdd);
  88665. if (typeof B.JSArray_methods.get$last(t1) == "string")
  88666. _this._interpolation_buffer0$_text._contents += A.S(t1.pop());
  88667. },
  88668. _interpolation_buffer0$_flushText$0() {
  88669. var t1 = this._interpolation_buffer0$_text,
  88670. t2 = t1._contents;
  88671. if (t2.length === 0)
  88672. return;
  88673. this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  88674. t1._contents = "";
  88675. },
  88676. interpolation$1(span) {
  88677. var t1 = A.List_List$of(this._interpolation_buffer0$_contents, true, type$.Object),
  88678. t2 = this._interpolation_buffer0$_text._contents;
  88679. if (t2.length !== 0)
  88680. t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  88681. return A.Interpolation$0(t1, span);
  88682. },
  88683. toString$0(_) {
  88684. var t1, t2, _i, t3, element;
  88685. for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  88686. element = t1[_i];
  88687. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  88688. }
  88689. t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
  88690. return t1.charCodeAt(0) == 0 ? t1 : t1;
  88691. }
  88692. };
  88693. A.InterpolationMap0.prototype = {
  88694. mapException$1(error) {
  88695. var t3, t4, _this = this,
  88696. target = error.get$span(error),
  88697. source = _this.mapSpan$1(target),
  88698. startIndex = _this._interpolation_map$_indexInContents$1(target.get$start(target)),
  88699. endIndex = _this._interpolation_map$_indexInContents$1(target.get$end(target)),
  88700. t1 = _this._interpolation_map$_interpolation.contents,
  88701. t2 = error._span_exception$_message;
  88702. if (!A.SubListIterable$(t1, startIndex, null, A._arrayInstanceType(t1)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure0()))
  88703. return new A.SourceSpanFormatException(error.get$source(), t2, source);
  88704. else {
  88705. t1 = type$.SourceSpan;
  88706. t3 = type$.String;
  88707. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t1, t3);
  88708. error.get$source();
  88709. return new A.MultiSourceSpanFormatException("", A.ConstantMap_ConstantMap$from(t4, t1, t3), t2, source);
  88710. }
  88711. },
  88712. mapSpan$1(target) {
  88713. var t2, t3, _this = this,
  88714. start = _this._interpolation_map$_mapLocation$1(target.get$start(target)),
  88715. end = _this._interpolation_map$_mapLocation$1(target.get$end(target)),
  88716. t1 = type$.FileSpan;
  88717. if (t1._is(start)) {
  88718. if (t1._is(end))
  88719. return start.expand$1(0, end);
  88720. t1 = _this._interpolation_map$_interpolation.span;
  88721. return t1.get$file(t1).span$2(0, _this._interpolation_map$_expandInterpolationSpanLeft$1(start.get$start(start)), type$.FileLocation._as(end).offset);
  88722. } else {
  88723. t2 = type$.FileLocation;
  88724. t3 = _this._interpolation_map$_interpolation.span;
  88725. if (t1._is(end))
  88726. return t3.get$file(t3).span$2(0, t2._as(start).offset, _this._interpolation_map$_expandInterpolationSpanRight$1(end.get$end(end)));
  88727. else
  88728. return t3.get$file(t3).span$2(0, t2._as(start).offset, t2._as(end).offset);
  88729. }
  88730. },
  88731. _interpolation_map$_mapLocation$1(target) {
  88732. var t4, previousLocation, _this = this,
  88733. index = _this._interpolation_map$_indexInContents$1(target),
  88734. t1 = _this._interpolation_map$_interpolation,
  88735. t2 = t1.contents,
  88736. chunk = t2[index],
  88737. t3 = type$.Expression_2;
  88738. if (t3._is(chunk))
  88739. return chunk.get$span(chunk);
  88740. t4 = index === 0;
  88741. t1 = t1.span;
  88742. if (t4)
  88743. previousLocation = t1.get$start(t1);
  88744. else {
  88745. t1 = t1.get$file(t1);
  88746. t2 = t3._as(t2[index - 1]);
  88747. t2 = t2.get$span(t2);
  88748. previousLocation = A.FileLocation$_(t1, _this._interpolation_map$_expandInterpolationSpanRight$1(t2.get$end(t2)));
  88749. }
  88750. t1 = t4 ? 0 : _this._interpolation_map$_targetLocations[index - 1].get$offset();
  88751. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  88752. },
  88753. _interpolation_map$_indexInContents$1(target) {
  88754. var t1, t2, t3, i;
  88755. for (t1 = this._interpolation_map$_targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  88756. if (t3 < t1[i].get$offset())
  88757. return i;
  88758. return this._interpolation_map$_interpolation.contents.length - 1;
  88759. },
  88760. _interpolation_map$_expandInterpolationSpanLeft$1(start) {
  88761. var i0, prev, char,
  88762. source = start.file._decodedChars,
  88763. i = start.offset - 1;
  88764. for (; i >= 0;) {
  88765. i0 = i - 1;
  88766. prev = source[i];
  88767. if (prev === 123) {
  88768. if (source[i0] === 35) {
  88769. i = i0;
  88770. break;
  88771. }
  88772. i = i0;
  88773. } else if (prev === 47) {
  88774. i = i0 - 1;
  88775. if (source[i0] === 42)
  88776. for (; true;) {
  88777. i0 = i - 1;
  88778. if (source[i] !== 42) {
  88779. i = i0;
  88780. continue;
  88781. }
  88782. i = i0;
  88783. do {
  88784. i0 = i - 1;
  88785. char = source[i];
  88786. if (char === 42) {
  88787. i = i0;
  88788. continue;
  88789. } else
  88790. break;
  88791. } while (true);
  88792. if (char === 47) {
  88793. i = i0;
  88794. break;
  88795. }
  88796. i = i0;
  88797. }
  88798. } else
  88799. i = i0;
  88800. }
  88801. return i;
  88802. },
  88803. _interpolation_map$_expandInterpolationSpanRight$1(end) {
  88804. var t1, i0, next, second, t2, char,
  88805. source = end.file._decodedChars,
  88806. i = end.offset;
  88807. for (t1 = source.length; i < t1;) {
  88808. i0 = i + 1;
  88809. next = source[i];
  88810. if (next === 125) {
  88811. i = i0;
  88812. break;
  88813. }
  88814. if (next === 47) {
  88815. i = i0 + 1;
  88816. second = source[i0];
  88817. if (second === 47) {
  88818. while (true) {
  88819. i0 = i + 1;
  88820. t2 = source[i];
  88821. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  88822. break;
  88823. i = i0;
  88824. }
  88825. i = i0;
  88826. } else if (second === 42)
  88827. for (; true;) {
  88828. i0 = i + 1;
  88829. if (source[i] !== 42) {
  88830. i = i0;
  88831. continue;
  88832. }
  88833. i = i0;
  88834. do {
  88835. i0 = i + 1;
  88836. char = source[i];
  88837. if (char === 42) {
  88838. i = i0;
  88839. continue;
  88840. } else
  88841. break;
  88842. } while (true);
  88843. if (char === 47) {
  88844. i = i0;
  88845. break;
  88846. }
  88847. i = i0;
  88848. }
  88849. } else
  88850. i = i0;
  88851. }
  88852. return i;
  88853. }
  88854. };
  88855. A.InterpolationMap_mapException_closure0.prototype = {
  88856. call$1($content) {
  88857. return type$.Expression_2._is($content);
  88858. },
  88859. $signature: 69
  88860. };
  88861. A._realCasePath_helper0.prototype = {
  88862. call$1(path) {
  88863. var dirname = $.$get$context().dirname$1(path);
  88864. if (dirname === path)
  88865. return path;
  88866. return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(this, dirname, path));
  88867. },
  88868. $signature: 5
  88869. };
  88870. A._realCasePath_helper_closure0.prototype = {
  88871. call$0() {
  88872. var matches, t2, exception,
  88873. realDirname = this.helper.call$1(this.dirname),
  88874. t1 = this.path,
  88875. basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
  88876. try {
  88877. matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
  88878. t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
  88879. return t2;
  88880. } catch (exception) {
  88881. if (A.unwrapException(exception) instanceof A.FileSystemException0)
  88882. return t1;
  88883. else
  88884. throw exception;
  88885. }
  88886. },
  88887. $signature: 31
  88888. };
  88889. A._realCasePath_helper__closure0.prototype = {
  88890. call$1(realPath) {
  88891. return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  88892. },
  88893. $signature: 8
  88894. };
  88895. A.ModifiableCssKeyframeBlock0.prototype = {
  88896. accept$1$1(visitor) {
  88897. return visitor.visitCssKeyframeBlock$1(this);
  88898. },
  88899. accept$1(visitor) {
  88900. return this.accept$1$1(visitor, type$.dynamic);
  88901. },
  88902. equalsIgnoringChildren$1(other) {
  88903. return other instanceof A.ModifiableCssKeyframeBlock0 && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  88904. },
  88905. copyWithoutChildren$0() {
  88906. return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
  88907. },
  88908. get$span(receiver) {
  88909. return this.span;
  88910. }
  88911. };
  88912. A.KeyframeSelectorParser0.prototype = {
  88913. parse$0() {
  88914. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
  88915. },
  88916. _keyframe_selector$_percentage$0() {
  88917. var t3, next,
  88918. t1 = this.scanner,
  88919. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  88920. second = t1.peekChar$0();
  88921. if (!A.isDigit0(second) && second !== 46)
  88922. t1.error$1(0, "Expected number.");
  88923. while (true) {
  88924. t3 = t1.peekChar$0();
  88925. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  88926. break;
  88927. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  88928. }
  88929. if (t1.peekChar$0() === 46) {
  88930. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  88931. while (true) {
  88932. t3 = t1.peekChar$0();
  88933. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  88934. break;
  88935. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  88936. }
  88937. }
  88938. if (this.scanIdentChar$1(101)) {
  88939. t2 += A.Primitives_stringFromCharCode(101);
  88940. next = t1.peekChar$0();
  88941. if (next === 43 || next === 45)
  88942. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  88943. if (!A.isDigit0(t1.peekChar$0()))
  88944. t1.error$1(0, "Expected digit.");
  88945. while (true) {
  88946. t3 = t1.peekChar$0();
  88947. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  88948. break;
  88949. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  88950. }
  88951. }
  88952. t1.expectChar$1(37);
  88953. t2 += A.Primitives_stringFromCharCode(37);
  88954. return t2.charCodeAt(0) == 0 ? t2 : t2;
  88955. }
  88956. };
  88957. A.KeyframeSelectorParser_parse_closure0.prototype = {
  88958. call$0() {
  88959. var selectors = A._setArrayType([], type$.JSArray_String),
  88960. t1 = this.$this,
  88961. t2 = t1.scanner;
  88962. do {
  88963. t1.whitespace$0();
  88964. if (t1.lookingAtIdentifier$0())
  88965. if (t1.scanIdentifier$1("from"))
  88966. selectors.push("from");
  88967. else {
  88968. t1.expectIdentifier$2$name("to", '"to" or "from"');
  88969. selectors.push("to");
  88970. }
  88971. else
  88972. selectors.push(t1._keyframe_selector$_percentage$0());
  88973. t1.whitespace$0();
  88974. } while (t2.scanChar$1(44));
  88975. t2.expectDone$0();
  88976. return selectors;
  88977. },
  88978. $signature: 127
  88979. };
  88980. A.LazyFileSpan0.prototype = {
  88981. get$span(_) {
  88982. var t1 = this._lazy_file_span0$_span;
  88983. return t1 == null ? this._lazy_file_span0$_span = this._lazy_file_span0$_builder.call$0() : t1;
  88984. },
  88985. compareTo$1(_, other) {
  88986. return this.get$span(this).compareTo$1(0, other);
  88987. },
  88988. get$context(_) {
  88989. var t1 = this.get$span(this);
  88990. return t1.get$context(t1);
  88991. },
  88992. get$end(_) {
  88993. var t1 = this.get$span(this);
  88994. return t1.get$end(t1);
  88995. },
  88996. expand$1(_, other) {
  88997. return this.get$span(this).expand$1(0, other);
  88998. },
  88999. get$file(_) {
  89000. var t1 = this.get$span(this);
  89001. return t1.get$file(t1);
  89002. },
  89003. highlight$1$color(color) {
  89004. return this.get$span(this).highlight$1$color(color);
  89005. },
  89006. get$length(_) {
  89007. var t1 = this.get$span(this);
  89008. return t1.get$length(t1);
  89009. },
  89010. message$2$color(_, message, color) {
  89011. return this.get$span(this).message$2$color(0, message, color);
  89012. },
  89013. message$1($receiver, message) {
  89014. return this.message$2$color($receiver, message, null);
  89015. },
  89016. get$sourceUrl(_) {
  89017. var t1 = this.get$span(this);
  89018. return t1.get$sourceUrl(t1);
  89019. },
  89020. get$start(_) {
  89021. var t1 = this.get$span(this);
  89022. return t1.get$start(t1);
  89023. },
  89024. get$text() {
  89025. return this.get$span(this).get$text();
  89026. },
  89027. $isComparable: 1,
  89028. $isFileSpan: 1,
  89029. $isSourceSpan: 1,
  89030. $isSourceSpanWithContext: 1
  89031. };
  89032. A.render_closure.prototype = {
  89033. call$0() {
  89034. var error, exception;
  89035. try {
  89036. this.callback.call$2(null, A.renderSync(this.options));
  89037. } catch (exception) {
  89038. error = A.unwrapException(exception);
  89039. this.callback.call$2(error, null);
  89040. }
  89041. return null;
  89042. },
  89043. $signature: 1
  89044. };
  89045. A.render_closure0.prototype = {
  89046. call$1(result) {
  89047. this.callback.call$2(null, result);
  89048. },
  89049. $signature: 450
  89050. };
  89051. A.render_closure1.prototype = {
  89052. call$2(error, stackTrace) {
  89053. var t2, t3, _null = null,
  89054. t1 = this.callback;
  89055. if (error instanceof A.SassException0)
  89056. t1.call$2(A._wrapException(error, stackTrace), _null);
  89057. else {
  89058. t2 = J.toString$0$(error);
  89059. t3 = A.getTrace0(error);
  89060. t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
  89061. }
  89062. },
  89063. $signature: 65
  89064. };
  89065. A._parseFunctions_closure.prototype = {
  89066. call$2(signature, callback) {
  89067. var fiber, _this = this,
  89068. t1 = _this.options,
  89069. context = {options: A._contextOptions(t1, _this.start)};
  89070. J.set$context$x(J.get$options$x(context), context);
  89071. fiber = J.get$fiber$x(t1);
  89072. if (fiber != null)
  89073. _this.result.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure(fiber, callback, context), false));
  89074. else {
  89075. t1 = _this.result;
  89076. if (!_this.asynch)
  89077. t1.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure0(callback, context), false));
  89078. else
  89079. t1.push(A.AsyncCallable_AsyncCallable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure1(callback, context), false));
  89080. }
  89081. },
  89082. $signature: 105
  89083. };
  89084. A._parseFunctions__closure.prototype = {
  89085. call$1($arguments) {
  89086. var result,
  89087. t1 = this.fiber,
  89088. currentFiber = J.get$current$x(t1),
  89089. t2 = type$.Object;
  89090. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  89091. t2.push(A.allowInterop(new A._parseFunctions___closure0(currentFiber)));
  89092. result = J.apply$2$x(type$.JSFunction._as(this.callback), this.context, t2);
  89093. return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure1(t1), null, type$.nullable_Object) : result);
  89094. },
  89095. $signature: 3
  89096. };
  89097. A._parseFunctions___closure0.prototype = {
  89098. call$1(result) {
  89099. A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
  89100. },
  89101. call$0() {
  89102. return this.call$1(null);
  89103. },
  89104. "call*": "call$1",
  89105. $requiredArgCount: 0,
  89106. $defaultValues() {
  89107. return [null];
  89108. },
  89109. $signature: 74
  89110. };
  89111. A._parseFunctions____closure.prototype = {
  89112. call$0() {
  89113. return J.run$1$x(this.currentFiber, this.result);
  89114. },
  89115. $signature: 0
  89116. };
  89117. A._parseFunctions___closure1.prototype = {
  89118. call$0() {
  89119. return J.yield$0$x(this.fiber);
  89120. },
  89121. $signature: 89
  89122. };
  89123. A._parseFunctions__closure0.prototype = {
  89124. call$1($arguments) {
  89125. 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)));
  89126. },
  89127. $signature: 3
  89128. };
  89129. A._parseFunctions__closure1.prototype = {
  89130. call$1($arguments) {
  89131. return this.$call$body$_parseFunctions__closure($arguments);
  89132. },
  89133. $call$body$_parseFunctions__closure($arguments) {
  89134. var $async$goto = 0,
  89135. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89136. $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
  89137. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89138. if ($async$errorCode === 1)
  89139. return A._asyncRethrow($async$result, $async$completer);
  89140. while (true)
  89141. switch ($async$goto) {
  89142. case 0:
  89143. // Function start
  89144. t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
  89145. t2 = type$.Object;
  89146. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  89147. t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
  89148. result = J.apply$2$x(type$.JSFunction._as($async$self.callback), $async$self.context, t2);
  89149. $async$temp1 = A;
  89150. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
  89151. break;
  89152. case 3:
  89153. // then
  89154. $async$goto = 6;
  89155. return A._asyncAwait(t1, $async$call$1);
  89156. case 6:
  89157. // returning from await.
  89158. // goto join
  89159. $async$goto = 4;
  89160. break;
  89161. case 5:
  89162. // else
  89163. $async$result = result;
  89164. case 4:
  89165. // join
  89166. $async$returnValue = $async$temp1.unwrapValue($async$result);
  89167. // goto return
  89168. $async$goto = 1;
  89169. break;
  89170. case 1:
  89171. // return
  89172. return A._asyncReturn($async$returnValue, $async$completer);
  89173. }
  89174. });
  89175. return A._asyncStartSync($async$call$1, $async$completer);
  89176. },
  89177. $signature: 100
  89178. };
  89179. A._parseFunctions___closure.prototype = {
  89180. call$1(result) {
  89181. return this.completer.complete$1(result);
  89182. },
  89183. call$0() {
  89184. return this.call$1(null);
  89185. },
  89186. "call*": "call$1",
  89187. $requiredArgCount: 0,
  89188. $defaultValues() {
  89189. return [null];
  89190. },
  89191. $signature: 250
  89192. };
  89193. A._parseImporter_closure.prototype = {
  89194. call$1(importer) {
  89195. return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this.fiber, importer)));
  89196. },
  89197. $signature: 451
  89198. };
  89199. A._parseImporter__closure.prototype = {
  89200. call$4(thisArg, url, previous, _) {
  89201. var t1 = this.fiber,
  89202. 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));
  89203. if (A._asBool($.$get$_isUndefined().call$1(result)))
  89204. return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
  89205. return result;
  89206. },
  89207. call$3(thisArg, url, previous) {
  89208. return this.call$4(thisArg, url, previous, null);
  89209. },
  89210. "call*": "call$4",
  89211. $requiredArgCount: 3,
  89212. $defaultValues() {
  89213. return [null];
  89214. },
  89215. $signature: 452
  89216. };
  89217. A._parseImporter___closure.prototype = {
  89218. call$1(result) {
  89219. A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
  89220. },
  89221. $signature: 453
  89222. };
  89223. A._parseImporter____closure.prototype = {
  89224. call$0() {
  89225. return J.run$1$x(this.currentFiber, this.result);
  89226. },
  89227. $signature: 0
  89228. };
  89229. A._parseImporter___closure0.prototype = {
  89230. call$0() {
  89231. return J.yield$0$x(this.fiber);
  89232. },
  89233. $signature: 89
  89234. };
  89235. A.LimitedMapView0.prototype = {
  89236. get$keys(_) {
  89237. return this._limited_map_view0$_keys;
  89238. },
  89239. get$length(_) {
  89240. return this._limited_map_view0$_keys._collection$_length;
  89241. },
  89242. get$isEmpty(_) {
  89243. return this._limited_map_view0$_keys._collection$_length === 0;
  89244. },
  89245. get$isNotEmpty(_) {
  89246. return this._limited_map_view0$_keys._collection$_length !== 0;
  89247. },
  89248. $index(_, key) {
  89249. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
  89250. },
  89251. containsKey$1(key) {
  89252. return this._limited_map_view0$_keys.contains$1(0, key);
  89253. },
  89254. remove$1(_, key) {
  89255. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
  89256. }
  89257. };
  89258. A.ListExpression0.prototype = {
  89259. accept$1$1(visitor) {
  89260. return visitor.visitListExpression$1(this);
  89261. },
  89262. accept$1(visitor) {
  89263. return this.accept$1$1(visitor, type$.dynamic);
  89264. },
  89265. toString$0(_) {
  89266. var t2, t3, t4, t5, _this = this,
  89267. t1 = _this.hasBrackets;
  89268. if (t1)
  89269. t2 = "" + A.Primitives_stringFromCharCode(91);
  89270. else {
  89271. t2 = _this.contents.length;
  89272. if (t2 !== 0)
  89273. t2 = t2 === 1 && _this.separator === B.ListSeparator_rXA0;
  89274. else
  89275. t2 = true;
  89276. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  89277. }
  89278. t3 = _this.contents;
  89279. t4 = _this.separator === B.ListSeparator_rXA0;
  89280. t5 = t4 ? ", " : " ";
  89281. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  89282. if (t1)
  89283. t1 = t5 + A.Primitives_stringFromCharCode(93);
  89284. else {
  89285. t1 = t3.length;
  89286. if (t1 === 0)
  89287. t1 = t5 + A.Primitives_stringFromCharCode(41);
  89288. else
  89289. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  89290. }
  89291. return t1.charCodeAt(0) == 0 ? t1 : t1;
  89292. },
  89293. _list3$_elementNeedsParens$1(expression) {
  89294. var t1;
  89295. if (expression instanceof A.ListExpression0) {
  89296. if (expression.contents.length < 2)
  89297. return false;
  89298. if (expression.hasBrackets)
  89299. return false;
  89300. t1 = expression.separator;
  89301. return this.separator === B.ListSeparator_rXA0 ? t1 === B.ListSeparator_rXA0 : t1 !== B.ListSeparator_undecided_null_undecided0;
  89302. }
  89303. if (this.separator !== B.ListSeparator_EVt0)
  89304. return false;
  89305. if (expression instanceof A.UnaryOperationExpression0) {
  89306. t1 = expression.operator;
  89307. return t1 === B.UnaryOperator_gg40 || t1 === B.UnaryOperator_TLI0;
  89308. }
  89309. return false;
  89310. },
  89311. $isExpression0: 1,
  89312. $isAstNode0: 1,
  89313. get$span(receiver) {
  89314. return this.span;
  89315. }
  89316. };
  89317. A.ListExpression_toString_closure0.prototype = {
  89318. call$1(element) {
  89319. return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  89320. },
  89321. $signature: 124
  89322. };
  89323. A._length_closure2.prototype = {
  89324. call$1($arguments) {
  89325. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).get$asList().length, null);
  89326. },
  89327. $signature: 10
  89328. };
  89329. A._nth_closure0.prototype = {
  89330. call$1($arguments) {
  89331. var t1 = J.getInterceptor$asx($arguments),
  89332. list = t1.$index($arguments, 0),
  89333. index = t1.$index($arguments, 1);
  89334. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  89335. },
  89336. $signature: 3
  89337. };
  89338. A._setNth_closure0.prototype = {
  89339. call$1($arguments) {
  89340. var t1 = J.getInterceptor$asx($arguments),
  89341. list = t1.$index($arguments, 0),
  89342. index = t1.$index($arguments, 1),
  89343. value = t1.$index($arguments, 2),
  89344. t2 = list.get$asList(),
  89345. newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  89346. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  89347. return t1.$index($arguments, 0).withListContents$1(newList);
  89348. },
  89349. $signature: 21
  89350. };
  89351. A._join_closure0.prototype = {
  89352. call$1($arguments) {
  89353. var separator, bracketed,
  89354. t1 = J.getInterceptor$asx($arguments),
  89355. list1 = t1.$index($arguments, 0),
  89356. list2 = t1.$index($arguments, 1),
  89357. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  89358. bracketedParam = t1.$index($arguments, 3);
  89359. t1 = separatorParam._string0$_text;
  89360. if (t1 === "auto")
  89361. if (list1.get$separator(list1) !== B.ListSeparator_undecided_null_undecided0)
  89362. separator = list1.get$separator(list1);
  89363. else
  89364. separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null_undecided0 ? list2.get$separator(list2) : B.ListSeparator_EVt0;
  89365. else if (t1 === "space")
  89366. separator = B.ListSeparator_EVt0;
  89367. else if (t1 === "comma")
  89368. separator = B.ListSeparator_rXA0;
  89369. else {
  89370. if (t1 !== "slash")
  89371. throw A.wrapException(A.SassScriptException$0(string$.x24separ, null));
  89372. separator = B.ListSeparator_zg90;
  89373. }
  89374. bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  89375. t1 = A.List_List$of(list1.get$asList(), true, type$.Value_2);
  89376. B.JSArray_methods.addAll$1(t1, list2.get$asList());
  89377. return A.SassList$0(t1, separator, bracketed);
  89378. },
  89379. $signature: 21
  89380. };
  89381. A._append_closure2.prototype = {
  89382. call$1($arguments) {
  89383. var separator,
  89384. t1 = J.getInterceptor$asx($arguments),
  89385. list = t1.$index($arguments, 0),
  89386. value = t1.$index($arguments, 1);
  89387. t1 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
  89388. if (t1 === "auto")
  89389. separator = list.get$separator(list) === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_EVt0 : list.get$separator(list);
  89390. else if (t1 === "space")
  89391. separator = B.ListSeparator_EVt0;
  89392. else if (t1 === "comma")
  89393. separator = B.ListSeparator_rXA0;
  89394. else {
  89395. if (t1 !== "slash")
  89396. throw A.wrapException(A.SassScriptException$0(string$.x24separ, null));
  89397. separator = B.ListSeparator_zg90;
  89398. }
  89399. t1 = A.List_List$of(list.get$asList(), true, type$.Value_2);
  89400. t1.push(value);
  89401. return list.withListContents$2$separator(t1, separator);
  89402. },
  89403. $signature: 21
  89404. };
  89405. A._zip_closure0.prototype = {
  89406. call$1($arguments) {
  89407. var results, result, _box_0 = {},
  89408. t1 = J.$index$asx($arguments, 0).get$asList(),
  89409. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
  89410. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), true, t2._eval$1("ListIterable.E"));
  89411. if (lists.length === 0)
  89412. return B.SassList_Sof1;
  89413. _box_0.i = 0;
  89414. results = A._setArrayType([], type$.JSArray_SassList_2);
  89415. 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));) {
  89416. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
  89417. result.fixed$length = Array;
  89418. result.immutable$list = Array;
  89419. results.push(new A.SassList0(result, B.ListSeparator_EVt0, false));
  89420. ++_box_0.i;
  89421. }
  89422. return A.SassList$0(results, B.ListSeparator_rXA0, false);
  89423. },
  89424. $signature: 21
  89425. };
  89426. A._zip__closure2.prototype = {
  89427. call$1(list) {
  89428. return list.get$asList();
  89429. },
  89430. $signature: 455
  89431. };
  89432. A._zip__closure3.prototype = {
  89433. call$1(list) {
  89434. return this._box_0.i !== J.get$length$asx(list);
  89435. },
  89436. $signature: 456
  89437. };
  89438. A._zip__closure4.prototype = {
  89439. call$1(list) {
  89440. return J.$index$asx(list, this._box_0.i);
  89441. },
  89442. $signature: 3
  89443. };
  89444. A._index_closure2.prototype = {
  89445. call$1($arguments) {
  89446. var t1 = J.getInterceptor$asx($arguments),
  89447. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  89448. return index === -1 ? B.C__SassNull0 : A.SassNumber_SassNumber0(index + 1, null);
  89449. },
  89450. $signature: 3
  89451. };
  89452. A._separator_closure0.prototype = {
  89453. call$1($arguments) {
  89454. switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
  89455. case B.ListSeparator_rXA0:
  89456. return new A.SassString0("comma", false);
  89457. case B.ListSeparator_zg90:
  89458. return new A.SassString0("slash", false);
  89459. default:
  89460. return new A.SassString0("space", false);
  89461. }
  89462. },
  89463. $signature: 17
  89464. };
  89465. A._isBracketed_closure0.prototype = {
  89466. call$1($arguments) {
  89467. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  89468. },
  89469. $signature: 20
  89470. };
  89471. A._slash_closure0.prototype = {
  89472. call$1($arguments) {
  89473. var list = J.$index$asx($arguments, 0).get$asList();
  89474. if (list.length < 2)
  89475. throw A.wrapException(A.SassScriptException$0("At least two elements are required.", null));
  89476. return A.SassList$0(list, B.ListSeparator_zg90, false);
  89477. },
  89478. $signature: 21
  89479. };
  89480. A.SelectorList0.prototype = {
  89481. get$asSassList() {
  89482. var t1 = this.components;
  89483. 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);
  89484. },
  89485. accept$1$1(visitor) {
  89486. return visitor.visitSelectorList$1(this);
  89487. },
  89488. accept$1(visitor) {
  89489. return this.accept$1$1(visitor, type$.dynamic);
  89490. },
  89491. unify$1(other) {
  89492. var t3, t4, t5, t6, _i, complex1, _i0, t7,
  89493. t1 = type$.JSArray_ComplexSelector_2,
  89494. t2 = A._setArrayType([], t1);
  89495. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  89496. complex1 = t3[_i];
  89497. for (_i0 = 0; _i0 < t6; ++_i0) {
  89498. t7 = A.unifyComplex0(A._setArrayType([complex1, t5[_i0]], t1), complex1.span);
  89499. if (t7 != null)
  89500. B.JSArray_methods.addAll$1(t2, t7);
  89501. }
  89502. }
  89503. return t2.length === 0 ? null : A.SelectorList$0(t2, this.span);
  89504. },
  89505. resolveParentSelectors$2$implicitParent($parent, implicitParent) {
  89506. var parentSelector, t1, _this = this;
  89507. if ($parent == null) {
  89508. parentSelector = B.C__ParentSelectorVisitor0.visitSelectorList$1(_this);
  89509. if (parentSelector == null)
  89510. return _this;
  89511. throw A.wrapException(A.SassException$0(string$.Top_le, parentSelector.span, null));
  89512. }
  89513. t1 = _this.components;
  89514. 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);
  89515. },
  89516. resolveParentSelectors$1($parent) {
  89517. return this.resolveParentSelectors$2$implicitParent($parent, true);
  89518. },
  89519. _list2$_resolveParentSelectorsCompound$2(component, $parent) {
  89520. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  89521. t1 = component.selector,
  89522. simples = t1.components,
  89523. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__resolveParentSelectorsCompound_closure2());
  89524. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector0))
  89525. return null;
  89526. if (containsSelectorPseudo) {
  89527. t2 = simples;
  89528. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__resolveParentSelectorsCompound_closure3($parent), A.instanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector0>"));
  89529. } else
  89530. resolvedSimples0 = simples;
  89531. resolvedSimples = resolvedSimples0;
  89532. parentSelector = J.get$first$ax(simples);
  89533. try {
  89534. if (!(parentSelector instanceof A.ParentSelector0)) {
  89535. t2 = component.span;
  89536. 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);
  89537. return t2;
  89538. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  89539. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  89540. return t1.components;
  89541. }
  89542. } catch (exception) {
  89543. t1 = A.unwrapException(exception);
  89544. if (t1 instanceof A.SassException0) {
  89545. error = t1;
  89546. stackTrace = A.getTraceFromException(exception);
  89547. A.throwWithTrace0(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), stackTrace);
  89548. } else
  89549. throw exception;
  89550. }
  89551. t1 = $parent.components;
  89552. return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure4(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  89553. },
  89554. isSuperselector$1(other) {
  89555. return A.listIsSuperselector0(this.components, other.components);
  89556. },
  89557. withAdditionalCombinators$1(combinators) {
  89558. var t1;
  89559. if (combinators.length === 0)
  89560. t1 = this;
  89561. else {
  89562. t1 = this.components;
  89563. t1 = A.SelectorList$0(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure0(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")), this.span);
  89564. }
  89565. return t1;
  89566. },
  89567. get$hashCode(_) {
  89568. return B.C_ListEquality0.hash$1(this.components);
  89569. },
  89570. $eq(_, other) {
  89571. if (other == null)
  89572. return false;
  89573. return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  89574. }
  89575. };
  89576. A.SelectorList_asSassList_closure0.prototype = {
  89577. call$1(complex) {
  89578. var t3, t4, _i, component, t5, visitor, t6, t7, _i0,
  89579. t1 = type$.JSArray_Value_2,
  89580. t2 = A._setArrayType([], t1);
  89581. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  89582. t2.push(new A.SassString0(J.toString$0$(t3[_i].value), false));
  89583. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  89584. component = t3[_i];
  89585. t5 = component.selector;
  89586. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  89587. t5.accept$1(visitor);
  89588. t5 = A._setArrayType([new A.SassString0(visitor._serialize0$_buffer.toString$0(0), false)], t1);
  89589. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  89590. t5.push(new A.SassString0(J.toString$0$(t6[_i0].value), false));
  89591. B.JSArray_methods.addAll$1(t2, t5);
  89592. }
  89593. return A.SassList$0(t2, B.ListSeparator_EVt0, false);
  89594. },
  89595. $signature: 457
  89596. };
  89597. A.SelectorList_resolveParentSelectors_closure0.prototype = {
  89598. call$1(complex) {
  89599. 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;
  89600. if (complex.accept$1(B.C__ParentSelectorVisitor0) == null) {
  89601. if (!_this.implicitParent)
  89602. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  89603. t1 = _this.parent.components;
  89604. return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure1(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  89605. }
  89606. t1 = type$.JSArray_ComplexSelector_2;
  89607. newComplexes = A._setArrayType([], t1);
  89608. 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) {
  89609. component = t2[_i];
  89610. resolved = t4._list2$_resolveParentSelectorsCompound$2(component, t5);
  89611. if (resolved == null)
  89612. if (newComplexes.length === 0)
  89613. newComplexes.push(A.ComplexSelector$0(t7, A._setArrayType([component], t11), t9, false));
  89614. else
  89615. for (i = 0; i < newComplexes.length; ++i) {
  89616. t12 = newComplexes[i];
  89617. t13 = t12.leadingCombinators;
  89618. t14 = A.List_List$of(t12.components, true, t10);
  89619. t14.push(component);
  89620. newComplexes[i] = A.ComplexSelector$0(t13, t14, t9, t12.lineBreak || false);
  89621. }
  89622. else if (newComplexes.length === 0)
  89623. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_resolveParentSelectors__closure2(complex), t6));
  89624. else {
  89625. t12 = A._setArrayType([], t1);
  89626. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  89627. newComplex = newComplexes[_i0];
  89628. for (t15 = t14.get$iterator(resolved); t15.moveNext$0();)
  89629. t12.push(newComplex.concatenate$2(t15.get$current(t15), newComplex.span));
  89630. }
  89631. newComplexes = t12;
  89632. }
  89633. }
  89634. return newComplexes;
  89635. },
  89636. $signature: 458
  89637. };
  89638. A.SelectorList_resolveParentSelectors__closure1.prototype = {
  89639. call$1(parentComplex) {
  89640. var t1 = this.complex;
  89641. return parentComplex.concatenate$2(t1, t1.span);
  89642. },
  89643. $signature: 58
  89644. };
  89645. A.SelectorList_resolveParentSelectors__closure2.prototype = {
  89646. call$1(resolvedComplex) {
  89647. var t1 = resolvedComplex.leadingCombinators,
  89648. t2 = this.complex,
  89649. t3 = t2.leadingCombinators;
  89650. if (t1.length === 0)
  89651. t1 = t3;
  89652. else {
  89653. t3 = A.List_List$of(t3, true, type$.CssValue_Combinator_2);
  89654. B.JSArray_methods.addAll$1(t3, t1);
  89655. t1 = t3;
  89656. }
  89657. return A.ComplexSelector$0(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  89658. },
  89659. $signature: 58
  89660. };
  89661. A.SelectorList__resolveParentSelectorsCompound_closure2.prototype = {
  89662. call$1(simple) {
  89663. var selector;
  89664. if (!(simple instanceof A.PseudoSelector0))
  89665. return false;
  89666. selector = simple.selector;
  89667. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  89668. },
  89669. $signature: 14
  89670. };
  89671. A.SelectorList__resolveParentSelectorsCompound_closure3.prototype = {
  89672. call$1(simple) {
  89673. var selector;
  89674. if (!(simple instanceof A.PseudoSelector0))
  89675. return simple;
  89676. selector = simple.selector;
  89677. if (selector == null)
  89678. return simple;
  89679. if (selector.accept$1(B.C__ParentSelectorVisitor0) == null)
  89680. return simple;
  89681. return simple.withSelector$1(selector.resolveParentSelectors$2$implicitParent(this.parent, false));
  89682. },
  89683. $signature: 459
  89684. };
  89685. A.SelectorList__resolveParentSelectorsCompound_closure4.prototype = {
  89686. call$1(complex) {
  89687. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, t6, t7, exception, _this = this;
  89688. try {
  89689. t4 = complex.components;
  89690. lastComponent = B.JSArray_methods.get$last(t4);
  89691. if (lastComponent.combinators.length !== 0) {
  89692. t1 = A.MultiSpanSassException$0('Selector "' + complex.toString$0(0) + string$.x22x20can_, A.SpanExtensions_trimRight0(lastComponent.span), "outer selector", A.LinkedHashMap_LinkedHashMap$_literal([_this.parentSelector.span, "parent selector"], type$.FileSpan, type$.String), null);
  89693. throw A.wrapException(t1);
  89694. }
  89695. suffix = _this.parentSelector.suffix;
  89696. lastSimples = lastComponent.selector.components;
  89697. t5 = type$.SimpleSelector_2;
  89698. t6 = _this.resolvedSimples;
  89699. t7 = J.getInterceptor$ax(t6);
  89700. if (suffix == null) {
  89701. t1 = A.List_List$of(lastSimples, true, t5);
  89702. J.addAll$1$ax(t1, t7.skip$1(t6, 1));
  89703. t1 = t1;
  89704. } else {
  89705. t2 = A.List_List$of(A.IterableExtension_get_exceptLast0(lastSimples), true, t5);
  89706. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  89707. J.addAll$1$ax(t2, t7.skip$1(t6, 1));
  89708. t1 = t2;
  89709. }
  89710. t2 = _this.component;
  89711. last = A.CompoundSelector$0(t1, t2.selector.span);
  89712. t1 = complex.leadingCombinators;
  89713. t3 = A.List_List$of(A.IterableExtension_get_exceptLast0(t4), true, type$.ComplexSelectorComponent_2);
  89714. t4 = t2.span;
  89715. J.add$1$ax(t3, new A.ComplexSelectorComponent0(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator_2), t4));
  89716. t4 = A.ComplexSelector$0(t1, t3, t4, complex.lineBreak);
  89717. return t4;
  89718. } catch (exception) {
  89719. t1 = A.unwrapException(exception);
  89720. if (t1 instanceof A.SassException0) {
  89721. error = t1;
  89722. stackTrace = A.getTraceFromException(exception);
  89723. A.throwWithTrace0(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), stackTrace);
  89724. } else
  89725. throw exception;
  89726. }
  89727. },
  89728. $signature: 58
  89729. };
  89730. A.SelectorList_withAdditionalCombinators_closure0.prototype = {
  89731. call$1(complex) {
  89732. return complex.withAdditionalCombinators$1(this.combinators);
  89733. },
  89734. $signature: 58
  89735. };
  89736. A._ParentSelectorVisitor0.prototype = {
  89737. visitParentSelector$1(selector) {
  89738. return selector;
  89739. }
  89740. };
  89741. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0.prototype = {};
  89742. A._NodeSassList.prototype = {};
  89743. A.legacyListClass_closure.prototype = {
  89744. call$4(thisArg, $length, commaSeparator, dartValue) {
  89745. var t1;
  89746. if (dartValue == null) {
  89747. $length.toString;
  89748. t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
  89749. t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_rXA0 : B.ListSeparator_EVt0, false);
  89750. } else
  89751. t1 = dartValue;
  89752. J.set$dartValue$x(thisArg, t1);
  89753. },
  89754. call$2(thisArg, $length) {
  89755. return this.call$4(thisArg, $length, null, null);
  89756. },
  89757. call$3(thisArg, $length, commaSeparator) {
  89758. return this.call$4(thisArg, $length, commaSeparator, null);
  89759. },
  89760. "call*": "call$4",
  89761. $requiredArgCount: 2,
  89762. $defaultValues() {
  89763. return [null, null];
  89764. },
  89765. $signature: 460
  89766. };
  89767. A.legacyListClass__closure.prototype = {
  89768. call$1(_) {
  89769. return B.C__SassNull0;
  89770. },
  89771. $signature: 226
  89772. };
  89773. A.legacyListClass_closure0.prototype = {
  89774. call$2(thisArg, index) {
  89775. return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
  89776. },
  89777. $signature: 462
  89778. };
  89779. A.legacyListClass_closure1.prototype = {
  89780. call$3(thisArg, index, value) {
  89781. var t1 = J.getInterceptor$x(thisArg),
  89782. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  89783. mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  89784. mutable[index] = A.unwrapValue(value);
  89785. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
  89786. },
  89787. "call*": "call$3",
  89788. $requiredArgCount: 3,
  89789. $signature: 463
  89790. };
  89791. A.legacyListClass_closure2.prototype = {
  89792. call$1(thisArg) {
  89793. return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_rXA0;
  89794. },
  89795. $signature: 464
  89796. };
  89797. A.legacyListClass_closure3.prototype = {
  89798. call$2(thisArg, isComma) {
  89799. var t1 = J.getInterceptor$x(thisArg),
  89800. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  89801. t3 = isComma ? B.ListSeparator_rXA0 : B.ListSeparator_EVt0;
  89802. t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
  89803. },
  89804. $signature: 465
  89805. };
  89806. A.legacyListClass_closure4.prototype = {
  89807. call$1(thisArg) {
  89808. return J.get$dartValue$x(thisArg)._list1$_contents.length;
  89809. },
  89810. $signature: 466
  89811. };
  89812. A.listClass_closure.prototype = {
  89813. call$0() {
  89814. var t1 = type$.JSClass,
  89815. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
  89816. J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
  89817. A.JSClassExtension_injectSuperclass(t1._as(B.SassList_nj9.constructor), jsClass);
  89818. return jsClass;
  89819. },
  89820. $signature: 26
  89821. };
  89822. A.listClass__closure.prototype = {
  89823. call$3($self, contentsOrOptions, options) {
  89824. var contents, t1, t2;
  89825. if (self.immutable.isList(contentsOrOptions))
  89826. contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
  89827. else if (type$.List_dynamic._is(contentsOrOptions))
  89828. contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
  89829. else {
  89830. contents = A._setArrayType([], type$.JSArray_Value_2);
  89831. type$.nullable__ConstructorOptions._as(contentsOrOptions);
  89832. options = contentsOrOptions;
  89833. }
  89834. t1 = options == null;
  89835. if (!t1) {
  89836. t2 = J.get$separator$x(options);
  89837. t2 = A._asBool($.$get$_isUndefined().call$1(t2));
  89838. } else
  89839. t2 = true;
  89840. t2 = t2 ? B.ListSeparator_rXA0 : A.jsToDartSeparator(J.get$separator$x(options));
  89841. t1 = t1 ? null : J.get$brackets$x(options);
  89842. return A.SassList$0(contents, t2, t1 == null ? false : t1);
  89843. },
  89844. call$1($self) {
  89845. return this.call$3($self, null, null);
  89846. },
  89847. call$2($self, contentsOrOptions) {
  89848. return this.call$3($self, contentsOrOptions, null);
  89849. },
  89850. "call*": "call$3",
  89851. $requiredArgCount: 1,
  89852. $defaultValues() {
  89853. return [null, null];
  89854. },
  89855. $signature: 467
  89856. };
  89857. A.listClass__closure0.prototype = {
  89858. call$2($self, indexFloat) {
  89859. var index = B.JSNumber_methods.floor$0(indexFloat);
  89860. if (index < 0)
  89861. index = $self.get$asList().length + index;
  89862. if (index < 0 || index >= $self.get$asList().length)
  89863. return self.undefined;
  89864. return $self.get$asList()[index];
  89865. },
  89866. $signature: 227
  89867. };
  89868. A._ConstructorOptions.prototype = {};
  89869. A.SassList0.prototype = {
  89870. get$separator(_) {
  89871. return this._list1$_separator;
  89872. },
  89873. get$hasBrackets() {
  89874. return this._list1$_hasBrackets;
  89875. },
  89876. get$isBlank() {
  89877. return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
  89878. },
  89879. get$asList() {
  89880. return this._list1$_contents;
  89881. },
  89882. get$lengthAsList() {
  89883. return this._list1$_contents.length;
  89884. },
  89885. SassList$3$brackets0(contents, _separator, brackets) {
  89886. if (this._list1$_separator === B.ListSeparator_undecided_null_undecided0 && this._list1$_contents.length > 1)
  89887. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  89888. },
  89889. accept$1$1(visitor) {
  89890. return visitor.visitList$1(this);
  89891. },
  89892. accept$1(visitor) {
  89893. return this.accept$1$1(visitor, type$.dynamic);
  89894. },
  89895. assertMap$1($name) {
  89896. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
  89897. },
  89898. tryMap$0() {
  89899. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
  89900. },
  89901. $eq(_, other) {
  89902. var t1, _this = this;
  89903. if (other == null)
  89904. return false;
  89905. 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)))
  89906. t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
  89907. else
  89908. t1 = true;
  89909. return t1;
  89910. },
  89911. get$hashCode(_) {
  89912. return B.C_ListEquality0.hash$1(this._list1$_contents);
  89913. }
  89914. };
  89915. A.SassList_isBlank_closure0.prototype = {
  89916. call$1(element) {
  89917. return element.get$isBlank();
  89918. },
  89919. $signature: 46
  89920. };
  89921. A.ListSeparator0.prototype = {
  89922. _enumToString$0() {
  89923. return "ListSeparator." + this._name;
  89924. },
  89925. toString$0(_) {
  89926. return this._list1$_name;
  89927. }
  89928. };
  89929. A.NodeLogger.prototype = {};
  89930. A.WarnOptions.prototype = {};
  89931. A.DebugOptions.prototype = {};
  89932. A._QuietLogger0.prototype = {
  89933. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  89934. },
  89935. warn$2$span($receiver, message, span) {
  89936. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  89937. }
  89938. };
  89939. A.LoudComment0.prototype = {
  89940. get$span(_) {
  89941. return this.text.span;
  89942. },
  89943. accept$1$1(visitor) {
  89944. return visitor.visitLoudComment$1(this);
  89945. },
  89946. accept$1(visitor) {
  89947. return this.accept$1$1(visitor, type$.dynamic);
  89948. },
  89949. toString$0(_) {
  89950. return this.text.toString$0(0);
  89951. },
  89952. $isAstNode0: 1,
  89953. $isStatement0: 1
  89954. };
  89955. A.MapExpression0.prototype = {
  89956. accept$1$1(visitor) {
  89957. return visitor.visitMapExpression$1(this);
  89958. },
  89959. accept$1(visitor) {
  89960. return this.accept$1$1(visitor, type$.dynamic);
  89961. },
  89962. toString$0(_) {
  89963. var t1 = this.pairs;
  89964. return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
  89965. },
  89966. $isExpression0: 1,
  89967. $isAstNode0: 1,
  89968. get$span(receiver) {
  89969. return this.span;
  89970. }
  89971. };
  89972. A.MapExpression_toString_closure0.prototype = {
  89973. call$1(pair) {
  89974. return A.S(pair.item1) + ": " + A.S(pair.item2);
  89975. },
  89976. $signature: 469
  89977. };
  89978. A._get_closure0.prototype = {
  89979. call$1($arguments) {
  89980. var value,
  89981. t1 = J.getInterceptor$asx($arguments),
  89982. map = t1.$index($arguments, 0).assertMap$1("map"),
  89983. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  89984. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  89985. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  89986. value = map._map0$_contents.$index(0, t1.get$current(t1));
  89987. if (!(value instanceof A.SassMap0))
  89988. return B.C__SassNull0;
  89989. }
  89990. t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
  89991. return t1 == null ? B.C__SassNull0 : t1;
  89992. },
  89993. $signature: 3
  89994. };
  89995. A._set_closure1.prototype = {
  89996. call$1($arguments) {
  89997. var t1 = J.getInterceptor$asx($arguments);
  89998. 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);
  89999. },
  90000. $signature: 3
  90001. };
  90002. A._set__closure2.prototype = {
  90003. call$1(_) {
  90004. return J.$index$asx(this.$arguments, 2);
  90005. },
  90006. $signature: 37
  90007. };
  90008. A._set_closure2.prototype = {
  90009. call$1($arguments) {
  90010. var t1 = J.getInterceptor$asx($arguments),
  90011. map = t1.$index($arguments, 0).assertMap$1("map"),
  90012. args = t1.$index($arguments, 1).get$asList();
  90013. t1 = args.length;
  90014. if (t1 === 0)
  90015. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", null));
  90016. else if (t1 === 1)
  90017. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value.", null));
  90018. return A._modify0(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure1(args), true);
  90019. },
  90020. $signature: 3
  90021. };
  90022. A._set__closure1.prototype = {
  90023. call$1(_) {
  90024. return B.JSArray_methods.get$last(this.args);
  90025. },
  90026. $signature: 37
  90027. };
  90028. A._merge_closure1.prototype = {
  90029. call$1($arguments) {
  90030. var t2,
  90031. t1 = J.getInterceptor$asx($arguments),
  90032. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  90033. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  90034. t1 = type$.Value_2;
  90035. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map0$_contents, t1, t1);
  90036. t2.addAll$1(0, map2._map0$_contents);
  90037. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  90038. },
  90039. $signature: 39
  90040. };
  90041. A._merge_closure2.prototype = {
  90042. call$1($arguments) {
  90043. var map2,
  90044. t1 = J.getInterceptor$asx($arguments),
  90045. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  90046. args = t1.$index($arguments, 1).get$asList();
  90047. t1 = args.length;
  90048. if (t1 === 0)
  90049. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", null));
  90050. else if (t1 === 1)
  90051. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map.", null));
  90052. map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
  90053. return A._modify0(map1, A.IterableExtension_get_exceptLast0(args), new A._merge__closure0(map2), true);
  90054. },
  90055. $signature: 3
  90056. };
  90057. A._merge__closure0.prototype = {
  90058. call$1(oldValue) {
  90059. var t1, t2,
  90060. nestedMap = oldValue.tryMap$0();
  90061. if (nestedMap == null)
  90062. return this.map2;
  90063. t1 = type$.Value_2;
  90064. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  90065. t2.addAll$1(0, this.map2._map0$_contents);
  90066. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  90067. },
  90068. $signature: 470
  90069. };
  90070. A._deepMerge_closure0.prototype = {
  90071. call$1($arguments) {
  90072. var t1 = J.getInterceptor$asx($arguments);
  90073. return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  90074. },
  90075. $signature: 39
  90076. };
  90077. A._deepRemove_closure0.prototype = {
  90078. call$1($arguments) {
  90079. var t1 = J.getInterceptor$asx($arguments),
  90080. map = t1.$index($arguments, 0).assertMap$1("map"),
  90081. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  90082. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  90083. return A._modify0(map, A.IterableExtension_get_exceptLast0(t2), new A._deepRemove__closure0(t2), false);
  90084. },
  90085. $signature: 3
  90086. };
  90087. A._deepRemove__closure0.prototype = {
  90088. call$1(value) {
  90089. var t1, t2,
  90090. nestedMap = value.tryMap$0();
  90091. if (nestedMap != null && nestedMap._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
  90092. t1 = type$.Value_2;
  90093. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  90094. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  90095. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  90096. }
  90097. return value;
  90098. },
  90099. $signature: 37
  90100. };
  90101. A._remove_closure1.prototype = {
  90102. call$1($arguments) {
  90103. return J.$index$asx($arguments, 0).assertMap$1("map");
  90104. },
  90105. $signature: 39
  90106. };
  90107. A._remove_closure2.prototype = {
  90108. call$1($arguments) {
  90109. var mutableMap, t3, _i,
  90110. t1 = J.getInterceptor$asx($arguments),
  90111. map = t1.$index($arguments, 0).assertMap$1("map"),
  90112. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  90113. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  90114. t1 = type$.Value_2;
  90115. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
  90116. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  90117. mutableMap.remove$1(0, t2[_i]);
  90118. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  90119. },
  90120. $signature: 39
  90121. };
  90122. A._keys_closure0.prototype = {
  90123. call$1($arguments) {
  90124. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  90125. return A.SassList$0(t1.get$keys(t1), B.ListSeparator_rXA0, false);
  90126. },
  90127. $signature: 21
  90128. };
  90129. A._values_closure0.prototype = {
  90130. call$1($arguments) {
  90131. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  90132. return A.SassList$0(t1.get$values(t1), B.ListSeparator_rXA0, false);
  90133. },
  90134. $signature: 21
  90135. };
  90136. A._hasKey_closure0.prototype = {
  90137. call$1($arguments) {
  90138. var value,
  90139. t1 = J.getInterceptor$asx($arguments),
  90140. map = t1.$index($arguments, 0).assertMap$1("map"),
  90141. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  90142. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  90143. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  90144. value = map._map0$_contents.$index(0, t1.get$current(t1));
  90145. if (!(value instanceof A.SassMap0))
  90146. return B.SassBoolean_false0;
  90147. }
  90148. return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  90149. },
  90150. $signature: 20
  90151. };
  90152. A._modify_modifyNestedMap0.prototype = {
  90153. call$1(map) {
  90154. var nestedMap, _this = this,
  90155. t1 = type$.Value_2,
  90156. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
  90157. t2 = _this.keyIterator,
  90158. key = t2.get$current(t2);
  90159. if (!t2.moveNext$0()) {
  90160. t2 = mutableMap.$index(0, key);
  90161. if (t2 == null)
  90162. t2 = B.C__SassNull0;
  90163. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  90164. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  90165. }
  90166. t2 = mutableMap.$index(0, key);
  90167. nestedMap = t2 == null ? null : t2.tryMap$0();
  90168. t2 = nestedMap == null;
  90169. if (t2 && !_this.addNesting)
  90170. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  90171. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
  90172. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  90173. },
  90174. $signature: 471
  90175. };
  90176. A._deepMergeImpl_closure0.prototype = {
  90177. call$2(key, value) {
  90178. var valueMap, merged,
  90179. t1 = this.result,
  90180. t2 = t1.$index(0, key),
  90181. resultMap = t2 == null ? null : t2.tryMap$0();
  90182. if (resultMap == null)
  90183. t1.$indexSet(0, key, value);
  90184. else {
  90185. valueMap = value.tryMap$0();
  90186. if (valueMap != null) {
  90187. merged = A._deepMergeImpl0(resultMap, valueMap);
  90188. if (merged === resultMap)
  90189. return;
  90190. t1.$indexSet(0, key, merged);
  90191. } else
  90192. t1.$indexSet(0, key, value);
  90193. }
  90194. },
  90195. $signature: 52
  90196. };
  90197. A._NodeSassMap.prototype = {};
  90198. A.legacyMapClass_closure.prototype = {
  90199. call$3(thisArg, $length, dartValue) {
  90200. var t1, t2, t3, map;
  90201. if (dartValue == null) {
  90202. $length.toString;
  90203. t1 = type$.Value_2;
  90204. t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
  90205. t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
  90206. map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
  90207. A.MapBase__fillMapWithIterables(map, t2, t3);
  90208. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  90209. } else
  90210. t1 = dartValue;
  90211. J.set$dartValue$x(thisArg, t1);
  90212. },
  90213. call$2(thisArg, $length) {
  90214. return this.call$3(thisArg, $length, null);
  90215. },
  90216. "call*": "call$3",
  90217. $requiredArgCount: 2,
  90218. $defaultValues() {
  90219. return [null];
  90220. },
  90221. $signature: 472
  90222. };
  90223. A.legacyMapClass__closure.prototype = {
  90224. call$1(i) {
  90225. return A.SassNumber_SassNumber0(i, null);
  90226. },
  90227. $signature: 473
  90228. };
  90229. A.legacyMapClass__closure0.prototype = {
  90230. call$1(_) {
  90231. return B.C__SassNull0;
  90232. },
  90233. $signature: 226
  90234. };
  90235. A.legacyMapClass_closure0.prototype = {
  90236. call$2(thisArg, index) {
  90237. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  90238. return A.wrapValue(J.elementAt$1$ax(t1.get$keys(t1), index));
  90239. },
  90240. $signature: 228
  90241. };
  90242. A.legacyMapClass_closure1.prototype = {
  90243. call$2(thisArg, index) {
  90244. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  90245. return A.wrapValue(t1.get$values(t1).elementAt$1(0, index));
  90246. },
  90247. $signature: 228
  90248. };
  90249. A.legacyMapClass_closure2.prototype = {
  90250. call$1(thisArg) {
  90251. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  90252. return t1.get$length(t1);
  90253. },
  90254. $signature: 475
  90255. };
  90256. A.legacyMapClass_closure3.prototype = {
  90257. call$3(thisArg, index, key) {
  90258. var newKey, t2, newMap, t3, i, t4, t5,
  90259. t1 = J.getInterceptor$x(thisArg),
  90260. oldMap = t1.get$dartValue(thisArg)._map0$_contents,
  90261. $length = oldMap.get$length(oldMap);
  90262. A.IndexError_check(index, $length, oldMap, null, "index");
  90263. newKey = A.unwrapValue(key);
  90264. t2 = type$.Value_2;
  90265. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  90266. for (t3 = t1.get$dartValue(thisArg)._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
  90267. t4 = t3.get$current(t3);
  90268. if (i === index)
  90269. newMap.$indexSet(0, newKey, t4.value);
  90270. else {
  90271. t5 = t4.key;
  90272. if (newKey.$eq(0, t5))
  90273. throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
  90274. newMap.$indexSet(0, t5, t4.value);
  90275. }
  90276. ++i;
  90277. }
  90278. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
  90279. },
  90280. "call*": "call$3",
  90281. $requiredArgCount: 3,
  90282. $signature: 229
  90283. };
  90284. A.legacyMapClass_closure4.prototype = {
  90285. call$3(thisArg, index, value) {
  90286. var t3,
  90287. t1 = J.getInterceptor$x(thisArg),
  90288. t2 = t1.get$dartValue(thisArg)._map0$_contents,
  90289. key = J.elementAt$1$ax(t2.get$keys(t2), index);
  90290. t2 = type$.Value_2;
  90291. t3 = A.LinkedHashMap_LinkedHashMap$of(t1.get$dartValue(thisArg)._map0$_contents, t2, t2);
  90292. t3.$indexSet(0, key, A.unwrapValue(value));
  90293. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
  90294. },
  90295. "call*": "call$3",
  90296. $requiredArgCount: 3,
  90297. $signature: 229
  90298. };
  90299. A.mapClass_closure.prototype = {
  90300. call$0() {
  90301. var t1 = type$.JSClass,
  90302. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
  90303. t2 = J.getInterceptor$x(jsClass);
  90304. A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
  90305. t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
  90306. A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
  90307. return jsClass;
  90308. },
  90309. $signature: 26
  90310. };
  90311. A.mapClass__closure.prototype = {
  90312. call$2($self, contents) {
  90313. var t1;
  90314. if (contents == null)
  90315. t1 = B.SassMap_Map_empty0;
  90316. else {
  90317. t1 = type$.Value_2;
  90318. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
  90319. }
  90320. return t1;
  90321. },
  90322. call$1($self) {
  90323. return this.call$2($self, null);
  90324. },
  90325. "call*": "call$2",
  90326. $requiredArgCount: 1,
  90327. $defaultValues() {
  90328. return [null];
  90329. },
  90330. $signature: 477
  90331. };
  90332. A.mapClass__closure0.prototype = {
  90333. call$1($self) {
  90334. return A.dartMapToImmutableMap($self._map0$_contents);
  90335. },
  90336. $signature: 478
  90337. };
  90338. A.mapClass__closure1.prototype = {
  90339. call$2($self, indexOrKey) {
  90340. var index, t1, entry;
  90341. if (typeof indexOrKey == "number") {
  90342. index = B.JSNumber_methods.floor$0(indexOrKey);
  90343. if (index < 0) {
  90344. t1 = $self._map0$_contents;
  90345. index = t1.get$length(t1) + index;
  90346. }
  90347. if (index >= 0) {
  90348. t1 = $self._map0$_contents;
  90349. t1 = index >= t1.get$length(t1);
  90350. } else
  90351. t1 = true;
  90352. if (t1)
  90353. return self.undefined;
  90354. t1 = $self._map0$_contents;
  90355. entry = t1.get$entries(t1).elementAt$1(0, index);
  90356. return A.SassList$0(A._setArrayType([entry.key, entry.value], type$.JSArray_Value_2), B.ListSeparator_EVt0, false);
  90357. } else {
  90358. t1 = $self._map0$_contents.$index(0, indexOrKey);
  90359. return t1 == null ? self.undefined : t1;
  90360. }
  90361. },
  90362. $signature: 479
  90363. };
  90364. A.SassMap0.prototype = {
  90365. get$separator(_) {
  90366. var t1 = this._map0$_contents;
  90367. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided0 : B.ListSeparator_rXA0;
  90368. },
  90369. get$asList() {
  90370. var result = A._setArrayType([], type$.JSArray_Value_2);
  90371. this._map0$_contents.forEach$1(0, new A.SassMap_asList_closure0(result));
  90372. return result;
  90373. },
  90374. get$lengthAsList() {
  90375. var t1 = this._map0$_contents;
  90376. return t1.get$length(t1);
  90377. },
  90378. accept$1$1(visitor) {
  90379. return visitor.visitMap$1(this);
  90380. },
  90381. accept$1(visitor) {
  90382. return this.accept$1$1(visitor, type$.dynamic);
  90383. },
  90384. assertMap$1($name) {
  90385. return this;
  90386. },
  90387. tryMap$0() {
  90388. return this;
  90389. },
  90390. $eq(_, other) {
  90391. var t1;
  90392. if (other == null)
  90393. return false;
  90394. if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
  90395. t1 = this._map0$_contents;
  90396. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
  90397. } else
  90398. t1 = true;
  90399. return t1;
  90400. },
  90401. get$hashCode(_) {
  90402. var t1 = this._map0$_contents;
  90403. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty19) : B.C_MapEquality.hash$1(t1);
  90404. }
  90405. };
  90406. A.SassMap_asList_closure0.prototype = {
  90407. call$2(key, value) {
  90408. this.result.push(A.SassList$0(A._setArrayType([key, value], type$.JSArray_Value_2), B.ListSeparator_EVt0, false));
  90409. },
  90410. $signature: 52
  90411. };
  90412. A._ceil_closure0.prototype = {
  90413. call$1(value) {
  90414. return B.JSNumber_methods.ceil$0(value);
  90415. },
  90416. $signature: 32
  90417. };
  90418. A._clamp_closure0.prototype = {
  90419. call$1($arguments) {
  90420. var t1 = J.getInterceptor$asx($arguments),
  90421. min = t1.$index($arguments, 0).assertNumber$1("min"),
  90422. number = t1.$index($arguments, 1).assertNumber$1("number"),
  90423. max = t1.$index($arguments, 2).assertNumber$1("max");
  90424. number.convertValueToMatch$3(min, "number", "min");
  90425. max.convertValueToMatch$3(min, "max", "min");
  90426. if (min.greaterThanOrEquals$1(max).value)
  90427. return min;
  90428. if (min.greaterThanOrEquals$1(number).value)
  90429. return min;
  90430. if (number.greaterThanOrEquals$1(max).value)
  90431. return max;
  90432. return number;
  90433. },
  90434. $signature: 10
  90435. };
  90436. A._floor_closure0.prototype = {
  90437. call$1(value) {
  90438. return B.JSNumber_methods.floor$0(value);
  90439. },
  90440. $signature: 32
  90441. };
  90442. A._max_closure0.prototype = {
  90443. call$1($arguments) {
  90444. var t1, t2, max, _i, number;
  90445. 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) {
  90446. number = t1[_i].assertNumber$0();
  90447. if (max == null || max.lessThan$1(number).value)
  90448. max = number;
  90449. }
  90450. if (max != null)
  90451. return max;
  90452. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  90453. },
  90454. $signature: 10
  90455. };
  90456. A._min_closure0.prototype = {
  90457. call$1($arguments) {
  90458. var t1, t2, min, _i, number;
  90459. 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) {
  90460. number = t1[_i].assertNumber$0();
  90461. if (min == null || min.greaterThan$1(number).value)
  90462. min = number;
  90463. }
  90464. if (min != null)
  90465. return min;
  90466. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  90467. },
  90468. $signature: 10
  90469. };
  90470. A._round_closure0.prototype = {
  90471. call$1(number) {
  90472. return B.JSNumber_methods.round$0(number);
  90473. },
  90474. $signature: 32
  90475. };
  90476. A._abs_closure0.prototype = {
  90477. call$1(value) {
  90478. return Math.abs(value);
  90479. },
  90480. $signature: 32
  90481. };
  90482. A._hypot_closure0.prototype = {
  90483. call$1($arguments) {
  90484. var subtotal, i, i0, t3, t4,
  90485. t1 = J.$index$asx($arguments, 0).get$asList(),
  90486. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
  90487. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), true, t2._eval$1("ListIterable.E"));
  90488. t1 = numbers.length;
  90489. if (t1 === 0)
  90490. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  90491. for (subtotal = 0, i = 0; i < t1; i = i0) {
  90492. i0 = i + 1;
  90493. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  90494. }
  90495. t1 = Math.sqrt(subtotal);
  90496. t2 = numbers[0];
  90497. t3 = J.getInterceptor$x(t2);
  90498. t4 = t3.get$numeratorUnits(t2);
  90499. return A.SassNumber_SassNumber$withUnits0(t1, t3.get$denominatorUnits(t2), t4);
  90500. },
  90501. $signature: 10
  90502. };
  90503. A._hypot__closure0.prototype = {
  90504. call$1(argument) {
  90505. return argument.assertNumber$0();
  90506. },
  90507. $signature: 480
  90508. };
  90509. A._log_closure0.prototype = {
  90510. call$1($arguments) {
  90511. var base,
  90512. _s18_ = " to have no units.",
  90513. _null = null,
  90514. t1 = J.getInterceptor$asx($arguments),
  90515. number = t1.$index($arguments, 0).assertNumber$1("number");
  90516. if (number.get$hasUnits())
  90517. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_, _null));
  90518. else if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull0))
  90519. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), _null);
  90520. base = t1.$index($arguments, 1).assertNumber$1("base");
  90521. if (base.get$hasUnits())
  90522. throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_, _null));
  90523. else
  90524. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), _null);
  90525. },
  90526. $signature: 10
  90527. };
  90528. A._pow_closure0.prototype = {
  90529. call$1($arguments) {
  90530. var _s18_ = " to have no units.",
  90531. t1 = J.getInterceptor$asx($arguments),
  90532. base = t1.$index($arguments, 0).assertNumber$1("base"),
  90533. exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
  90534. if (base.get$hasUnits())
  90535. throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_, null));
  90536. else if (exponent.get$hasUnits())
  90537. throw A.wrapException(A.SassScriptException$0("$exponent: Expected " + exponent.toString$0(0) + _s18_, null));
  90538. else
  90539. return A.SassNumber_SassNumber0(Math.pow(base._number1$_value, exponent._number1$_value), null);
  90540. },
  90541. $signature: 10
  90542. };
  90543. A._sqrt_closure0.prototype = {
  90544. call$1($arguments) {
  90545. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  90546. if (number.get$hasUnits())
  90547. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  90548. else
  90549. return A.SassNumber_SassNumber0(Math.sqrt(number._number1$_value), null);
  90550. },
  90551. $signature: 10
  90552. };
  90553. A._acos_closure0.prototype = {
  90554. call$1($arguments) {
  90555. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  90556. if (number.get$hasUnits())
  90557. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  90558. else
  90559. return A.SassNumber_SassNumber$withUnits0(Math.acos(number._number1$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  90560. },
  90561. $signature: 10
  90562. };
  90563. A._asin_closure0.prototype = {
  90564. call$1($arguments) {
  90565. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  90566. if (number.get$hasUnits())
  90567. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  90568. else
  90569. return A.SassNumber_SassNumber$withUnits0(Math.asin(number._number1$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  90570. },
  90571. $signature: 10
  90572. };
  90573. A._atan_closure0.prototype = {
  90574. call$1($arguments) {
  90575. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  90576. if (number.get$hasUnits())
  90577. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  90578. else
  90579. return A.SassNumber_SassNumber$withUnits0(Math.atan(number._number1$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  90580. },
  90581. $signature: 10
  90582. };
  90583. A._atan2_closure0.prototype = {
  90584. call$1($arguments) {
  90585. var t1 = J.getInterceptor$asx($arguments),
  90586. y = t1.$index($arguments, 0).assertNumber$1("y");
  90587. 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));
  90588. },
  90589. $signature: 10
  90590. };
  90591. A._cos_closure0.prototype = {
  90592. call$1($arguments) {
  90593. return A.SassNumber_SassNumber0(Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  90594. },
  90595. $signature: 10
  90596. };
  90597. A._sin_closure0.prototype = {
  90598. call$1($arguments) {
  90599. return A.SassNumber_SassNumber0(Math.sin(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  90600. },
  90601. $signature: 10
  90602. };
  90603. A._tan_closure0.prototype = {
  90604. call$1($arguments) {
  90605. return A.SassNumber_SassNumber0(Math.tan(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  90606. },
  90607. $signature: 10
  90608. };
  90609. A._compatible_closure0.prototype = {
  90610. call$1($arguments) {
  90611. var t1 = J.getInterceptor$asx($arguments);
  90612. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  90613. },
  90614. $signature: 20
  90615. };
  90616. A._isUnitless_closure0.prototype = {
  90617. call$1($arguments) {
  90618. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  90619. },
  90620. $signature: 20
  90621. };
  90622. A._unit_closure0.prototype = {
  90623. call$1($arguments) {
  90624. return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  90625. },
  90626. $signature: 17
  90627. };
  90628. A._percentage_closure0.prototype = {
  90629. call$1($arguments) {
  90630. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  90631. number.assertNoUnits$1("number");
  90632. return A.SassNumber_SassNumber0(number._number1$_value * 100, "%");
  90633. },
  90634. $signature: 10
  90635. };
  90636. A._randomFunction_closure0.prototype = {
  90637. call$1($arguments) {
  90638. var limit, t2, t3, t4, limitScalar,
  90639. t1 = J.getInterceptor$asx($arguments);
  90640. if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull0))
  90641. return A.SassNumber_SassNumber0($.$get$_random2().nextDouble$0(), null);
  90642. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  90643. if (limit.get$hasUnits()) {
  90644. t1 = limit.toString$0(0);
  90645. t2 = limit.get$unitString();
  90646. t3 = limit.get$unitString();
  90647. t4 = limit.get$unitString();
  90648. 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);
  90649. }
  90650. limitScalar = limit.assertInt$1("limit");
  90651. if (limitScalar < 1)
  90652. throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  90653. return A.SassNumber_SassNumber0($.$get$_random2().nextInt$1(limitScalar) + 1, null);
  90654. },
  90655. $signature: 10
  90656. };
  90657. A._div_closure0.prototype = {
  90658. call$1($arguments) {
  90659. var t1 = J.getInterceptor$asx($arguments),
  90660. number1 = t1.$index($arguments, 0),
  90661. number2 = t1.$index($arguments, 1);
  90662. if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0)) {
  90663. t1 = A.EvaluationContext_current0();
  90664. t1.warn$2(0, string$.math_d, null);
  90665. }
  90666. return number1.dividedBy$1(number2);
  90667. },
  90668. $signature: 3
  90669. };
  90670. A._numberFunction_closure0.prototype = {
  90671. call$1($arguments) {
  90672. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  90673. t1 = this.transform.call$1(number._number1$_value),
  90674. t2 = number.get$numeratorUnits(number);
  90675. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  90676. },
  90677. $signature: 10
  90678. };
  90679. A.CssMediaQuery0.prototype = {
  90680. merge$1(other) {
  90681. 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";
  90682. if (!_this.conjunction || !other.conjunction)
  90683. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  90684. t1 = _this.modifier;
  90685. ourModifier = t1 == null ? _null : t1.toLowerCase();
  90686. t2 = _this.type;
  90687. t3 = t2 == null;
  90688. ourType = t3 ? _null : t2.toLowerCase();
  90689. t4 = other.modifier;
  90690. theirModifier = t4 == null ? _null : t4.toLowerCase();
  90691. t5 = other.type;
  90692. t6 = t5 == null;
  90693. theirType = t6 ? _null : t5.toLowerCase();
  90694. t7 = ourType == null;
  90695. if (t7 && theirType == null) {
  90696. t1 = A.List_List$of(_this.conditions, true, type$.String);
  90697. B.JSArray_methods.addAll$1(t1, other.conditions);
  90698. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$condition0(t1, true));
  90699. }
  90700. t8 = ourModifier === "not";
  90701. if (t8 !== (theirModifier === "not")) {
  90702. if (ourType == theirType) {
  90703. negativeConditions = t8 ? _this.conditions : other.conditions;
  90704. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  90705. return B._SingletonCssMediaQueryMergeResult_empty0;
  90706. else
  90707. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  90708. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
  90709. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  90710. if (t8) {
  90711. conditions = other.conditions;
  90712. type = theirType;
  90713. modifier = theirModifier;
  90714. } else {
  90715. conditions = _this.conditions;
  90716. type = ourType;
  90717. modifier = ourModifier;
  90718. }
  90719. } else if (t8) {
  90720. if (ourType != theirType)
  90721. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  90722. fewerConditions = _this.conditions;
  90723. fewerConditions0 = other.conditions;
  90724. t3 = fewerConditions.length > fewerConditions0.length;
  90725. moreConditions = t3 ? fewerConditions : fewerConditions0;
  90726. if (t3)
  90727. fewerConditions = fewerConditions0;
  90728. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  90729. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  90730. conditions = moreConditions;
  90731. type = ourType;
  90732. modifier = ourModifier;
  90733. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
  90734. type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
  90735. t3 = A.List_List$of(_this.conditions, true, type$.String);
  90736. B.JSArray_methods.addAll$1(t3, other.conditions);
  90737. conditions = t3;
  90738. modifier = theirModifier;
  90739. } else {
  90740. if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
  90741. t3 = A.List_List$of(_this.conditions, true, type$.String);
  90742. B.JSArray_methods.addAll$1(t3, other.conditions);
  90743. conditions = t3;
  90744. modifier = ourModifier;
  90745. } else {
  90746. if (ourType != theirType)
  90747. return B._SingletonCssMediaQueryMergeResult_empty0;
  90748. else {
  90749. modifier = ourModifier == null ? theirModifier : ourModifier;
  90750. t3 = A.List_List$of(_this.conditions, true, type$.String);
  90751. B.JSArray_methods.addAll$1(t3, other.conditions);
  90752. }
  90753. conditions = t3;
  90754. }
  90755. type = ourType;
  90756. }
  90757. t2 = type == ourType ? t2 : t5;
  90758. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$type0(t2, conditions, modifier == ourModifier ? t1 : t4));
  90759. },
  90760. $eq(_, other) {
  90761. if (other == null)
  90762. return false;
  90763. return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  90764. },
  90765. get$hashCode(_) {
  90766. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  90767. },
  90768. toString$0(_) {
  90769. var t2, _this = this,
  90770. t1 = _this.modifier;
  90771. t1 = t1 != null ? "" + (t1 + " ") : "";
  90772. t2 = _this.type;
  90773. if (t2 != null) {
  90774. t1 += t2;
  90775. if (_this.conditions.length !== 0)
  90776. t1 += " and ";
  90777. }
  90778. t2 = _this.conjunction ? " and " : " or ";
  90779. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  90780. return t2.charCodeAt(0) == 0 ? t2 : t2;
  90781. }
  90782. };
  90783. A._SingletonCssMediaQueryMergeResult0.prototype = {
  90784. toString$0(_) {
  90785. return this._media_query0$_name;
  90786. }
  90787. };
  90788. A.MediaQuerySuccessfulMergeResult0.prototype = {
  90789. toString$0(_) {
  90790. return this.query.toString$0(0);
  90791. }
  90792. };
  90793. A.MediaQueryParser0.prototype = {
  90794. parse$0() {
  90795. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
  90796. },
  90797. _media_query1$_mediaQuery$0() {
  90798. var conditions, conjunction, identifier1, identifier2, type, modifier, _this = this, _s3_ = "and", _null = null;
  90799. if (_this.scanner.peekChar$0() === 40) {
  90800. conditions = A._setArrayType([_this._media_query1$_mediaInParens$0()], type$.JSArray_String);
  90801. _this.whitespace$0();
  90802. if (_this.scanIdentifier$1(_s3_)) {
  90803. _this.expectWhitespace$0();
  90804. B.JSArray_methods.addAll$1(conditions, _this._media_query1$_mediaLogicSequence$1(_s3_));
  90805. conjunction = true;
  90806. } else if (_this.scanIdentifier$1("or")) {
  90807. _this.expectWhitespace$0();
  90808. B.JSArray_methods.addAll$1(conditions, _this._media_query1$_mediaLogicSequence$1("or"));
  90809. conjunction = false;
  90810. } else
  90811. conjunction = true;
  90812. return A.CssMediaQuery$condition0(conditions, conjunction);
  90813. }
  90814. identifier1 = _this.identifier$0();
  90815. if (A.equalsIgnoreCase0(identifier1, "not")) {
  90816. _this.expectWhitespace$0();
  90817. if (!_this.lookingAtIdentifier$0())
  90818. return A.CssMediaQuery$condition0(A._setArrayType(["(not " + _this._media_query1$_mediaInParens$0() + ")"], type$.JSArray_String), _null);
  90819. }
  90820. _this.whitespace$0();
  90821. if (!_this.lookingAtIdentifier$0())
  90822. return A.CssMediaQuery$type0(identifier1, _null, _null);
  90823. identifier2 = _this.identifier$0();
  90824. if (A.equalsIgnoreCase0(identifier2, _s3_)) {
  90825. _this.expectWhitespace$0();
  90826. type = identifier1;
  90827. modifier = _null;
  90828. } else {
  90829. _this.whitespace$0();
  90830. if (_this.scanIdentifier$1(_s3_))
  90831. _this.expectWhitespace$0();
  90832. else
  90833. return A.CssMediaQuery$type0(identifier2, _null, identifier1);
  90834. type = identifier2;
  90835. modifier = identifier1;
  90836. }
  90837. if (_this.scanIdentifier$1("not")) {
  90838. _this.expectWhitespace$0();
  90839. return A.CssMediaQuery$type0(type, A._setArrayType(["(not " + _this._media_query1$_mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  90840. }
  90841. return A.CssMediaQuery$type0(type, _this._media_query1$_mediaLogicSequence$1(_s3_), modifier);
  90842. },
  90843. _media_query1$_mediaLogicSequence$1(operator) {
  90844. var t1, t2, _this = this,
  90845. result = A._setArrayType([], type$.JSArray_String);
  90846. for (t1 = _this.scanner; true;) {
  90847. t1.expectChar$2$name(40, "media condition in parentheses");
  90848. t2 = _this.declarationValue$0();
  90849. t1.expectChar$1(41);
  90850. result.push("(" + t2 + ")");
  90851. _this.whitespace$0();
  90852. if (!_this.scanIdentifier$1(operator))
  90853. return result;
  90854. _this.expectWhitespace$0();
  90855. }
  90856. },
  90857. _media_query1$_mediaInParens$0() {
  90858. var t2,
  90859. t1 = this.scanner;
  90860. t1.expectChar$2$name(40, "media condition in parentheses");
  90861. t2 = this.declarationValue$0();
  90862. t1.expectChar$1(41);
  90863. return "(" + t2 + ")";
  90864. }
  90865. };
  90866. A.MediaQueryParser_parse_closure0.prototype = {
  90867. call$0() {
  90868. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
  90869. t1 = this.$this,
  90870. t2 = t1.scanner;
  90871. do {
  90872. t1.whitespace$0();
  90873. queries.push(t1._media_query1$_mediaQuery$0());
  90874. t1.whitespace$0();
  90875. } while (t2.scanChar$1(44));
  90876. t2.expectDone$0();
  90877. return queries;
  90878. },
  90879. $signature: 481
  90880. };
  90881. A.ModifiableCssMediaRule0.prototype = {
  90882. accept$1$1(visitor) {
  90883. return visitor.visitCssMediaRule$1(this);
  90884. },
  90885. accept$1(visitor) {
  90886. return this.accept$1$1(visitor, type$.dynamic);
  90887. },
  90888. equalsIgnoringChildren$1(other) {
  90889. return other instanceof A.ModifiableCssMediaRule0 && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  90890. },
  90891. copyWithoutChildren$0() {
  90892. return A.ModifiableCssMediaRule$0(this.queries, this.span);
  90893. },
  90894. $isCssMediaRule0: 1,
  90895. get$span(receiver) {
  90896. return this.span;
  90897. }
  90898. };
  90899. A.MediaRule0.prototype = {
  90900. accept$1$1(visitor) {
  90901. return visitor.visitMediaRule$1(this);
  90902. },
  90903. accept$1(visitor) {
  90904. return this.accept$1$1(visitor, type$.dynamic);
  90905. },
  90906. toString$0(_) {
  90907. var t1 = this.children;
  90908. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  90909. },
  90910. get$span(receiver) {
  90911. return this.span;
  90912. }
  90913. };
  90914. A.MergedExtension0.prototype = {
  90915. unmerge$0() {
  90916. var $async$self = this;
  90917. return A._makeSyncStarIterable(function() {
  90918. var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
  90919. return function $async$unmerge$0($async$errorCode, $async$result) {
  90920. if ($async$errorCode === 1) {
  90921. $async$currentError = $async$result;
  90922. $async$goto = $async$handler;
  90923. }
  90924. while (true)
  90925. switch ($async$goto) {
  90926. case 0:
  90927. // Function start
  90928. left = $async$self.left;
  90929. $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
  90930. break;
  90931. case 2:
  90932. // then
  90933. $async$goto = 5;
  90934. return A._IterationMarker_yieldStar(left.unmerge$0());
  90935. case 5:
  90936. // after yield
  90937. // goto join
  90938. $async$goto = 3;
  90939. break;
  90940. case 4:
  90941. // else
  90942. $async$goto = 6;
  90943. return left;
  90944. case 6:
  90945. // after yield
  90946. case 3:
  90947. // join
  90948. right = $async$self.right;
  90949. $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
  90950. break;
  90951. case 7:
  90952. // then
  90953. $async$goto = 10;
  90954. return A._IterationMarker_yieldStar(right.unmerge$0());
  90955. case 10:
  90956. // after yield
  90957. // goto join
  90958. $async$goto = 8;
  90959. break;
  90960. case 9:
  90961. // else
  90962. $async$goto = 11;
  90963. return right;
  90964. case 11:
  90965. // after yield
  90966. case 8:
  90967. // join
  90968. // implicit return
  90969. return A._IterationMarker_endOfIteration();
  90970. case 1:
  90971. // rethrow
  90972. return A._IterationMarker_uncaughtError($async$currentError);
  90973. }
  90974. };
  90975. }, type$.Extension_2);
  90976. }
  90977. };
  90978. A.MergedMapView0.prototype = {
  90979. get$keys(_) {
  90980. var t1 = this._merged_map_view$_mapsByKey;
  90981. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  90982. },
  90983. get$length(_) {
  90984. return this._merged_map_view$_mapsByKey.__js_helper$_length;
  90985. },
  90986. get$isEmpty(_) {
  90987. return this._merged_map_view$_mapsByKey.__js_helper$_length === 0;
  90988. },
  90989. get$isNotEmpty(_) {
  90990. return this._merged_map_view$_mapsByKey.__js_helper$_length !== 0;
  90991. },
  90992. MergedMapView$10(maps, $K, $V) {
  90993. var t1, t2, t3, _i, map, t4, t5, t6;
  90994. 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) {
  90995. map = maps[_i];
  90996. if (t3._is(map))
  90997. 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();) {
  90998. t6 = t4.__internal$_current;
  90999. if (t6 == null)
  91000. t6 = t5._as(t6);
  91001. A.setAll0(t2, t6.get$keys(t6), t6);
  91002. }
  91003. else
  91004. A.setAll0(t2, map.get$keys(map), map);
  91005. }
  91006. },
  91007. $index(_, key) {
  91008. var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  91009. return t1 == null ? null : t1.$index(0, key);
  91010. },
  91011. $indexSet(_, key, value) {
  91012. var child = this._merged_map_view$_mapsByKey.$index(0, key);
  91013. if (child == null)
  91014. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  91015. child.$indexSet(0, key, value);
  91016. },
  91017. remove$1(_, key) {
  91018. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  91019. },
  91020. containsKey$1(key) {
  91021. return this._merged_map_view$_mapsByKey.containsKey$1(key);
  91022. }
  91023. };
  91024. A.global_closure57.prototype = {
  91025. call$1($arguments) {
  91026. return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91027. },
  91028. $signature: 20
  91029. };
  91030. A.global_closure58.prototype = {
  91031. call$1($arguments) {
  91032. return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
  91033. },
  91034. $signature: 17
  91035. };
  91036. A.global_closure59.prototype = {
  91037. call$1($arguments) {
  91038. var value = J.$index$asx($arguments, 0);
  91039. if (value instanceof A.SassArgumentList0)
  91040. return new A.SassString0("arglist", false);
  91041. if (value instanceof A.SassBoolean0)
  91042. return new A.SassString0("bool", false);
  91043. if (value instanceof A.SassColor0)
  91044. return new A.SassString0("color", false);
  91045. if (value instanceof A.SassList0)
  91046. return new A.SassString0("list", false);
  91047. if (value instanceof A.SassMap0)
  91048. return new A.SassString0("map", false);
  91049. if (value.$eq(0, B.C__SassNull0))
  91050. return new A.SassString0("null", false);
  91051. if (value instanceof A.SassNumber0)
  91052. return new A.SassString0("number", false);
  91053. if (value instanceof A.SassFunction0)
  91054. return new A.SassString0("function", false);
  91055. if (value instanceof A.SassCalculation0)
  91056. return new A.SassString0("calculation", false);
  91057. return new A.SassString0("string", false);
  91058. },
  91059. $signature: 17
  91060. };
  91061. A.global_closure60.prototype = {
  91062. call$1($arguments) {
  91063. var t1, t2, t3, t4,
  91064. argumentList = J.$index$asx($arguments, 0);
  91065. if (argumentList instanceof A.SassArgumentList0) {
  91066. t1 = type$.Value_2;
  91067. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  91068. for (argumentList._argument_list$_wereKeywordsAccessed = true, t3 = argumentList._argument_list$_keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  91069. t4 = t3.get$current(t3);
  91070. t2.$indexSet(0, new A.SassString0(t4.key, false), t4.value);
  91071. }
  91072. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  91073. } else
  91074. throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
  91075. },
  91076. $signature: 39
  91077. };
  91078. A.local_closure1.prototype = {
  91079. call$1($arguments) {
  91080. return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  91081. },
  91082. $signature: 17
  91083. };
  91084. A.local_closure2.prototype = {
  91085. call$1($arguments) {
  91086. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  91087. return A.SassList$0(new A.MappedListIterable(t1, new A.local__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_rXA0, false);
  91088. },
  91089. $signature: 21
  91090. };
  91091. A.local__closure0.prototype = {
  91092. call$1(argument) {
  91093. if (argument instanceof A.Value0)
  91094. return argument;
  91095. return new A.SassString0(J.toString$0$(argument), false);
  91096. },
  91097. $signature: 482
  91098. };
  91099. A.MixinRule0.prototype = {
  91100. get$hasContent() {
  91101. var result, _this = this,
  91102. value = _this._mixin_rule$__MixinRule_hasContent_FI;
  91103. if (value === $) {
  91104. result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
  91105. _this._mixin_rule$__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  91106. _this._mixin_rule$__MixinRule_hasContent_FI = result;
  91107. value = result;
  91108. }
  91109. return value;
  91110. },
  91111. accept$1$1(visitor) {
  91112. return visitor.visitMixinRule$1(this);
  91113. },
  91114. accept$1(visitor) {
  91115. return this.accept$1$1(visitor, type$.dynamic);
  91116. },
  91117. toString$0(_) {
  91118. var t1 = "@mixin " + this.name,
  91119. t2 = this.$arguments;
  91120. if (!(t2.$arguments.length === 0 && t2.restArgument == null))
  91121. t1 += "(" + t2.toString$0(0) + ")";
  91122. t2 = this.children;
  91123. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  91124. return t2.charCodeAt(0) == 0 ? t2 : t2;
  91125. }
  91126. };
  91127. A._HasContentVisitor0.prototype = {
  91128. visitContentRule$1(_) {
  91129. return true;
  91130. }
  91131. };
  91132. A.__HasContentVisitor_Object_StatementSearchVisitor0.prototype = {};
  91133. A.ExtendMode0.prototype = {
  91134. _enumToString$0() {
  91135. return "ExtendMode." + this._name;
  91136. },
  91137. toString$0(_) {
  91138. return this.name;
  91139. }
  91140. };
  91141. A.MultiSpan0.prototype = {
  91142. get$start(_) {
  91143. var t1 = this._multi_span0$_primary;
  91144. return t1.get$start(t1);
  91145. },
  91146. get$end(_) {
  91147. var t1 = this._multi_span0$_primary;
  91148. return t1.get$end(t1);
  91149. },
  91150. get$text() {
  91151. return this._multi_span0$_primary.get$text();
  91152. },
  91153. get$context(_) {
  91154. var t1 = this._multi_span0$_primary;
  91155. return t1.get$context(t1);
  91156. },
  91157. get$file(_) {
  91158. var t1 = this._multi_span0$_primary;
  91159. return t1.get$file(t1);
  91160. },
  91161. get$length(_) {
  91162. var t1 = this._multi_span0$_primary;
  91163. return t1.get$length(t1);
  91164. },
  91165. get$sourceUrl(_) {
  91166. var t1 = this._multi_span0$_primary;
  91167. return t1.get$sourceUrl(t1);
  91168. },
  91169. compareTo$1(_, other) {
  91170. return this._multi_span0$_primary.compareTo$1(0, other);
  91171. },
  91172. toString$0(_) {
  91173. return this._multi_span0$_primary.toString$0(0);
  91174. },
  91175. expand$1(_, other) {
  91176. return new A.MultiSpan0(this._multi_span0$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  91177. },
  91178. highlight$1$color(color) {
  91179. var t1 = color === true || false;
  91180. return A.Highlighter$multiple(this._multi_span0$_primary, this.primaryLabel, this.secondarySpans, t1, null, null).highlight$0();
  91181. },
  91182. message$2$color(_, message, color) {
  91183. var t1 = J.$eq$(color, true) || typeof color == "string",
  91184. t2 = typeof color == "string" ? color : null;
  91185. return A.SourceSpanExtension_messageMultiple(this._multi_span0$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  91186. },
  91187. message$1($receiver, message) {
  91188. return this.message$2$color($receiver, message, null);
  91189. },
  91190. $isComparable: 1,
  91191. $isFileSpan: 1,
  91192. $isSourceSpan: 1,
  91193. $isSourceSpanWithContext: 1
  91194. };
  91195. A.SupportsNegation0.prototype = {
  91196. toString$0(_) {
  91197. var t1 = this.condition;
  91198. if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
  91199. return "not (" + t1.toString$0(0) + ")";
  91200. else
  91201. return "not " + t1.toString$0(0);
  91202. },
  91203. $isAstNode0: 1,
  91204. get$span(receiver) {
  91205. return this.span;
  91206. }
  91207. };
  91208. A.NoOpImporter0.prototype = {
  91209. canonicalize$1(_, url) {
  91210. return null;
  91211. },
  91212. load$1(_, url) {
  91213. return null;
  91214. },
  91215. toString$0(_) {
  91216. return "(unknown)";
  91217. }
  91218. };
  91219. A.NoSourceMapBuffer0.prototype = {
  91220. get$length(_) {
  91221. return this._no_source_map_buffer0$_buffer._contents.length;
  91222. },
  91223. forSpan$1$2(span, callback) {
  91224. return callback.call$0();
  91225. },
  91226. forSpan$2(span, callback) {
  91227. return this.forSpan$1$2(span, callback, type$.dynamic);
  91228. },
  91229. write$1(_, object) {
  91230. this._no_source_map_buffer0$_buffer._contents += A.S(object);
  91231. return null;
  91232. },
  91233. writeCharCode$1(charCode) {
  91234. this._no_source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  91235. return null;
  91236. },
  91237. toString$0(_) {
  91238. var t1 = this._no_source_map_buffer0$_buffer._contents;
  91239. return t1.charCodeAt(0) == 0 ? t1 : t1;
  91240. },
  91241. buildSourceMap$1$prefix(prefix) {
  91242. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  91243. }
  91244. };
  91245. A.AstNode0.prototype = {};
  91246. A._FakeAstNode0.prototype = {
  91247. get$span(_) {
  91248. return this._node0$_callback.call$0();
  91249. },
  91250. $isAstNode0: 1
  91251. };
  91252. A.CssNode0.prototype = {
  91253. toString$0(_) {
  91254. return A.serialize0(this, true, null, true, null, false, null, true).css;
  91255. }
  91256. };
  91257. A.CssParentNode0.prototype = {};
  91258. A._IsInvisibleVisitor1.prototype = {
  91259. visitCssAtRule$1(rule) {
  91260. return false;
  91261. },
  91262. visitCssComment$1(comment) {
  91263. return this.includeComments && B.JSString_methods._codeUnitAt$1(comment.text, 2) !== 33;
  91264. },
  91265. visitCssStyleRule$1(rule) {
  91266. var t1 = rule._style_rule0$_selector._box0$_inner;
  91267. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true0) : t1.value.accept$1(B._IsInvisibleVisitor_false0)) || this.super$EveryCssVisitor$visitCssStyleRule0(rule);
  91268. }
  91269. };
  91270. A.__IsInvisibleVisitor_Object_EveryCssVisitor0.prototype = {};
  91271. A.FileSystemException0.prototype = {
  91272. toString$0(_) {
  91273. var t1 = $.$get$context();
  91274. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  91275. },
  91276. get$message(receiver) {
  91277. return this.message;
  91278. }
  91279. };
  91280. A._readFile_closure0.prototype = {
  91281. call$0() {
  91282. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  91283. },
  91284. $signature: 92
  91285. };
  91286. A.fileExists_closure0.prototype = {
  91287. call$0() {
  91288. var error, systemError, exception,
  91289. t1 = this.path;
  91290. if (!J.existsSync$1$x(A.fs(), t1))
  91291. return false;
  91292. try {
  91293. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  91294. return t1;
  91295. } catch (exception) {
  91296. error = A.unwrapException(exception);
  91297. systemError = type$.JsSystemError._as(error);
  91298. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  91299. return false;
  91300. throw exception;
  91301. }
  91302. },
  91303. $signature: 27
  91304. };
  91305. A.dirExists_closure0.prototype = {
  91306. call$0() {
  91307. var error, systemError, exception,
  91308. t1 = this.path;
  91309. if (!J.existsSync$1$x(A.fs(), t1))
  91310. return false;
  91311. try {
  91312. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  91313. return t1;
  91314. } catch (exception) {
  91315. error = A.unwrapException(exception);
  91316. systemError = type$.JsSystemError._as(error);
  91317. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  91318. return false;
  91319. throw exception;
  91320. }
  91321. },
  91322. $signature: 27
  91323. };
  91324. A.listDir_closure0.prototype = {
  91325. call$0() {
  91326. var t1 = this.path;
  91327. if (!this.recursive)
  91328. 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());
  91329. else
  91330. return new A.listDir_closure_list0().call$1(t1);
  91331. },
  91332. $signature: 178
  91333. };
  91334. A.listDir__closure1.prototype = {
  91335. call$1(child) {
  91336. return A.join(this.path, A._asString(child), null);
  91337. },
  91338. $signature: 80
  91339. };
  91340. A.listDir__closure2.prototype = {
  91341. call$1(child) {
  91342. return !A.dirExists0(child);
  91343. },
  91344. $signature: 8
  91345. };
  91346. A.listDir_closure_list0.prototype = {
  91347. call$1($parent) {
  91348. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
  91349. },
  91350. $signature: 177
  91351. };
  91352. A.listDir__list_closure0.prototype = {
  91353. call$1(child) {
  91354. var path = A.join(this.parent, A._asString(child), null);
  91355. return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  91356. },
  91357. $signature: 137
  91358. };
  91359. A.ModifiableCssNode0.prototype = {
  91360. get$hasFollowingSibling() {
  91361. var t2,
  91362. t1 = this._node$_parent;
  91363. if (t1 == null)
  91364. t1 = null;
  91365. else {
  91366. t1 = t1.children;
  91367. t2 = this._node$_indexInParent;
  91368. t2.toString;
  91369. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure0());
  91370. }
  91371. return t1 === true;
  91372. },
  91373. get$isGroupEnd() {
  91374. return this.isGroupEnd;
  91375. }
  91376. };
  91377. A.ModifiableCssNode_hasFollowingSibling_closure0.prototype = {
  91378. call$1(sibling) {
  91379. return !sibling.accept$1(B._IsInvisibleVisitor_true_false0);
  91380. },
  91381. $signature: 117
  91382. };
  91383. A.ModifiableCssParentNode0.prototype = {
  91384. get$isChildless() {
  91385. return false;
  91386. },
  91387. addChild$1(child) {
  91388. var t1;
  91389. child._node$_parent = this;
  91390. t1 = this._node$_children;
  91391. child._node$_indexInParent = t1.length;
  91392. t1.push(child);
  91393. },
  91394. $isCssParentNode0: 1,
  91395. get$children(receiver) {
  91396. return this.children;
  91397. }
  91398. };
  91399. A.main_closure0.prototype = {
  91400. call$2(_, __) {
  91401. },
  91402. $signature: 483
  91403. };
  91404. A.main_closure1.prototype = {
  91405. call$2(_, __) {
  91406. },
  91407. $signature: 484
  91408. };
  91409. A.NodeToDartLogger.prototype = {
  91410. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  91411. var t1 = this._node,
  91412. warn = t1 == null ? null : J.get$warn$x(t1);
  91413. if (warn == null)
  91414. this._withAscii$1(new A.NodeToDartLogger_warn_closure(this, message, span, trace, deprecation));
  91415. else {
  91416. t1 = span == null ? type$.nullable_SourceSpan._as(self.undefined) : span;
  91417. warn.call$2(message, {deprecation: deprecation, span: t1, stack: J.toString$0$(trace)});
  91418. }
  91419. },
  91420. warn$1($receiver, message) {
  91421. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  91422. },
  91423. warn$2$span($receiver, message, span) {
  91424. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  91425. },
  91426. debug$2(_, message, span) {
  91427. var t1 = this._node,
  91428. debug = t1 == null ? null : J.get$debug$x(t1);
  91429. if (debug == null)
  91430. this._withAscii$1(new A.NodeToDartLogger_debug_closure(this, message, span));
  91431. else
  91432. debug.call$2(message, {span: span});
  91433. },
  91434. _withAscii$1$1(callback) {
  91435. var t1,
  91436. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  91437. $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  91438. try {
  91439. t1 = callback.call$0();
  91440. return t1;
  91441. } finally {
  91442. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  91443. }
  91444. },
  91445. _withAscii$1(callback) {
  91446. return this._withAscii$1$1(callback, type$.dynamic);
  91447. }
  91448. };
  91449. A.NodeToDartLogger_warn_closure.prototype = {
  91450. call$0() {
  91451. var _this = this;
  91452. _this.$this._fallback.warn$4$deprecation$span$trace(0, _this.message, _this.deprecation, _this.span, _this.trace);
  91453. },
  91454. $signature: 1
  91455. };
  91456. A.NodeToDartLogger_debug_closure.prototype = {
  91457. call$0() {
  91458. return this.$this._fallback.debug$2(0, this.message, this.span);
  91459. },
  91460. $signature: 0
  91461. };
  91462. A.NullExpression0.prototype = {
  91463. accept$1$1(visitor) {
  91464. return visitor.visitNullExpression$1(this);
  91465. },
  91466. accept$1(visitor) {
  91467. return this.accept$1$1(visitor, type$.dynamic);
  91468. },
  91469. toString$0(_) {
  91470. return "null";
  91471. },
  91472. $isExpression0: 1,
  91473. $isAstNode0: 1,
  91474. get$span(receiver) {
  91475. return this.span;
  91476. }
  91477. };
  91478. A.legacyNullClass_closure.prototype = {
  91479. call$0() {
  91480. var t1 = type$.JSClass,
  91481. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
  91482. jsClass.NULL = B.C__SassNull0;
  91483. A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
  91484. return jsClass;
  91485. },
  91486. $signature: 26
  91487. };
  91488. A.legacyNullClass__closure.prototype = {
  91489. call$2(_, __) {
  91490. throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
  91491. },
  91492. call$1(_) {
  91493. return this.call$2(_, null);
  91494. },
  91495. "call*": "call$2",
  91496. $requiredArgCount: 1,
  91497. $defaultValues() {
  91498. return [null];
  91499. },
  91500. $signature: 189
  91501. };
  91502. A._SassNull0.prototype = {
  91503. get$isTruthy() {
  91504. return false;
  91505. },
  91506. get$isBlank() {
  91507. return true;
  91508. },
  91509. get$realNull() {
  91510. return null;
  91511. },
  91512. accept$1$1(visitor) {
  91513. if (visitor._serialize0$_inspect)
  91514. visitor._serialize0$_buffer.write$1(0, "null");
  91515. return null;
  91516. },
  91517. accept$1(visitor) {
  91518. return this.accept$1$1(visitor, type$.dynamic);
  91519. },
  91520. unaryNot$0() {
  91521. return B.SassBoolean_true0;
  91522. }
  91523. };
  91524. A.NumberExpression0.prototype = {
  91525. accept$1$1(visitor) {
  91526. return visitor.visitNumberExpression$1(this);
  91527. },
  91528. accept$1(visitor) {
  91529. return this.accept$1$1(visitor, type$.dynamic);
  91530. },
  91531. toString$0(_) {
  91532. return A.serializeValue0(A.SassNumber_SassNumber0(this.value, this.unit), true, true);
  91533. },
  91534. $isExpression0: 1,
  91535. $isAstNode0: 1,
  91536. get$span(receiver) {
  91537. return this.span;
  91538. }
  91539. };
  91540. A._NodeSassNumber.prototype = {};
  91541. A.legacyNumberClass_closure.prototype = {
  91542. call$4(thisArg, value, unit, dartValue) {
  91543. var t1;
  91544. if (dartValue == null) {
  91545. value.toString;
  91546. t1 = A._parseNumber(value, unit);
  91547. } else
  91548. t1 = dartValue;
  91549. J.set$dartValue$x(thisArg, t1);
  91550. },
  91551. call$2(thisArg, value) {
  91552. return this.call$4(thisArg, value, null, null);
  91553. },
  91554. call$3(thisArg, value, unit) {
  91555. return this.call$4(thisArg, value, unit, null);
  91556. },
  91557. "call*": "call$4",
  91558. $requiredArgCount: 2,
  91559. $defaultValues() {
  91560. return [null, null];
  91561. },
  91562. $signature: 485
  91563. };
  91564. A.legacyNumberClass_closure0.prototype = {
  91565. call$1(thisArg) {
  91566. return J.get$dartValue$x(thisArg)._number1$_value;
  91567. },
  91568. $signature: 486
  91569. };
  91570. A.legacyNumberClass_closure1.prototype = {
  91571. call$2(thisArg, value) {
  91572. var t1 = J.getInterceptor$x(thisArg),
  91573. t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
  91574. t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
  91575. },
  91576. $signature: 487
  91577. };
  91578. A.legacyNumberClass_closure2.prototype = {
  91579. call$1(thisArg) {
  91580. var t1 = J.getInterceptor$x(thisArg),
  91581. t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*"),
  91582. t3 = J.get$denominatorUnits$x(t1.get$dartValue(thisArg)).length === 0 ? "" : "/";
  91583. return t2 + t3 + B.JSArray_methods.join$1(J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), "*");
  91584. },
  91585. $signature: 488
  91586. };
  91587. A.legacyNumberClass_closure3.prototype = {
  91588. call$2(thisArg, unit) {
  91589. var t1 = J.getInterceptor$x(thisArg);
  91590. t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
  91591. },
  91592. $signature: 489
  91593. };
  91594. A._parseNumber_closure.prototype = {
  91595. call$1(unit) {
  91596. return unit.length === 0;
  91597. },
  91598. $signature: 8
  91599. };
  91600. A._parseNumber_closure0.prototype = {
  91601. call$1(unit) {
  91602. return unit.length === 0;
  91603. },
  91604. $signature: 8
  91605. };
  91606. A.numberClass_closure.prototype = {
  91607. call$0() {
  91608. var t1 = type$.JSClass,
  91609. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
  91610. t2 = type$.String,
  91611. t3 = type$.Function;
  91612. 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));
  91613. 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));
  91614. A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(A.SassNumber_SassNumber0(0, null).constructor))).constructor), jsClass);
  91615. return jsClass;
  91616. },
  91617. $signature: 26
  91618. };
  91619. A.numberClass__closure.prototype = {
  91620. call$3($self, value, unitOrOptions) {
  91621. var t1, t2, _null = null;
  91622. if (typeof unitOrOptions == "string")
  91623. return A.SassNumber_SassNumber0(value, unitOrOptions);
  91624. type$.nullable__ConstructorOptions_2._as(unitOrOptions);
  91625. t1 = unitOrOptions == null;
  91626. if (t1)
  91627. t2 = _null;
  91628. else {
  91629. t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  91630. t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
  91631. }
  91632. if (t1)
  91633. t1 = _null;
  91634. else {
  91635. t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  91636. t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
  91637. }
  91638. return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
  91639. },
  91640. call$2($self, value) {
  91641. return this.call$3($self, value, null);
  91642. },
  91643. "call*": "call$3",
  91644. $requiredArgCount: 2,
  91645. $defaultValues() {
  91646. return [null];
  91647. },
  91648. $signature: 490
  91649. };
  91650. A.numberClass__closure0.prototype = {
  91651. call$1($self) {
  91652. return $self._number1$_value;
  91653. },
  91654. $signature: 491
  91655. };
  91656. A.numberClass__closure1.prototype = {
  91657. call$1($self) {
  91658. return A.fuzzyIsInt($self._number1$_value);
  91659. },
  91660. $signature: 230
  91661. };
  91662. A.numberClass__closure2.prototype = {
  91663. call$1($self) {
  91664. return A.fuzzyAsInt0($self._number1$_value);
  91665. },
  91666. $signature: 493
  91667. };
  91668. A.numberClass__closure3.prototype = {
  91669. call$1($self) {
  91670. return new self.immutable.List($self.get$numeratorUnits($self));
  91671. },
  91672. $signature: 231
  91673. };
  91674. A.numberClass__closure4.prototype = {
  91675. call$1($self) {
  91676. return new self.immutable.List($self.get$denominatorUnits($self));
  91677. },
  91678. $signature: 231
  91679. };
  91680. A.numberClass__closure5.prototype = {
  91681. call$1($self) {
  91682. return $self.get$hasUnits();
  91683. },
  91684. $signature: 230
  91685. };
  91686. A.numberClass__closure6.prototype = {
  91687. call$2($self, $name) {
  91688. return $self.assertInt$1($name);
  91689. },
  91690. call$1($self) {
  91691. return this.call$2($self, null);
  91692. },
  91693. "call*": "call$2",
  91694. $requiredArgCount: 1,
  91695. $defaultValues() {
  91696. return [null];
  91697. },
  91698. $signature: 495
  91699. };
  91700. A.numberClass__closure7.prototype = {
  91701. call$4($self, min, max, $name) {
  91702. return $self.valueInRange$3(min, max, $name);
  91703. },
  91704. call$3($self, min, max) {
  91705. return this.call$4($self, min, max, null);
  91706. },
  91707. "call*": "call$4",
  91708. $requiredArgCount: 3,
  91709. $defaultValues() {
  91710. return [null];
  91711. },
  91712. $signature: 496
  91713. };
  91714. A.numberClass__closure8.prototype = {
  91715. call$2($self, $name) {
  91716. $self.assertNoUnits$1($name);
  91717. return $self;
  91718. },
  91719. call$1($self) {
  91720. return this.call$2($self, null);
  91721. },
  91722. "call*": "call$2",
  91723. $requiredArgCount: 1,
  91724. $defaultValues() {
  91725. return [null];
  91726. },
  91727. $signature: 497
  91728. };
  91729. A.numberClass__closure9.prototype = {
  91730. call$3($self, unit, $name) {
  91731. $self.assertUnit$2(unit, $name);
  91732. return $self;
  91733. },
  91734. call$2($self, unit) {
  91735. return this.call$3($self, unit, null);
  91736. },
  91737. "call*": "call$3",
  91738. $requiredArgCount: 2,
  91739. $defaultValues() {
  91740. return [null];
  91741. },
  91742. $signature: 498
  91743. };
  91744. A.numberClass__closure10.prototype = {
  91745. call$2($self, unit) {
  91746. return $self.hasUnit$1(unit);
  91747. },
  91748. $signature: 232
  91749. };
  91750. A.numberClass__closure11.prototype = {
  91751. call$2($self, unit) {
  91752. return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
  91753. },
  91754. $signature: 232
  91755. };
  91756. A.numberClass__closure12.prototype = {
  91757. call$4($self, numeratorUnits, denominatorUnits, $name) {
  91758. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  91759. t2 = type$.String;
  91760. t1 = J.cast$1$0$ax(t1, t2);
  91761. t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
  91762. return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
  91763. },
  91764. call$3($self, numeratorUnits, denominatorUnits) {
  91765. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  91766. },
  91767. "call*": "call$4",
  91768. $requiredArgCount: 3,
  91769. $defaultValues() {
  91770. return [null];
  91771. },
  91772. $signature: 233
  91773. };
  91774. A.numberClass__closure13.prototype = {
  91775. call$4($self, other, $name, otherName) {
  91776. return $self.convertToMatch$3(other, $name, otherName);
  91777. },
  91778. call$2($self, other) {
  91779. return this.call$4($self, other, null, null);
  91780. },
  91781. call$3($self, other, $name) {
  91782. return this.call$4($self, other, $name, null);
  91783. },
  91784. "call*": "call$4",
  91785. $requiredArgCount: 2,
  91786. $defaultValues() {
  91787. return [null, null];
  91788. },
  91789. $signature: 234
  91790. };
  91791. A.numberClass__closure14.prototype = {
  91792. call$4($self, numeratorUnits, denominatorUnits, $name) {
  91793. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  91794. t2 = type$.String;
  91795. t1 = J.cast$1$0$ax(t1, t2);
  91796. 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);
  91797. },
  91798. call$3($self, numeratorUnits, denominatorUnits) {
  91799. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  91800. },
  91801. "call*": "call$4",
  91802. $requiredArgCount: 3,
  91803. $defaultValues() {
  91804. return [null];
  91805. },
  91806. $signature: 235
  91807. };
  91808. A.numberClass__closure15.prototype = {
  91809. call$4($self, other, $name, otherName) {
  91810. return $self.convertValueToMatch$3(other, $name, otherName);
  91811. },
  91812. call$2($self, other) {
  91813. return this.call$4($self, other, null, null);
  91814. },
  91815. call$3($self, other, $name) {
  91816. return this.call$4($self, other, $name, null);
  91817. },
  91818. "call*": "call$4",
  91819. $requiredArgCount: 2,
  91820. $defaultValues() {
  91821. return [null, null];
  91822. },
  91823. $signature: 236
  91824. };
  91825. A.numberClass__closure16.prototype = {
  91826. call$4($self, numeratorUnits, denominatorUnits, $name) {
  91827. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  91828. t2 = type$.String;
  91829. t1 = J.cast$1$0$ax(t1, t2);
  91830. 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);
  91831. },
  91832. call$3($self, numeratorUnits, denominatorUnits) {
  91833. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  91834. },
  91835. "call*": "call$4",
  91836. $requiredArgCount: 3,
  91837. $defaultValues() {
  91838. return [null];
  91839. },
  91840. $signature: 233
  91841. };
  91842. A.numberClass__closure17.prototype = {
  91843. call$4($self, other, $name, otherName) {
  91844. return $self.coerceToMatch$3(other, $name, otherName);
  91845. },
  91846. call$2($self, other) {
  91847. return this.call$4($self, other, null, null);
  91848. },
  91849. call$3($self, other, $name) {
  91850. return this.call$4($self, other, $name, null);
  91851. },
  91852. "call*": "call$4",
  91853. $requiredArgCount: 2,
  91854. $defaultValues() {
  91855. return [null, null];
  91856. },
  91857. $signature: 234
  91858. };
  91859. A.numberClass__closure18.prototype = {
  91860. call$4($self, numeratorUnits, denominatorUnits, $name) {
  91861. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  91862. t2 = type$.String;
  91863. t1 = J.cast$1$0$ax(t1, t2);
  91864. 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);
  91865. },
  91866. call$3($self, numeratorUnits, denominatorUnits) {
  91867. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  91868. },
  91869. "call*": "call$4",
  91870. $requiredArgCount: 3,
  91871. $defaultValues() {
  91872. return [null];
  91873. },
  91874. $signature: 235
  91875. };
  91876. A.numberClass__closure19.prototype = {
  91877. call$4($self, other, $name, otherName) {
  91878. return $self.coerceValueToMatch$3(other, $name, otherName);
  91879. },
  91880. call$2($self, other) {
  91881. return this.call$4($self, other, null, null);
  91882. },
  91883. call$3($self, other, $name) {
  91884. return this.call$4($self, other, $name, null);
  91885. },
  91886. "call*": "call$4",
  91887. $requiredArgCount: 2,
  91888. $defaultValues() {
  91889. return [null, null];
  91890. },
  91891. $signature: 236
  91892. };
  91893. A._ConstructorOptions0.prototype = {};
  91894. A.SassNumber0.prototype = {
  91895. get$unitString() {
  91896. var _this = this;
  91897. return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  91898. },
  91899. accept$1$1(visitor) {
  91900. return visitor.visitNumber$1(this);
  91901. },
  91902. accept$1(visitor) {
  91903. return this.accept$1$1(visitor, type$.dynamic);
  91904. },
  91905. withoutSlash$0() {
  91906. var _this = this;
  91907. return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
  91908. },
  91909. assertNumber$1($name) {
  91910. return this;
  91911. },
  91912. assertNumber$0() {
  91913. return this.assertNumber$1(null);
  91914. },
  91915. assertInt$1($name) {
  91916. var integer = A.fuzzyAsInt0(this._number1$_value);
  91917. if (integer != null)
  91918. return integer;
  91919. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " is not an int.", $name));
  91920. },
  91921. assertInt$0() {
  91922. return this.assertInt$1(null);
  91923. },
  91924. valueInRange$3(min, max, $name) {
  91925. var _this = this,
  91926. result = A.fuzzyCheckRange0(_this._number1$_value, min, max);
  91927. if (result != null)
  91928. return result;
  91929. 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));
  91930. },
  91931. valueInRangeWithUnit$4(min, max, $name, unit) {
  91932. var result = A.fuzzyCheckRange0(this._number1$_value, min, max);
  91933. if (result != null)
  91934. return result;
  91935. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  91936. },
  91937. hasCompatibleUnits$1(other) {
  91938. var _this = this;
  91939. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  91940. return false;
  91941. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  91942. return false;
  91943. return _this.isComparableTo$1(other);
  91944. },
  91945. assertUnit$2(unit, $name) {
  91946. if (this.hasUnit$1(unit))
  91947. return;
  91948. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  91949. },
  91950. assertNoUnits$1($name) {
  91951. if (!this.get$hasUnits())
  91952. return;
  91953. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to have no units.", $name));
  91954. },
  91955. convertToMatch$3(other, $name, otherName) {
  91956. var t1 = this.convertValueToMatch$3(other, $name, otherName),
  91957. t2 = other.get$numeratorUnits(other);
  91958. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  91959. },
  91960. convertValueToMatch$3(other, $name, otherName) {
  91961. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  91962. },
  91963. coerce$3(newNumerators, newDenominators, $name) {
  91964. return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  91965. },
  91966. coerce$2(newNumerators, newDenominators) {
  91967. return this.coerce$3(newNumerators, newDenominators, null);
  91968. },
  91969. coerceValue$3(newNumerators, newDenominators, $name) {
  91970. return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  91971. },
  91972. coerceValueToUnit$2(unit, $name) {
  91973. var t1 = type$.JSArray_String;
  91974. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  91975. },
  91976. coerceValueToUnit$1(unit) {
  91977. return this.coerceValueToUnit$2(unit, null);
  91978. },
  91979. coerceToMatch$3(other, $name, otherName) {
  91980. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  91981. t2 = other.get$numeratorUnits(other);
  91982. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  91983. },
  91984. coerceValueToMatch$3(other, $name, otherName) {
  91985. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  91986. },
  91987. coerceValueToMatch$1(other) {
  91988. return this.coerceValueToMatch$3(other, null, null);
  91989. },
  91990. _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  91991. var t1, otherHasUnits, t2, compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
  91992. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  91993. return _this._number1$_value;
  91994. t1 = J.getInterceptor$asx(newNumerators);
  91995. otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
  91996. if (coerceUnitless)
  91997. t2 = !_this.get$hasUnits() || !otherHasUnits;
  91998. else
  91999. t2 = false;
  92000. if (t2)
  92001. return _this._number1$_value;
  92002. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  92003. _box_0.value = _this._number1$_value;
  92004. t2 = _this.get$numeratorUnits(_this);
  92005. oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  92006. for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
  92007. A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(compatibilityException));
  92008. t1 = _this.get$denominatorUnits(_this);
  92009. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  92010. for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
  92011. A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(compatibilityException));
  92012. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  92013. throw A.wrapException(compatibilityException.call$0());
  92014. return _box_0.value;
  92015. },
  92016. _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  92017. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  92018. },
  92019. isComparableTo$1(other) {
  92020. var exception;
  92021. if (!this.get$hasUnits() || !other.get$hasUnits())
  92022. return true;
  92023. try {
  92024. this.greaterThan$1(other);
  92025. return true;
  92026. } catch (exception) {
  92027. if (A.unwrapException(exception) instanceof A.SassScriptException0)
  92028. return false;
  92029. else
  92030. throw exception;
  92031. }
  92032. },
  92033. greaterThan$1(other) {
  92034. if (other instanceof A.SassNumber0)
  92035. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  92036. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  92037. },
  92038. greaterThanOrEquals$1(other) {
  92039. if (other instanceof A.SassNumber0)
  92040. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  92041. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  92042. },
  92043. lessThan$1(other) {
  92044. if (other instanceof A.SassNumber0)
  92045. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  92046. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  92047. },
  92048. lessThanOrEquals$1(other) {
  92049. if (other instanceof A.SassNumber0)
  92050. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  92051. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  92052. },
  92053. modulo$1(other) {
  92054. if (other instanceof A.SassNumber0)
  92055. return this.withValue$1(this._number1$_coerceUnits$2(other, A.number2__moduloLikeSass$closure()));
  92056. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  92057. },
  92058. plus$1(other) {
  92059. var _this = this;
  92060. if (other instanceof A.SassNumber0)
  92061. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
  92062. if (!(other instanceof A.SassColor0))
  92063. return _this.super$Value$plus0(other);
  92064. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  92065. },
  92066. minus$1(other) {
  92067. var _this = this;
  92068. if (other instanceof A.SassNumber0)
  92069. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
  92070. if (!(other instanceof A.SassColor0))
  92071. return _this.super$Value$minus0(other);
  92072. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  92073. },
  92074. times$1(other) {
  92075. var _this = this;
  92076. if (other instanceof A.SassNumber0) {
  92077. if (!other.get$hasUnits())
  92078. return _this.withValue$1(_this._number1$_value * other._number1$_value);
  92079. return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  92080. }
  92081. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  92082. },
  92083. dividedBy$1(other) {
  92084. var _this = this;
  92085. if (other instanceof A.SassNumber0) {
  92086. if (!other.get$hasUnits())
  92087. return _this.withValue$1(_this._number1$_value / other._number1$_value);
  92088. return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  92089. }
  92090. return _this.super$Value$dividedBy0(other);
  92091. },
  92092. unaryPlus$0() {
  92093. return this;
  92094. },
  92095. _number1$_coerceUnits$1$2(other, operation) {
  92096. var t1, exception;
  92097. try {
  92098. t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
  92099. return t1;
  92100. } catch (exception) {
  92101. if (A.unwrapException(exception) instanceof A.SassScriptException0) {
  92102. this.coerceValueToMatch$1(other);
  92103. throw exception;
  92104. } else
  92105. throw exception;
  92106. }
  92107. },
  92108. _number1$_coerceUnits$2(other, operation) {
  92109. return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
  92110. },
  92111. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  92112. var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
  92113. _box_0.value = value;
  92114. if (_this.get$numeratorUnits(_this).length === 0) {
  92115. if (otherDenominators.length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
  92116. return A.SassNumber_SassNumber$withUnits0(value, _this.get$denominatorUnits(_this), otherNumerators);
  92117. else if (_this.get$denominatorUnits(_this).length === 0)
  92118. return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, otherNumerators);
  92119. } else if (otherNumerators.length === 0)
  92120. if (otherDenominators.length === 0)
  92121. return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
  92122. else if (_this.get$denominatorUnits(_this).length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
  92123. return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
  92124. newNumerators = A._setArrayType([], type$.JSArray_String);
  92125. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  92126. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  92127. numerator = t1[_i];
  92128. A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
  92129. }
  92130. t1 = _this.get$denominatorUnits(_this);
  92131. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  92132. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  92133. numerator = otherNumerators[_i];
  92134. A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
  92135. }
  92136. t1 = _box_0.value;
  92137. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  92138. return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
  92139. },
  92140. _number1$_areAnyConvertible$2(units1, units2) {
  92141. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
  92142. },
  92143. _number1$_unitString$2(numerators, denominators) {
  92144. var t2,
  92145. t1 = J.getInterceptor$asx(numerators);
  92146. if (t1.get$isEmpty(numerators)) {
  92147. t1 = J.getInterceptor$asx(denominators);
  92148. if (t1.get$isEmpty(denominators))
  92149. return "no units";
  92150. if (t1.get$length(denominators) === 1)
  92151. return J.$add$ansx(t1.get$single(denominators), "^-1");
  92152. return "(" + t1.join$1(denominators, "*") + ")^-1";
  92153. }
  92154. t2 = J.getInterceptor$asx(denominators);
  92155. if (t2.get$isEmpty(denominators))
  92156. return t1.join$1(numerators, "*");
  92157. return t1.join$1(numerators, "*") + "/" + t2.join$1(denominators, "*");
  92158. },
  92159. $eq(_, other) {
  92160. var _this = this;
  92161. if (other == null)
  92162. return false;
  92163. if (other instanceof A.SassNumber0) {
  92164. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  92165. return false;
  92166. if (!_this.get$hasUnits())
  92167. return A.fuzzyEquals0(_this._number1$_value, other._number1$_value);
  92168. 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))))
  92169. return false;
  92170. 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)));
  92171. } else
  92172. return false;
  92173. },
  92174. get$hashCode(_) {
  92175. var _this = this,
  92176. t1 = _this.hashCache;
  92177. 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;
  92178. },
  92179. _number1$_canonicalizeUnitList$1(units) {
  92180. var type,
  92181. t1 = units.length;
  92182. if (t1 === 0)
  92183. return units;
  92184. if (t1 === 1) {
  92185. type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
  92186. if (type == null)
  92187. t1 = units;
  92188. else {
  92189. t1 = B.Map_ws7dy.$index(0, type);
  92190. t1.toString;
  92191. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  92192. }
  92193. return t1;
  92194. }
  92195. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  92196. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), true, t1._eval$1("ListIterable.E"));
  92197. B.JSArray_methods.sort$0(t1);
  92198. return t1;
  92199. },
  92200. _number1$_canonicalMultiplier$1(units) {
  92201. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
  92202. },
  92203. canonicalMultiplierForUnit$1(unit) {
  92204. var t1,
  92205. innerMap = B.Map_nfuzN.$index(0, unit);
  92206. if (innerMap == null)
  92207. t1 = 1;
  92208. else {
  92209. t1 = innerMap.get$values(innerMap);
  92210. t1 = 1 / t1.get$first(t1);
  92211. }
  92212. return t1;
  92213. },
  92214. unitSuggestion$2($name, unit) {
  92215. var t2, t3, result, _this = this,
  92216. t1 = _this.get$denominatorUnits(_this);
  92217. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  92218. t2 = _this.get$numeratorUnits(_this);
  92219. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  92220. t3 = unit == null ? "" : " * 1" + unit;
  92221. result = "$" + $name + t1 + t2 + t3;
  92222. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  92223. },
  92224. unitSuggestion$1($name) {
  92225. return this.unitSuggestion$2($name, null);
  92226. }
  92227. };
  92228. A.SassNumber__coerceOrConvertValue_compatibilityException0.prototype = {
  92229. call$0() {
  92230. var t2, t3, message, t4, type, unit, _this = this,
  92231. t1 = _this.other;
  92232. if (t1 != null) {
  92233. t2 = _this.$this;
  92234. t3 = t2.toString$0(0) + " and";
  92235. message = new A.StringBuffer(t3);
  92236. t4 = _this.otherName;
  92237. if (t4 != null)
  92238. t3 = message._contents = t3 + (" $" + t4 + ":");
  92239. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  92240. message._contents = t1;
  92241. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  92242. message._contents = t1 + " (one has units and the other doesn't)";
  92243. t1 = message.toString$0(0) + ".";
  92244. t2 = _this.name;
  92245. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  92246. } else if (!_this.otherHasUnits) {
  92247. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  92248. t2 = _this.name;
  92249. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  92250. } else {
  92251. t1 = _this.newNumerators;
  92252. t2 = J.getInterceptor$asx(t1);
  92253. if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
  92254. type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
  92255. if (type != null) {
  92256. t1 = _this.$this.toString$0(0);
  92257. 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;
  92258. t3 = B.Map_ws7dy.$index(0, type);
  92259. t3.toString;
  92260. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  92261. t2 = _this.name;
  92262. return new A.SassScriptException0(t2 == null ? t3 : "$" + t2 + ": " + t3);
  92263. }
  92264. }
  92265. t3 = _this.newDenominators;
  92266. unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
  92267. t2 = _this.$this;
  92268. t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
  92269. t1 = _this.name;
  92270. return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
  92271. }
  92272. },
  92273. $signature: 504
  92274. };
  92275. A.SassNumber__coerceOrConvertValue_closure3.prototype = {
  92276. call$1(oldNumerator) {
  92277. var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
  92278. if (factor == null)
  92279. return false;
  92280. this._box_0.value *= factor;
  92281. return true;
  92282. },
  92283. $signature: 8
  92284. };
  92285. A.SassNumber__coerceOrConvertValue_closure4.prototype = {
  92286. call$0() {
  92287. return A.throwExpression(this.compatibilityException.call$0());
  92288. },
  92289. $signature: 0
  92290. };
  92291. A.SassNumber__coerceOrConvertValue_closure5.prototype = {
  92292. call$1(oldDenominator) {
  92293. var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
  92294. if (factor == null)
  92295. return false;
  92296. this._box_0.value /= factor;
  92297. return true;
  92298. },
  92299. $signature: 8
  92300. };
  92301. A.SassNumber__coerceOrConvertValue_closure6.prototype = {
  92302. call$0() {
  92303. return A.throwExpression(this.compatibilityException.call$0());
  92304. },
  92305. $signature: 0
  92306. };
  92307. A.SassNumber_plus_closure0.prototype = {
  92308. call$2(num1, num2) {
  92309. return num1 + num2;
  92310. },
  92311. $signature: 54
  92312. };
  92313. A.SassNumber_minus_closure0.prototype = {
  92314. call$2(num1, num2) {
  92315. return num1 - num2;
  92316. },
  92317. $signature: 54
  92318. };
  92319. A.SassNumber_multiplyUnits_closure3.prototype = {
  92320. call$1(denominator) {
  92321. var factor = A.conversionFactor0(this.numerator, denominator);
  92322. if (factor == null)
  92323. return false;
  92324. this._box_0.value /= factor;
  92325. return true;
  92326. },
  92327. $signature: 8
  92328. };
  92329. A.SassNumber_multiplyUnits_closure4.prototype = {
  92330. call$0() {
  92331. return this.newNumerators.push(this.numerator);
  92332. },
  92333. $signature: 0
  92334. };
  92335. A.SassNumber_multiplyUnits_closure5.prototype = {
  92336. call$1(denominator) {
  92337. var factor = A.conversionFactor0(this.numerator, denominator);
  92338. if (factor == null)
  92339. return false;
  92340. this._box_0.value /= factor;
  92341. return true;
  92342. },
  92343. $signature: 8
  92344. };
  92345. A.SassNumber_multiplyUnits_closure6.prototype = {
  92346. call$0() {
  92347. return this.newNumerators.push(this.numerator);
  92348. },
  92349. $signature: 0
  92350. };
  92351. A.SassNumber__areAnyConvertible_closure0.prototype = {
  92352. call$1(unit1) {
  92353. var innerMap = B.Map_nfuzN.$index(0, unit1);
  92354. if (innerMap == null)
  92355. return B.JSArray_methods.contains$1(this.units2, unit1);
  92356. return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
  92357. },
  92358. $signature: 8
  92359. };
  92360. A.SassNumber__canonicalizeUnitList_closure0.prototype = {
  92361. call$1(unit) {
  92362. var t1,
  92363. type = $.$get$_typesByUnit0().$index(0, unit);
  92364. if (type == null)
  92365. t1 = unit;
  92366. else {
  92367. t1 = B.Map_ws7dy.$index(0, type);
  92368. t1.toString;
  92369. t1 = B.JSArray_methods.get$first(t1);
  92370. }
  92371. return t1;
  92372. },
  92373. $signature: 5
  92374. };
  92375. A.SassNumber__canonicalMultiplier_closure0.prototype = {
  92376. call$2(multiplier, unit) {
  92377. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  92378. },
  92379. $signature: 157
  92380. };
  92381. A.SassNumber_unitSuggestion_closure1.prototype = {
  92382. call$1(unit) {
  92383. return " * 1" + unit;
  92384. },
  92385. $signature: 5
  92386. };
  92387. A.SassNumber_unitSuggestion_closure2.prototype = {
  92388. call$1(unit) {
  92389. return " / 1" + unit;
  92390. },
  92391. $signature: 5
  92392. };
  92393. A.SupportsOperation0.prototype = {
  92394. toString$0(_) {
  92395. var _this = this;
  92396. return _this._operation0$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation0$_parenthesize$1(_this.right);
  92397. },
  92398. _operation0$_parenthesize$1(condition) {
  92399. var t1;
  92400. if (!(condition instanceof A.SupportsNegation0))
  92401. t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
  92402. else
  92403. t1 = true;
  92404. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  92405. },
  92406. $isAstNode0: 1,
  92407. get$span(receiver) {
  92408. return this.span;
  92409. }
  92410. };
  92411. A.ParentSelector0.prototype = {
  92412. accept$1$1(visitor) {
  92413. return visitor.visitParentSelector$1(this);
  92414. },
  92415. accept$1(visitor) {
  92416. return this.accept$1$1(visitor, type$.dynamic);
  92417. },
  92418. unify$1(compound) {
  92419. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  92420. }
  92421. };
  92422. A.ParentStatement0.prototype = {$isAstNode0: 1, $isStatement0: 1};
  92423. A.ParentStatement_closure0.prototype = {
  92424. call$1(child) {
  92425. var t1;
  92426. if (!(child instanceof A.VariableDeclaration0))
  92427. if (!(child instanceof A.FunctionRule0))
  92428. if (!(child instanceof A.MixinRule0))
  92429. t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
  92430. else
  92431. t1 = true;
  92432. else
  92433. t1 = true;
  92434. else
  92435. t1 = true;
  92436. return t1;
  92437. },
  92438. $signature: 222
  92439. };
  92440. A.ParentStatement__closure0.prototype = {
  92441. call$1($import) {
  92442. return $import instanceof A.DynamicImport0;
  92443. },
  92444. $signature: 223
  92445. };
  92446. A.ParenthesizedExpression0.prototype = {
  92447. accept$1$1(visitor) {
  92448. return visitor.visitParenthesizedExpression$1(this);
  92449. },
  92450. accept$1(visitor) {
  92451. return this.accept$1$1(visitor, type$.dynamic);
  92452. },
  92453. toString$0(_) {
  92454. return "(" + this.expression.toString$0(0) + ")";
  92455. },
  92456. $isExpression0: 1,
  92457. $isAstNode0: 1,
  92458. get$span(receiver) {
  92459. return this.span;
  92460. }
  92461. };
  92462. A.Parser1.prototype = {
  92463. _parser0$_parseIdentifier$0() {
  92464. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
  92465. },
  92466. whitespace$0() {
  92467. do
  92468. this.whitespaceWithoutComments$0();
  92469. while (this.scanComment$0());
  92470. },
  92471. whitespaceWithoutComments$0() {
  92472. var t3,
  92473. t1 = this.scanner,
  92474. t2 = t1.string.length;
  92475. while (true) {
  92476. if (t1._string_scanner$_position !== t2) {
  92477. t3 = t1.peekChar$0();
  92478. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  92479. } else
  92480. t3 = false;
  92481. if (!t3)
  92482. break;
  92483. t1.readChar$0();
  92484. }
  92485. },
  92486. spaces$0() {
  92487. var t3,
  92488. t1 = this.scanner,
  92489. t2 = t1.string.length;
  92490. while (true) {
  92491. if (t1._string_scanner$_position !== t2) {
  92492. t3 = t1.peekChar$0();
  92493. t3 = t3 === 32 || t3 === 9;
  92494. } else
  92495. t3 = false;
  92496. if (!t3)
  92497. break;
  92498. t1.readChar$0();
  92499. }
  92500. },
  92501. scanComment$0() {
  92502. var next,
  92503. t1 = this.scanner;
  92504. if (t1.peekChar$0() !== 47)
  92505. return false;
  92506. next = t1.peekChar$1(1);
  92507. if (next === 47) {
  92508. this.silentComment$0();
  92509. return true;
  92510. } else if (next === 42) {
  92511. this.loudComment$0();
  92512. return true;
  92513. } else
  92514. return false;
  92515. },
  92516. expectWhitespace$0() {
  92517. var t2, t3,
  92518. t1 = this.scanner;
  92519. if (t1._string_scanner$_position !== t1.string.length) {
  92520. t2 = t1.peekChar$0();
  92521. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  92522. t2 = t3;
  92523. } else
  92524. t2 = true;
  92525. if (t2)
  92526. t1.error$1(0, "Expected whitespace.");
  92527. this.whitespace$0();
  92528. },
  92529. silentComment$0() {
  92530. var t2, t3,
  92531. t1 = this.scanner;
  92532. t1.expect$1("//");
  92533. t2 = t1.string.length;
  92534. while (true) {
  92535. if (t1._string_scanner$_position !== t2) {
  92536. t3 = t1.peekChar$0();
  92537. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  92538. } else
  92539. t3 = false;
  92540. if (!t3)
  92541. break;
  92542. t1.readChar$0();
  92543. }
  92544. },
  92545. loudComment$0() {
  92546. var next,
  92547. t1 = this.scanner;
  92548. t1.expect$1("/*");
  92549. for (; true;) {
  92550. if (t1.readChar$0() !== 42)
  92551. continue;
  92552. do
  92553. next = t1.readChar$0();
  92554. while (next === 42);
  92555. if (next === 47)
  92556. break;
  92557. }
  92558. },
  92559. identifier$2$normalize$unit(normalize, unit) {
  92560. var t2, first, _this = this,
  92561. _s20_ = "Expected identifier.",
  92562. text = new A.StringBuffer(""),
  92563. t1 = _this.scanner;
  92564. if (t1.scanChar$1(45)) {
  92565. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  92566. if (t1.scanChar$1(45)) {
  92567. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  92568. _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
  92569. t1 = text._contents;
  92570. return t1.charCodeAt(0) == 0 ? t1 : t1;
  92571. }
  92572. } else
  92573. t2 = "";
  92574. first = t1.peekChar$0();
  92575. if (first == null)
  92576. t1.error$1(0, _s20_);
  92577. else if (normalize && first === 95) {
  92578. t1.readChar$0();
  92579. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  92580. } else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
  92581. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  92582. else if (first === 92)
  92583. text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
  92584. else
  92585. t1.error$1(0, _s20_);
  92586. _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
  92587. t1 = text._contents;
  92588. return t1.charCodeAt(0) == 0 ? t1 : t1;
  92589. },
  92590. identifier$0() {
  92591. return this.identifier$2$normalize$unit(false, false);
  92592. },
  92593. identifier$1$normalize(normalize) {
  92594. return this.identifier$2$normalize$unit(normalize, false);
  92595. },
  92596. identifier$1$unit(unit) {
  92597. return this.identifier$2$normalize$unit(false, unit);
  92598. },
  92599. _parser0$_identifierBody$3$normalize$unit(text, normalize, unit) {
  92600. var t1, next, second, t2;
  92601. for (t1 = this.scanner; true;) {
  92602. next = t1.peekChar$0();
  92603. if (next == null)
  92604. break;
  92605. else if (unit && next === 45) {
  92606. second = t1.peekChar$1(1);
  92607. if (second != null)
  92608. if (second !== 46)
  92609. t2 = second >= 48 && second <= 57;
  92610. else
  92611. t2 = true;
  92612. else
  92613. t2 = false;
  92614. if (t2)
  92615. break;
  92616. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  92617. } else if (normalize && next === 95) {
  92618. t1.readChar$0();
  92619. text._contents += A.Primitives_stringFromCharCode(45);
  92620. } else {
  92621. if (next !== 95) {
  92622. if (!(next >= 97 && next <= 122))
  92623. t2 = next >= 65 && next <= 90;
  92624. else
  92625. t2 = true;
  92626. t2 = t2 || next >= 128;
  92627. } else
  92628. t2 = true;
  92629. if (!t2)
  92630. t2 = next >= 48 && next <= 57 || next === 45;
  92631. else
  92632. t2 = true;
  92633. if (t2)
  92634. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  92635. else if (next === 92)
  92636. text._contents += A.S(this.escape$0());
  92637. else
  92638. break;
  92639. }
  92640. }
  92641. },
  92642. _parser0$_identifierBody$1(text) {
  92643. return this._parser0$_identifierBody$3$normalize$unit(text, false, false);
  92644. },
  92645. string$0() {
  92646. var buffer, next, t2,
  92647. t1 = this.scanner,
  92648. quote = t1.readChar$0();
  92649. if (quote !== 39 && quote !== 34)
  92650. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  92651. buffer = new A.StringBuffer("");
  92652. for (; true;) {
  92653. next = t1.peekChar$0();
  92654. if (next === quote) {
  92655. t1.readChar$0();
  92656. break;
  92657. } else if (next == null || next === 10 || next === 13 || next === 12)
  92658. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  92659. else if (next === 92) {
  92660. t2 = t1.peekChar$1(1);
  92661. if (t2 === 10 || t2 === 13 || t2 === 12) {
  92662. t1.readChar$0();
  92663. t1.readChar$0();
  92664. } else
  92665. buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  92666. } else
  92667. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  92668. }
  92669. t1 = buffer._contents;
  92670. return t1.charCodeAt(0) == 0 ? t1 : t1;
  92671. },
  92672. declarationValue$1$allowEmpty(allowEmpty) {
  92673. var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
  92674. buffer = new A.StringBuffer(""),
  92675. brackets = A._setArrayType([], type$.JSArray_int);
  92676. $label0$1:
  92677. for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
  92678. next = t1.peekChar$0();
  92679. switch (next) {
  92680. case 92:
  92681. buffer._contents += A.S(_this.escape$1$identifierStart(true));
  92682. wroteNewline = false;
  92683. break;
  92684. case 34:
  92685. case 39:
  92686. start = t1._string_scanner$_position;
  92687. t2.call$0();
  92688. end = t1._string_scanner$_position;
  92689. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  92690. wroteNewline = false;
  92691. break;
  92692. case 47:
  92693. if (t1.peekChar$1(1) === 42) {
  92694. t3 = _this.get$loudComment();
  92695. start = t1._string_scanner$_position;
  92696. t3.call$0();
  92697. end = t1._string_scanner$_position;
  92698. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  92699. } else
  92700. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  92701. wroteNewline = false;
  92702. break;
  92703. case 32:
  92704. case 9:
  92705. if (!wroteNewline) {
  92706. t3 = t1.peekChar$1(1);
  92707. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  92708. } else
  92709. t3 = true;
  92710. if (t3)
  92711. buffer._contents += A.Primitives_stringFromCharCode(32);
  92712. t1.readChar$0();
  92713. break;
  92714. case 10:
  92715. case 13:
  92716. case 12:
  92717. t3 = t1.peekChar$1(-1);
  92718. if (!(t3 === 10 || t3 === 13 || t3 === 12))
  92719. buffer._contents += "\n";
  92720. t1.readChar$0();
  92721. wroteNewline = true;
  92722. break;
  92723. case 40:
  92724. case 123:
  92725. case 91:
  92726. next.toString;
  92727. buffer._contents += A.Primitives_stringFromCharCode(next);
  92728. brackets.push(A.opposite0(t1.readChar$0()));
  92729. wroteNewline = false;
  92730. break;
  92731. case 41:
  92732. case 125:
  92733. case 93:
  92734. if (brackets.length === 0)
  92735. break $label0$1;
  92736. next.toString;
  92737. buffer._contents += A.Primitives_stringFromCharCode(next);
  92738. t1.expectChar$1(brackets.pop());
  92739. wroteNewline = false;
  92740. break;
  92741. case 59:
  92742. if (brackets.length === 0)
  92743. break $label0$1;
  92744. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  92745. break;
  92746. case 117:
  92747. case 85:
  92748. url = _this.tryUrl$0();
  92749. if (url != null)
  92750. buffer._contents += url;
  92751. else
  92752. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  92753. wroteNewline = false;
  92754. break;
  92755. default:
  92756. if (next == null)
  92757. break $label0$1;
  92758. if (_this.lookingAtIdentifier$0())
  92759. buffer._contents += _this.identifier$0();
  92760. else
  92761. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  92762. wroteNewline = false;
  92763. break;
  92764. }
  92765. }
  92766. if (brackets.length !== 0)
  92767. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  92768. if (!allowEmpty && buffer._contents.length === 0)
  92769. t1.error$1(0, "Expected token.");
  92770. t1 = buffer._contents;
  92771. return t1.charCodeAt(0) == 0 ? t1 : t1;
  92772. },
  92773. declarationValue$0() {
  92774. return this.declarationValue$1$allowEmpty(false);
  92775. },
  92776. tryUrl$0() {
  92777. var buffer, next, t2, _this = this,
  92778. t1 = _this.scanner,
  92779. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  92780. if (!_this.scanIdentifier$1("url"))
  92781. return null;
  92782. if (!t1.scanChar$1(40)) {
  92783. t1.set$state(start);
  92784. return null;
  92785. }
  92786. _this.whitespace$0();
  92787. buffer = new A.StringBuffer("");
  92788. buffer._contents = "" + "url(";
  92789. for (; true;) {
  92790. next = t1.peekChar$0();
  92791. if (next == null)
  92792. break;
  92793. else if (next === 92)
  92794. buffer._contents += A.S(_this.escape$0());
  92795. else {
  92796. if (next !== 37)
  92797. if (next !== 38)
  92798. if (next !== 35)
  92799. t2 = next >= 42 && next <= 126 || next >= 128;
  92800. else
  92801. t2 = true;
  92802. else
  92803. t2 = true;
  92804. else
  92805. t2 = true;
  92806. if (t2)
  92807. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  92808. else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
  92809. _this.whitespace$0();
  92810. if (t1.peekChar$0() !== 41)
  92811. break;
  92812. } else if (next === 41) {
  92813. t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  92814. return t2.charCodeAt(0) == 0 ? t2 : t2;
  92815. } else
  92816. break;
  92817. }
  92818. }
  92819. t1.set$state(start);
  92820. return null;
  92821. },
  92822. variableName$0() {
  92823. this.scanner.expectChar$1(36);
  92824. return this.identifier$1$normalize(true);
  92825. },
  92826. escape$1$identifierStart(identifierStart) {
  92827. var value, first, i, next, t2, exception,
  92828. _s25_ = "Expected escape sequence.",
  92829. t1 = this.scanner,
  92830. start = t1._string_scanner$_position;
  92831. t1.expectChar$1(92);
  92832. value = 0;
  92833. first = t1.peekChar$0();
  92834. if (first == null)
  92835. t1.error$1(0, _s25_);
  92836. else if (first === 10 || first === 13 || first === 12)
  92837. t1.error$1(0, _s25_);
  92838. else if (A.isHex0(first)) {
  92839. for (i = 0; i < 6; ++i) {
  92840. next = t1.peekChar$0();
  92841. if (next == null || !A.isHex0(next))
  92842. break;
  92843. value *= 16;
  92844. value += A.asHex0(t1.readChar$0());
  92845. }
  92846. this.scanCharIf$1(A.character0__isWhitespace$closure());
  92847. } else
  92848. value = t1.readChar$0();
  92849. if (identifierStart) {
  92850. t2 = value;
  92851. t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128;
  92852. } else {
  92853. t2 = value;
  92854. t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128 || A.isDigit0(t2) || t2 === 45;
  92855. }
  92856. if (t2)
  92857. try {
  92858. t2 = A.Primitives_stringFromCharCode(value);
  92859. return t2;
  92860. } catch (exception) {
  92861. if (type$.RangeError._is(A.unwrapException(exception)))
  92862. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  92863. else
  92864. throw exception;
  92865. }
  92866. else {
  92867. if (!(value <= 31))
  92868. if (!J.$eq$(value, 127))
  92869. t1 = identifierStart && A.isDigit0(value);
  92870. else
  92871. t1 = true;
  92872. else
  92873. t1 = true;
  92874. if (t1) {
  92875. t1 = "" + A.Primitives_stringFromCharCode(92);
  92876. if (value > 15)
  92877. t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  92878. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
  92879. return t1.charCodeAt(0) == 0 ? t1 : t1;
  92880. } else
  92881. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  92882. }
  92883. },
  92884. escape$0() {
  92885. return this.escape$1$identifierStart(false);
  92886. },
  92887. scanCharIf$1(condition) {
  92888. var t1 = this.scanner;
  92889. if (!condition.call$1(t1.peekChar$0()))
  92890. return false;
  92891. t1.readChar$0();
  92892. return true;
  92893. },
  92894. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  92895. var t3,
  92896. t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
  92897. t2 = this.scanner,
  92898. next = t2.peekChar$0();
  92899. if (next != null && t1.call$1(next)) {
  92900. t2.readChar$0();
  92901. return true;
  92902. } else if (next === 92) {
  92903. t3 = t2._string_scanner$_position;
  92904. if (t1.call$1(A.consumeEscapedCharacter0(t2)))
  92905. return true;
  92906. t2.set$state(new A._SpanScannerState(t2, t3));
  92907. }
  92908. return false;
  92909. },
  92910. scanIdentChar$1(char) {
  92911. return this.scanIdentChar$2$caseSensitive(char, false);
  92912. },
  92913. expectIdentChar$1(letter) {
  92914. var t1;
  92915. if (this.scanIdentChar$2$caseSensitive(letter, false))
  92916. return;
  92917. t1 = this.scanner;
  92918. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  92919. },
  92920. lookingAtIdentifier$1($forward) {
  92921. var t1, first, second;
  92922. if ($forward == null)
  92923. $forward = 0;
  92924. t1 = this.scanner;
  92925. first = t1.peekChar$1($forward);
  92926. if (first == null)
  92927. return false;
  92928. if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
  92929. return true;
  92930. if (first !== 45)
  92931. return false;
  92932. second = t1.peekChar$1($forward + 1);
  92933. if (second == null)
  92934. return false;
  92935. return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
  92936. },
  92937. lookingAtIdentifier$0() {
  92938. return this.lookingAtIdentifier$1(null);
  92939. },
  92940. lookingAtIdentifierBody$0() {
  92941. var t1,
  92942. next = this.scanner.peekChar$0();
  92943. if (next != null)
  92944. t1 = next === 95 || A.isAlphabetic1(next) || next >= 128 || A.isDigit0(next) || next === 45 || next === 92;
  92945. else
  92946. t1 = false;
  92947. return t1;
  92948. },
  92949. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  92950. var t1, t2, _this = this;
  92951. if (!_this.lookingAtIdentifier$0())
  92952. return false;
  92953. t1 = _this.scanner;
  92954. t2 = t1._string_scanner$_position;
  92955. if (_this._parser0$_consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  92956. return true;
  92957. else {
  92958. t1.set$state(new A._SpanScannerState(t1, t2));
  92959. return false;
  92960. }
  92961. },
  92962. scanIdentifier$1(text) {
  92963. return this.scanIdentifier$2$caseSensitive(text, false);
  92964. },
  92965. _parser0$_consumeIdentifier$2(text, caseSensitive) {
  92966. var t1, t2, t3;
  92967. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  92968. t3 = t1.__internal$_current;
  92969. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  92970. return false;
  92971. }
  92972. return true;
  92973. },
  92974. expectIdentifier$2$name(text, $name) {
  92975. var t1, start, t2, t3, t4, t5, t6;
  92976. if ($name == null)
  92977. $name = '"' + text + '"';
  92978. t1 = this.scanner;
  92979. start = t1._string_scanner$_position;
  92980. 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();) {
  92981. t6 = t2.__internal$_current;
  92982. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t5._as(t6) : t6, false))
  92983. continue;
  92984. t1.error$2$position(0, t4, start);
  92985. }
  92986. if (!this.lookingAtIdentifierBody$0())
  92987. return;
  92988. t1.error$2$position(0, t3, start);
  92989. },
  92990. expectIdentifier$1(text) {
  92991. return this.expectIdentifier$2$name(text, null);
  92992. },
  92993. rawText$1(consumer) {
  92994. var t1 = this.scanner,
  92995. start = t1._string_scanner$_position;
  92996. consumer.call$0();
  92997. return t1.substring$1(0, start);
  92998. },
  92999. spanFrom$1(state) {
  93000. var span = this.scanner.spanFrom$1(state);
  93001. if (this._parser0$_interpolationMap != null)
  93002. return new A.LazyFileSpan0(new A.Parser_spanFrom_closure0(this, span));
  93003. return span;
  93004. },
  93005. error$3(_, message, span, trace) {
  93006. var exception = new A.StringScannerException(this.scanner.string, message, span);
  93007. if (trace == null)
  93008. throw A.wrapException(exception);
  93009. else
  93010. A.throwWithTrace0(exception, trace);
  93011. },
  93012. error$2($receiver, message, span) {
  93013. return this.error$3($receiver, message, span, null);
  93014. },
  93015. withErrorMessage$1$2(message, callback) {
  93016. var error, stackTrace, t1, exception;
  93017. try {
  93018. t1 = callback.call$0();
  93019. return t1;
  93020. } catch (exception) {
  93021. t1 = A.unwrapException(exception);
  93022. if (type$.SourceSpanFormatException._is(t1)) {
  93023. error = t1;
  93024. stackTrace = A.getTraceFromException(exception);
  93025. t1 = J.get$span$z(error);
  93026. A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
  93027. } else
  93028. throw exception;
  93029. }
  93030. },
  93031. withErrorMessage$2(message, callback) {
  93032. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  93033. },
  93034. wrapSpanFormatException$1$1(callback) {
  93035. var error, stackTrace, map, error0, stackTrace0, span, error1, stackTrace1, span0, secondarySpans, t1, entry, t2, exception, t3, _this = this,
  93036. _s8_ = "expected";
  93037. try {
  93038. try {
  93039. t2 = callback.call$0();
  93040. return t2;
  93041. } catch (exception) {
  93042. t2 = A.unwrapException(exception);
  93043. if (type$.SourceSpanFormatException._is(t2)) {
  93044. error = t2;
  93045. stackTrace = A.getTraceFromException(exception);
  93046. map = _this._parser0$_interpolationMap;
  93047. if (map == null)
  93048. throw exception;
  93049. A.throwWithTrace0(map.mapException$1(error), stackTrace);
  93050. } else
  93051. throw exception;
  93052. }
  93053. } catch (exception) {
  93054. t2 = A.unwrapException(exception);
  93055. if (type$.SourceSpanFormatException._is(t2)) {
  93056. error0 = t2;
  93057. stackTrace0 = A.getTraceFromException(exception);
  93058. span = J.get$span$z(error0);
  93059. if (A.startsWithIgnoreCase0(error0._span_exception$_message, _s8_))
  93060. span = _this._parser0$_adjustExceptionSpan$1(span);
  93061. t1 = error0._span_exception$_message;
  93062. t2 = span;
  93063. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, t1, t2), stackTrace0);
  93064. } else if (type$.MultiSourceSpanFormatException._is(t2)) {
  93065. error1 = t2;
  93066. stackTrace1 = A.getTraceFromException(exception);
  93067. span0 = J.get$span$z(error1);
  93068. t2 = type$.FileSpan;
  93069. t3 = type$.String;
  93070. secondarySpans = error1.get$secondarySpans().cast$2$0(0, t2, t3);
  93071. if (A.startsWithIgnoreCase0(error1._span_exception$_message, _s8_)) {
  93072. span0 = _this._parser0$_adjustExceptionSpan$1(span0);
  93073. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  93074. for (t2 = J.get$entries$z(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  93075. entry = t2.get$current(t2);
  93076. J.$indexSet$ax(t1, _this._parser0$_adjustExceptionSpan$1(entry.key), entry.value);
  93077. }
  93078. secondarySpans = t1;
  93079. }
  93080. A.throwWithTrace0(A.MultiSpanSassFormatException$0(error1._span_exception$_message, span0, error1.get$primaryLabel(), secondarySpans, null), stackTrace1);
  93081. } else
  93082. throw exception;
  93083. }
  93084. },
  93085. wrapSpanFormatException$1(callback) {
  93086. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  93087. },
  93088. _parser0$_adjustExceptionSpan$1(span) {
  93089. var start, t1;
  93090. if (span.get$length(span) > 0)
  93091. return span;
  93092. start = this._parser0$_firstNewlineBefore$1(span.get$start(span));
  93093. if (start.$eq(0, span.get$start(span)))
  93094. t1 = span;
  93095. else {
  93096. t1 = start.offset;
  93097. t1 = A._FileSpan$(start.file, t1, t1);
  93098. }
  93099. return t1;
  93100. },
  93101. _parser0$_firstNewlineBefore$1($location) {
  93102. var lastNewline, codeUnit,
  93103. t1 = $location.file,
  93104. t2 = $location.offset,
  93105. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  93106. index = t2 - 1;
  93107. for (lastNewline = null; index >= 0;) {
  93108. codeUnit = B.JSString_methods.codeUnitAt$1(text, index);
  93109. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  93110. if (lastNewline == null)
  93111. t1 = $location;
  93112. else {
  93113. t2 = new A.FileLocation(t1, lastNewline);
  93114. t2.FileLocation$_$2(t1, lastNewline);
  93115. t1 = t2;
  93116. }
  93117. return t1;
  93118. }
  93119. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  93120. lastNewline = index;
  93121. --index;
  93122. }
  93123. return $location;
  93124. }
  93125. };
  93126. A.Parser__parseIdentifier_closure0.prototype = {
  93127. call$0() {
  93128. var t1 = this.$this,
  93129. result = t1.identifier$0();
  93130. t1.scanner.expectDone$0();
  93131. return result;
  93132. },
  93133. $signature: 31
  93134. };
  93135. A.Parser_scanIdentChar_matches0.prototype = {
  93136. call$1(actual) {
  93137. var t1 = this.char;
  93138. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
  93139. },
  93140. $signature: 51
  93141. };
  93142. A.Parser_spanFrom_closure0.prototype = {
  93143. call$0() {
  93144. return this.$this._parser0$_interpolationMap.mapSpan$1(this.span);
  93145. },
  93146. $signature: 25
  93147. };
  93148. A.PlaceholderSelector0.prototype = {
  93149. accept$1$1(visitor) {
  93150. return visitor.visitPlaceholderSelector$1(this);
  93151. },
  93152. accept$1(visitor) {
  93153. return this.accept$1$1(visitor, type$.dynamic);
  93154. },
  93155. addSuffix$1(suffix) {
  93156. return new A.PlaceholderSelector0(this.name + suffix, this.span);
  93157. },
  93158. $eq(_, other) {
  93159. if (other == null)
  93160. return false;
  93161. return other instanceof A.PlaceholderSelector0 && other.name === this.name;
  93162. },
  93163. get$hashCode(_) {
  93164. return B.JSString_methods.get$hashCode(this.name);
  93165. }
  93166. };
  93167. A.PlainCssCallable0.prototype = {
  93168. $eq(_, other) {
  93169. if (other == null)
  93170. return false;
  93171. return other instanceof A.PlainCssCallable0 && this.name === other.name;
  93172. },
  93173. get$hashCode(_) {
  93174. return B.JSString_methods.get$hashCode(this.name);
  93175. },
  93176. $isAsyncCallable0: 1,
  93177. $isCallable0: 1,
  93178. get$name(receiver) {
  93179. return this.name;
  93180. }
  93181. };
  93182. A.PrefixedMapView0.prototype = {
  93183. get$keys(_) {
  93184. return new A._PrefixedKeys0(this);
  93185. },
  93186. get$length(_) {
  93187. var t1 = this._prefixed_map_view0$_map;
  93188. return t1.get$length(t1);
  93189. },
  93190. get$isEmpty(_) {
  93191. var t1 = this._prefixed_map_view0$_map;
  93192. return t1.get$isEmpty(t1);
  93193. },
  93194. get$isNotEmpty(_) {
  93195. var t1 = this._prefixed_map_view0$_map;
  93196. return t1.get$isNotEmpty(t1);
  93197. },
  93198. $index(_, key) {
  93199. 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;
  93200. },
  93201. containsKey$1(key) {
  93202. 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));
  93203. }
  93204. };
  93205. A._PrefixedKeys0.prototype = {
  93206. get$length(_) {
  93207. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  93208. return t1.get$length(t1);
  93209. },
  93210. get$iterator(_) {
  93211. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  93212. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure0(this), type$.String);
  93213. return t1.get$iterator(t1);
  93214. },
  93215. contains$1(_, key) {
  93216. return this._prefixed_map_view0$_view.containsKey$1(key);
  93217. }
  93218. };
  93219. A._PrefixedKeys_iterator_closure0.prototype = {
  93220. call$1(key) {
  93221. return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
  93222. },
  93223. $signature: 5
  93224. };
  93225. A.PseudoSelector0.prototype = {
  93226. get$isHostContext() {
  93227. return this.isClass && this.name === "host-context" && this.selector != null;
  93228. },
  93229. get$specificity() {
  93230. var result, _this = this,
  93231. value = _this._pseudo$__PseudoSelector_specificity_FI;
  93232. if (value === $) {
  93233. result = new A.PseudoSelector_specificity_closure0(_this).call$0();
  93234. _this._pseudo$__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  93235. _this._pseudo$__PseudoSelector_specificity_FI = result;
  93236. value = result;
  93237. }
  93238. return value;
  93239. },
  93240. withSelector$1(selector) {
  93241. var _this = this;
  93242. return A.PseudoSelector$0(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  93243. },
  93244. addSuffix$1(suffix) {
  93245. var _this = this;
  93246. if (_this.argument != null || _this.selector != null)
  93247. _this.super$SimpleSelector$addSuffix0(suffix);
  93248. return A.PseudoSelector$0(_this.name + suffix, _this.span, null, !_this.isClass, null);
  93249. },
  93250. unify$1(compound) {
  93251. var other, result, t2, addedThis, _i, simple, _this = this,
  93252. t1 = _this.name;
  93253. if (t1 === "host" || t1 === "host-context") {
  93254. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
  93255. return null;
  93256. } else if (compound.length === 1) {
  93257. other = B.JSArray_methods.get$first(compound);
  93258. if (!(other instanceof A.UniversalSelector0))
  93259. if (other instanceof A.PseudoSelector0)
  93260. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  93261. else
  93262. t1 = false;
  93263. else
  93264. t1 = true;
  93265. if (t1)
  93266. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  93267. }
  93268. if (B.JSArray_methods.contains$1(compound, _this))
  93269. return compound;
  93270. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  93271. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  93272. simple = compound[_i];
  93273. if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
  93274. if (t2)
  93275. return null;
  93276. result.push(_this);
  93277. addedThis = true;
  93278. }
  93279. result.push(simple);
  93280. }
  93281. if (!addedThis)
  93282. result.push(_this);
  93283. return result;
  93284. },
  93285. isSuperselector$1(other) {
  93286. var selector, t1, t2, _this = this;
  93287. if (_this.super$SimpleSelector$isSuperselector0(other))
  93288. return true;
  93289. selector = _this.selector;
  93290. if (selector == null)
  93291. return _this.$eq(0, other);
  93292. if (other instanceof A.PseudoSelector0 && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  93293. t1 = A.NullableExtension_andThen0(other.selector, selector.get$isSuperselector());
  93294. return t1 == null ? false : t1;
  93295. }
  93296. t1 = type$.JSArray_SimpleSelector_2;
  93297. t2 = _this.span;
  93298. return A.compoundIsSuperselector0(A.CompoundSelector$0(A._setArrayType([_this], t1), t2), A.CompoundSelector$0(A._setArrayType([other], t1), t2), null);
  93299. },
  93300. accept$1$1(visitor) {
  93301. return visitor.visitPseudoSelector$1(this);
  93302. },
  93303. accept$1(visitor) {
  93304. return this.accept$1$1(visitor, type$.dynamic);
  93305. },
  93306. $eq(_, other) {
  93307. var _this = this;
  93308. if (other == null)
  93309. return false;
  93310. return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  93311. },
  93312. get$hashCode(_) {
  93313. var _this = this,
  93314. t1 = B.JSString_methods.get$hashCode(_this.name),
  93315. t2 = !_this.isClass ? 519018 : 218159;
  93316. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  93317. }
  93318. };
  93319. A.PseudoSelector_specificity_closure0.prototype = {
  93320. call$0() {
  93321. var selector, t2,
  93322. t1 = this.$this;
  93323. if (!t1.isClass)
  93324. return 1;
  93325. selector = t1.selector;
  93326. if (selector == null)
  93327. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  93328. switch (t1.normalizedName) {
  93329. case "where":
  93330. return 0;
  93331. case "is":
  93332. case "not":
  93333. case "has":
  93334. case "matches":
  93335. t1 = selector.components;
  93336. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  93337. case "nth-child":
  93338. case "nth-last-child":
  93339. t1 = A.SimpleSelector0.prototype.get$specificity.call(t1);
  93340. t2 = selector.components;
  93341. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  93342. default:
  93343. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  93344. }
  93345. },
  93346. $signature: 12
  93347. };
  93348. A.PseudoSelector_specificity__closure1.prototype = {
  93349. call$1(component) {
  93350. return component.get$specificity();
  93351. },
  93352. $signature: 237
  93353. };
  93354. A.PseudoSelector_specificity__closure2.prototype = {
  93355. call$1(component) {
  93356. return component.get$specificity();
  93357. },
  93358. $signature: 237
  93359. };
  93360. A.PseudoSelector_unify_closure0.prototype = {
  93361. call$1(simple) {
  93362. var t1;
  93363. if (simple instanceof A.PseudoSelector0)
  93364. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  93365. else
  93366. t1 = false;
  93367. return t1;
  93368. },
  93369. $signature: 14
  93370. };
  93371. A.PublicMemberMapView0.prototype = {
  93372. get$keys(_) {
  93373. var t1 = this._public_member_map_view0$_inner;
  93374. return J.where$1$ax(t1.get$keys(t1), A.utils0__isPublic$closure());
  93375. },
  93376. containsKey$1(key) {
  93377. return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
  93378. },
  93379. $index(_, key) {
  93380. if (typeof key == "string" && A.isPublic0(key))
  93381. return this._public_member_map_view0$_inner.$index(0, key);
  93382. return null;
  93383. }
  93384. };
  93385. A.QualifiedName0.prototype = {
  93386. $eq(_, other) {
  93387. if (other == null)
  93388. return false;
  93389. return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
  93390. },
  93391. get$hashCode(_) {
  93392. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  93393. },
  93394. toString$0(_) {
  93395. var t1 = this.namespace,
  93396. t2 = this.name;
  93397. return t1 == null ? t2 : t1 + "|" + t2;
  93398. }
  93399. };
  93400. A.JSClass0.prototype = {};
  93401. A.JSClassExtension_setCustomInspect_closure.prototype = {
  93402. call$4($self, _, __, ___) {
  93403. return this.inspect.call$1($self);
  93404. },
  93405. call$3($self, _, __) {
  93406. return this.call$4($self, _, __, null);
  93407. },
  93408. "call*": "call$4",
  93409. $requiredArgCount: 3,
  93410. $defaultValues() {
  93411. return [null];
  93412. },
  93413. $signature: 506
  93414. };
  93415. A.JSClassExtension_get_defineMethod_closure.prototype = {
  93416. call$2($name, body) {
  93417. J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
  93418. return null;
  93419. },
  93420. $signature: 238
  93421. };
  93422. A.JSClassExtension_get_defineGetter_closure.prototype = {
  93423. call$2($name, body) {
  93424. A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
  93425. return null;
  93426. },
  93427. $signature: 238
  93428. };
  93429. A.RenderContext0.prototype = {};
  93430. A.RenderContextOptions0.prototype = {};
  93431. A.RenderContextResult0.prototype = {};
  93432. A.RenderContextResultStats0.prototype = {};
  93433. A.RenderOptions.prototype = {};
  93434. A.RenderResult.prototype = {};
  93435. A.RenderResultStats.prototype = {};
  93436. A.ReplaceExpressionVisitor0.prototype = {
  93437. visitBinaryOperationExpression$1(node) {
  93438. return new A.BinaryOperationExpression0(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  93439. },
  93440. visitBooleanExpression$1(node) {
  93441. return node;
  93442. },
  93443. visitColorExpression$1(node) {
  93444. return node;
  93445. },
  93446. visitFunctionExpression$1(node) {
  93447. return new A.FunctionExpression0(node.namespace, node.originalName, this.visitArgumentInvocation$1(node.$arguments), node.span);
  93448. },
  93449. visitIfExpression$1(node) {
  93450. return new A.IfExpression0(this.visitArgumentInvocation$1(node.$arguments), node.span);
  93451. },
  93452. visitListExpression$1(node) {
  93453. var t1 = node.contents;
  93454. 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);
  93455. },
  93456. visitMapExpression$1(node) {
  93457. var t1 = node.pairs;
  93458. 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);
  93459. },
  93460. visitNullExpression$1(node) {
  93461. return node;
  93462. },
  93463. visitNumberExpression$1(node) {
  93464. return node;
  93465. },
  93466. visitParenthesizedExpression$1(node) {
  93467. return new A.ParenthesizedExpression0(node.expression.accept$1(this), node.span);
  93468. },
  93469. visitSelectorExpression$1(node) {
  93470. return node;
  93471. },
  93472. visitStringExpression$1(node) {
  93473. return new A.StringExpression0(this.visitInterpolation$1(node.text), node.hasQuotes);
  93474. },
  93475. visitSupportsExpression$1(node) {
  93476. return new A.SupportsExpression0(this.visitSupportsCondition$1(node.condition));
  93477. },
  93478. visitUnaryOperationExpression$1(node) {
  93479. return new A.UnaryOperationExpression0(node.operator, node.operand.accept$1(this), node.span);
  93480. },
  93481. visitValueExpression$1(node) {
  93482. return node;
  93483. },
  93484. visitVariableExpression$1(node) {
  93485. return node;
  93486. },
  93487. visitArgumentInvocation$1(invocation) {
  93488. var t5, t6, _this = this,
  93489. t1 = invocation.positional,
  93490. t2 = type$.String,
  93491. t3 = type$.Expression_2,
  93492. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  93493. for (t5 = invocation.named, t5 = t5.get$entries(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  93494. t6 = t5.get$current(t5);
  93495. t4.$indexSet(0, t6.key, t6.value.accept$1(_this));
  93496. }
  93497. t5 = invocation.rest;
  93498. t5 = t5 == null ? null : t5.accept$1(_this);
  93499. t6 = invocation.keywordRest;
  93500. t6 = t6 == null ? null : t6.accept$1(_this);
  93501. 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);
  93502. },
  93503. visitSupportsCondition$1(condition) {
  93504. var _this = this;
  93505. if (condition instanceof A.SupportsOperation0)
  93506. return A.SupportsOperation$0(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  93507. else if (condition instanceof A.SupportsNegation0)
  93508. return new A.SupportsNegation0(_this.visitSupportsCondition$1(condition.condition), condition.span);
  93509. else if (condition instanceof A.SupportsInterpolation0)
  93510. return new A.SupportsInterpolation0(condition.expression.accept$1(_this), condition.span);
  93511. else if (condition instanceof A.SupportsDeclaration0)
  93512. return new A.SupportsDeclaration0(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  93513. else
  93514. throw A.wrapException(A.SassException$0("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  93515. },
  93516. visitInterpolation$1(interpolation) {
  93517. var t1 = interpolation.contents;
  93518. return A.Interpolation$0(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitInterpolation_closure0(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>")), interpolation.span);
  93519. }
  93520. };
  93521. A.ReplaceExpressionVisitor_visitListExpression_closure0.prototype = {
  93522. call$1(item) {
  93523. return item.accept$1(this.$this);
  93524. },
  93525. $signature: 132
  93526. };
  93527. A.ReplaceExpressionVisitor_visitMapExpression_closure0.prototype = {
  93528. call$1(pair) {
  93529. var t1 = this.$this;
  93530. return new A.Tuple2(pair.item1.accept$1(t1), pair.item2.accept$1(t1), type$.Tuple2_Expression_Expression_2);
  93531. },
  93532. $signature: 508
  93533. };
  93534. A.ReplaceExpressionVisitor_visitArgumentInvocation_closure0.prototype = {
  93535. call$1(expression) {
  93536. return expression.accept$1(this.$this);
  93537. },
  93538. $signature: 132
  93539. };
  93540. A.ReplaceExpressionVisitor_visitInterpolation_closure0.prototype = {
  93541. call$1(node) {
  93542. return type$.Expression_2._is(node) ? node.accept$1(this.$this) : node;
  93543. },
  93544. $signature: 75
  93545. };
  93546. A.ImporterResult0.prototype = {
  93547. get$sourceMapUrl(_) {
  93548. var t1 = this._result$_sourceMapUrl;
  93549. return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
  93550. }
  93551. };
  93552. A.ReturnRule0.prototype = {
  93553. accept$1$1(visitor) {
  93554. return visitor.visitReturnRule$1(this);
  93555. },
  93556. accept$1(visitor) {
  93557. return this.accept$1$1(visitor, type$.dynamic);
  93558. },
  93559. toString$0(_) {
  93560. return "@return " + this.expression.toString$0(0) + ";";
  93561. },
  93562. $isAstNode0: 1,
  93563. $isStatement0: 1,
  93564. get$span(receiver) {
  93565. return this.span;
  93566. }
  93567. };
  93568. A.main_printError.prototype = {
  93569. call$2(error, stackTrace) {
  93570. var buffer = new A.StringBuffer(""),
  93571. t1 = this._box_0,
  93572. t2 = t1.printedError ? buffer._contents = "" + "\n" : "";
  93573. t1.printedError = true;
  93574. t2 += error;
  93575. buffer._contents = t2;
  93576. if (stackTrace != null) {
  93577. t1 = t2 + "\n";
  93578. buffer._contents = t1;
  93579. t1 += "\n";
  93580. buffer._contents = t1;
  93581. buffer._contents = t1 + B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0));
  93582. }
  93583. A.printError(buffer);
  93584. },
  93585. $signature: 509
  93586. };
  93587. A.main_closure.prototype = {
  93588. call$0() {
  93589. var t1, exception;
  93590. try {
  93591. t1 = this.destination;
  93592. if (t1 != null && !this._box_0.options.get$emitErrorCss())
  93593. A.deleteFile(t1);
  93594. } catch (exception) {
  93595. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  93596. throw exception;
  93597. }
  93598. },
  93599. $signature: 1
  93600. };
  93601. A.SassParser0.prototype = {
  93602. get$currentIndentation() {
  93603. return this._sass0$_currentIndentation;
  93604. },
  93605. get$indented() {
  93606. return true;
  93607. },
  93608. styleRuleSelector$0() {
  93609. var t4,
  93610. t1 = this.scanner,
  93611. t2 = t1._string_scanner$_position,
  93612. t3 = new A.StringBuffer(""),
  93613. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  93614. do {
  93615. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  93616. t4 = t3._contents += A.Primitives_stringFromCharCode(10);
  93617. } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character0__isNewline$closure()));
  93618. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  93619. },
  93620. expectStatementSeparator$1($name) {
  93621. var t1, _this = this;
  93622. if (!_this.atEndOfStatement$0())
  93623. _this._sass0$_expectNewline$0();
  93624. if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
  93625. return;
  93626. t1 = $name == null ? "here" : "beneath a " + $name;
  93627. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._sass0$_nextIndentationEnd.position);
  93628. },
  93629. expectStatementSeparator$0() {
  93630. return this.expectStatementSeparator$1(null);
  93631. },
  93632. atEndOfStatement$0() {
  93633. var next = this.scanner.peekChar$0();
  93634. return next == null || next === 10 || next === 13 || next === 12;
  93635. },
  93636. lookingAtChildren$0() {
  93637. return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
  93638. },
  93639. importArgument$0() {
  93640. var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
  93641. t1 = _this.scanner;
  93642. switch (t1.peekChar$0()) {
  93643. case 117:
  93644. case 85:
  93645. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  93646. if (_this.scanIdentifier$1("url"))
  93647. if (t1.scanChar$1(40)) {
  93648. t1.set$state(start);
  93649. return _this.super$StylesheetParser$importArgument0();
  93650. } else
  93651. t1.set$state(start);
  93652. break;
  93653. case 39:
  93654. case 34:
  93655. return _this.super$StylesheetParser$importArgument0();
  93656. }
  93657. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  93658. next = t1.peekChar$0();
  93659. while (true) {
  93660. if (next != null)
  93661. if (next !== 44)
  93662. if (next !== 59)
  93663. t2 = !(next === 10 || next === 13 || next === 12);
  93664. else
  93665. t2 = false;
  93666. else
  93667. t2 = false;
  93668. else
  93669. t2 = false;
  93670. if (!t2)
  93671. break;
  93672. t1.readChar$0();
  93673. next = t1.peekChar$0();
  93674. }
  93675. url = t1.substring$1(0, start.position);
  93676. span = t1.spanFrom$1(start);
  93677. if (_this.isPlainImportUrl$1(url))
  93678. return new A.StaticImport0(A.Interpolation$0(A._setArrayType([A.serializeValue0(new A.SassString0(url, true), true, true)], type$.JSArray_Object), span), null, span);
  93679. else
  93680. try {
  93681. t1 = _this.parseImportUrl$1(url);
  93682. return new A.DynamicImport0(t1, span);
  93683. } catch (exception) {
  93684. t1 = A.unwrapException(exception);
  93685. if (type$.FormatException._is(t1)) {
  93686. innerError = t1;
  93687. stackTrace = A.getTraceFromException(exception);
  93688. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  93689. } else
  93690. throw exception;
  93691. }
  93692. },
  93693. scanElse$1(ifIndentation) {
  93694. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  93695. if (_this._sass0$_peekIndentation$0() !== ifIndentation)
  93696. return false;
  93697. t1 = _this.scanner;
  93698. t2 = t1._string_scanner$_position;
  93699. startIndentation = _this._sass0$_currentIndentation;
  93700. startNextIndentation = _this._sass0$_nextIndentation;
  93701. startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
  93702. _this._sass0$_readIndentation$0();
  93703. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  93704. return true;
  93705. t1.set$state(new A._SpanScannerState(t1, t2));
  93706. _this._sass0$_currentIndentation = startIndentation;
  93707. _this._sass0$_nextIndentation = startNextIndentation;
  93708. _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
  93709. return false;
  93710. },
  93711. children$1(_, child) {
  93712. var children = A._setArrayType([], type$.JSArray_Statement_2);
  93713. this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
  93714. return children;
  93715. },
  93716. statements$1(statement) {
  93717. var statements, t2, child,
  93718. t1 = this.scanner,
  93719. first = t1.peekChar$0();
  93720. if (first === 9 || first === 32)
  93721. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  93722. statements = A._setArrayType([], type$.JSArray_Statement_2);
  93723. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  93724. child = this._sass0$_child$1(statement);
  93725. if (child != null)
  93726. statements.push(child);
  93727. this._sass0$_readIndentation$0();
  93728. }
  93729. return statements;
  93730. },
  93731. _sass0$_child$1(child) {
  93732. var _this = this,
  93733. t1 = _this.scanner;
  93734. switch (t1.peekChar$0()) {
  93735. case 13:
  93736. case 10:
  93737. case 12:
  93738. return null;
  93739. case 36:
  93740. return _this.variableDeclarationWithoutNamespace$0();
  93741. case 47:
  93742. switch (t1.peekChar$1(1)) {
  93743. case 47:
  93744. return _this._sass0$_silentComment$0();
  93745. case 42:
  93746. return _this._sass0$_loudComment$0();
  93747. default:
  93748. return child.call$0();
  93749. }
  93750. default:
  93751. return child.call$0();
  93752. }
  93753. },
  93754. _sass0$_silentComment$0() {
  93755. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  93756. t1 = _this.scanner,
  93757. t2 = t1._string_scanner$_position;
  93758. t1.expect$1("//");
  93759. buffer = new A.StringBuffer("");
  93760. parentIndentation = _this._sass0$_currentIndentation;
  93761. t3 = t1.string.length;
  93762. t4 = 1 + parentIndentation;
  93763. t5 = 2 + parentIndentation;
  93764. $label0$0:
  93765. do {
  93766. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  93767. for (i = commentPrefix.length; true;) {
  93768. t6 = buffer._contents += commentPrefix;
  93769. for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
  93770. t6 += A.Primitives_stringFromCharCode(32);
  93771. buffer._contents = t6;
  93772. }
  93773. while (true) {
  93774. if (t1._string_scanner$_position !== t3) {
  93775. t7 = t1.peekChar$0();
  93776. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  93777. } else
  93778. t7 = false;
  93779. if (!t7)
  93780. break;
  93781. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  93782. buffer._contents = t6;
  93783. }
  93784. buffer._contents = t6 + "\n";
  93785. if (_this._sass0$_peekIndentation$0() < parentIndentation)
  93786. break $label0$0;
  93787. if (_this._sass0$_peekIndentation$0() === parentIndentation) {
  93788. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  93789. _this._sass0$_readIndentation$0();
  93790. break;
  93791. }
  93792. _this._sass0$_readIndentation$0();
  93793. }
  93794. } while (t1.scan$1("//"));
  93795. t3 = buffer._contents;
  93796. return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  93797. },
  93798. _sass0$_loudComment$0() {
  93799. var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
  93800. t1 = _this.scanner,
  93801. t2 = t1._string_scanner$_position;
  93802. t1.expect$1("/*");
  93803. t3 = new A.StringBuffer("");
  93804. t4 = A._setArrayType([], type$.JSArray_Object);
  93805. buffer = new A.InterpolationBuffer0(t3, t4);
  93806. t3._contents = "" + "/*";
  93807. parentIndentation = _this._sass0$_currentIndentation;
  93808. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  93809. if (first) {
  93810. beginningOfComment = t1._string_scanner$_position;
  93811. _this.spaces$0();
  93812. t7 = t1.peekChar$0();
  93813. if (t7 === 10 || t7 === 13 || t7 === 12) {
  93814. _this._sass0$_readIndentation$0();
  93815. t3._contents += A.Primitives_stringFromCharCode(32);
  93816. } else {
  93817. end = t1._string_scanner$_position;
  93818. t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  93819. }
  93820. } else {
  93821. t7 = t3._contents += "\n";
  93822. t3._contents = t7 + " * ";
  93823. }
  93824. for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i)
  93825. t3._contents += A.Primitives_stringFromCharCode(32);
  93826. $label0$1:
  93827. for (; t1._string_scanner$_position !== t6;)
  93828. switch (t1.peekChar$0()) {
  93829. case 10:
  93830. case 13:
  93831. case 12:
  93832. break $label0$1;
  93833. case 35:
  93834. if (t1.peekChar$1(1) === 123) {
  93835. t7 = _this.singleInterpolation$0();
  93836. buffer._interpolation_buffer0$_flushText$0();
  93837. t4.push(t7);
  93838. } else
  93839. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  93840. break;
  93841. default:
  93842. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  93843. break;
  93844. }
  93845. if (_this._sass0$_peekIndentation$0() <= parentIndentation)
  93846. break;
  93847. for (; _this._sass0$_lookingAtDoubleNewline$0();) {
  93848. _this._sass0$_expectNewline$0();
  93849. t7 = t3._contents += "\n";
  93850. t3._contents = t7 + " *";
  93851. }
  93852. _this._sass0$_readIndentation$0();
  93853. }
  93854. t4 = t3._contents;
  93855. if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
  93856. t3._contents += " */";
  93857. return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  93858. },
  93859. whitespaceWithoutComments$0() {
  93860. var t1, t2, next;
  93861. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  93862. next = t1.peekChar$0();
  93863. if (next !== 9 && next !== 32)
  93864. break;
  93865. t1.readChar$0();
  93866. }
  93867. },
  93868. loudComment$0() {
  93869. var next,
  93870. t1 = this.scanner;
  93871. t1.expect$1("/*");
  93872. for (; true;) {
  93873. next = t1.readChar$0();
  93874. if (next === 10 || next === 13 || next === 12)
  93875. t1.error$1(0, "expected */.");
  93876. if (next !== 42)
  93877. continue;
  93878. do
  93879. next = t1.readChar$0();
  93880. while (next === 42);
  93881. if (next === 47)
  93882. break;
  93883. }
  93884. },
  93885. _sass0$_expectNewline$0() {
  93886. var t1 = this.scanner;
  93887. switch (t1.peekChar$0()) {
  93888. case 59:
  93889. t1.error$1(0, string$.semico);
  93890. break;
  93891. case 13:
  93892. t1.readChar$0();
  93893. if (t1.peekChar$0() === 10)
  93894. t1.readChar$0();
  93895. return;
  93896. case 10:
  93897. case 12:
  93898. t1.readChar$0();
  93899. return;
  93900. default:
  93901. t1.error$1(0, "expected newline.");
  93902. }
  93903. },
  93904. _sass0$_lookingAtDoubleNewline$0() {
  93905. var nextChar,
  93906. t1 = this.scanner;
  93907. switch (t1.peekChar$0()) {
  93908. case 13:
  93909. nextChar = t1.peekChar$1(1);
  93910. if (nextChar === 10) {
  93911. t1 = t1.peekChar$1(2);
  93912. return t1 === 10 || t1 === 13 || t1 === 12;
  93913. }
  93914. return nextChar === 13 || nextChar === 12;
  93915. case 10:
  93916. case 12:
  93917. t1 = t1.peekChar$1(1);
  93918. return t1 === 10 || t1 === 13 || t1 === 12;
  93919. default:
  93920. return false;
  93921. }
  93922. },
  93923. _sass0$_whileIndentedLower$1(body) {
  93924. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  93925. parentIndentation = _this._sass0$_currentIndentation;
  93926. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
  93927. indentation = _this._sass0$_readIndentation$0();
  93928. if (childIndentation == null)
  93929. childIndentation = indentation;
  93930. if (childIndentation !== indentation) {
  93931. t3 = t1._string_scanner$_position;
  93932. t4 = t2.getColumn$1(t3);
  93933. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  93934. }
  93935. body.call$0();
  93936. }
  93937. },
  93938. _sass0$_readIndentation$0() {
  93939. var t1, _this = this,
  93940. currentIndentation = _this._sass0$_nextIndentation;
  93941. if (currentIndentation == null)
  93942. currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
  93943. _this._sass0$_currentIndentation = currentIndentation;
  93944. t1 = _this._sass0$_nextIndentationEnd;
  93945. t1.toString;
  93946. _this.scanner.set$state(t1);
  93947. _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
  93948. return currentIndentation;
  93949. },
  93950. _sass0$_peekIndentation$0() {
  93951. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
  93952. cached = _this._sass0$_nextIndentation;
  93953. if (cached != null)
  93954. return cached;
  93955. t1 = _this.scanner;
  93956. t2 = t1._string_scanner$_position;
  93957. t3 = t1.string.length;
  93958. if (t2 === t3) {
  93959. _this._sass0$_nextIndentation = 0;
  93960. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  93961. return 0;
  93962. }
  93963. start = new A._SpanScannerState(t1, t2);
  93964. if (!_this.scanCharIf$1(A.character0__isNewline$closure()))
  93965. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  93966. containsTab = A._Cell$();
  93967. containsSpace = A._Cell$();
  93968. nextIndentation = A._Cell$();
  93969. t2 = nextIndentation.__late_helper$_name;
  93970. do {
  93971. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  93972. nextIndentation.__late_helper$_value = 0;
  93973. for (; true;) {
  93974. next = t1.peekChar$0();
  93975. if (next === 32)
  93976. containsSpace.__late_helper$_value = true;
  93977. else if (next === 9)
  93978. containsTab.__late_helper$_value = true;
  93979. else
  93980. break;
  93981. t4 = nextIndentation.__late_helper$_value;
  93982. if (t4 === nextIndentation)
  93983. A.throwExpression(A.LateError$localNI(t2));
  93984. nextIndentation.__late_helper$_value = t4 + 1;
  93985. t1.readChar$0();
  93986. }
  93987. t4 = t1._string_scanner$_position;
  93988. if (t4 === t3) {
  93989. _this._sass0$_nextIndentation = 0;
  93990. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t4);
  93991. t1.set$state(start);
  93992. return 0;
  93993. }
  93994. } while (_this.scanCharIf$1(A.character0__isNewline$closure()));
  93995. t2 = containsTab._readLocal$0();
  93996. t3 = containsSpace._readLocal$0();
  93997. if (t2) {
  93998. if (t3) {
  93999. t2 = t1._string_scanner$_position;
  94000. t3 = t1._sourceFile;
  94001. t4 = t3.getColumn$1(t2);
  94002. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  94003. } else if (_this._sass0$_spaces === true) {
  94004. t2 = t1._string_scanner$_position;
  94005. t3 = t1._sourceFile;
  94006. t4 = t3.getColumn$1(t2);
  94007. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  94008. }
  94009. } else if (t3 && _this._sass0$_spaces === false) {
  94010. t2 = t1._string_scanner$_position;
  94011. t3 = t1._sourceFile;
  94012. t4 = t3.getColumn$1(t2);
  94013. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  94014. }
  94015. _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
  94016. if (nextIndentation._readLocal$0() > 0)
  94017. if (_this._sass0$_spaces == null)
  94018. _this._sass0$_spaces = containsSpace._readLocal$0();
  94019. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94020. t1.set$state(start);
  94021. return nextIndentation._readLocal$0();
  94022. }
  94023. };
  94024. A.SassParser_children_closure0.prototype = {
  94025. call$0() {
  94026. var parsedChild = this.$this._sass0$_child$1(this.child);
  94027. if (parsedChild != null)
  94028. this.children.push(parsedChild);
  94029. },
  94030. $signature: 0
  94031. };
  94032. A._Exports.prototype = {};
  94033. A._wrapMain_closure.prototype = {
  94034. call$1(_) {
  94035. return A._translateReturnValue(this.main.call$0());
  94036. },
  94037. $signature: 99
  94038. };
  94039. A._wrapMain_closure0.prototype = {
  94040. call$1(args) {
  94041. return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
  94042. },
  94043. $signature: 99
  94044. };
  94045. A.ScssParser0.prototype = {
  94046. get$indented() {
  94047. return false;
  94048. },
  94049. get$currentIndentation() {
  94050. return 0;
  94051. },
  94052. styleRuleSelector$0() {
  94053. return this.almostAnyValue$0();
  94054. },
  94055. expectStatementSeparator$1($name) {
  94056. var t1, next;
  94057. this.whitespaceWithoutComments$0();
  94058. t1 = this.scanner;
  94059. if (t1._string_scanner$_position === t1.string.length)
  94060. return;
  94061. next = t1.peekChar$0();
  94062. if (next === 59 || next === 125)
  94063. return;
  94064. t1.expectChar$1(59);
  94065. },
  94066. expectStatementSeparator$0() {
  94067. return this.expectStatementSeparator$1(null);
  94068. },
  94069. atEndOfStatement$0() {
  94070. var next = this.scanner.peekChar$0();
  94071. return next == null || next === 59 || next === 125 || next === 123;
  94072. },
  94073. lookingAtChildren$0() {
  94074. return this.scanner.peekChar$0() === 123;
  94075. },
  94076. scanElse$1(ifIndentation) {
  94077. var t3, _this = this,
  94078. t1 = _this.scanner,
  94079. t2 = t1._string_scanner$_position;
  94080. _this.whitespace$0();
  94081. t3 = t1._string_scanner$_position;
  94082. if (t1.scanChar$1(64)) {
  94083. if (_this.scanIdentifier$2$caseSensitive("else", true))
  94084. return true;
  94085. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  94086. A.WarnForDeprecation_warnForDeprecation0(_this.logger, B.Deprecation_elseif_false_elseif, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3)), null);
  94087. t1.set$position(t1._string_scanner$_position - 2);
  94088. return true;
  94089. }
  94090. }
  94091. t1.set$state(new A._SpanScannerState(t1, t2));
  94092. return false;
  94093. },
  94094. children$1(_, child) {
  94095. var children, _this = this,
  94096. t1 = _this.scanner;
  94097. t1.expectChar$1(123);
  94098. _this.whitespaceWithoutComments$0();
  94099. children = A._setArrayType([], type$.JSArray_Statement_2);
  94100. for (; true;)
  94101. switch (t1.peekChar$0()) {
  94102. case 36:
  94103. children.push(_this.variableDeclarationWithoutNamespace$0());
  94104. break;
  94105. case 47:
  94106. switch (t1.peekChar$1(1)) {
  94107. case 47:
  94108. children.push(_this._scss0$_silentComment$0());
  94109. _this.whitespaceWithoutComments$0();
  94110. break;
  94111. case 42:
  94112. children.push(_this._scss0$_loudComment$0());
  94113. _this.whitespaceWithoutComments$0();
  94114. break;
  94115. default:
  94116. children.push(child.call$0());
  94117. break;
  94118. }
  94119. break;
  94120. case 59:
  94121. t1.readChar$0();
  94122. _this.whitespaceWithoutComments$0();
  94123. break;
  94124. case 125:
  94125. t1.expectChar$1(125);
  94126. return children;
  94127. default:
  94128. children.push(child.call$0());
  94129. break;
  94130. }
  94131. },
  94132. statements$1(statement) {
  94133. var t1, t2, child, _this = this,
  94134. statements = A._setArrayType([], type$.JSArray_Statement_2);
  94135. _this.whitespaceWithoutComments$0();
  94136. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  94137. switch (t1.peekChar$0()) {
  94138. case 36:
  94139. statements.push(_this.variableDeclarationWithoutNamespace$0());
  94140. break;
  94141. case 47:
  94142. switch (t1.peekChar$1(1)) {
  94143. case 47:
  94144. statements.push(_this._scss0$_silentComment$0());
  94145. _this.whitespaceWithoutComments$0();
  94146. break;
  94147. case 42:
  94148. statements.push(_this._scss0$_loudComment$0());
  94149. _this.whitespaceWithoutComments$0();
  94150. break;
  94151. default:
  94152. child = statement.call$0();
  94153. if (child != null)
  94154. statements.push(child);
  94155. break;
  94156. }
  94157. break;
  94158. case 59:
  94159. t1.readChar$0();
  94160. _this.whitespaceWithoutComments$0();
  94161. break;
  94162. default:
  94163. child = statement.call$0();
  94164. if (child != null)
  94165. statements.push(child);
  94166. break;
  94167. }
  94168. return statements;
  94169. },
  94170. _scss0$_silentComment$0() {
  94171. var t2, t3, _this = this,
  94172. t1 = _this.scanner,
  94173. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94174. t1.expect$1("//");
  94175. t2 = t1.string.length;
  94176. do {
  94177. while (true) {
  94178. if (t1._string_scanner$_position !== t2) {
  94179. t3 = t1.readChar$0();
  94180. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  94181. } else
  94182. t3 = false;
  94183. if (!t3)
  94184. break;
  94185. }
  94186. if (t1._string_scanner$_position === t2)
  94187. break;
  94188. _this.spaces$0();
  94189. } while (t1.scan$1("//"));
  94190. if (_this.get$plainCss())
  94191. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  94192. return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  94193. },
  94194. _scss0$_loudComment$0() {
  94195. var t3, t4, buffer, t5, endPosition, t6, result,
  94196. t1 = this.scanner,
  94197. t2 = t1._string_scanner$_position;
  94198. t1.expect$1("/*");
  94199. t3 = new A.StringBuffer("");
  94200. t4 = A._setArrayType([], type$.JSArray_Object);
  94201. buffer = new A.InterpolationBuffer0(t3, t4);
  94202. t3._contents = "" + "/*";
  94203. for (; true;)
  94204. switch (t1.peekChar$0()) {
  94205. case 35:
  94206. if (t1.peekChar$1(1) === 123) {
  94207. t5 = this.singleInterpolation$0();
  94208. buffer._interpolation_buffer0$_flushText$0();
  94209. t4.push(t5);
  94210. } else
  94211. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  94212. break;
  94213. case 42:
  94214. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  94215. if (t1.peekChar$0() !== 47)
  94216. break;
  94217. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  94218. endPosition = t1._string_scanner$_position;
  94219. t5 = t1._sourceFile;
  94220. t6 = new A._SpanScannerState(t1, t2).position;
  94221. t1 = new A._FileSpan(t5, t6, endPosition);
  94222. t1._FileSpan$3(t5, t6, endPosition);
  94223. t6 = type$.Object;
  94224. t5 = A.List_List$of(t4, true, t6);
  94225. t2 = t3._contents;
  94226. if (t2.length !== 0)
  94227. t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  94228. result = A.List_List$from(t5, false, t6);
  94229. result.fixed$length = Array;
  94230. result.immutable$list = Array;
  94231. t2 = new A.Interpolation0(result, t1);
  94232. t2.Interpolation$20(t5, t1);
  94233. return new A.LoudComment0(t2);
  94234. case 13:
  94235. t1.readChar$0();
  94236. if (t1.peekChar$0() !== 10)
  94237. t3._contents += A.Primitives_stringFromCharCode(10);
  94238. break;
  94239. case 12:
  94240. t1.readChar$0();
  94241. t3._contents += A.Primitives_stringFromCharCode(10);
  94242. break;
  94243. default:
  94244. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  94245. break;
  94246. }
  94247. }
  94248. };
  94249. A.Selector0.prototype = {
  94250. assertNotBogus$1$name($name) {
  94251. var t1;
  94252. if (!this.accept$1(B._IsBogusVisitor_true0))
  94253. return;
  94254. t1 = this.toString$0(0);
  94255. A.EvaluationContext_current0().warn$2(0, "$" + $name + ": " + (t1 + string$.x20is_nov), B.Deprecation_XV6);
  94256. },
  94257. toString$0(_) {
  94258. var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  94259. this.accept$1(visitor);
  94260. return visitor._serialize0$_buffer.toString$0(0);
  94261. },
  94262. $isAstNode0: 1,
  94263. get$span(receiver) {
  94264. return this.span;
  94265. }
  94266. };
  94267. A._IsInvisibleVisitor2.prototype = {
  94268. visitSelectorList$1(list) {
  94269. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  94270. },
  94271. visitComplexSelector$1(complex) {
  94272. var t1;
  94273. if (!this.super$AnySelectorVisitor$visitComplexSelector0(complex))
  94274. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false0);
  94275. else
  94276. t1 = true;
  94277. return t1;
  94278. },
  94279. visitPlaceholderSelector$1(placeholder) {
  94280. return true;
  94281. },
  94282. visitPseudoSelector$1(pseudo) {
  94283. var t1,
  94284. selector = pseudo.selector;
  94285. if (selector == null)
  94286. return false;
  94287. if (pseudo.name === "not")
  94288. t1 = this.includeBogus && selector.accept$1(B._IsBogusVisitor_true0);
  94289. else
  94290. t1 = this.visitSelectorList$1(selector);
  94291. return t1;
  94292. }
  94293. };
  94294. A._IsBogusVisitor0.prototype = {
  94295. visitComplexSelector$1(complex) {
  94296. var t2, t3,
  94297. t1 = complex.components;
  94298. if (t1.length === 0)
  94299. return complex.leadingCombinators.length !== 0;
  94300. else {
  94301. t2 = complex.leadingCombinators;
  94302. t3 = this.includeLeadingCombinator ? 0 : 1;
  94303. 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));
  94304. }
  94305. },
  94306. visitPseudoSelector$1(pseudo) {
  94307. var selector = pseudo.selector;
  94308. if (selector == null)
  94309. return false;
  94310. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false0) : selector.accept$1(B._IsBogusVisitor_true0);
  94311. }
  94312. };
  94313. A._IsBogusVisitor_visitComplexSelector_closure0.prototype = {
  94314. call$1(component) {
  94315. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  94316. },
  94317. $signature: 47
  94318. };
  94319. A._IsUselessVisitor0.prototype = {
  94320. visitComplexSelector$1(complex) {
  94321. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure0(this));
  94322. },
  94323. visitPseudoSelector$1(pseudo) {
  94324. return pseudo.accept$1(B._IsBogusVisitor_true0);
  94325. }
  94326. };
  94327. A._IsUselessVisitor_visitComplexSelector_closure0.prototype = {
  94328. call$1(component) {
  94329. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  94330. },
  94331. $signature: 47
  94332. };
  94333. A.__IsBogusVisitor_Object_AnySelectorVisitor0.prototype = {};
  94334. A.__IsInvisibleVisitor_Object_AnySelectorVisitor0.prototype = {};
  94335. A.__IsUselessVisitor_Object_AnySelectorVisitor0.prototype = {};
  94336. A.SelectorExpression0.prototype = {
  94337. accept$1$1(visitor) {
  94338. return visitor.visitSelectorExpression$1(this);
  94339. },
  94340. accept$1(visitor) {
  94341. return this.accept$1$1(visitor, type$.dynamic);
  94342. },
  94343. toString$0(_) {
  94344. return "&";
  94345. },
  94346. $isExpression0: 1,
  94347. $isAstNode0: 1,
  94348. get$span(receiver) {
  94349. return this.span;
  94350. }
  94351. };
  94352. A._nest_closure0.prototype = {
  94353. call$1($arguments) {
  94354. var t1 = {},
  94355. selectors = J.$index$asx($arguments, 0).get$asList();
  94356. if (selectors.length === 0)
  94357. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  94358. t1.first = true;
  94359. 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();
  94360. },
  94361. $signature: 21
  94362. };
  94363. A._nest__closure1.prototype = {
  94364. call$1(selector) {
  94365. var t1 = this._box_0,
  94366. result = A.SassApiValue_assertSelector0(selector, !t1.first, null);
  94367. t1.first = false;
  94368. return result;
  94369. },
  94370. $signature: 239
  94371. };
  94372. A._nest__closure2.prototype = {
  94373. call$2($parent, child) {
  94374. return child.resolveParentSelectors$1($parent);
  94375. },
  94376. $signature: 240
  94377. };
  94378. A._append_closure1.prototype = {
  94379. call$1($arguments) {
  94380. var selectors = J.$index$asx($arguments, 0).get$asList();
  94381. if (selectors.length === 0)
  94382. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  94383. 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();
  94384. },
  94385. $signature: 21
  94386. };
  94387. A._append__closure1.prototype = {
  94388. call$1(selector) {
  94389. return A.SassApiValue_assertSelector0(selector, false, null);
  94390. },
  94391. $signature: 239
  94392. };
  94393. A._append__closure2.prototype = {
  94394. call$2($parent, child) {
  94395. var t1 = child.components,
  94396. t2 = this.span;
  94397. 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);
  94398. },
  94399. $signature: 240
  94400. };
  94401. A._append___closure0.prototype = {
  94402. call$1(complex) {
  94403. var t1, component, newCompound, t2, t3;
  94404. if (complex.leadingCombinators.length !== 0)
  94405. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", null));
  94406. t1 = complex.components;
  94407. component = B.JSArray_methods.get$first(t1);
  94408. newCompound = A._prependParent0(component.selector);
  94409. if (newCompound == null)
  94410. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", null));
  94411. t2 = this.span;
  94412. t3 = A._setArrayType([new A.ComplexSelectorComponent0(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator_2), t2)], type$.JSArray_ComplexSelectorComponent_2);
  94413. B.JSArray_methods.addAll$1(t3, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
  94414. return A.ComplexSelector$0(B.List_empty14, t3, t2, false);
  94415. },
  94416. $signature: 58
  94417. };
  94418. A._extend_closure0.prototype = {
  94419. call$1($arguments) {
  94420. var target, source,
  94421. _s8_ = "selector",
  94422. _s8_0 = "extendee",
  94423. _s8_1 = "extender",
  94424. t1 = J.getInterceptor$asx($arguments),
  94425. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  94426. selector.assertNotBogus$1$name(_s8_);
  94427. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  94428. target.assertNotBogus$1$name(_s8_0);
  94429. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s8_1);
  94430. source.assertNotBogus$1$name(_s8_1);
  94431. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_allTargets_allTargets0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
  94432. },
  94433. $signature: 21
  94434. };
  94435. A._replace_closure0.prototype = {
  94436. call$1($arguments) {
  94437. var target, source,
  94438. _s8_ = "selector",
  94439. _s8_0 = "original",
  94440. _s11_ = "replacement",
  94441. t1 = J.getInterceptor$asx($arguments),
  94442. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  94443. selector.assertNotBogus$1$name(_s8_);
  94444. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  94445. target.assertNotBogus$1$name(_s8_0);
  94446. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s11_);
  94447. source.assertNotBogus$1$name(_s11_);
  94448. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_replace_replace0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
  94449. },
  94450. $signature: 21
  94451. };
  94452. A._unify_closure0.prototype = {
  94453. call$1($arguments) {
  94454. var selector2, result,
  94455. _s9_ = "selector1",
  94456. _s9_0 = "selector2",
  94457. t1 = J.getInterceptor$asx($arguments),
  94458. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s9_);
  94459. selector1.assertNotBogus$1$name(_s9_);
  94460. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s9_0);
  94461. selector2.assertNotBogus$1$name(_s9_0);
  94462. result = selector1.unify$1(selector2);
  94463. return result == null ? B.C__SassNull0 : result.get$asSassList();
  94464. },
  94465. $signature: 3
  94466. };
  94467. A._isSuperselector_closure0.prototype = {
  94468. call$1($arguments) {
  94469. var selector2,
  94470. t1 = J.getInterceptor$asx($arguments),
  94471. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, "super");
  94472. selector1.assertNotBogus$1$name("super");
  94473. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, "sub");
  94474. selector2.assertNotBogus$1$name("sub");
  94475. return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  94476. },
  94477. $signature: 20
  94478. };
  94479. A._simpleSelectors_closure0.prototype = {
  94480. call$1($arguments) {
  94481. var t1 = A.SassApiValue_assertCompoundSelector0(J.$index$asx($arguments, 0), "selector").components;
  94482. return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_rXA0, false);
  94483. },
  94484. $signature: 21
  94485. };
  94486. A._simpleSelectors__closure0.prototype = {
  94487. call$1(simple) {
  94488. return new A.SassString0(A.serializeSelector0(simple, true), false);
  94489. },
  94490. $signature: 512
  94491. };
  94492. A._parse_closure0.prototype = {
  94493. call$1($arguments) {
  94494. return A.SassApiValue_assertSelector0(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  94495. },
  94496. $signature: 21
  94497. };
  94498. A.SelectorParser0.prototype = {
  94499. parse$0() {
  94500. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
  94501. },
  94502. parseCompoundSelector$0() {
  94503. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
  94504. },
  94505. _selector$_selectorList$0() {
  94506. var t4, t5, lineBreak, _this = this,
  94507. t1 = _this.scanner,
  94508. t2 = t1._string_scanner$_position,
  94509. t3 = t1._sourceFile,
  94510. previousLine = t3.getLine$1(t2),
  94511. components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
  94512. _this.whitespace$0();
  94513. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  94514. _this.whitespace$0();
  94515. if (t1.peekChar$0() === 44)
  94516. continue;
  94517. t5 = t1._string_scanner$_position;
  94518. if (t5 === t4)
  94519. break;
  94520. lineBreak = t3.getLine$1(t5) !== previousLine;
  94521. if (lineBreak)
  94522. previousLine = t3.getLine$1(t1._string_scanner$_position);
  94523. components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
  94524. }
  94525. return A.SelectorList$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  94526. },
  94527. _selector$_complexSelector$1$lineBreak(lineBreak) {
  94528. var t4, t5, lastCompound, initialCombinators, next, t6, result, _this = this,
  94529. t1 = _this.scanner,
  94530. t2 = t1._string_scanner$_position,
  94531. componentStart = new A._SpanScannerState(t1, t2),
  94532. t3 = type$.JSArray_CssValue_Combinator_2,
  94533. combinators = A._setArrayType([], t3),
  94534. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  94535. $label0$1:
  94536. for (t4 = B.Set_6O95k._map, t5 = type$.CssValue_Combinator_2, lastCompound = null, initialCombinators = null; true;) {
  94537. _this.whitespace$0();
  94538. next = t1.peekChar$0();
  94539. switch (next) {
  94540. case 43:
  94541. t6 = t1._string_scanner$_position;
  94542. t1.readChar$0();
  94543. combinators.push(new A.CssValue0(B.Combinator_4QF0, _this.spanFrom$1(new A._SpanScannerState(t1, t6)), t5));
  94544. break;
  94545. case 62:
  94546. t6 = t1._string_scanner$_position;
  94547. t1.readChar$0();
  94548. combinators.push(new A.CssValue0(B.Combinator_Cht0, _this.spanFrom$1(new A._SpanScannerState(t1, t6)), t5));
  94549. break;
  94550. case 126:
  94551. t6 = t1._string_scanner$_position;
  94552. t1.readChar$0();
  94553. combinators.push(new A.CssValue0(B.Combinator_Htt0, _this.spanFrom$1(new A._SpanScannerState(t1, t6)), t5));
  94554. break;
  94555. default:
  94556. if (next != null)
  94557. t6 = !t4.containsKey$1(next) && !_this.lookingAtIdentifier$0();
  94558. else
  94559. t6 = true;
  94560. if (t6)
  94561. break $label0$1;
  94562. if (lastCompound != null) {
  94563. t6 = _this.spanFrom$1(componentStart);
  94564. result = A.List_List$from(combinators, false, t5);
  94565. result.fixed$length = Array;
  94566. result.immutable$list = Array;
  94567. components.push(new A.ComplexSelectorComponent0(lastCompound, result, t6));
  94568. } else if (combinators.length !== 0) {
  94569. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94570. initialCombinators = combinators;
  94571. }
  94572. lastCompound = _this._selector$_compoundSelector$0();
  94573. combinators = A._setArrayType([], t3);
  94574. if (t1.peekChar$0() === 38)
  94575. t1.error$1(0, string$.x22x26__ma);
  94576. break;
  94577. }
  94578. }
  94579. if (lastCompound != null) {
  94580. t3 = _this.spanFrom$1(componentStart);
  94581. components.push(new A.ComplexSelectorComponent0(lastCompound, A.List_List$unmodifiable(combinators, t5), t3));
  94582. } else if (combinators.length !== 0)
  94583. initialCombinators = combinators;
  94584. else
  94585. t1.error$1(0, "expected selector.");
  94586. t3 = initialCombinators == null ? B.List_empty14 : initialCombinators;
  94587. return A.ComplexSelector$0(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  94588. },
  94589. _selector$_complexSelector$0() {
  94590. return this._selector$_complexSelector$1$lineBreak(false);
  94591. },
  94592. _selector$_compoundSelector$0() {
  94593. var t3, _this = this,
  94594. t1 = _this.scanner,
  94595. t2 = t1._string_scanner$_position,
  94596. components = A._setArrayType([_this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2);
  94597. while (true) {
  94598. t3 = t1.peekChar$0();
  94599. if (!(t3 === 42 || t3 === 91 || t3 === 46 || t3 === 35 || t3 === 37 || t3 === 58))
  94600. break;
  94601. components.push(_this._selector$_simpleSelector$1$allowParent(false));
  94602. }
  94603. return A.CompoundSelector$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  94604. },
  94605. _selector$_simpleSelector$1$allowParent(allowParent) {
  94606. var t2, $name, text, t3, suffix, _this = this,
  94607. t1 = _this.scanner,
  94608. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94609. if (allowParent == null)
  94610. allowParent = _this._selector$_allowParent;
  94611. switch (t1.peekChar$0()) {
  94612. case 91:
  94613. return _this._selector$_attributeSelector$0();
  94614. case 46:
  94615. t2 = t1._string_scanner$_position;
  94616. t1.expectChar$1(46);
  94617. return new A.ClassSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  94618. case 35:
  94619. t2 = t1._string_scanner$_position;
  94620. t1.expectChar$1(35);
  94621. return new A.IDSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  94622. case 37:
  94623. t2 = t1._string_scanner$_position;
  94624. t1.expectChar$1(37);
  94625. $name = _this.identifier$0();
  94626. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  94627. if (!_this._selector$_allowPlaceholder)
  94628. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  94629. return new A.PlaceholderSelector0($name, t2);
  94630. case 58:
  94631. return _this._selector$_pseudoSelector$0();
  94632. case 38:
  94633. t2 = t1._string_scanner$_position;
  94634. t1.expectChar$1(38);
  94635. if (_this.lookingAtIdentifierBody$0()) {
  94636. text = new A.StringBuffer("");
  94637. _this._parser0$_identifierBody$1(text);
  94638. if (text._contents.length === 0)
  94639. t1.error$1(0, "Expected identifier body.");
  94640. t3 = text._contents;
  94641. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  94642. } else
  94643. suffix = null;
  94644. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  94645. if (!allowParent)
  94646. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  94647. return new A.ParentSelector0(suffix, t2);
  94648. default:
  94649. return _this._selector$_typeOrUniversalSelector$0();
  94650. }
  94651. },
  94652. _selector$_simpleSelector$0() {
  94653. return this._selector$_simpleSelector$1$allowParent(null);
  94654. },
  94655. _selector$_attributeSelector$0() {
  94656. var $name, operator, next, value, modifier, _this = this, _null = null,
  94657. t1 = _this.scanner,
  94658. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94659. t1.expectChar$1(91);
  94660. _this.whitespace$0();
  94661. $name = _this._selector$_attributeName$0();
  94662. _this.whitespace$0();
  94663. if (t1.scanChar$1(93))
  94664. return new A.AttributeSelector0($name, _null, _null, _null, _this.spanFrom$1(start));
  94665. operator = _this._selector$_attributeOperator$0();
  94666. _this.whitespace$0();
  94667. next = t1.peekChar$0();
  94668. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  94669. _this.whitespace$0();
  94670. next = t1.peekChar$0();
  94671. modifier = next != null && A.isAlphabetic1(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  94672. t1.expectChar$1(93);
  94673. return new A.AttributeSelector0($name, operator, value, modifier, _this.spanFrom$1(start));
  94674. },
  94675. _selector$_attributeName$0() {
  94676. var nameOrNamespace, _this = this,
  94677. t1 = _this.scanner;
  94678. if (t1.scanChar$1(42)) {
  94679. t1.expectChar$1(124);
  94680. return new A.QualifiedName0(_this.identifier$0(), "*");
  94681. }
  94682. if (t1.scanChar$1(124))
  94683. return new A.QualifiedName0(_this.identifier$0(), "");
  94684. nameOrNamespace = _this.identifier$0();
  94685. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  94686. return new A.QualifiedName0(nameOrNamespace, null);
  94687. t1.readChar$0();
  94688. return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
  94689. },
  94690. _selector$_attributeOperator$0() {
  94691. var t1 = this.scanner,
  94692. t2 = t1._string_scanner$_position;
  94693. switch (t1.readChar$0()) {
  94694. case 61:
  94695. return B.AttributeOperator_ES60;
  94696. case 126:
  94697. t1.expectChar$1(61);
  94698. return B.AttributeOperator_r600;
  94699. case 124:
  94700. t1.expectChar$1(61);
  94701. return B.AttributeOperator_ivT0;
  94702. case 94:
  94703. t1.expectChar$1(61);
  94704. return B.AttributeOperator_eot0;
  94705. case 36:
  94706. t1.expectChar$1(61);
  94707. return B.AttributeOperator_BGd0;
  94708. case 42:
  94709. t1.expectChar$1(61);
  94710. return B.AttributeOperator_8aB0;
  94711. default:
  94712. t1.error$2$position(0, 'Expected "]".', t2);
  94713. }
  94714. },
  94715. _selector$_pseudoSelector$0() {
  94716. var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
  94717. t1 = _this.scanner,
  94718. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94719. t1.expectChar$1(58);
  94720. element = t1.scanChar$1(58);
  94721. $name = _this.identifier$0();
  94722. if (!t1.scanChar$1(40))
  94723. return A.PseudoSelector$0($name, _this.spanFrom$1(start), _null, element, _null);
  94724. _this.whitespace$0();
  94725. unvendored = A.unvendor0($name);
  94726. if (element)
  94727. if ($._selectorPseudoElements0.contains$1(0, unvendored)) {
  94728. selector = _this._selector$_selectorList$0();
  94729. argument = _null;
  94730. } else {
  94731. argument = _this.declarationValue$1$allowEmpty(true);
  94732. selector = _null;
  94733. }
  94734. else if ($._selectorPseudoClasses0.contains$1(0, unvendored)) {
  94735. selector = _this._selector$_selectorList$0();
  94736. argument = _null;
  94737. } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  94738. argument = _this._selector$_aNPlusB$0();
  94739. _this.whitespace$0();
  94740. t2 = t1.peekChar$1(-1);
  94741. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  94742. _this.expectIdentifier$1("of");
  94743. argument += " of";
  94744. _this.whitespace$0();
  94745. selector = _this._selector$_selectorList$0();
  94746. } else
  94747. selector = _null;
  94748. } else {
  94749. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  94750. selector = _null;
  94751. }
  94752. t1.expectChar$1(41);
  94753. return A.PseudoSelector$0($name, _this.spanFrom$1(start), argument, element, selector);
  94754. },
  94755. _selector$_aNPlusB$0() {
  94756. var t2, first, t3, next, last, _this = this,
  94757. t1 = _this.scanner;
  94758. switch (t1.peekChar$0()) {
  94759. case 101:
  94760. case 69:
  94761. _this.expectIdentifier$1("even");
  94762. return "even";
  94763. case 111:
  94764. case 79:
  94765. _this.expectIdentifier$1("odd");
  94766. return "odd";
  94767. case 43:
  94768. case 45:
  94769. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  94770. break;
  94771. default:
  94772. t2 = "";
  94773. }
  94774. first = t1.peekChar$0();
  94775. if (first != null && A.isDigit0(first)) {
  94776. while (true) {
  94777. t3 = t1.peekChar$0();
  94778. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  94779. break;
  94780. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  94781. }
  94782. _this.whitespace$0();
  94783. if (!_this.scanIdentChar$1(110))
  94784. return t2.charCodeAt(0) == 0 ? t2 : t2;
  94785. } else
  94786. _this.expectIdentChar$1(110);
  94787. t2 += A.Primitives_stringFromCharCode(110);
  94788. _this.whitespace$0();
  94789. next = t1.peekChar$0();
  94790. if (next !== 43 && next !== 45)
  94791. return t2.charCodeAt(0) == 0 ? t2 : t2;
  94792. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  94793. _this.whitespace$0();
  94794. last = t1.peekChar$0();
  94795. if (last == null || !A.isDigit0(last))
  94796. t1.error$1(0, "Expected a number.");
  94797. while (true) {
  94798. t3 = t1.peekChar$0();
  94799. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  94800. break;
  94801. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  94802. }
  94803. return t2.charCodeAt(0) == 0 ? t2 : t2;
  94804. },
  94805. _selector$_typeOrUniversalSelector$0() {
  94806. var nameOrNamespace, _this = this,
  94807. t1 = _this.scanner,
  94808. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  94809. first = t1.peekChar$0();
  94810. if (first === 42) {
  94811. t1.readChar$0();
  94812. if (!t1.scanChar$1(124))
  94813. return new A.UniversalSelector0(null, _this.spanFrom$1(start));
  94814. if (t1.scanChar$1(42))
  94815. return new A.UniversalSelector0("*", _this.spanFrom$1(start));
  94816. else
  94817. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), "*"), _this.spanFrom$1(start));
  94818. } else if (first === 124) {
  94819. t1.readChar$0();
  94820. if (t1.scanChar$1(42))
  94821. return new A.UniversalSelector0("", _this.spanFrom$1(start));
  94822. else
  94823. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), ""), _this.spanFrom$1(start));
  94824. }
  94825. nameOrNamespace = _this.identifier$0();
  94826. if (!t1.scanChar$1(124))
  94827. return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null), _this.spanFrom$1(start));
  94828. else if (t1.scanChar$1(42))
  94829. return new A.UniversalSelector0(nameOrNamespace, _this.spanFrom$1(start));
  94830. else
  94831. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  94832. }
  94833. };
  94834. A.SelectorParser_parse_closure0.prototype = {
  94835. call$0() {
  94836. var t1 = this.$this,
  94837. selector = t1._selector$_selectorList$0();
  94838. t1 = t1.scanner;
  94839. if (t1._string_scanner$_position !== t1.string.length)
  94840. t1.error$1(0, "expected selector.");
  94841. return selector;
  94842. },
  94843. $signature: 513
  94844. };
  94845. A.SelectorParser_parseCompoundSelector_closure0.prototype = {
  94846. call$0() {
  94847. var t1 = this.$this,
  94848. compound = t1._selector$_compoundSelector$0();
  94849. t1 = t1.scanner;
  94850. if (t1._string_scanner$_position !== t1.string.length)
  94851. t1.error$1(0, "expected selector.");
  94852. return compound;
  94853. },
  94854. $signature: 514
  94855. };
  94856. A.SelectorSearchVisitor0.prototype = {
  94857. visitAttributeSelector$1(attribute) {
  94858. return null;
  94859. },
  94860. visitClassSelector$1(klass) {
  94861. return null;
  94862. },
  94863. visitIDSelector$1(id) {
  94864. return null;
  94865. },
  94866. visitPlaceholderSelector$1(placeholder) {
  94867. return null;
  94868. },
  94869. visitTypeSelector$1(type) {
  94870. return null;
  94871. },
  94872. visitUniversalSelector$1(universal) {
  94873. return null;
  94874. },
  94875. visitComplexSelector$1(complex) {
  94876. return A.IterableExtension_search0(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure0(this));
  94877. },
  94878. visitCompoundSelector$1(compound) {
  94879. return A.IterableExtension_search0(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure0(this));
  94880. },
  94881. visitPseudoSelector$1(pseudo) {
  94882. return A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  94883. },
  94884. visitSelectorList$1(list) {
  94885. return A.IterableExtension_search0(list.components, this.get$visitComplexSelector());
  94886. }
  94887. };
  94888. A.SelectorSearchVisitor_visitComplexSelector_closure0.prototype = {
  94889. call$1(component) {
  94890. return this.$this.visitCompoundSelector$1(component.selector);
  94891. },
  94892. $signature() {
  94893. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(ComplexSelectorComponent0)");
  94894. }
  94895. };
  94896. A.SelectorSearchVisitor_visitCompoundSelector_closure0.prototype = {
  94897. call$1(simple) {
  94898. return simple.accept$1(this.$this);
  94899. },
  94900. $signature() {
  94901. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(SimpleSelector0)");
  94902. }
  94903. };
  94904. A.serialize_closure0.prototype = {
  94905. call$1(codeUnit) {
  94906. return codeUnit > 127;
  94907. },
  94908. $signature: 51
  94909. };
  94910. A._SerializeVisitor0.prototype = {
  94911. visitCssStylesheet$1(node) {
  94912. var t1, t2, t3, t4, t5, t6, t7, t8, previous, previous0, t9, _this = this;
  94913. 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();) {
  94914. previous0 = t1.get$current(t1);
  94915. if (t2)
  94916. t9 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  94917. else
  94918. t9 = false;
  94919. if (t9)
  94920. continue;
  94921. if (previous != null) {
  94922. if (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous))
  94923. t7.writeCharCode$1(59);
  94924. if (_this._serialize0$_isTrailingComment$2(previous0, previous)) {
  94925. if (t4)
  94926. t7.writeCharCode$1(32);
  94927. } else {
  94928. if (t4)
  94929. t7.write$1(0, t8);
  94930. if (previous.get$isGroupEnd())
  94931. if (t4)
  94932. t7.write$1(0, t8);
  94933. }
  94934. }
  94935. previous0.accept$1(_this);
  94936. previous = previous0;
  94937. }
  94938. if (previous != null)
  94939. t1 = (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous)) && t4;
  94940. else
  94941. t1 = false;
  94942. if (t1)
  94943. t7.writeCharCode$1(59);
  94944. },
  94945. visitCssComment$1(node) {
  94946. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
  94947. },
  94948. visitCssAtRule$1(node) {
  94949. var t1, _this = this;
  94950. _this._serialize0$_writeIndentation$0();
  94951. t1 = _this._serialize0$_buffer;
  94952. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
  94953. if (!node.isChildless) {
  94954. if (_this._serialize0$_style !== B.OutputStyle_10)
  94955. t1.writeCharCode$1(32);
  94956. _this._serialize0$_visitChildren$1(node);
  94957. }
  94958. },
  94959. visitCssMediaRule$1(node) {
  94960. var t1, _this = this;
  94961. _this._serialize0$_writeIndentation$0();
  94962. t1 = _this._serialize0$_buffer;
  94963. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
  94964. if (_this._serialize0$_style !== B.OutputStyle_10)
  94965. t1.writeCharCode$1(32);
  94966. _this._serialize0$_visitChildren$1(node);
  94967. },
  94968. visitCssImport$1(node) {
  94969. this._serialize0$_writeIndentation$0();
  94970. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
  94971. },
  94972. _serialize0$_writeImportUrl$1(url) {
  94973. var urlContents, maybeQuote, _this = this;
  94974. if (_this._serialize0$_style !== B.OutputStyle_10 || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
  94975. _this._serialize0$_buffer.write$1(0, url);
  94976. return;
  94977. }
  94978. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  94979. maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
  94980. if (maybeQuote === 39 || maybeQuote === 34)
  94981. _this._serialize0$_buffer.write$1(0, urlContents);
  94982. else
  94983. _this._serialize0$_visitQuotedString$1(urlContents);
  94984. },
  94985. visitCssKeyframeBlock$1(node) {
  94986. var t1, _this = this;
  94987. _this._serialize0$_writeIndentation$0();
  94988. t1 = _this._serialize0$_buffer;
  94989. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
  94990. if (_this._serialize0$_style !== B.OutputStyle_10)
  94991. t1.writeCharCode$1(32);
  94992. _this._serialize0$_visitChildren$1(node);
  94993. },
  94994. _serialize0$_visitMediaQuery$1(query) {
  94995. var t2, condition, operator, t3, _this = this,
  94996. t1 = query.modifier;
  94997. if (t1 != null) {
  94998. t2 = _this._serialize0$_buffer;
  94999. t2.write$1(0, t1);
  95000. t2.writeCharCode$1(32);
  95001. }
  95002. t1 = query.type;
  95003. if (t1 != null) {
  95004. t2 = _this._serialize0$_buffer;
  95005. t2.write$1(0, t1);
  95006. if (query.conditions.length !== 0)
  95007. t2.write$1(0, " and ");
  95008. }
  95009. t1 = query.conditions;
  95010. if (t1.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t1), "(not ")) {
  95011. t2 = _this._serialize0$_buffer;
  95012. t2.write$1(0, "not ");
  95013. condition = B.JSArray_methods.get$first(t1);
  95014. t2.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  95015. } else {
  95016. operator = query.conjunction ? "and" : "or";
  95017. t2 = _this._serialize0$_style === B.OutputStyle_10 ? operator + " " : " " + operator + " ";
  95018. t3 = _this._serialize0$_buffer;
  95019. _this._serialize0$_writeBetween$3(t1, t2, t3.get$write(t3));
  95020. }
  95021. },
  95022. visitCssStyleRule$1(node) {
  95023. var t1, _this = this;
  95024. _this._serialize0$_writeIndentation$0();
  95025. t1 = _this._serialize0$_buffer;
  95026. t1.forSpan$2(node._style_rule0$_selector._box0$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
  95027. if (_this._serialize0$_style !== B.OutputStyle_10)
  95028. t1.writeCharCode$1(32);
  95029. _this._serialize0$_visitChildren$1(node);
  95030. },
  95031. visitCssSupportsRule$1(node) {
  95032. var t1, _this = this;
  95033. _this._serialize0$_writeIndentation$0();
  95034. t1 = _this._serialize0$_buffer;
  95035. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
  95036. if (_this._serialize0$_style !== B.OutputStyle_10)
  95037. t1.writeCharCode$1(32);
  95038. _this._serialize0$_visitChildren$1(node);
  95039. },
  95040. visitCssDeclaration$1(node) {
  95041. var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  95042. _this._serialize0$_writeIndentation$0();
  95043. t1 = node.name;
  95044. _this._serialize0$_write$1(t1);
  95045. t2 = _this._serialize0$_buffer;
  95046. t2.writeCharCode$1(58);
  95047. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  95048. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
  95049. else {
  95050. if (_this._serialize0$_style !== B.OutputStyle_10)
  95051. t2.writeCharCode$1(32);
  95052. try {
  95053. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
  95054. } catch (exception) {
  95055. t1 = A.unwrapException(exception);
  95056. if (t1 instanceof A.MultiSpanSassScriptException0) {
  95057. error = t1;
  95058. stackTrace = A.getTraceFromException(exception);
  95059. A.throwWithTrace0(A.MultiSpanSassException$0(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), stackTrace);
  95060. } else if (t1 instanceof A.SassScriptException0) {
  95061. error0 = t1;
  95062. stackTrace0 = A.getTraceFromException(exception);
  95063. t1 = error0.message;
  95064. A.throwWithTrace0(new A.SassException0(B.Set_empty, t1, node.value.span), stackTrace0);
  95065. } else
  95066. throw exception;
  95067. }
  95068. }
  95069. },
  95070. _serialize0$_writeFoldedValue$1(node) {
  95071. var t1, t2, next, t3,
  95072. scanner = A.StringScanner$(type$.SassString_2._as(node.value.value)._string0$_text, null, null);
  95073. for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
  95074. next = scanner.readChar$0();
  95075. if (next !== 10) {
  95076. t2.writeCharCode$1(next);
  95077. continue;
  95078. }
  95079. t2.writeCharCode$1(32);
  95080. while (true) {
  95081. t3 = scanner.peekChar$0();
  95082. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  95083. break;
  95084. scanner.readChar$0();
  95085. }
  95086. }
  95087. },
  95088. _serialize0$_writeReindentedValue$1(node) {
  95089. var t1, _this = this,
  95090. value = type$.SassString_2._as(node.value.value)._string0$_text,
  95091. minimumIndentation = _this._serialize0$_minimumIndentation$1(value);
  95092. if (minimumIndentation == null) {
  95093. _this._serialize0$_buffer.write$1(0, value);
  95094. return;
  95095. } else if (minimumIndentation === -1) {
  95096. t1 = _this._serialize0$_buffer;
  95097. t1.write$1(0, A.trimAsciiRight0(value, true));
  95098. t1.writeCharCode$1(32);
  95099. return;
  95100. }
  95101. t1 = node.name.span;
  95102. t1 = t1.get$start(t1);
  95103. _this._serialize0$_writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
  95104. },
  95105. _serialize0$_minimumIndentation$1(text) {
  95106. var character, t2, min, next, min0,
  95107. scanner = A.LineScanner$(text),
  95108. t1 = scanner.string.length;
  95109. while (true) {
  95110. if (scanner._string_scanner$_position !== t1) {
  95111. character = scanner.super$StringScanner$readChar();
  95112. scanner._adjustLineAndColumn$1(character);
  95113. t2 = character !== 10;
  95114. } else
  95115. t2 = false;
  95116. if (!t2)
  95117. break;
  95118. }
  95119. if (scanner._string_scanner$_position === t1)
  95120. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  95121. for (min = null; scanner._string_scanner$_position !== t1;) {
  95122. for (; scanner._string_scanner$_position !== t1;) {
  95123. next = scanner.peekChar$0();
  95124. if (next !== 32 && next !== 9)
  95125. break;
  95126. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  95127. }
  95128. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  95129. continue;
  95130. min0 = scanner._line_scanner$_column;
  95131. min = min == null ? min0 : Math.min(min, min0);
  95132. while (true) {
  95133. if (scanner._string_scanner$_position !== t1) {
  95134. character = scanner.super$StringScanner$readChar();
  95135. scanner._adjustLineAndColumn$1(character);
  95136. t2 = character !== 10;
  95137. } else
  95138. t2 = false;
  95139. if (!t2)
  95140. break;
  95141. }
  95142. }
  95143. return min == null ? -1 : min;
  95144. },
  95145. _serialize0$_writeWithIndent$2(text, minimumIndentation) {
  95146. var t1, t2, t3, character, lineStart, newlines, end,
  95147. scanner = A.LineScanner$(text);
  95148. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
  95149. character = scanner.super$StringScanner$readChar();
  95150. scanner._adjustLineAndColumn$1(character);
  95151. if (character === 10)
  95152. break;
  95153. t3.writeCharCode$1(character);
  95154. }
  95155. for (; true;) {
  95156. lineStart = scanner._string_scanner$_position;
  95157. for (newlines = 1; true;) {
  95158. if (scanner._string_scanner$_position === t2) {
  95159. t3.writeCharCode$1(32);
  95160. return;
  95161. }
  95162. character = scanner.super$StringScanner$readChar();
  95163. scanner._adjustLineAndColumn$1(character);
  95164. if (character === 32 || character === 9)
  95165. continue;
  95166. if (character !== 10)
  95167. break;
  95168. lineStart = scanner._string_scanner$_position;
  95169. ++newlines;
  95170. }
  95171. this._serialize0$_writeTimes$2(10, newlines);
  95172. this._serialize0$_writeIndentation$0();
  95173. end = scanner._string_scanner$_position;
  95174. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  95175. for (; true;) {
  95176. if (scanner._string_scanner$_position === t2)
  95177. return;
  95178. character = scanner.super$StringScanner$readChar();
  95179. scanner._adjustLineAndColumn$1(character);
  95180. if (character === 10)
  95181. break;
  95182. t3.writeCharCode$1(character);
  95183. }
  95184. }
  95185. },
  95186. visitCalculation$1(value) {
  95187. var t2, _this = this,
  95188. t1 = _this._serialize0$_buffer;
  95189. t1.write$1(0, value.name);
  95190. t1.writeCharCode$1(40);
  95191. t2 = _this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  95192. _this._serialize0$_writeBetween$3(value.$arguments, t2, _this.get$_serialize0$_writeCalculationValue());
  95193. t1.writeCharCode$1(41);
  95194. },
  95195. _serialize0$_writeCalculationValue$1(value) {
  95196. var t1, t2, unit, left, parenthesizeLeft, operatorWhitespace, right, parenthesizeRight, _this = this;
  95197. if (value instanceof A.SassNumber0 && !isFinite(value._number1$_value)) {
  95198. t1 = J.getInterceptor$x(value);
  95199. if (t1.get$numeratorUnits(value).length > 1 || t1.get$denominatorUnits(value).length !== 0) {
  95200. if (!_this._serialize0$_inspect)
  95201. throw A.wrapException(A.SassScriptException$0(A.S(value) + " isn't a valid CSS value.", null));
  95202. _this._serialize0$_writeNumber$1(value._number1$_value);
  95203. _this._serialize0$_buffer.write$1(0, value.get$unitString());
  95204. return;
  95205. }
  95206. t2 = value._number1$_value;
  95207. if (t2 === 1 / 0)
  95208. _this._serialize0$_buffer.write$1(0, "infinity");
  95209. else if (t2 === -1 / 0)
  95210. _this._serialize0$_buffer.write$1(0, "-infinity");
  95211. else if (isNaN(t2))
  95212. _this._serialize0$_buffer.write$1(0, "NaN");
  95213. unit = A.IterableExtension_get_firstOrNull(t1.get$numeratorUnits(value));
  95214. if (unit != null) {
  95215. t1 = _this._serialize0$_style !== B.OutputStyle_10;
  95216. if (t1)
  95217. _this._serialize0$_buffer.writeCharCode$1(32);
  95218. t2 = _this._serialize0$_buffer;
  95219. t2.writeCharCode$1(42);
  95220. if (t1)
  95221. t2.writeCharCode$1(32);
  95222. t2.writeCharCode$1(49);
  95223. t2.write$1(0, unit);
  95224. }
  95225. } else if (value instanceof A.Value0)
  95226. value.accept$1(_this);
  95227. else if (value instanceof A.CalculationInterpolation0)
  95228. _this._serialize0$_buffer.write$1(0, value.value);
  95229. else if (value instanceof A.CalculationOperation0) {
  95230. left = value.left;
  95231. if (!(left instanceof A.CalculationInterpolation0))
  95232. parenthesizeLeft = left instanceof A.CalculationOperation0 && left.operator.precedence < value.operator.precedence;
  95233. else
  95234. parenthesizeLeft = true;
  95235. if (parenthesizeLeft)
  95236. _this._serialize0$_buffer.writeCharCode$1(40);
  95237. _this._serialize0$_writeCalculationValue$1(left);
  95238. if (parenthesizeLeft)
  95239. _this._serialize0$_buffer.writeCharCode$1(41);
  95240. operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_10 || value.operator.precedence === 1;
  95241. if (operatorWhitespace)
  95242. _this._serialize0$_buffer.writeCharCode$1(32);
  95243. t1 = _this._serialize0$_buffer;
  95244. t2 = value.operator;
  95245. t1.write$1(0, t2.operator);
  95246. if (operatorWhitespace)
  95247. t1.writeCharCode$1(32);
  95248. right = value.right;
  95249. if (!(right instanceof A.CalculationInterpolation0))
  95250. if (!(right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(t2, right.operator))) {
  95251. t2 = t2 === B.CalculationOperator_OvN0 && right instanceof A.SassNumber0 && !isFinite(right._number1$_value) && right.get$hasUnits();
  95252. parenthesizeRight = t2;
  95253. } else
  95254. parenthesizeRight = true;
  95255. else
  95256. parenthesizeRight = true;
  95257. if (parenthesizeRight)
  95258. t1.writeCharCode$1(40);
  95259. _this._serialize0$_writeCalculationValue$1(right);
  95260. if (parenthesizeRight)
  95261. t1.writeCharCode$1(41);
  95262. }
  95263. },
  95264. _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
  95265. if (outer === B.CalculationOperator_OvN0)
  95266. return true;
  95267. if (outer === B.CalculationOperator_IyK0)
  95268. return false;
  95269. return right === B.CalculationOperator_IyK0 || right === B.CalculationOperator_2bx0;
  95270. },
  95271. _serialize0$_writeRgb$1(value) {
  95272. var t3,
  95273. t1 = value._color1$_alpha,
  95274. opaque = A.fuzzyEquals0(t1, 1),
  95275. t2 = this._serialize0$_buffer;
  95276. t2.write$1(0, opaque ? "rgb(" : "rgba(");
  95277. t2.write$1(0, value.get$red(value));
  95278. t3 = this._serialize0$_style === B.OutputStyle_10;
  95279. t2.write$1(0, t3 ? "," : ", ");
  95280. t2.write$1(0, value.get$green(value));
  95281. t2.write$1(0, t3 ? "," : ", ");
  95282. t2.write$1(0, value.get$blue(value));
  95283. if (!opaque) {
  95284. t2.write$1(0, t3 ? "," : ", ");
  95285. this._serialize0$_writeNumber$1(t1);
  95286. }
  95287. t2.writeCharCode$1(41);
  95288. },
  95289. _serialize0$_canUseShortHex$1(color) {
  95290. var t1 = color.get$red(color);
  95291. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  95292. t1 = color.get$green(color);
  95293. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  95294. t1 = color.get$blue(color);
  95295. t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
  95296. } else
  95297. t1 = false;
  95298. } else
  95299. t1 = false;
  95300. return t1;
  95301. },
  95302. _serialize0$_writeHexComponent$1(color) {
  95303. var t1 = this._serialize0$_buffer;
  95304. t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  95305. t1.writeCharCode$1(A.hexCharFor0(color & 15));
  95306. },
  95307. visitList$1(value) {
  95308. var t2, t3, singleton, t4, t5, _this = this,
  95309. t1 = value._list1$_hasBrackets;
  95310. if (t1)
  95311. _this._serialize0$_buffer.writeCharCode$1(91);
  95312. else if (value._list1$_contents.length === 0) {
  95313. if (!_this._serialize0$_inspect)
  95314. throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value.", null));
  95315. _this._serialize0$_buffer.write$1(0, "()");
  95316. return;
  95317. }
  95318. t2 = _this._serialize0$_inspect;
  95319. if (t2)
  95320. if (value._list1$_contents.length === 1) {
  95321. t3 = value._list1$_separator;
  95322. t3 = t3 === B.ListSeparator_rXA0 || t3 === B.ListSeparator_zg90;
  95323. singleton = t3;
  95324. } else
  95325. singleton = false;
  95326. else
  95327. singleton = false;
  95328. if (singleton && !t1)
  95329. _this._serialize0$_buffer.writeCharCode$1(40);
  95330. t3 = value._list1$_contents;
  95331. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  95332. t4 = value._list1$_separator;
  95333. t5 = _this._serialize0$_separatorString$1(t4);
  95334. _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
  95335. if (singleton) {
  95336. t2 = _this._serialize0$_buffer;
  95337. t2.write$1(0, t4.separator);
  95338. if (!t1)
  95339. t2.writeCharCode$1(41);
  95340. }
  95341. if (t1)
  95342. _this._serialize0$_buffer.writeCharCode$1(93);
  95343. },
  95344. _serialize0$_separatorString$1(separator) {
  95345. switch (separator) {
  95346. case B.ListSeparator_rXA0:
  95347. return this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  95348. case B.ListSeparator_zg90:
  95349. return this._serialize0$_style === B.OutputStyle_10 ? "/" : " / ";
  95350. case B.ListSeparator_EVt0:
  95351. return " ";
  95352. default:
  95353. return "";
  95354. }
  95355. },
  95356. _serialize0$_elementNeedsParens$2(separator, value) {
  95357. var t1;
  95358. if (value instanceof A.SassList0) {
  95359. if (value._list1$_contents.length < 2)
  95360. return false;
  95361. if (value._list1$_hasBrackets)
  95362. return false;
  95363. switch (separator) {
  95364. case B.ListSeparator_rXA0:
  95365. return value._list1$_separator === B.ListSeparator_rXA0;
  95366. case B.ListSeparator_zg90:
  95367. t1 = value._list1$_separator;
  95368. return t1 === B.ListSeparator_rXA0 || t1 === B.ListSeparator_zg90;
  95369. default:
  95370. return value._list1$_separator !== B.ListSeparator_undecided_null_undecided0;
  95371. }
  95372. }
  95373. return false;
  95374. },
  95375. visitMap$1(map) {
  95376. var t1, t2, _this = this;
  95377. if (!_this._serialize0$_inspect)
  95378. throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value.", null));
  95379. t1 = _this._serialize0$_buffer;
  95380. t1.writeCharCode$1(40);
  95381. t2 = map._map0$_contents;
  95382. _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
  95383. t1.writeCharCode$1(41);
  95384. },
  95385. _serialize0$_writeMapElement$1(value) {
  95386. var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_rXA0 && !value._list1$_hasBrackets;
  95387. if (needsParens)
  95388. this._serialize0$_buffer.writeCharCode$1(40);
  95389. value.accept$1(this);
  95390. if (needsParens)
  95391. this._serialize0$_buffer.writeCharCode$1(41);
  95392. },
  95393. visitNumber$1(value) {
  95394. var t1, _this = this,
  95395. asSlash = value.asSlash;
  95396. if (asSlash != null) {
  95397. _this.visitNumber$1(asSlash.item1);
  95398. _this._serialize0$_buffer.writeCharCode$1(47);
  95399. _this.visitNumber$1(asSlash.item2);
  95400. return;
  95401. }
  95402. t1 = value._number1$_value;
  95403. if (!isFinite(t1)) {
  95404. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  95405. return;
  95406. }
  95407. _this._serialize0$_writeNumber$1(t1);
  95408. if (!_this._serialize0$_inspect) {
  95409. if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
  95410. throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value.", null));
  95411. if (value.get$numeratorUnits(value).length !== 0)
  95412. _this._serialize0$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
  95413. } else
  95414. _this._serialize0$_buffer.write$1(0, value.get$unitString());
  95415. },
  95416. _serialize0$_writeNumber$1(number) {
  95417. var text, _this = this,
  95418. integer = A.fuzzyAsInt0(number);
  95419. if (integer != null) {
  95420. _this._serialize0$_buffer.write$1(0, _this._serialize0$_removeExponent$1(B.JSInt_methods.toString$0(integer)));
  95421. return;
  95422. }
  95423. text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
  95424. if (text.length < 12) {
  95425. if (_this._serialize0$_style === B.OutputStyle_10 && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
  95426. text = B.JSString_methods.substring$1(text, 1);
  95427. _this._serialize0$_buffer.write$1(0, text);
  95428. return;
  95429. }
  95430. _this._serialize0$_writeRounded$1(text);
  95431. },
  95432. _serialize0$_removeExponent$1(text) {
  95433. var buffer, t3, additionalZeroes,
  95434. t1 = B.JSString_methods._codeUnitAt$1(text, 0),
  95435. negative = t1 === 45,
  95436. exponent = A._Cell$(),
  95437. t2 = text.length,
  95438. i = 0;
  95439. while (true) {
  95440. if (!(i < t2)) {
  95441. buffer = null;
  95442. break;
  95443. }
  95444. c$0: {
  95445. if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
  95446. break c$0;
  95447. buffer = new A.StringBuffer("");
  95448. t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
  95449. if (negative) {
  95450. t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
  95451. buffer._contents = t1;
  95452. if (i > 3)
  95453. buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
  95454. } else if (i > 2)
  95455. buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
  95456. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
  95457. break;
  95458. }
  95459. ++i;
  95460. }
  95461. if (buffer == null)
  95462. return text;
  95463. if (exponent._readLocal$0() > 0) {
  95464. t1 = exponent._readLocal$0();
  95465. t2 = buffer._contents;
  95466. t3 = negative ? 1 : 0;
  95467. additionalZeroes = t1 - (t2.length - 1 - t3);
  95468. for (t1 = t2, i = 0; i < additionalZeroes; ++i)
  95469. t1 = buffer._contents += A.Primitives_stringFromCharCode(48);
  95470. return t1.charCodeAt(0) == 0 ? t1 : t1;
  95471. } else {
  95472. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  95473. t2 = exponent.__late_helper$_name;
  95474. i = -1;
  95475. while (true) {
  95476. t3 = exponent.__late_helper$_value;
  95477. if (t3 === exponent)
  95478. A.throwExpression(A.LateError$localNI(t2));
  95479. if (!(i > t3))
  95480. break;
  95481. t1 += A.Primitives_stringFromCharCode(48);
  95482. --i;
  95483. }
  95484. if (negative) {
  95485. t2 = buffer._contents;
  95486. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  95487. } else
  95488. t2 = buffer;
  95489. t2 = t1 + A.S(t2);
  95490. return t2.charCodeAt(0) == 0 ? t2 : t2;
  95491. }
  95492. },
  95493. _serialize0$_writeRounded$1(text) {
  95494. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
  95495. if (B.JSString_methods.endsWith$1(text, ".0")) {
  95496. _this._serialize0$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  95497. return;
  95498. }
  95499. t1 = text.length;
  95500. digits = new Uint8Array(t1 + 1);
  95501. negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
  95502. textIndex = negative ? 1 : 0;
  95503. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  95504. if (textIndex === t1) {
  95505. _this._serialize0$_buffer.write$1(0, text);
  95506. return;
  95507. }
  95508. textIndex0 = textIndex + 1;
  95509. codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
  95510. if (codeUnit === 46) {
  95511. textIndex = textIndex0;
  95512. break;
  95513. }
  95514. digitsIndex0 = digitsIndex + 1;
  95515. digits[digitsIndex] = codeUnit - 48;
  95516. }
  95517. indexAfterPrecision = textIndex + 10;
  95518. if (indexAfterPrecision >= t1) {
  95519. _this._serialize0$_buffer.write$1(0, text);
  95520. return;
  95521. }
  95522. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  95523. digitsIndex1 = digitsIndex0 + 1;
  95524. textIndex0 = textIndex + 1;
  95525. digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
  95526. }
  95527. if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
  95528. for (; true; digitsIndex0 = digitsIndex1) {
  95529. digitsIndex1 = digitsIndex0 - 1;
  95530. newDigit = digits[digitsIndex1] + 1;
  95531. digits[digitsIndex1] = newDigit;
  95532. if (newDigit !== 10)
  95533. break;
  95534. }
  95535. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  95536. digits[digitsIndex0] = 0;
  95537. while (true) {
  95538. t1 = digitsIndex0 > digitsIndex;
  95539. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  95540. break;
  95541. --digitsIndex0;
  95542. }
  95543. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  95544. _this._serialize0$_buffer.writeCharCode$1(48);
  95545. return;
  95546. }
  95547. if (negative)
  95548. _this._serialize0$_buffer.writeCharCode$1(45);
  95549. if (digits[0] === 0)
  95550. writtenIndex = _this._serialize0$_style === B.OutputStyle_10 && digits[1] === 0 ? 2 : 1;
  95551. else
  95552. writtenIndex = 0;
  95553. for (t2 = _this._serialize0$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
  95554. t2.writeCharCode$1(48 + digits[writtenIndex]);
  95555. if (t1) {
  95556. t2.writeCharCode$1(46);
  95557. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  95558. t2.writeCharCode$1(48 + digits[writtenIndex]);
  95559. }
  95560. },
  95561. _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  95562. var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
  95563. buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
  95564. if (forceDoubleQuote)
  95565. buffer.writeCharCode$1(34);
  95566. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  95567. char = B.JSString_methods._codeUnitAt$1(string, i);
  95568. switch (char) {
  95569. case 39:
  95570. if (forceDoubleQuote)
  95571. buffer.writeCharCode$1(39);
  95572. else {
  95573. if (includesDoubleQuote) {
  95574. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  95575. return;
  95576. } else
  95577. buffer.writeCharCode$1(39);
  95578. includesSingleQuote = true;
  95579. }
  95580. break;
  95581. case 34:
  95582. if (forceDoubleQuote) {
  95583. buffer.writeCharCode$1(92);
  95584. buffer.writeCharCode$1(34);
  95585. } else {
  95586. if (includesSingleQuote) {
  95587. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  95588. return;
  95589. } else
  95590. buffer.writeCharCode$1(34);
  95591. includesDoubleQuote = true;
  95592. }
  95593. break;
  95594. case 0:
  95595. case 1:
  95596. case 2:
  95597. case 3:
  95598. case 4:
  95599. case 5:
  95600. case 6:
  95601. case 7:
  95602. case 8:
  95603. case 10:
  95604. case 11:
  95605. case 12:
  95606. case 13:
  95607. case 14:
  95608. case 15:
  95609. case 16:
  95610. case 17:
  95611. case 18:
  95612. case 19:
  95613. case 20:
  95614. case 21:
  95615. case 22:
  95616. case 23:
  95617. case 24:
  95618. case 25:
  95619. case 26:
  95620. case 27:
  95621. case 28:
  95622. case 29:
  95623. case 30:
  95624. case 31:
  95625. _this._serialize0$_writeEscape$4(buffer, char, string, i);
  95626. break;
  95627. case 92:
  95628. buffer.writeCharCode$1(92);
  95629. buffer.writeCharCode$1(92);
  95630. break;
  95631. default:
  95632. newIndex = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
  95633. if (newIndex != null) {
  95634. i = newIndex;
  95635. break;
  95636. }
  95637. buffer.writeCharCode$1(char);
  95638. break;
  95639. }
  95640. }
  95641. if (forceDoubleQuote)
  95642. buffer.writeCharCode$1(34);
  95643. else {
  95644. quote = includesDoubleQuote ? 39 : 34;
  95645. t1 = _this._serialize0$_buffer;
  95646. t1.writeCharCode$1(quote);
  95647. t1.write$1(0, buffer);
  95648. t1.writeCharCode$1(quote);
  95649. }
  95650. },
  95651. _serialize0$_visitQuotedString$1(string) {
  95652. return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
  95653. },
  95654. _serialize0$_visitUnquotedString$1(string) {
  95655. var t1, t2, afterNewline, i, char, newIndex;
  95656. for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  95657. char = B.JSString_methods._codeUnitAt$1(string, i);
  95658. switch (char) {
  95659. case 10:
  95660. t2.writeCharCode$1(32);
  95661. afterNewline = true;
  95662. break;
  95663. case 32:
  95664. if (!afterNewline)
  95665. t2.writeCharCode$1(32);
  95666. break;
  95667. default:
  95668. newIndex = this._serialize0$_tryPrivateUseCharacter$4(t2, char, string, i);
  95669. if (newIndex != null) {
  95670. i = newIndex;
  95671. afterNewline = false;
  95672. break;
  95673. }
  95674. t2.writeCharCode$1(char);
  95675. afterNewline = false;
  95676. break;
  95677. }
  95678. }
  95679. },
  95680. _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  95681. var t1;
  95682. if (this._serialize0$_style === B.OutputStyle_10)
  95683. return null;
  95684. if (codeUnit >= 57344 && codeUnit <= 63743) {
  95685. this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
  95686. return i;
  95687. }
  95688. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  95689. t1 = i + 1;
  95690. this._serialize0$_writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
  95691. return t1;
  95692. }
  95693. return null;
  95694. },
  95695. _serialize0$_writeEscape$4(buffer, character, string, i) {
  95696. var t1, next;
  95697. buffer.writeCharCode$1(92);
  95698. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  95699. t1 = i + 1;
  95700. if (string.length === t1)
  95701. return;
  95702. next = B.JSString_methods._codeUnitAt$1(string, t1);
  95703. if (A.isHex0(next) || next === 32 || next === 9)
  95704. buffer.writeCharCode$1(32);
  95705. },
  95706. visitAttributeSelector$1(attribute) {
  95707. var value, t2,
  95708. t1 = this._serialize0$_buffer;
  95709. t1.writeCharCode$1(91);
  95710. t1.write$1(0, attribute.name);
  95711. value = attribute.value;
  95712. if (value != null) {
  95713. t1.write$1(0, attribute.op);
  95714. if (A.Parser_isIdentifier0(value) && !B.JSString_methods.startsWith$1(value, "--")) {
  95715. t1.write$1(0, value);
  95716. t2 = attribute.modifier;
  95717. if (t2 != null)
  95718. t1.writeCharCode$1(32);
  95719. } else {
  95720. this._serialize0$_visitQuotedString$1(value);
  95721. t2 = attribute.modifier;
  95722. if (t2 != null)
  95723. if (this._serialize0$_style !== B.OutputStyle_10)
  95724. t1.writeCharCode$1(32);
  95725. }
  95726. if (t2 != null)
  95727. t1.write$1(0, t2);
  95728. }
  95729. t1.writeCharCode$1(93);
  95730. },
  95731. visitClassSelector$1(klass) {
  95732. var t1 = this._serialize0$_buffer;
  95733. t1.writeCharCode$1(46);
  95734. t1.write$1(0, klass.name);
  95735. },
  95736. visitComplexSelector$1(complex) {
  95737. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  95738. t1 = complex.leadingCombinators;
  95739. _this._serialize0$_writeCombinators$1(t1);
  95740. if (t1.length !== 0 && complex.components.length !== 0)
  95741. if (_this._serialize0$_style !== B.OutputStyle_10)
  95742. _this._serialize0$_buffer.writeCharCode$1(32);
  95743. 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) {
  95744. component = t1[i];
  95745. _this.visitCompoundSelector$1(component.selector);
  95746. t7 = component.combinators;
  95747. t8 = t7.length === 0;
  95748. if (!t8)
  95749. if (t6)
  95750. t4.writeCharCode$1(32);
  95751. t9 = t5 ? "" : " ";
  95752. _this._serialize0$_writeBetween$3(t7, t9, t4.get$write(t4));
  95753. if (i !== t3)
  95754. t7 = !t5 || t8;
  95755. else
  95756. t7 = false;
  95757. if (t7)
  95758. t4.writeCharCode$1(32);
  95759. }
  95760. },
  95761. _serialize0$_writeCombinators$1(combinators) {
  95762. var t1 = this._serialize0$_style === B.OutputStyle_10 ? "" : " ",
  95763. t2 = this._serialize0$_buffer;
  95764. return this._serialize0$_writeBetween$3(combinators, t1, t2.get$write(t2));
  95765. },
  95766. visitCompoundSelector$1(compound) {
  95767. var t2, t3, _i,
  95768. t1 = this._serialize0$_buffer,
  95769. start = t1.get$length(t1);
  95770. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  95771. t2[_i].accept$1(this);
  95772. if (t1.get$length(t1) === start)
  95773. t1.writeCharCode$1(42);
  95774. },
  95775. visitIDSelector$1(id) {
  95776. var t1 = this._serialize0$_buffer;
  95777. t1.writeCharCode$1(35);
  95778. t1.write$1(0, id.name);
  95779. },
  95780. visitSelectorList$1(list) {
  95781. var t1, t2, t3, t4, first, t5, _this = this,
  95782. complexes = list.components;
  95783. 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();) {
  95784. t5 = t1.get$current(t1);
  95785. if (first)
  95786. first = false;
  95787. else {
  95788. t3.writeCharCode$1(44);
  95789. if (t5.lineBreak) {
  95790. if (t2)
  95791. t3.write$1(0, t4);
  95792. _this._serialize0$_writeIndentation$0();
  95793. } else if (t2)
  95794. t3.writeCharCode$1(32);
  95795. }
  95796. _this.visitComplexSelector$1(t5);
  95797. }
  95798. },
  95799. visitParentSelector$1($parent) {
  95800. var t2,
  95801. t1 = this._serialize0$_buffer;
  95802. t1.writeCharCode$1(38);
  95803. t2 = $parent.suffix;
  95804. if (t2 != null)
  95805. t1.write$1(0, t2);
  95806. },
  95807. visitPlaceholderSelector$1(placeholder) {
  95808. var t1 = this._serialize0$_buffer;
  95809. t1.writeCharCode$1(37);
  95810. t1.write$1(0, placeholder.name);
  95811. },
  95812. visitPseudoSelector$1(pseudo) {
  95813. var t3, t4, t5,
  95814. innerSelector = pseudo.selector,
  95815. t1 = innerSelector == null,
  95816. t2 = !t1;
  95817. if (t2 && pseudo.name === "not" && innerSelector.accept$1(B._IsInvisibleVisitor_true0))
  95818. return;
  95819. t3 = this._serialize0$_buffer;
  95820. t3.writeCharCode$1(58);
  95821. if (!pseudo.isSyntacticClass)
  95822. t3.writeCharCode$1(58);
  95823. t3.write$1(0, pseudo.name);
  95824. t4 = pseudo.argument;
  95825. t5 = t4 == null;
  95826. if (t5 && t1)
  95827. return;
  95828. t3.writeCharCode$1(40);
  95829. if (!t5) {
  95830. t3.write$1(0, t4);
  95831. if (t2)
  95832. t3.writeCharCode$1(32);
  95833. }
  95834. if (t2)
  95835. this.visitSelectorList$1(innerSelector);
  95836. t3.writeCharCode$1(41);
  95837. },
  95838. visitTypeSelector$1(type) {
  95839. this._serialize0$_buffer.write$1(0, type.name);
  95840. },
  95841. visitUniversalSelector$1(universal) {
  95842. var t2,
  95843. t1 = universal.namespace;
  95844. if (t1 != null) {
  95845. t2 = this._serialize0$_buffer;
  95846. t2.write$1(0, t1);
  95847. t2.writeCharCode$1(124);
  95848. }
  95849. this._serialize0$_buffer.writeCharCode$1(42);
  95850. },
  95851. _serialize0$_write$1(value) {
  95852. return this._serialize0$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure0(this, value));
  95853. },
  95854. _serialize0$_visitChildren$1($parent) {
  95855. var t2, t3, t4, t5, t6, t7, t8, t9, prePrevious, previous, t10, previous0, t11, savedIndentation, _this = this,
  95856. t1 = _this._serialize0$_buffer;
  95857. t1.writeCharCode$1(123);
  95858. 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();) {
  95859. t10 = t2.__internal$_current;
  95860. previous0 = t10 == null ? t6._as(t10) : t10;
  95861. if (t5)
  95862. t10 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  95863. else
  95864. t10 = false;
  95865. if (t10)
  95866. continue;
  95867. t10 = previous == null;
  95868. if (!t10)
  95869. t11 = t8._is(previous) ? previous.get$isChildless() : !t7._is(previous);
  95870. else
  95871. t11 = false;
  95872. if (t11)
  95873. t1.writeCharCode$1(59);
  95874. if (_this._serialize0$_isTrailingComment$2(previous0, t10 ? $parent : previous)) {
  95875. if (t4)
  95876. t1.writeCharCode$1(32);
  95877. savedIndentation = _this._serialize0$_indentation;
  95878. _this._serialize0$_indentation = 0;
  95879. new A._SerializeVisitor__visitChildren_closure1(_this, previous0).call$0();
  95880. _this._serialize0$_indentation = savedIndentation;
  95881. } else {
  95882. if (t4)
  95883. t1.write$1(0, t9);
  95884. ++_this._serialize0$_indentation;
  95885. new A._SerializeVisitor__visitChildren_closure2(_this, previous0).call$0();
  95886. --_this._serialize0$_indentation;
  95887. }
  95888. prePrevious = previous;
  95889. previous = previous0;
  95890. }
  95891. if (previous != null) {
  95892. if ((t8._is(previous) ? previous.get$isChildless() : !t7._is(previous)) && t4)
  95893. t1.writeCharCode$1(59);
  95894. if (prePrevious == null && _this._serialize0$_isTrailingComment$2(previous, $parent)) {
  95895. if (t4)
  95896. t1.writeCharCode$1(32);
  95897. } else {
  95898. _this._serialize0$_writeLineFeed$0();
  95899. _this._serialize0$_writeIndentation$0();
  95900. }
  95901. }
  95902. t1.writeCharCode$1(125);
  95903. },
  95904. _serialize0$_isTrailingComment$2(node, previous) {
  95905. var t1, t2, t3, searchFrom, endOffset, t4, span;
  95906. if (this._serialize0$_style === B.OutputStyle_10)
  95907. return false;
  95908. if (!type$.CssComment_2._is(node))
  95909. return false;
  95910. t1 = previous.get$span(previous);
  95911. t2 = node.span;
  95912. 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)) {
  95913. t1 = t2.get$start(t2);
  95914. t1 = t1.file.getLine$1(t1.offset);
  95915. t2 = previous.get$span(previous);
  95916. t2 = t2.get$end(t2);
  95917. return t1 === t2.file.getLine$1(t2.offset);
  95918. }
  95919. t1 = t2.get$start(t2);
  95920. t3 = previous.get$span(previous);
  95921. searchFrom = t1.offset - t3.get$start(t3).offset - 1;
  95922. if (searchFrom < 0)
  95923. return false;
  95924. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  95925. t1 = previous.get$span(previous);
  95926. t1 = t1.get$file(t1);
  95927. t3 = previous.get$span(previous);
  95928. t3 = t3.get$start(t3);
  95929. t4 = previous.get$span(previous);
  95930. span = t1.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  95931. t2 = t2.get$start(t2);
  95932. t2 = t2.file.getLine$1(t2.offset);
  95933. t4 = A.FileLocation$_(span.file, span._end);
  95934. return t2 === t4.file.getLine$1(t4.offset);
  95935. },
  95936. _serialize0$_writeLineFeed$0() {
  95937. if (this._serialize0$_style !== B.OutputStyle_10)
  95938. this._serialize0$_buffer.write$1(0, this._lineFeed.text);
  95939. },
  95940. _serialize0$_writeIndentation$0() {
  95941. var _this = this;
  95942. if (_this._serialize0$_style === B.OutputStyle_10)
  95943. return;
  95944. _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
  95945. },
  95946. _serialize0$_writeTimes$2(char, times) {
  95947. var t1, i;
  95948. for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
  95949. t1.writeCharCode$1(char);
  95950. },
  95951. _serialize0$_writeBetween$1$3(iterable, text, callback) {
  95952. var t1, t2, first, value;
  95953. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
  95954. value = t1.get$current(t1);
  95955. if (first)
  95956. first = false;
  95957. else
  95958. t2.write$1(0, text);
  95959. callback.call$1(value);
  95960. }
  95961. },
  95962. _serialize0$_writeBetween$3(iterable, text, callback) {
  95963. return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
  95964. }
  95965. };
  95966. A._SerializeVisitor_visitCssComment_closure0.prototype = {
  95967. call$0() {
  95968. var t2, t3, minimumIndentation,
  95969. t1 = this.$this;
  95970. if (t1._serialize0$_style === B.OutputStyle_10 && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
  95971. return;
  95972. t2 = this.node;
  95973. t3 = t2.text;
  95974. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  95975. return;
  95976. minimumIndentation = t1._serialize0$_minimumIndentation$1(t3);
  95977. if (minimumIndentation == null) {
  95978. t1._serialize0$_writeIndentation$0();
  95979. t1._serialize0$_buffer.write$1(0, t3);
  95980. return;
  95981. }
  95982. t2 = t2.span;
  95983. t2 = t2.get$start(t2);
  95984. minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
  95985. t1._serialize0$_writeIndentation$0();
  95986. t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
  95987. },
  95988. $signature: 1
  95989. };
  95990. A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
  95991. call$0() {
  95992. var t3, value,
  95993. t1 = this.$this,
  95994. t2 = t1._serialize0$_buffer;
  95995. t2.writeCharCode$1(64);
  95996. t3 = this.node;
  95997. t1._serialize0$_write$1(t3.name);
  95998. value = t3.value;
  95999. if (value != null) {
  96000. t2.writeCharCode$1(32);
  96001. t1._serialize0$_write$1(value);
  96002. }
  96003. },
  96004. $signature: 1
  96005. };
  96006. A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
  96007. call$0() {
  96008. var t3, firstQuery, t4, t5,
  96009. t1 = this.$this,
  96010. t2 = t1._serialize0$_buffer;
  96011. t2.write$1(0, "@media");
  96012. t3 = this.node.queries;
  96013. firstQuery = B.JSArray_methods.get$first(t3);
  96014. t4 = t1._serialize0$_style === B.OutputStyle_10;
  96015. if (t4)
  96016. if (firstQuery.modifier == null)
  96017. if (firstQuery.type == null) {
  96018. t5 = firstQuery.conditions;
  96019. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  96020. } else
  96021. t5 = true;
  96022. else
  96023. t5 = true;
  96024. else
  96025. t5 = true;
  96026. if (t5)
  96027. t2.writeCharCode$1(32);
  96028. t2 = t4 ? "," : ", ";
  96029. t1._serialize0$_writeBetween$3(t3, t2, t1.get$_serialize0$_visitMediaQuery());
  96030. },
  96031. $signature: 1
  96032. };
  96033. A._SerializeVisitor_visitCssImport_closure0.prototype = {
  96034. call$0() {
  96035. var t3, t4, modifiers,
  96036. t1 = this.$this,
  96037. t2 = t1._serialize0$_buffer;
  96038. t2.write$1(0, "@import");
  96039. t3 = t1._serialize0$_style !== B.OutputStyle_10;
  96040. if (t3)
  96041. t2.writeCharCode$1(32);
  96042. t4 = this.node;
  96043. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure0(t1, t4));
  96044. modifiers = t4.modifiers;
  96045. if (modifiers != null) {
  96046. if (t3)
  96047. t2.writeCharCode$1(32);
  96048. t2.write$1(0, modifiers);
  96049. }
  96050. },
  96051. $signature: 1
  96052. };
  96053. A._SerializeVisitor_visitCssImport__closure0.prototype = {
  96054. call$0() {
  96055. return this.$this._serialize0$_writeImportUrl$1(this.node.url.value);
  96056. },
  96057. $signature: 0
  96058. };
  96059. A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
  96060. call$0() {
  96061. var t1 = this.$this,
  96062. t2 = t1._serialize0$_style === B.OutputStyle_10 ? "," : ", ",
  96063. t3 = t1._serialize0$_buffer;
  96064. return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  96065. },
  96066. $signature: 0
  96067. };
  96068. A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
  96069. call$0() {
  96070. return this.$this.visitSelectorList$1(this.node._style_rule0$_selector._box0$_inner.value);
  96071. },
  96072. $signature: 0
  96073. };
  96074. A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
  96075. call$0() {
  96076. var t1 = this.$this,
  96077. t2 = t1._serialize0$_buffer;
  96078. t2.write$1(0, "@supports");
  96079. if (!(t1._serialize0$_style === B.OutputStyle_10 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  96080. t2.writeCharCode$1(32);
  96081. t1._serialize0$_write$1(this.node.condition);
  96082. },
  96083. $signature: 1
  96084. };
  96085. A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
  96086. call$0() {
  96087. var t1 = this.$this,
  96088. t2 = this.node;
  96089. if (t1._serialize0$_style === B.OutputStyle_10)
  96090. t1._serialize0$_writeFoldedValue$1(t2);
  96091. else
  96092. t1._serialize0$_writeReindentedValue$1(t2);
  96093. },
  96094. $signature: 1
  96095. };
  96096. A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
  96097. call$0() {
  96098. return this.node.value.value.accept$1(this.$this);
  96099. },
  96100. $signature: 0
  96101. };
  96102. A._SerializeVisitor_visitList_closure2.prototype = {
  96103. call$1(element) {
  96104. return !element.get$isBlank();
  96105. },
  96106. $signature: 46
  96107. };
  96108. A._SerializeVisitor_visitList_closure3.prototype = {
  96109. call$1(element) {
  96110. var t1 = this.$this,
  96111. needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
  96112. if (needsParens)
  96113. t1._serialize0$_buffer.writeCharCode$1(40);
  96114. element.accept$1(t1);
  96115. if (needsParens)
  96116. t1._serialize0$_buffer.writeCharCode$1(41);
  96117. },
  96118. $signature: 55
  96119. };
  96120. A._SerializeVisitor_visitList_closure4.prototype = {
  96121. call$1(element) {
  96122. element.accept$1(this.$this);
  96123. },
  96124. $signature: 55
  96125. };
  96126. A._SerializeVisitor_visitMap_closure0.prototype = {
  96127. call$1(entry) {
  96128. var t1 = this.$this;
  96129. t1._serialize0$_writeMapElement$1(entry.key);
  96130. t1._serialize0$_buffer.write$1(0, ": ");
  96131. t1._serialize0$_writeMapElement$1(entry.value);
  96132. },
  96133. $signature: 516
  96134. };
  96135. A._SerializeVisitor_visitSelectorList_closure0.prototype = {
  96136. call$1(complex) {
  96137. return !complex.accept$1(B._IsInvisibleVisitor_true0);
  96138. },
  96139. $signature: 15
  96140. };
  96141. A._SerializeVisitor__write_closure0.prototype = {
  96142. call$0() {
  96143. return this.$this._serialize0$_buffer.write$1(0, this.value.value);
  96144. },
  96145. $signature: 0
  96146. };
  96147. A._SerializeVisitor__visitChildren_closure1.prototype = {
  96148. call$0() {
  96149. return this.child.accept$1(this.$this);
  96150. },
  96151. $signature: 0
  96152. };
  96153. A._SerializeVisitor__visitChildren_closure2.prototype = {
  96154. call$0() {
  96155. this.child.accept$1(this.$this);
  96156. },
  96157. $signature: 0
  96158. };
  96159. A.OutputStyle0.prototype = {
  96160. _enumToString$0() {
  96161. return "OutputStyle." + this._name;
  96162. }
  96163. };
  96164. A.LineFeed0.prototype = {
  96165. _enumToString$0() {
  96166. return "LineFeed." + this._name;
  96167. },
  96168. toString$0(_) {
  96169. return this.name;
  96170. }
  96171. };
  96172. A.SerializeResult0.prototype = {};
  96173. A.ShadowedModuleView0.prototype = {
  96174. get$url(_) {
  96175. var t1 = this._shadowed_view0$_inner;
  96176. return t1.get$url(t1);
  96177. },
  96178. get$upstream() {
  96179. return this._shadowed_view0$_inner.get$upstream();
  96180. },
  96181. get$extensionStore() {
  96182. return this._shadowed_view0$_inner.get$extensionStore();
  96183. },
  96184. get$css(_) {
  96185. var t1 = this._shadowed_view0$_inner;
  96186. return t1.get$css(t1);
  96187. },
  96188. get$transitivelyContainsCss() {
  96189. return this._shadowed_view0$_inner.get$transitivelyContainsCss();
  96190. },
  96191. get$transitivelyContainsExtensions() {
  96192. return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
  96193. },
  96194. setVariable$3($name, value, nodeWithSpan) {
  96195. if (!this.variables.containsKey$1($name))
  96196. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  96197. else
  96198. return this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  96199. },
  96200. variableIdentity$1($name) {
  96201. return this._shadowed_view0$_inner.variableIdentity$1($name);
  96202. },
  96203. $eq(_, other) {
  96204. var t1, t2, _this = this;
  96205. if (other == null)
  96206. return false;
  96207. if (other instanceof A.ShadowedModuleView0)
  96208. if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
  96209. t1 = _this.variables;
  96210. t1 = t1.get$keys(t1);
  96211. t2 = other.variables;
  96212. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  96213. t1 = _this.functions;
  96214. t1 = t1.get$keys(t1);
  96215. t2 = other.functions;
  96216. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  96217. t1 = _this.mixins;
  96218. t1 = t1.get$keys(t1);
  96219. t2 = other.mixins;
  96220. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  96221. t1 = t2;
  96222. } else
  96223. t1 = false;
  96224. } else
  96225. t1 = false;
  96226. } else
  96227. t1 = false;
  96228. else
  96229. t1 = false;
  96230. return t1;
  96231. },
  96232. get$hashCode(_) {
  96233. var t1 = this._shadowed_view0$_inner;
  96234. return t1.get$hashCode(t1);
  96235. },
  96236. cloneCss$0() {
  96237. var _this = this;
  96238. return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  96239. },
  96240. toString$0(_) {
  96241. return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
  96242. },
  96243. $isModule0: 1,
  96244. get$variables() {
  96245. return this.variables;
  96246. },
  96247. get$variableNodes() {
  96248. return this.variableNodes;
  96249. },
  96250. get$functions(receiver) {
  96251. return this.functions;
  96252. },
  96253. get$mixins() {
  96254. return this.mixins;
  96255. }
  96256. };
  96257. A.SilentComment0.prototype = {
  96258. accept$1$1(visitor) {
  96259. return visitor.visitSilentComment$1(this);
  96260. },
  96261. accept$1(visitor) {
  96262. return this.accept$1$1(visitor, type$.dynamic);
  96263. },
  96264. toString$0(_) {
  96265. return this.text;
  96266. },
  96267. $isAstNode0: 1,
  96268. $isStatement0: 1,
  96269. get$span(receiver) {
  96270. return this.span;
  96271. }
  96272. };
  96273. A.SimpleSelector0.prototype = {
  96274. get$specificity() {
  96275. return 1000;
  96276. },
  96277. addSuffix$1(suffix) {
  96278. return A.throwExpression(A.MultiSpanSassException$0('Selector "' + this.toString$0(0) + "\" can't have a suffix", this.span, "outer selector", A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String), null));
  96279. },
  96280. unify$1(compound) {
  96281. var other, t1, result, addedThis, _i, simple, _this = this;
  96282. if (compound.length === 1) {
  96283. other = B.JSArray_methods.get$first(compound);
  96284. if (!(other instanceof A.UniversalSelector0))
  96285. if (other instanceof A.PseudoSelector0)
  96286. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  96287. else
  96288. t1 = false;
  96289. else
  96290. t1 = true;
  96291. if (t1)
  96292. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  96293. }
  96294. if (B.JSArray_methods.contains$1(compound, _this))
  96295. return compound;
  96296. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  96297. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  96298. simple = compound[_i];
  96299. if (!addedThis && simple instanceof A.PseudoSelector0) {
  96300. result.push(_this);
  96301. addedThis = true;
  96302. }
  96303. result.push(simple);
  96304. }
  96305. if (!addedThis)
  96306. result.push(_this);
  96307. return result;
  96308. },
  96309. isSuperselector$1(other) {
  96310. var list;
  96311. if (this.$eq(0, other))
  96312. return true;
  96313. if (other instanceof A.PseudoSelector0 && other.isClass) {
  96314. list = other.selector;
  96315. if (list != null && $._subselectorPseudos0.contains$1(0, other.normalizedName))
  96316. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure0(this));
  96317. }
  96318. return false;
  96319. }
  96320. };
  96321. A.SimpleSelector_isSuperselector_closure0.prototype = {
  96322. call$1(complex) {
  96323. var t1 = complex.components;
  96324. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure0(this.$this));
  96325. },
  96326. $signature: 15
  96327. };
  96328. A.SimpleSelector_isSuperselector__closure0.prototype = {
  96329. call$1(simple) {
  96330. return this.$this.isSuperselector$1(simple);
  96331. },
  96332. $signature: 14
  96333. };
  96334. A.SingleUnitSassNumber0.prototype = {
  96335. get$numeratorUnits(_) {
  96336. return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
  96337. },
  96338. get$denominatorUnits(_) {
  96339. return B.List_empty;
  96340. },
  96341. get$hasUnits() {
  96342. return true;
  96343. },
  96344. withValue$1(value) {
  96345. return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
  96346. },
  96347. withSlash$2(numerator, denominator) {
  96348. return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
  96349. },
  96350. hasUnit$1(unit) {
  96351. return unit === this._single_unit$_unit;
  96352. },
  96353. hasCompatibleUnits$1(other) {
  96354. return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
  96355. },
  96356. hasPossiblyCompatibleUnits$1(other) {
  96357. var t1, knownCompatibilities, otherUnit;
  96358. if (!(other instanceof A.SingleUnitSassNumber0))
  96359. return false;
  96360. t1 = $.$get$_knownCompatibilitiesByUnit0();
  96361. knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
  96362. if (knownCompatibilities == null)
  96363. return true;
  96364. otherUnit = other._single_unit$_unit.toLowerCase();
  96365. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  96366. },
  96367. compatibleWithUnit$1(unit) {
  96368. return A.conversionFactor0(this._single_unit$_unit, unit) != null;
  96369. },
  96370. coerceToMatch$3(other, $name, otherName) {
  96371. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  96372. return t1 == null ? this.super$SassNumber$coerceToMatch(other, $name, otherName) : t1;
  96373. },
  96374. coerceValueToMatch$3(other, $name, otherName) {
  96375. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  96376. return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
  96377. },
  96378. coerceValueToMatch$1(other) {
  96379. return this.coerceValueToMatch$3(other, null, null);
  96380. },
  96381. convertToMatch$3(other, $name, otherName) {
  96382. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  96383. return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
  96384. },
  96385. convertValueToMatch$3(other, $name, otherName) {
  96386. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  96387. return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
  96388. },
  96389. coerce$3(newNumerators, newDenominators, $name) {
  96390. var t1 = J.getInterceptor$asx(newNumerators);
  96391. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
  96392. return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
  96393. },
  96394. coerce$2(newNumerators, newDenominators) {
  96395. return this.coerce$3(newNumerators, newDenominators, null);
  96396. },
  96397. coerceValue$3(newNumerators, newDenominators, $name) {
  96398. var t1 = J.getInterceptor$asx(newNumerators);
  96399. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
  96400. return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
  96401. },
  96402. coerceValueToUnit$2(unit, $name) {
  96403. var t1 = this._single_unit$_coerceValueToUnit$1(unit);
  96404. return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
  96405. },
  96406. coerceValueToUnit$1(unit) {
  96407. return this.coerceValueToUnit$2(unit, null);
  96408. },
  96409. _single_unit$_coerceToUnit$1(unit) {
  96410. var t1 = this._single_unit$_unit;
  96411. if (t1 === unit)
  96412. return this;
  96413. return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
  96414. },
  96415. _single_unit$_coerceValueToUnit$1(unit) {
  96416. return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
  96417. },
  96418. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  96419. var mutableOtherDenominators, t1 = {};
  96420. t1.value = value;
  96421. t1.newNumerators = otherNumerators;
  96422. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  96423. A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
  96424. return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
  96425. },
  96426. unaryMinus$0() {
  96427. return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
  96428. },
  96429. $eq(_, other) {
  96430. var factor;
  96431. if (other == null)
  96432. return false;
  96433. if (other instanceof A.SingleUnitSassNumber0) {
  96434. factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
  96435. return factor != null && A.fuzzyEquals0(this._number1$_value * factor, other._number1$_value);
  96436. } else
  96437. return false;
  96438. },
  96439. get$hashCode(_) {
  96440. var _this = this,
  96441. t1 = _this.hashCache;
  96442. return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
  96443. }
  96444. };
  96445. A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
  96446. call$1(factor) {
  96447. return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
  96448. },
  96449. $signature: 517
  96450. };
  96451. A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
  96452. call$1(factor) {
  96453. return this.$this._number1$_value * factor;
  96454. },
  96455. $signature: 32
  96456. };
  96457. A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
  96458. call$1(denominator) {
  96459. var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
  96460. if (factor == null)
  96461. return false;
  96462. this._box_0.value *= factor;
  96463. return true;
  96464. },
  96465. $signature: 8
  96466. };
  96467. A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
  96468. call$0() {
  96469. var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
  96470. t2 = this._box_0;
  96471. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  96472. t2.newNumerators = t1;
  96473. },
  96474. $signature: 0
  96475. };
  96476. A.SourceMapBuffer0.prototype = {
  96477. get$_source_map_buffer0$_targetLocation() {
  96478. var t1 = this._source_map_buffer0$_buffer._contents,
  96479. t2 = this._source_map_buffer0$_line;
  96480. return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
  96481. },
  96482. get$length(_) {
  96483. return this._source_map_buffer0$_buffer._contents.length;
  96484. },
  96485. forSpan$1$2(span, callback) {
  96486. var t1, _this = this,
  96487. wasInSpan = _this._source_map_buffer0$_inSpan;
  96488. _this._source_map_buffer0$_inSpan = true;
  96489. _this._source_map_buffer0$_addEntry$2(span.get$start(span), _this.get$_source_map_buffer0$_targetLocation());
  96490. try {
  96491. t1 = callback.call$0();
  96492. return t1;
  96493. } finally {
  96494. _this._source_map_buffer0$_inSpan = wasInSpan;
  96495. }
  96496. },
  96497. forSpan$2(span, callback) {
  96498. return this.forSpan$1$2(span, callback, type$.dynamic);
  96499. },
  96500. _source_map_buffer0$_addEntry$2(source, target) {
  96501. var entry, t2,
  96502. t1 = this._source_map_buffer0$_entries;
  96503. if (t1.length !== 0) {
  96504. entry = B.JSArray_methods.get$last(t1);
  96505. t2 = entry.source;
  96506. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  96507. return;
  96508. if (entry.target.offset === target.offset)
  96509. return;
  96510. }
  96511. t1.push(new A.Entry(source, target, null));
  96512. },
  96513. write$1(_, object) {
  96514. var t1, i,
  96515. string = J.toString$0$(object);
  96516. this._source_map_buffer0$_buffer._contents += string;
  96517. for (t1 = string.length, i = 0; i < t1; ++i)
  96518. if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
  96519. this._source_map_buffer0$_writeLine$0();
  96520. else
  96521. ++this._source_map_buffer0$_column;
  96522. },
  96523. writeCharCode$1(charCode) {
  96524. this._source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  96525. if (charCode === 10)
  96526. this._source_map_buffer0$_writeLine$0();
  96527. else
  96528. ++this._source_map_buffer0$_column;
  96529. },
  96530. _source_map_buffer0$_writeLine$0() {
  96531. var _this = this,
  96532. t1 = _this._source_map_buffer0$_entries;
  96533. 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)
  96534. t1.pop();
  96535. ++_this._source_map_buffer0$_line;
  96536. _this._source_map_buffer0$_column = 0;
  96537. if (_this._source_map_buffer0$_inSpan)
  96538. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
  96539. },
  96540. toString$0(_) {
  96541. var t1 = this._source_map_buffer0$_buffer._contents;
  96542. return t1.charCodeAt(0) == 0 ? t1 : t1;
  96543. },
  96544. buildSourceMap$1$prefix(prefix) {
  96545. var i, t2, prefixColumn, _box_0 = {},
  96546. t1 = prefix.length;
  96547. if (t1 === 0)
  96548. return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
  96549. _box_0.prefixColumn = _box_0.prefixLines = 0;
  96550. for (i = 0, t2 = 0; i < t1; ++i)
  96551. if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
  96552. ++_box_0.prefixLines;
  96553. _box_0.prefixColumn = 0;
  96554. t2 = 0;
  96555. } else {
  96556. prefixColumn = t2 + 1;
  96557. _box_0.prefixColumn = prefixColumn;
  96558. t2 = prefixColumn;
  96559. }
  96560. t2 = this._source_map_buffer0$_entries;
  96561. 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>")));
  96562. }
  96563. };
  96564. A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
  96565. call$1(entry) {
  96566. var t1 = entry.source,
  96567. t2 = entry.target,
  96568. t3 = t2.line,
  96569. t4 = this._box_0,
  96570. t5 = t4.prefixLines;
  96571. t4 = t3 === 0 ? t4.prefixColumn : 0;
  96572. return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
  96573. },
  96574. $signature: 160
  96575. };
  96576. A.updateSourceSpanPrototype_closure.prototype = {
  96577. call$1(span) {
  96578. return span.get$start(span);
  96579. },
  96580. $signature: 241
  96581. };
  96582. A.updateSourceSpanPrototype_closure0.prototype = {
  96583. call$1(span) {
  96584. return span.get$end(span);
  96585. },
  96586. $signature: 241
  96587. };
  96588. A.updateSourceSpanPrototype_closure1.prototype = {
  96589. call$1(span) {
  96590. return A.NullableExtension_andThen0(span.get$sourceUrl(span), A.utils1__dartToJSUrl$closure());
  96591. },
  96592. $signature: 519
  96593. };
  96594. A.updateSourceSpanPrototype_closure2.prototype = {
  96595. call$1(span) {
  96596. return span.get$text();
  96597. },
  96598. $signature: 242
  96599. };
  96600. A.updateSourceSpanPrototype_closure3.prototype = {
  96601. call$1(span) {
  96602. return span.get$context(span);
  96603. },
  96604. $signature: 242
  96605. };
  96606. A.updateSourceSpanPrototype_closure4.prototype = {
  96607. call$1($location) {
  96608. return $location.get$line();
  96609. },
  96610. $signature: 243
  96611. };
  96612. A.updateSourceSpanPrototype_closure5.prototype = {
  96613. call$1($location) {
  96614. return $location.get$column();
  96615. },
  96616. $signature: 243
  96617. };
  96618. A.StatementSearchVisitor0.prototype = {
  96619. visitAtRootRule$1(node) {
  96620. return this.visitChildren$1(node.children);
  96621. },
  96622. visitAtRule$1(node) {
  96623. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  96624. },
  96625. visitContentBlock$1(node) {
  96626. return this.visitChildren$1(node.children);
  96627. },
  96628. visitDebugRule$1(node) {
  96629. return null;
  96630. },
  96631. visitDeclaration$1(node) {
  96632. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  96633. },
  96634. visitEachRule$1(node) {
  96635. return this.visitChildren$1(node.children);
  96636. },
  96637. visitErrorRule$1(node) {
  96638. return null;
  96639. },
  96640. visitExtendRule$1(node) {
  96641. return null;
  96642. },
  96643. visitForRule$1(node) {
  96644. return this.visitChildren$1(node.children);
  96645. },
  96646. visitForwardRule$1(node) {
  96647. return null;
  96648. },
  96649. visitFunctionRule$1(node) {
  96650. return this.visitChildren$1(node.children);
  96651. },
  96652. visitIfRule$1(node) {
  96653. var t1 = A.IterableExtension_search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
  96654. return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
  96655. },
  96656. visitImportRule$1(node) {
  96657. return null;
  96658. },
  96659. visitIncludeRule$1(node) {
  96660. return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock());
  96661. },
  96662. visitLoudComment$1(node) {
  96663. return null;
  96664. },
  96665. visitMediaRule$1(node) {
  96666. return this.visitChildren$1(node.children);
  96667. },
  96668. visitMixinRule$1(node) {
  96669. return this.visitChildren$1(node.children);
  96670. },
  96671. visitReturnRule$1(node) {
  96672. return null;
  96673. },
  96674. visitSilentComment$1(node) {
  96675. return null;
  96676. },
  96677. visitStyleRule$1(node) {
  96678. return this.visitChildren$1(node.children);
  96679. },
  96680. visitStylesheet$1(node) {
  96681. return this.visitChildren$1(node.children);
  96682. },
  96683. visitSupportsRule$1(node) {
  96684. return this.visitChildren$1(node.children);
  96685. },
  96686. visitUseRule$1(node) {
  96687. return null;
  96688. },
  96689. visitVariableDeclaration$1(node) {
  96690. return null;
  96691. },
  96692. visitWarnRule$1(node) {
  96693. return null;
  96694. },
  96695. visitWhileRule$1(node) {
  96696. return this.visitChildren$1(node.children);
  96697. },
  96698. visitChildren$1(children) {
  96699. return A.IterableExtension_search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
  96700. }
  96701. };
  96702. A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
  96703. call$1(clause) {
  96704. return A.IterableExtension_search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
  96705. },
  96706. $signature() {
  96707. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
  96708. }
  96709. };
  96710. A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
  96711. call$1(child) {
  96712. return child.accept$1(this.$this);
  96713. },
  96714. $signature() {
  96715. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  96716. }
  96717. };
  96718. A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
  96719. call$1(lastClause) {
  96720. return A.IterableExtension_search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
  96721. },
  96722. $signature() {
  96723. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
  96724. }
  96725. };
  96726. A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
  96727. call$1(child) {
  96728. return child.accept$1(this.$this);
  96729. },
  96730. $signature() {
  96731. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  96732. }
  96733. };
  96734. A.StatementSearchVisitor_visitChildren_closure0.prototype = {
  96735. call$1(child) {
  96736. return child.accept$1(this.$this);
  96737. },
  96738. $signature() {
  96739. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  96740. }
  96741. };
  96742. A.StaticImport0.prototype = {
  96743. toString$0(_) {
  96744. var t1 = this.url.toString$0(0),
  96745. t2 = this.modifiers;
  96746. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  96747. },
  96748. $isImport0: 1,
  96749. $isAstNode0: 1,
  96750. get$span(receiver) {
  96751. return this.span;
  96752. }
  96753. };
  96754. A.StderrLogger0.prototype = {
  96755. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  96756. var t2,
  96757. result = new A.StringBuffer(""),
  96758. t1 = this.color;
  96759. if (t1) {
  96760. t2 = result._contents = "" + "\x1b[33m\x1b[1m";
  96761. t2 = result._contents = (deprecation ? result._contents = t2 + "Deprecation " : t2) + "Warning\x1b[0m";
  96762. } else
  96763. t2 = result._contents = (deprecation ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
  96764. if (span == null)
  96765. t1 = result._contents = t2 + (": " + message + "\n");
  96766. else if (trace != null) {
  96767. t1 = t2 + (": " + message + "\n\n" + span.highlight$1$color(t1) + "\n");
  96768. result._contents = t1;
  96769. } else {
  96770. t1 = t2 + (" on " + span.message$2$color(0, "\n" + message, t1) + "\n");
  96771. result._contents = t1;
  96772. }
  96773. if (trace != null)
  96774. result._contents = t1 + (A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  96775. A.printError0(result);
  96776. },
  96777. warn$1($receiver, message) {
  96778. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  96779. },
  96780. warn$3$span$trace($receiver, message, span, trace) {
  96781. return this.warn$4$deprecation$span$trace($receiver, message, false, span, trace);
  96782. },
  96783. warn$2$span($receiver, message, span) {
  96784. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  96785. },
  96786. warn$2$trace($receiver, message, trace) {
  96787. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  96788. },
  96789. debug$2(_, message, span) {
  96790. var url, t3,
  96791. t1 = span.file,
  96792. t2 = span._file$_start;
  96793. if (A.FileLocation$_(t1, t2).file.url == null)
  96794. url = "-";
  96795. else {
  96796. t3 = A.FileLocation$_(t1, t2);
  96797. url = $.$get$context().prettyUri$1(t3.file.url);
  96798. }
  96799. t1 = A.FileLocation$_(t1, t2);
  96800. t1 = t1.file.getLine$1(t1.offset);
  96801. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  96802. t2 = "" + (url + ":" + (t1 + 1) + " ") + t2 + (": " + message);
  96803. A.printError0(t2.charCodeAt(0) == 0 ? t2 : t2);
  96804. }
  96805. };
  96806. A.StringExpression0.prototype = {
  96807. get$span(_) {
  96808. return this.text.span;
  96809. },
  96810. accept$1$1(visitor) {
  96811. return visitor.visitStringExpression$1(this);
  96812. },
  96813. accept$1(visitor) {
  96814. return this.accept$1$1(visitor, type$.dynamic);
  96815. },
  96816. asInterpolation$1$static($static) {
  96817. var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
  96818. if (!this.hasQuotes)
  96819. return this.text;
  96820. t1 = this.text;
  96821. t2 = t1.contents;
  96822. quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  96823. t3 = new A.StringBuffer("");
  96824. t4 = A._setArrayType([], type$.JSArray_Object);
  96825. buffer = new A.InterpolationBuffer0(t3, t4);
  96826. t3._contents += A.Primitives_stringFromCharCode(quote);
  96827. for (t5 = t2.length, t6 = type$.Expression_2, _i = 0; _i < t5; ++_i) {
  96828. value = t2[_i];
  96829. if (t6._is(value)) {
  96830. buffer._interpolation_buffer0$_flushText$0();
  96831. t4.push(value);
  96832. } else if (typeof value == "string")
  96833. A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
  96834. }
  96835. t3._contents += A.Primitives_stringFromCharCode(quote);
  96836. return buffer.interpolation$1(t1.span);
  96837. },
  96838. asInterpolation$0() {
  96839. return this.asInterpolation$1$static(false);
  96840. },
  96841. toString$0(_) {
  96842. return this.asInterpolation$0().toString$0(0);
  96843. },
  96844. $isExpression0: 1,
  96845. $isAstNode0: 1
  96846. };
  96847. A.module_closure9.prototype = {
  96848. call$1($arguments) {
  96849. var limit, t2, chunks, i, lastEnd, match, t3,
  96850. t1 = J.getInterceptor$asx($arguments),
  96851. string = t1.$index($arguments, 0).assertString$1("string"),
  96852. separator = t1.$index($arguments, 1).assertString$1("separator");
  96853. t1 = t1.$index($arguments, 2).get$realNull();
  96854. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  96855. if (limit != null && limit < 1)
  96856. throw A.wrapException(A.SassScriptException$0("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  96857. t1 = string._string0$_text;
  96858. if (t1.length === 0)
  96859. return B.SassList_Sof2;
  96860. else {
  96861. t2 = separator._string0$_text;
  96862. if (t2.length === 0)
  96863. 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);
  96864. }
  96865. chunks = A._setArrayType([], type$.JSArray_String);
  96866. 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();) {
  96867. match = t2.__js_helper$_current;
  96868. t3 = match.start;
  96869. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  96870. lastEnd = t3 + match.pattern.length;
  96871. ++i;
  96872. if (i === limit)
  96873. break;
  96874. }
  96875. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  96876. return A.SassList$0(new A.MappedListIterable(chunks, new A.module__closure3(string), type$.MappedListIterable_String_Value_2), B.ListSeparator_rXA0, true);
  96877. },
  96878. $signature: 21
  96879. };
  96880. A.module__closure2.prototype = {
  96881. call$1(rune) {
  96882. return new A.SassString0(A.Primitives_stringFromCharCode(rune), this.string._string0$_hasQuotes);
  96883. },
  96884. $signature: 522
  96885. };
  96886. A.module__closure3.prototype = {
  96887. call$1(chunk) {
  96888. return new A.SassString0(chunk, this.string._string0$_hasQuotes);
  96889. },
  96890. $signature: 523
  96891. };
  96892. A._unquote_closure0.prototype = {
  96893. call$1($arguments) {
  96894. var string = J.$index$asx($arguments, 0).assertString$1("string");
  96895. if (!string._string0$_hasQuotes)
  96896. return string;
  96897. return new A.SassString0(string._string0$_text, false);
  96898. },
  96899. $signature: 17
  96900. };
  96901. A._quote_closure0.prototype = {
  96902. call$1($arguments) {
  96903. var string = J.$index$asx($arguments, 0).assertString$1("string");
  96904. if (string._string0$_hasQuotes)
  96905. return string;
  96906. return new A.SassString0(string._string0$_text, true);
  96907. },
  96908. $signature: 17
  96909. };
  96910. A._length_closure1.prototype = {
  96911. call$1($arguments) {
  96912. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength(), null);
  96913. },
  96914. $signature: 10
  96915. };
  96916. A._insert_closure0.prototype = {
  96917. call$1($arguments) {
  96918. var indexInt, codeUnitIndex, _s5_ = "index",
  96919. t1 = J.getInterceptor$asx($arguments),
  96920. string = t1.$index($arguments, 0).assertString$1("string"),
  96921. insert = t1.$index($arguments, 1).assertString$1("insert"),
  96922. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  96923. index.assertNoUnits$1(_s5_);
  96924. indexInt = index.assertInt$1(_s5_);
  96925. if (indexInt < 0)
  96926. indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
  96927. t1 = string._string0$_text;
  96928. codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
  96929. return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
  96930. },
  96931. $signature: 17
  96932. };
  96933. A._index_closure1.prototype = {
  96934. call$1($arguments) {
  96935. var t1 = J.getInterceptor$asx($arguments),
  96936. t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
  96937. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
  96938. if (codeUnitIndex === -1)
  96939. return B.C__SassNull0;
  96940. return A.SassNumber_SassNumber0(A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex) + 1, null);
  96941. },
  96942. $signature: 3
  96943. };
  96944. A._slice_closure0.prototype = {
  96945. call$1($arguments) {
  96946. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  96947. _s8_ = "start-at",
  96948. t1 = J.getInterceptor$asx($arguments),
  96949. string = t1.$index($arguments, 0).assertString$1("string"),
  96950. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  96951. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  96952. start.assertNoUnits$1(_s8_);
  96953. end.assertNoUnits$1("end-at");
  96954. lengthInCodepoints = string.get$_string0$_sassLength();
  96955. endInt = end.assertInt$0();
  96956. if (endInt === 0)
  96957. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  96958. startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
  96959. endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
  96960. if (endCodepoint === lengthInCodepoints)
  96961. --endCodepoint;
  96962. if (endCodepoint < startCodepoint)
  96963. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  96964. t1 = string._string0$_text;
  96965. return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
  96966. },
  96967. $signature: 17
  96968. };
  96969. A._toUpperCase_closure0.prototype = {
  96970. call$1($arguments) {
  96971. var t1, t2, i, t3, t4,
  96972. string = J.$index$asx($arguments, 0).assertString$1("string");
  96973. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  96974. t4 = B.JSString_methods._codeUnitAt$1(t1, i);
  96975. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  96976. }
  96977. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  96978. },
  96979. $signature: 17
  96980. };
  96981. A._toLowerCase_closure0.prototype = {
  96982. call$1($arguments) {
  96983. var t1, t2, i, t3, t4,
  96984. string = J.$index$asx($arguments, 0).assertString$1("string");
  96985. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  96986. t4 = B.JSString_methods._codeUnitAt$1(t1, i);
  96987. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  96988. }
  96989. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  96990. },
  96991. $signature: 17
  96992. };
  96993. A._uniqueId_closure0.prototype = {
  96994. call$1($arguments) {
  96995. var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
  96996. $._previousUniqueId0 = t1;
  96997. if (t1 > Math.pow(36, 6))
  96998. $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
  96999. return new A.SassString0("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId0(), 36), 6, "0"), false);
  97000. },
  97001. $signature: 17
  97002. };
  97003. A._NodeSassString.prototype = {};
  97004. A.legacyStringClass_closure.prototype = {
  97005. call$3(thisArg, value, dartValue) {
  97006. var t1;
  97007. if (dartValue == null) {
  97008. value.toString;
  97009. t1 = new A.SassString0(value, false);
  97010. } else
  97011. t1 = dartValue;
  97012. J.set$dartValue$x(thisArg, t1);
  97013. },
  97014. call$2(thisArg, value) {
  97015. return this.call$3(thisArg, value, null);
  97016. },
  97017. "call*": "call$3",
  97018. $requiredArgCount: 2,
  97019. $defaultValues() {
  97020. return [null];
  97021. },
  97022. $signature: 524
  97023. };
  97024. A.legacyStringClass_closure0.prototype = {
  97025. call$1(thisArg) {
  97026. return J.get$dartValue$x(thisArg)._string0$_text;
  97027. },
  97028. $signature: 525
  97029. };
  97030. A.legacyStringClass_closure1.prototype = {
  97031. call$2(thisArg, value) {
  97032. J.set$dartValue$x(thisArg, new A.SassString0(value, false));
  97033. },
  97034. $signature: 526
  97035. };
  97036. A.stringClass_closure.prototype = {
  97037. call$0() {
  97038. var t2,
  97039. t1 = type$.JSClass,
  97040. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
  97041. 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));
  97042. J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
  97043. t2 = $.$get$_emptyQuoted0();
  97044. A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
  97045. return jsClass;
  97046. },
  97047. $signature: 26
  97048. };
  97049. A.stringClass__closure.prototype = {
  97050. call$3($self, textOrOptions, options) {
  97051. var t1;
  97052. if (typeof textOrOptions == "string") {
  97053. t1 = options == null ? null : J.get$quotes$x(options);
  97054. t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
  97055. } else {
  97056. type$.nullable__ConstructorOptions_3._as(textOrOptions);
  97057. t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
  97058. t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  97059. }
  97060. return t1;
  97061. },
  97062. call$1($self) {
  97063. return this.call$3($self, null, null);
  97064. },
  97065. call$2($self, textOrOptions) {
  97066. return this.call$3($self, textOrOptions, null);
  97067. },
  97068. "call*": "call$3",
  97069. $requiredArgCount: 1,
  97070. $defaultValues() {
  97071. return [null, null];
  97072. },
  97073. $signature: 527
  97074. };
  97075. A.stringClass__closure0.prototype = {
  97076. call$1($self) {
  97077. return $self._string0$_text;
  97078. },
  97079. $signature: 528
  97080. };
  97081. A.stringClass__closure1.prototype = {
  97082. call$1($self) {
  97083. return $self._string0$_hasQuotes;
  97084. },
  97085. $signature: 529
  97086. };
  97087. A.stringClass__closure2.prototype = {
  97088. call$1($self) {
  97089. return $self.get$_string0$_sassLength();
  97090. },
  97091. $signature: 530
  97092. };
  97093. A.stringClass__closure3.prototype = {
  97094. call$3($self, sassIndex, $name) {
  97095. var t1 = $self._string0$_text,
  97096. index = sassIndex.assertNumber$1($name).assertInt$1($name);
  97097. if (index === 0)
  97098. A.throwExpression(A.SassScriptException$0("String index may not be 0.", $name));
  97099. else if (Math.abs(index) > $self.get$_string0$_sassLength())
  97100. A.throwExpression(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a string with " + $self.get$_string0$_sassLength() + " characters.", $name));
  97101. return A.codepointIndexToCodeUnitIndex0(t1, index < 0 ? $self.get$_string0$_sassLength() + index : index - 1);
  97102. },
  97103. call$2($self, sassIndex) {
  97104. return this.call$3($self, sassIndex, null);
  97105. },
  97106. "call*": "call$3",
  97107. $requiredArgCount: 2,
  97108. $defaultValues() {
  97109. return [null];
  97110. },
  97111. $signature: 531
  97112. };
  97113. A._ConstructorOptions1.prototype = {};
  97114. A.SassString0.prototype = {
  97115. get$_string0$_sassLength() {
  97116. var t1, result, _this = this,
  97117. value = _this._string0$__SassString__sassLength_FI;
  97118. if (value === $) {
  97119. t1 = new A.Runes(_this._string0$_text);
  97120. result = t1.get$length(t1);
  97121. _this._string0$__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  97122. _this._string0$__SassString__sassLength_FI = result;
  97123. value = result;
  97124. }
  97125. return value;
  97126. },
  97127. get$isSpecialNumber() {
  97128. var t1, t2;
  97129. if (this._string0$_hasQuotes)
  97130. return false;
  97131. t1 = this._string0$_text;
  97132. if (t1.length < 6)
  97133. return false;
  97134. t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
  97135. if (t2 === 99) {
  97136. t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
  97137. if (t2 === 108) {
  97138. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
  97139. return false;
  97140. if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
  97141. return false;
  97142. if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
  97143. return false;
  97144. return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
  97145. } else if (t2 === 97) {
  97146. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
  97147. return false;
  97148. if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
  97149. return false;
  97150. return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
  97151. } else
  97152. return false;
  97153. } else if (t2 === 118) {
  97154. if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
  97155. return false;
  97156. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
  97157. return false;
  97158. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  97159. } else if (t2 === 101) {
  97160. if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
  97161. return false;
  97162. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
  97163. return false;
  97164. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  97165. } else if (t2 === 109) {
  97166. t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
  97167. if (t2 === 97) {
  97168. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
  97169. return false;
  97170. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  97171. } else if (t2 === 105) {
  97172. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
  97173. return false;
  97174. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  97175. } else
  97176. return false;
  97177. } else
  97178. return false;
  97179. },
  97180. get$isVar() {
  97181. if (this._string0$_hasQuotes)
  97182. return false;
  97183. var t1 = this._string0$_text;
  97184. if (t1.length < 8)
  97185. return false;
  97186. 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;
  97187. },
  97188. get$isBlank() {
  97189. return !this._string0$_hasQuotes && this._string0$_text.length === 0;
  97190. },
  97191. accept$1$1(visitor) {
  97192. var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
  97193. t2 = this._string0$_text;
  97194. if (t1)
  97195. visitor._serialize0$_visitQuotedString$1(t2);
  97196. else
  97197. visitor._serialize0$_visitUnquotedString$1(t2);
  97198. return null;
  97199. },
  97200. accept$1(visitor) {
  97201. return this.accept$1$1(visitor, type$.dynamic);
  97202. },
  97203. assertString$1($name) {
  97204. return this;
  97205. },
  97206. plus$1(other) {
  97207. var t1 = this._string0$_text,
  97208. t2 = this._string0$_hasQuotes;
  97209. if (other instanceof A.SassString0)
  97210. return new A.SassString0(t1 + other._string0$_text, t2);
  97211. else
  97212. return new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
  97213. },
  97214. $eq(_, other) {
  97215. if (other == null)
  97216. return false;
  97217. return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
  97218. },
  97219. get$hashCode(_) {
  97220. var t1 = this._string0$_hashCache;
  97221. return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
  97222. }
  97223. };
  97224. A.ModifiableCssStyleRule0.prototype = {
  97225. accept$1$1(visitor) {
  97226. return visitor.visitCssStyleRule$1(this);
  97227. },
  97228. accept$1(visitor) {
  97229. return this.accept$1$1(visitor, type$.dynamic);
  97230. },
  97231. equalsIgnoringChildren$1(other) {
  97232. var t1;
  97233. if (other instanceof A.ModifiableCssStyleRule0)
  97234. t1 = B.C_ListEquality.equals$2(0, other._style_rule0$_selector._box0$_inner.value.components, this._style_rule0$_selector._box0$_inner.value.components);
  97235. else
  97236. t1 = false;
  97237. return t1;
  97238. },
  97239. copyWithoutChildren$0() {
  97240. return A.ModifiableCssStyleRule$0(this._style_rule0$_selector, this.span, this.originalSelector);
  97241. },
  97242. $isCssStyleRule0: 1,
  97243. get$span(receiver) {
  97244. return this.span;
  97245. }
  97246. };
  97247. A.StyleRule0.prototype = {
  97248. accept$1$1(visitor) {
  97249. return visitor.visitStyleRule$1(this);
  97250. },
  97251. accept$1(visitor) {
  97252. return this.accept$1$1(visitor, type$.dynamic);
  97253. },
  97254. toString$0(_) {
  97255. var t1 = this.children;
  97256. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  97257. },
  97258. get$span(receiver) {
  97259. return this.span;
  97260. }
  97261. };
  97262. A.CssStylesheet0.prototype = {
  97263. get$isGroupEnd() {
  97264. return false;
  97265. },
  97266. get$isChildless() {
  97267. return false;
  97268. },
  97269. accept$1$1(visitor) {
  97270. return visitor.visitCssStylesheet$1(this);
  97271. },
  97272. accept$1(visitor) {
  97273. return this.accept$1$1(visitor, type$.dynamic);
  97274. },
  97275. get$children(receiver) {
  97276. return this.children;
  97277. },
  97278. get$span(receiver) {
  97279. return this.span;
  97280. }
  97281. };
  97282. A.ModifiableCssStylesheet0.prototype = {
  97283. accept$1$1(visitor) {
  97284. return visitor.visitCssStylesheet$1(this);
  97285. },
  97286. accept$1(visitor) {
  97287. return this.accept$1$1(visitor, type$.dynamic);
  97288. },
  97289. equalsIgnoringChildren$1(other) {
  97290. return other instanceof A.ModifiableCssStylesheet0;
  97291. },
  97292. copyWithoutChildren$0() {
  97293. return A.ModifiableCssStylesheet$0(this.span);
  97294. },
  97295. $isCssStylesheet0: 1,
  97296. get$span(receiver) {
  97297. return this.span;
  97298. }
  97299. };
  97300. A.StylesheetParser0.prototype = {
  97301. parse$0() {
  97302. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
  97303. },
  97304. parseArgumentDeclaration$0() {
  97305. return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure0(this), type$.ArgumentDeclaration_2);
  97306. },
  97307. _stylesheet0$_parseSingleProduction$1$1(production, $T) {
  97308. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
  97309. },
  97310. parseSignature$1$requireParens(requireParens) {
  97311. return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
  97312. },
  97313. _stylesheet0$_statement$1$root(root) {
  97314. var t2, _this = this,
  97315. t1 = _this.scanner;
  97316. switch (t1.peekChar$0()) {
  97317. case 64:
  97318. return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
  97319. case 43:
  97320. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  97321. return _this._stylesheet0$_styleRule$0();
  97322. _this._stylesheet0$_isUseAllowed = false;
  97323. t2 = t1._string_scanner$_position;
  97324. t1.readChar$0();
  97325. return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
  97326. case 61:
  97327. if (!_this.get$indented())
  97328. return _this._stylesheet0$_styleRule$0();
  97329. _this._stylesheet0$_isUseAllowed = false;
  97330. t2 = t1._string_scanner$_position;
  97331. t1.readChar$0();
  97332. _this.whitespace$0();
  97333. return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
  97334. case 125:
  97335. t1.error$2$length(0, 'unmatched "}".', 1);
  97336. break;
  97337. default:
  97338. return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
  97339. }
  97340. },
  97341. _stylesheet0$_statement$0() {
  97342. return this._stylesheet0$_statement$1$root(false);
  97343. },
  97344. variableDeclarationWithoutNamespace$2(namespace, start_) {
  97345. var t1, start, $name, t2, value, flagStart, t3, $self, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this, _null = null,
  97346. _s97_ = string$.x21defau,
  97347. _s96_ = string$.x21globas,
  97348. precedingComment = _this.lastSilentComment;
  97349. _this.lastSilentComment = null;
  97350. if (start_ == null) {
  97351. t1 = _this.scanner;
  97352. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  97353. } else
  97354. start = start_;
  97355. $name = _this.variableName$0();
  97356. t1 = namespace != null;
  97357. if (t1)
  97358. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
  97359. if (_this.get$plainCss())
  97360. _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
  97361. _this.whitespace$0();
  97362. t2 = _this.scanner;
  97363. t2.expectChar$1(58);
  97364. _this.whitespace$0();
  97365. value = _this._stylesheet0$_expression$0();
  97366. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  97367. for (t3 = t2.string, $self = _this.logger, guarded = false, global = false; t2.scanChar$1(33);) {
  97368. flag = _this.identifier$0();
  97369. if (flag === "default") {
  97370. if (guarded) {
  97371. endPosition = t2._string_scanner$_position;
  97372. t4 = t2._sourceFile;
  97373. t5 = flagStart.position;
  97374. t6 = new A._FileSpan(t4, t5, endPosition);
  97375. t6._FileSpan$3(t4, t5, endPosition);
  97376. if ($self instanceof A.DeprecationHandlingLogger0)
  97377. $self.warnForDeprecation$4$span$trace(B.Deprecation_ynv, _s97_, t6, _null);
  97378. else
  97379. $self.warn$4$deprecation$span$trace(0, _s97_, true, t6, _null);
  97380. }
  97381. guarded = true;
  97382. } else if (flag === "global") {
  97383. if (t1) {
  97384. endPosition = t2._string_scanner$_position;
  97385. t4 = t2._sourceFile;
  97386. t5 = flagStart.position;
  97387. t6 = new A._FileSpan(t4, t5, endPosition);
  97388. t6._FileSpan$3(t4, t5, endPosition);
  97389. A.throwExpression(new A.StringScannerException(t3, string$.x21globai, t6));
  97390. } else if (global) {
  97391. endPosition = t2._string_scanner$_position;
  97392. t4 = t2._sourceFile;
  97393. t5 = flagStart.position;
  97394. t6 = new A._FileSpan(t4, t5, endPosition);
  97395. t6._FileSpan$3(t4, t5, endPosition);
  97396. if ($self instanceof A.DeprecationHandlingLogger0)
  97397. $self.warnForDeprecation$4$span$trace(B.Deprecation_ynv, _s96_, t6, _null);
  97398. else
  97399. $self.warn$4$deprecation$span$trace(0, _s96_, true, t6, _null);
  97400. }
  97401. global = true;
  97402. } else {
  97403. endPosition = t2._string_scanner$_position;
  97404. t4 = t2._sourceFile;
  97405. t5 = flagStart.position;
  97406. t6 = new A._FileSpan(t4, t5, endPosition);
  97407. t6._FileSpan$3(t4, t5, endPosition);
  97408. A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
  97409. }
  97410. _this.whitespace$0();
  97411. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  97412. }
  97413. _this.expectStatementSeparator$1("variable declaration");
  97414. declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  97415. if (global)
  97416. _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
  97417. return declaration;
  97418. },
  97419. variableDeclarationWithoutNamespace$0() {
  97420. return this.variableDeclarationWithoutNamespace$2(null, null);
  97421. },
  97422. _stylesheet0$_variableDeclarationOrStyleRule$0() {
  97423. var t1, t2, variableOrInterpolation, t3, _this = this;
  97424. if (_this.get$plainCss())
  97425. return _this._stylesheet0$_styleRule$0();
  97426. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  97427. return _this._stylesheet0$_styleRule$0();
  97428. if (!_this.lookingAtIdentifier$0())
  97429. return _this._stylesheet0$_styleRule$0();
  97430. t1 = _this.scanner;
  97431. t2 = t1._string_scanner$_position;
  97432. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  97433. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  97434. return variableOrInterpolation;
  97435. else {
  97436. t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  97437. t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  97438. return _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
  97439. }
  97440. },
  97441. _stylesheet0$_declarationOrStyleRule$0() {
  97442. var t1, t2, declarationOrBuffer, _this = this;
  97443. if (_this.get$plainCss() && _this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inUnknownAtRule)
  97444. return _this._stylesheet0$_propertyOrVariableDeclaration$0();
  97445. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  97446. return _this._stylesheet0$_styleRule$0();
  97447. t1 = _this.scanner;
  97448. t2 = t1._string_scanner$_position;
  97449. declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
  97450. return type$.Statement_2._is(declarationOrBuffer) ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  97451. },
  97452. _stylesheet0$_declarationOrBuffer$0() {
  97453. var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
  97454. t2 = _this.scanner,
  97455. start = new A._SpanScannerState(t2, t2._string_scanner$_position),
  97456. nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
  97457. first = t2.peekChar$0();
  97458. if (first !== 58)
  97459. if (first !== 42)
  97460. if (first !== 46)
  97461. t3 = first === 35 && t2.peekChar$1(1) !== 123;
  97462. else
  97463. t3 = true;
  97464. else
  97465. t3 = true;
  97466. else
  97467. t3 = true;
  97468. if (t3) {
  97469. t3 = t2.readChar$0();
  97470. nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(t3);
  97471. t3 = _this.rawText$1(_this.get$whitespace());
  97472. nameBuffer._interpolation_buffer0$_text._contents += t3;
  97473. startsWithPunctuation = true;
  97474. } else
  97475. startsWithPunctuation = false;
  97476. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  97477. return nameBuffer;
  97478. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  97479. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  97480. return variableOrInterpolation;
  97481. else
  97482. nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  97483. _this._stylesheet0$_isUseAllowed = false;
  97484. if (t2.matches$1("/*")) {
  97485. t3 = _this.rawText$1(_this.get$loudComment());
  97486. nameBuffer._interpolation_buffer0$_text._contents += t3;
  97487. }
  97488. midBuffer = new A.StringBuffer("");
  97489. t3 = _this.get$whitespace();
  97490. midBuffer._contents += _this.rawText$1(t3);
  97491. t4 = t2._string_scanner$_position;
  97492. if (!t2.scanChar$1(58)) {
  97493. if (midBuffer._contents.length !== 0)
  97494. nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(32);
  97495. return nameBuffer;
  97496. }
  97497. midBuffer._contents += A.Primitives_stringFromCharCode(58);
  97498. $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
  97499. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  97500. t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
  97501. _this.expectStatementSeparator$1("custom property");
  97502. return A.Declaration$0($name, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
  97503. }
  97504. if (t2.scanChar$1(58)) {
  97505. t1 = nameBuffer;
  97506. t2 = t1._interpolation_buffer0$_text;
  97507. t2._contents += A.S(midBuffer);
  97508. t2._contents += A.Primitives_stringFromCharCode(58);
  97509. return t1;
  97510. } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  97511. t1 = nameBuffer;
  97512. t1._interpolation_buffer0$_text._contents += A.S(midBuffer);
  97513. return t1;
  97514. }
  97515. postColonWhitespace = _this.rawText$1(t3);
  97516. if (_this.lookingAtChildren$0())
  97517. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure1($name));
  97518. midBuffer._contents += postColonWhitespace;
  97519. couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
  97520. beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
  97521. t3 = t1.value = null;
  97522. try {
  97523. t3 = t1.value = _this._stylesheet0$_expression$0();
  97524. if (_this.lookingAtChildren$0()) {
  97525. if (couldBeSelector)
  97526. _this.expectStatementSeparator$0();
  97527. } else if (!_this.atEndOfStatement$0())
  97528. _this.expectStatementSeparator$0();
  97529. } catch (exception) {
  97530. if (type$.FormatException._is(A.unwrapException(exception))) {
  97531. if (!couldBeSelector)
  97532. throw exception;
  97533. t2.set$state(beforeDeclaration);
  97534. additional = _this.almostAnyValue$0();
  97535. if (!_this.get$indented() && t2.peekChar$0() === 59)
  97536. throw exception;
  97537. nameBuffer._interpolation_buffer0$_text._contents += A.S(midBuffer);
  97538. nameBuffer.addInterpolation$1(additional);
  97539. return nameBuffer;
  97540. } else
  97541. throw exception;
  97542. }
  97543. if (_this.lookingAtChildren$0())
  97544. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure2(t1, $name));
  97545. else {
  97546. _this.expectStatementSeparator$0();
  97547. return A.Declaration$0($name, t3, t2.spanFrom$1(start));
  97548. }
  97549. },
  97550. _stylesheet0$_variableDeclarationOrInterpolation$0() {
  97551. var t1, start, identifier, t2, buffer, _this = this;
  97552. if (!_this.lookingAtIdentifier$0())
  97553. return _this.interpolatedIdentifier$0();
  97554. t1 = _this.scanner;
  97555. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  97556. identifier = _this.identifier$0();
  97557. if (t1.matches$1(".$")) {
  97558. t1.readChar$0();
  97559. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  97560. } else {
  97561. t2 = new A.StringBuffer("");
  97562. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  97563. t2._contents = "" + identifier;
  97564. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  97565. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  97566. return buffer.interpolation$1(t1.spanFrom$1(start));
  97567. }
  97568. },
  97569. _stylesheet0$_styleRule$2(buffer, start_) {
  97570. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  97571. _this._stylesheet0$_isUseAllowed = false;
  97572. if (start_ == null) {
  97573. t2 = _this.scanner;
  97574. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  97575. } else
  97576. start = start_;
  97577. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  97578. if (buffer != null) {
  97579. buffer.addInterpolation$1(interpolation);
  97580. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  97581. } else
  97582. t2 = interpolation;
  97583. if (t2.contents.length === 0)
  97584. _this.scanner.error$1(0, 'expected "}".');
  97585. wasInStyleRule = _this._stylesheet0$_inStyleRule;
  97586. _this._stylesheet0$_inStyleRule = true;
  97587. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
  97588. },
  97589. _stylesheet0$_styleRule$0() {
  97590. return this._stylesheet0$_styleRule$2(null, null);
  97591. },
  97592. _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  97593. var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
  97594. _s48_ = string$.Nested,
  97595. t1 = {},
  97596. t2 = _this.scanner,
  97597. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  97598. t1.name = null;
  97599. first = t2.peekChar$0();
  97600. if (first !== 58)
  97601. if (first !== 42)
  97602. if (first !== 46)
  97603. t3 = first === 35 && t2.peekChar$1(1) !== 123;
  97604. else
  97605. t3 = true;
  97606. else
  97607. t3 = true;
  97608. else
  97609. t3 = true;
  97610. if (t3) {
  97611. t3 = new A.StringBuffer("");
  97612. nameBuffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  97613. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  97614. t3._contents += _this.rawText$1(_this.get$whitespace());
  97615. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  97616. t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
  97617. } else if (!_this.get$plainCss()) {
  97618. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  97619. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  97620. return variableOrInterpolation;
  97621. else {
  97622. type$.Interpolation_2._as(variableOrInterpolation);
  97623. t1.name = variableOrInterpolation;
  97624. }
  97625. t3 = variableOrInterpolation;
  97626. } else {
  97627. $name = _this.interpolatedIdentifier$0();
  97628. t1.name = $name;
  97629. t3 = $name;
  97630. }
  97631. _this.whitespace$0();
  97632. t2.expectChar$1(58);
  97633. if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
  97634. t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
  97635. _this.expectStatementSeparator$1("custom property");
  97636. return A.Declaration$0(t3, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
  97637. }
  97638. _this.whitespace$0();
  97639. if (_this.lookingAtChildren$0()) {
  97640. if (_this.get$plainCss())
  97641. t2.error$1(0, _s48_);
  97642. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure1(t1));
  97643. }
  97644. value = _this._stylesheet0$_expression$0();
  97645. if (_this.lookingAtChildren$0()) {
  97646. if (_this.get$plainCss())
  97647. t2.error$1(0, _s48_);
  97648. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure2(t1, value));
  97649. } else {
  97650. _this.expectStatementSeparator$0();
  97651. return A.Declaration$0(t3, value, t2.spanFrom$1(start));
  97652. }
  97653. },
  97654. _stylesheet0$_propertyOrVariableDeclaration$0() {
  97655. return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(true);
  97656. },
  97657. _stylesheet0$_declarationChild$0() {
  97658. if (this.scanner.peekChar$0() === 64)
  97659. return this._stylesheet0$_declarationAtRule$0();
  97660. return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
  97661. },
  97662. atRule$2$root(child, root) {
  97663. var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
  97664. _s9_ = "@use rule",
  97665. t1 = _this.scanner,
  97666. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  97667. t1.expectChar$2$name(64, "@-rule");
  97668. $name = _this.interpolatedIdentifier$0();
  97669. _this.whitespace$0();
  97670. wasUseAllowed = _this._stylesheet0$_isUseAllowed;
  97671. _this._stylesheet0$_isUseAllowed = false;
  97672. switch ($name.get$asPlain()) {
  97673. case "at-root":
  97674. return _this._stylesheet0$_atRootRule$1(start);
  97675. case "content":
  97676. return _this._stylesheet0$_contentRule$1(start);
  97677. case "debug":
  97678. return _this._stylesheet0$_debugRule$1(start);
  97679. case "each":
  97680. return _this._stylesheet0$_eachRule$2(start, child);
  97681. case "else":
  97682. return _this._stylesheet0$_disallowedAtRule$1(start);
  97683. case "error":
  97684. return _this._stylesheet0$_errorRule$1(start);
  97685. case "extend":
  97686. if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
  97687. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  97688. value = _this.almostAnyValue$0();
  97689. optional = t1.scanChar$1(33);
  97690. if (optional)
  97691. _this.expectIdentifier$1("optional");
  97692. _this.expectStatementSeparator$1("@extend rule");
  97693. return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
  97694. case "for":
  97695. return _this._stylesheet0$_forRule$2(start, child);
  97696. case "forward":
  97697. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  97698. if (!root)
  97699. _this._stylesheet0$_disallowedAtRule$1(start);
  97700. return _this._stylesheet0$_forwardRule$1(start);
  97701. case "function":
  97702. return _this._stylesheet0$_functionRule$1(start);
  97703. case "if":
  97704. return _this._stylesheet0$_ifRule$2(start, child);
  97705. case "import":
  97706. return _this._stylesheet0$_importRule$1(start);
  97707. case "include":
  97708. return _this._stylesheet0$_includeRule$1(start);
  97709. case "media":
  97710. return _this.mediaRule$1(start);
  97711. case "mixin":
  97712. return _this._stylesheet0$_mixinRule$1(start);
  97713. case "-moz-document":
  97714. return _this.mozDocumentRule$2(start, $name);
  97715. case "return":
  97716. return _this._stylesheet0$_disallowedAtRule$1(start);
  97717. case "supports":
  97718. return _this.supportsRule$1(start);
  97719. case "use":
  97720. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  97721. if (!root)
  97722. _this._stylesheet0$_disallowedAtRule$1(start);
  97723. url = _this._stylesheet0$_urlString$0();
  97724. _this.whitespace$0();
  97725. namespace = _this._stylesheet0$_useNamespace$2(url, start);
  97726. _this.whitespace$0();
  97727. configuration = _this._stylesheet0$_configuration$0();
  97728. _this.expectStatementSeparator$1(_s9_);
  97729. span = t1.spanFrom$1(start);
  97730. if (!_this._stylesheet0$_isUseAllowed)
  97731. _this.error$2(0, string$.x40use_r, span);
  97732. _this.expectStatementSeparator$1(_s9_);
  97733. t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty20 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  97734. t1.UseRule$4$configuration0(url, namespace, span, configuration);
  97735. return t1;
  97736. case "warn":
  97737. return _this._stylesheet0$_warnRule$1(start);
  97738. case "while":
  97739. return _this._stylesheet0$_whileRule$2(start, child);
  97740. default:
  97741. return _this.unknownAtRule$2(start, $name);
  97742. }
  97743. },
  97744. _stylesheet0$_declarationAtRule$0() {
  97745. var _this = this,
  97746. t1 = _this.scanner,
  97747. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  97748. switch (_this._stylesheet0$_plainAtRuleName$0()) {
  97749. case "content":
  97750. return _this._stylesheet0$_contentRule$1(start);
  97751. case "debug":
  97752. return _this._stylesheet0$_debugRule$1(start);
  97753. case "each":
  97754. return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
  97755. case "else":
  97756. return _this._stylesheet0$_disallowedAtRule$1(start);
  97757. case "error":
  97758. return _this._stylesheet0$_errorRule$1(start);
  97759. case "for":
  97760. return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
  97761. case "if":
  97762. return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
  97763. case "include":
  97764. return _this._stylesheet0$_includeRule$1(start);
  97765. case "warn":
  97766. return _this._stylesheet0$_warnRule$1(start);
  97767. case "while":
  97768. return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
  97769. default:
  97770. return _this._stylesheet0$_disallowedAtRule$1(start);
  97771. }
  97772. },
  97773. _stylesheet0$_functionChild$0() {
  97774. var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, value, _this = this,
  97775. t1 = _this.scanner;
  97776. if (t1.peekChar$0() !== 64) {
  97777. t2 = t1._string_scanner$_position;
  97778. state = new A._SpanScannerState(t1, t2);
  97779. try {
  97780. namespace = _this.identifier$0();
  97781. t1.expectChar$1(46);
  97782. t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  97783. return t2;
  97784. } catch (exception) {
  97785. t2 = A.unwrapException(exception);
  97786. t3 = type$.SourceSpanFormatException;
  97787. if (t3._is(t2)) {
  97788. variableDeclarationError = t2;
  97789. stackTrace = A.getTraceFromException(exception);
  97790. t1.set$state(state);
  97791. statement = null;
  97792. try {
  97793. statement = _this._stylesheet0$_declarationOrStyleRule$0();
  97794. } catch (exception) {
  97795. if (t3._is(A.unwrapException(exception)))
  97796. throw A.wrapException(variableDeclarationError);
  97797. else
  97798. throw exception;
  97799. }
  97800. t2 = statement instanceof A.StyleRule0 ? "style rules" : "declarations";
  97801. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  97802. } else
  97803. throw exception;
  97804. }
  97805. }
  97806. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  97807. switch (_this._stylesheet0$_plainAtRuleName$0()) {
  97808. case "debug":
  97809. return _this._stylesheet0$_debugRule$1(start);
  97810. case "each":
  97811. return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
  97812. case "else":
  97813. return _this._stylesheet0$_disallowedAtRule$1(start);
  97814. case "error":
  97815. return _this._stylesheet0$_errorRule$1(start);
  97816. case "for":
  97817. return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
  97818. case "if":
  97819. return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
  97820. case "return":
  97821. value = _this._stylesheet0$_expression$0();
  97822. _this.expectStatementSeparator$1("@return rule");
  97823. return new A.ReturnRule0(value, t1.spanFrom$1(start));
  97824. case "warn":
  97825. return _this._stylesheet0$_warnRule$1(start);
  97826. case "while":
  97827. return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
  97828. default:
  97829. return _this._stylesheet0$_disallowedAtRule$1(start);
  97830. }
  97831. },
  97832. _stylesheet0$_plainAtRuleName$0() {
  97833. this.scanner.expectChar$2$name(64, "@-rule");
  97834. var $name = this.identifier$0();
  97835. this.whitespace$0();
  97836. return $name;
  97837. },
  97838. _stylesheet0$_atRootRule$1(start) {
  97839. var t2, t3, t4, buffer, t5, query, _this = this,
  97840. t1 = _this.scanner;
  97841. if (t1.peekChar$0() === 40) {
  97842. t2 = t1._string_scanner$_position;
  97843. t3 = new A.StringBuffer("");
  97844. t4 = A._setArrayType([], type$.JSArray_Object);
  97845. buffer = new A.InterpolationBuffer0(t3, t4);
  97846. t1.expectChar$1(40);
  97847. t3._contents += A.Primitives_stringFromCharCode(40);
  97848. _this.whitespace$0();
  97849. t5 = _this._stylesheet0$_expression$0();
  97850. buffer._interpolation_buffer0$_flushText$0();
  97851. t4.push(t5);
  97852. if (t1.scanChar$1(58)) {
  97853. _this.whitespace$0();
  97854. t3._contents += A.Primitives_stringFromCharCode(58);
  97855. t3._contents += A.Primitives_stringFromCharCode(32);
  97856. t5 = _this._stylesheet0$_expression$0();
  97857. buffer._interpolation_buffer0$_flushText$0();
  97858. t4.push(t5);
  97859. }
  97860. t1.expectChar$1(41);
  97861. _this.whitespace$0();
  97862. t3._contents += A.Primitives_stringFromCharCode(41);
  97863. query = buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  97864. _this.whitespace$0();
  97865. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure1(query));
  97866. } else if (_this.lookingAtChildren$0())
  97867. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
  97868. else
  97869. return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
  97870. },
  97871. _stylesheet0$_contentRule$1(start) {
  97872. var t1, $arguments, t2, t3, _this = this;
  97873. if (!_this._stylesheet0$_inMixin)
  97874. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  97875. _this.whitespace$0();
  97876. t1 = _this.scanner;
  97877. if (t1.peekChar$0() === 40)
  97878. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  97879. else {
  97880. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  97881. t3 = t2.offset;
  97882. $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
  97883. }
  97884. _this.expectStatementSeparator$1("@content rule");
  97885. return new A.ContentRule0($arguments, t1.spanFrom$1(start));
  97886. },
  97887. _stylesheet0$_debugRule$1(start) {
  97888. var value = this._stylesheet0$_expression$0();
  97889. this.expectStatementSeparator$1("@debug rule");
  97890. return new A.DebugRule0(value, this.scanner.spanFrom$1(start));
  97891. },
  97892. _stylesheet0$_eachRule$2(start, child) {
  97893. var variables, t1, _this = this,
  97894. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  97895. _this._stylesheet0$_inControlDirective = true;
  97896. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  97897. _this.whitespace$0();
  97898. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  97899. _this.whitespace$0();
  97900. t1.expectChar$1(36);
  97901. variables.push(_this.identifier$1$normalize(true));
  97902. _this.whitespace$0();
  97903. }
  97904. _this.expectIdentifier$1("in");
  97905. _this.whitespace$0();
  97906. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this._stylesheet0$_expression$0()));
  97907. },
  97908. _stylesheet0$_errorRule$1(start) {
  97909. var value = this._stylesheet0$_expression$0();
  97910. this.expectStatementSeparator$1("@error rule");
  97911. return new A.ErrorRule0(value, this.scanner.spanFrom$1(start));
  97912. },
  97913. _stylesheet0$_functionRule$1(start) {
  97914. var $name, $arguments, _this = this,
  97915. precedingComment = _this.lastSilentComment;
  97916. _this.lastSilentComment = null;
  97917. $name = _this.identifier$1$normalize(true);
  97918. _this.whitespace$0();
  97919. $arguments = _this._stylesheet0$_argumentDeclaration$0();
  97920. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  97921. _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
  97922. else if (_this._stylesheet0$_inControlDirective)
  97923. _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
  97924. switch (A.unvendor0($name)) {
  97925. case "calc":
  97926. case "element":
  97927. case "expression":
  97928. case "url":
  97929. case "and":
  97930. case "or":
  97931. case "not":
  97932. case "clamp":
  97933. _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
  97934. break;
  97935. }
  97936. _this.whitespace$0();
  97937. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, $arguments, precedingComment));
  97938. },
  97939. _stylesheet0$_forRule$2(start, child) {
  97940. var variable, from, _this = this, t1 = {},
  97941. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  97942. _this._stylesheet0$_inControlDirective = true;
  97943. variable = _this.variableName$0();
  97944. _this.whitespace$0();
  97945. _this.expectIdentifier$1("from");
  97946. _this.whitespace$0();
  97947. t1.exclusive = null;
  97948. from = _this._stylesheet0$_expression$1$until(new A.StylesheetParser__forRule_closure1(t1, _this));
  97949. if (t1.exclusive == null)
  97950. _this.scanner.error$1(0, 'Expected "to" or "through".');
  97951. _this.whitespace$0();
  97952. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this._stylesheet0$_expression$0()));
  97953. },
  97954. _stylesheet0$_forwardRule$1(start) {
  97955. var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
  97956. url = _this._stylesheet0$_urlString$0();
  97957. _this.whitespace$0();
  97958. if (_this.scanIdentifier$1("as")) {
  97959. _this.whitespace$0();
  97960. prefix = _this.identifier$1$normalize(true);
  97961. _this.scanner.expectChar$1(42);
  97962. _this.whitespace$0();
  97963. } else
  97964. prefix = _null;
  97965. if (_this.scanIdentifier$1("show")) {
  97966. members = _this._stylesheet0$_memberList$0();
  97967. shownMixinsAndFunctions = members.item1;
  97968. shownVariables = members.item2;
  97969. hiddenVariables = _null;
  97970. hiddenMixinsAndFunctions = hiddenVariables;
  97971. } else {
  97972. if (_this.scanIdentifier$1("hide")) {
  97973. members = _this._stylesheet0$_memberList$0();
  97974. hiddenMixinsAndFunctions = members.item1;
  97975. hiddenVariables = members.item2;
  97976. } else {
  97977. hiddenVariables = _null;
  97978. hiddenMixinsAndFunctions = hiddenVariables;
  97979. }
  97980. shownVariables = _null;
  97981. shownMixinsAndFunctions = shownVariables;
  97982. }
  97983. configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
  97984. _this.expectStatementSeparator$1("@forward rule");
  97985. span = _this.scanner.spanFrom$1(start);
  97986. if (!_this._stylesheet0$_isUseAllowed)
  97987. _this.error$2(0, string$.x40forwa, span);
  97988. if (shownMixinsAndFunctions != null) {
  97989. shownVariables.toString;
  97990. t1 = type$.String;
  97991. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  97992. t3 = type$.UnmodifiableSetView_String;
  97993. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  97994. t4 = configuration == null ? B.List_empty20 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  97995. return new A.ForwardRule0(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  97996. } else if (hiddenMixinsAndFunctions != null) {
  97997. hiddenVariables.toString;
  97998. t1 = type$.String;
  97999. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  98000. t3 = type$.UnmodifiableSetView_String;
  98001. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  98002. t4 = configuration == null ? B.List_empty20 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  98003. return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  98004. } else
  98005. return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty20 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  98006. },
  98007. _stylesheet0$_memberList$0() {
  98008. var _this = this,
  98009. t1 = type$.String,
  98010. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  98011. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  98012. t1 = _this.scanner;
  98013. do {
  98014. _this.whitespace$0();
  98015. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
  98016. _this.whitespace$0();
  98017. } while (t1.scanChar$1(44));
  98018. return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
  98019. },
  98020. _stylesheet0$_ifRule$2(start, child) {
  98021. var condition, children, clauses, lastClause, span, _this = this,
  98022. ifIndentation = _this.get$currentIndentation(),
  98023. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  98024. _this._stylesheet0$_inControlDirective = true;
  98025. condition = _this._stylesheet0$_expression$0();
  98026. children = _this.children$1(0, child);
  98027. _this.whitespaceWithoutComments$0();
  98028. clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
  98029. while (true) {
  98030. if (!_this.scanElse$1(ifIndentation)) {
  98031. lastClause = null;
  98032. break;
  98033. }
  98034. _this.whitespace$0();
  98035. if (_this.scanIdentifier$1("if")) {
  98036. _this.whitespace$0();
  98037. clauses.push(A.IfClause$0(_this._stylesheet0$_expression$0(), _this.children$1(0, child)));
  98038. } else {
  98039. lastClause = A.ElseClause$0(_this.children$1(0, child));
  98040. break;
  98041. }
  98042. }
  98043. _this._stylesheet0$_inControlDirective = wasInControlDirective;
  98044. span = _this.scanner.spanFrom$1(start);
  98045. _this.whitespaceWithoutComments$0();
  98046. return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
  98047. },
  98048. _stylesheet0$_importRule$1(start) {
  98049. var argument, t3, _this = this,
  98050. imports = A._setArrayType([], type$.JSArray_Import_2),
  98051. t1 = _this.scanner,
  98052. t2 = _this.logger;
  98053. do {
  98054. _this.whitespace$0();
  98055. argument = _this.importArgument$0();
  98056. t3 = argument instanceof A.DynamicImport0;
  98057. if (t3)
  98058. A.WarnForDeprecation_warnForDeprecation0(t2, B.Deprecation_import_true_import, string$.Sass__, argument.span, null);
  98059. if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && t3)
  98060. _this._stylesheet0$_disallowedAtRule$1(start);
  98061. imports.push(argument);
  98062. _this.whitespace$0();
  98063. } while (t1.scanChar$1(44));
  98064. _this.expectStatementSeparator$1("@import rule");
  98065. t1 = t1.spanFrom$1(start);
  98066. return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
  98067. },
  98068. importArgument$0() {
  98069. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  98070. t1 = _this.scanner,
  98071. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  98072. next = t1.peekChar$0();
  98073. if (next === 117 || next === 85) {
  98074. url = _this.dynamicUrl$0();
  98075. _this.whitespace$0();
  98076. modifiers = _this.tryImportModifiers$0();
  98077. return new A.StaticImport0(A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
  98078. }
  98079. url = _this.string$0();
  98080. urlSpan = t1.spanFrom$1(start);
  98081. _this.whitespace$0();
  98082. modifiers = _this.tryImportModifiers$0();
  98083. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  98084. t2 = urlSpan;
  98085. 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));
  98086. } else
  98087. try {
  98088. t1 = _this.parseImportUrl$1(url);
  98089. return new A.DynamicImport0(t1, urlSpan);
  98090. } catch (exception) {
  98091. t1 = A.unwrapException(exception);
  98092. if (type$.FormatException._is(t1)) {
  98093. innerError = t1;
  98094. stackTrace = A.getTraceFromException(exception);
  98095. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  98096. } else
  98097. throw exception;
  98098. }
  98099. },
  98100. parseImportUrl$1(url) {
  98101. var t1 = $.$get$windows();
  98102. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  98103. return t1.toUri$1(url).toString$0(0);
  98104. A.Uri_parse(url);
  98105. return url;
  98106. },
  98107. isPlainImportUrl$1(url) {
  98108. var first;
  98109. if (url.length < 5)
  98110. return false;
  98111. if (B.JSString_methods.endsWith$1(url, ".css"))
  98112. return true;
  98113. first = B.JSString_methods._codeUnitAt$1(url, 0);
  98114. if (first === 47)
  98115. return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
  98116. if (first !== 104)
  98117. return false;
  98118. return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  98119. },
  98120. tryImportModifiers$0() {
  98121. var t1, start, t2, t3, buffer, identifier, t4, $name, query, endPosition, t5, result, _this = this;
  98122. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  98123. return null;
  98124. t1 = _this.scanner;
  98125. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  98126. t2 = new A.StringBuffer("");
  98127. t3 = A._setArrayType([], type$.JSArray_Object);
  98128. buffer = new A.InterpolationBuffer0(t2, t3);
  98129. for (; true;)
  98130. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  98131. if (!(t3.length === 0 && t2._contents.length === 0))
  98132. t2._contents += A.Primitives_stringFromCharCode(32);
  98133. identifier = _this.interpolatedIdentifier$0();
  98134. buffer.addInterpolation$1(identifier);
  98135. t4 = identifier.get$asPlain();
  98136. $name = t4 == null ? null : t4.toLowerCase();
  98137. if ($name !== "and" && t1.scanChar$1(40)) {
  98138. if ($name === "supports") {
  98139. query = _this._stylesheet0$_importSupportsQuery$0();
  98140. t4 = !(query instanceof A.SupportsDeclaration0);
  98141. if (t4)
  98142. t2._contents += A.Primitives_stringFromCharCode(40);
  98143. buffer._interpolation_buffer0$_flushText$0();
  98144. t3.push(new A.SupportsExpression0(query));
  98145. if (t4)
  98146. t2._contents += A.Primitives_stringFromCharCode(41);
  98147. } else {
  98148. t2._contents += A.Primitives_stringFromCharCode(40);
  98149. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
  98150. t2._contents += A.Primitives_stringFromCharCode(41);
  98151. }
  98152. t1.expectChar$1(41);
  98153. _this.whitespace$0();
  98154. } else {
  98155. _this.whitespace$0();
  98156. if (t1.scanChar$1(44)) {
  98157. t2._contents += ", ";
  98158. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  98159. endPosition = t1._string_scanner$_position;
  98160. t4 = t1._sourceFile;
  98161. t5 = start.position;
  98162. t1 = new A._FileSpan(t4, t5, endPosition);
  98163. t1._FileSpan$3(t4, t5, endPosition);
  98164. t5 = type$.Object;
  98165. t4 = A.List_List$of(t3, true, t5);
  98166. t3 = t2._contents;
  98167. if (t3.length !== 0)
  98168. t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  98169. result = A.List_List$from(t4, false, t5);
  98170. result.fixed$length = Array;
  98171. result.immutable$list = Array;
  98172. t2 = new A.Interpolation0(result, t1);
  98173. t2.Interpolation$20(t4, t1);
  98174. return t2;
  98175. }
  98176. }
  98177. } else if (t1.peekChar$0() === 40) {
  98178. if (!(t3.length === 0 && t2._contents.length === 0))
  98179. t2._contents += A.Primitives_stringFromCharCode(32);
  98180. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  98181. endPosition = t1._string_scanner$_position;
  98182. t1 = t1._sourceFile;
  98183. t4 = start.position;
  98184. t5 = new A._FileSpan(t1, t4, endPosition);
  98185. t5._FileSpan$3(t1, t4, endPosition);
  98186. t4 = type$.Object;
  98187. t3 = A.List_List$of(t3, true, t4);
  98188. t1 = t2._contents;
  98189. if (t1.length !== 0)
  98190. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  98191. result = A.List_List$from(t3, false, t4);
  98192. result.fixed$length = Array;
  98193. result.immutable$list = Array;
  98194. t1 = new A.Interpolation0(result, t5);
  98195. t1.Interpolation$20(t3, t5);
  98196. return t1;
  98197. } else {
  98198. endPosition = t1._string_scanner$_position;
  98199. t1 = t1._sourceFile;
  98200. t4 = start.position;
  98201. t5 = new A._FileSpan(t1, t4, endPosition);
  98202. t5._FileSpan$3(t1, t4, endPosition);
  98203. t4 = type$.Object;
  98204. t3 = A.List_List$of(t3, true, t4);
  98205. t1 = t2._contents;
  98206. if (t1.length !== 0)
  98207. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  98208. result = A.List_List$from(t3, false, t4);
  98209. result.fixed$length = Array;
  98210. result.immutable$list = Array;
  98211. t1 = new A.Interpolation0(result, t5);
  98212. t1.Interpolation$20(t3, t5);
  98213. return t1;
  98214. }
  98215. },
  98216. _stylesheet0$_importSupportsQuery$0() {
  98217. var t1, t2, $function, $name, _this = this;
  98218. if (_this.scanIdentifier$1("not")) {
  98219. _this.whitespace$0();
  98220. t1 = _this.scanner;
  98221. t2 = t1._string_scanner$_position;
  98222. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  98223. } else {
  98224. t1 = _this.scanner;
  98225. if (t1.peekChar$0() === 40)
  98226. return _this._stylesheet0$_supportsCondition$0();
  98227. else {
  98228. $function = _this._stylesheet0$_tryImportSupportsFunction$0();
  98229. if ($function != null)
  98230. return $function;
  98231. t2 = t1._string_scanner$_position;
  98232. $name = _this._stylesheet0$_expression$0();
  98233. t1.expectChar$1(58);
  98234. return _this._stylesheet0$_supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
  98235. }
  98236. }
  98237. },
  98238. _stylesheet0$_tryImportSupportsFunction$0() {
  98239. var t1, start, $name, value, _this = this;
  98240. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  98241. return null;
  98242. t1 = _this.scanner;
  98243. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  98244. $name = _this.interpolatedIdentifier$0();
  98245. if (!t1.scanChar$1(40)) {
  98246. t1.set$state(start);
  98247. return null;
  98248. }
  98249. value = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  98250. t1.expectChar$1(41);
  98251. return new A.SupportsFunction0($name, value, t1.spanFrom$1(start));
  98252. },
  98253. _stylesheet0$_includeRule$1(start) {
  98254. var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
  98255. $name = _this.identifier$0(),
  98256. t1 = _this.scanner;
  98257. if (t1.scanChar$1(46)) {
  98258. name0 = _this._stylesheet0$_publicIdentifier$0();
  98259. namespace = $name;
  98260. $name = name0;
  98261. } else {
  98262. $name = A.stringReplaceAllUnchecked($name, "_", "-");
  98263. namespace = _null;
  98264. }
  98265. _this.whitespace$0();
  98266. if (t1.peekChar$0() === 40)
  98267. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  98268. else {
  98269. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  98270. t3 = t2.offset;
  98271. $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
  98272. }
  98273. _this.whitespace$0();
  98274. if (_this.scanIdentifier$1("using")) {
  98275. _this.whitespace$0();
  98276. contentArguments = _this._stylesheet0$_argumentDeclaration$0();
  98277. _this.whitespace$0();
  98278. } else
  98279. contentArguments = _null;
  98280. t2 = contentArguments == null;
  98281. if (!t2 || _this.lookingAtChildren$0()) {
  98282. if (t2) {
  98283. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  98284. t3 = t2.offset;
  98285. contentArguments_ = new A.ArgumentDeclaration0(B.List_empty22, _null, A._FileSpan$(t2.file, t3, t3));
  98286. } else
  98287. contentArguments_ = contentArguments;
  98288. wasInContentBlock = _this._stylesheet0$_inContentBlock;
  98289. _this._stylesheet0$_inContentBlock = true;
  98290. $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentArguments_));
  98291. _this._stylesheet0$_inContentBlock = wasInContentBlock;
  98292. } else {
  98293. _this.expectStatementSeparator$0();
  98294. $content = _null;
  98295. }
  98296. t1 = t1.spanFrom$2(start, start);
  98297. t2 = $content == null ? $arguments : $content;
  98298. return new A.IncludeRule0(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
  98299. },
  98300. mediaRule$1(start) {
  98301. return this._stylesheet0$_withChildren$3(this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(this._stylesheet0$_mediaQueryList$0()));
  98302. },
  98303. _stylesheet0$_mixinRule$1(start) {
  98304. var $name, t1, $arguments, t2, t3, _this = this,
  98305. precedingComment = _this.lastSilentComment;
  98306. _this.lastSilentComment = null;
  98307. $name = _this.identifier$1$normalize(true);
  98308. _this.whitespace$0();
  98309. t1 = _this.scanner;
  98310. if (t1.peekChar$0() === 40)
  98311. $arguments = _this._stylesheet0$_argumentDeclaration$0();
  98312. else {
  98313. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  98314. t3 = t2.offset;
  98315. $arguments = new A.ArgumentDeclaration0(B.List_empty22, null, A._FileSpan$(t2.file, t3, t3));
  98316. }
  98317. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  98318. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  98319. else if (_this._stylesheet0$_inControlDirective)
  98320. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  98321. _this.whitespace$0();
  98322. _this._stylesheet0$_inMixin = true;
  98323. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, $arguments, precedingComment));
  98324. },
  98325. mozDocumentRule$2(start, $name) {
  98326. var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
  98327. t1 = _this.scanner,
  98328. t2 = t1._string_scanner$_position,
  98329. t3 = new A.StringBuffer(""),
  98330. t4 = A._setArrayType([], type$.JSArray_Object),
  98331. buffer = new A.InterpolationBuffer0(t3, t4);
  98332. _box_0.needsDeprecationWarning = false;
  98333. for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
  98334. if (t1.peekChar$0() === 35) {
  98335. t7 = _this.singleInterpolation$0();
  98336. buffer._interpolation_buffer0$_flushText$0();
  98337. t4.push(t7);
  98338. _box_0.needsDeprecationWarning = true;
  98339. } else {
  98340. t7 = t1._string_scanner$_position;
  98341. identifier = _this.identifier$0();
  98342. switch (identifier) {
  98343. case "url":
  98344. case "url-prefix":
  98345. case "domain":
  98346. contents = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
  98347. if (contents != null)
  98348. buffer.addInterpolation$1(contents);
  98349. else {
  98350. t1.expectChar$1(40);
  98351. _this.whitespace$0();
  98352. argument = _this.interpolatedString$0();
  98353. t1.expectChar$1(41);
  98354. t3._contents += identifier;
  98355. t3._contents += A.Primitives_stringFromCharCode(40);
  98356. buffer.addInterpolation$1(argument.asInterpolation$0());
  98357. t3._contents += A.Primitives_stringFromCharCode(41);
  98358. }
  98359. t7 = t3._contents;
  98360. trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
  98361. 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("")'))
  98362. _box_0.needsDeprecationWarning = true;
  98363. break;
  98364. case "regexp":
  98365. t3._contents += "regexp(";
  98366. t1.expectChar$1(40);
  98367. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  98368. t1.expectChar$1(41);
  98369. t3._contents += A.Primitives_stringFromCharCode(41);
  98370. _box_0.needsDeprecationWarning = true;
  98371. break;
  98372. default:
  98373. endPosition = t1._string_scanner$_position;
  98374. t8 = t1._sourceFile;
  98375. t9 = new A._FileSpan(t8, t7, endPosition);
  98376. t9._FileSpan$3(t8, t7, endPosition);
  98377. A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
  98378. }
  98379. }
  98380. _this.whitespace$0();
  98381. if (!t1.scanChar$1(44))
  98382. break;
  98383. t3._contents += A.Primitives_stringFromCharCode(44);
  98384. start0 = t1._string_scanner$_position;
  98385. t5.call$0();
  98386. end = t1._string_scanner$_position;
  98387. t3._contents += B.JSString_methods.substring$2(t6, start0, end);
  98388. }
  98389. 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)))));
  98390. },
  98391. supportsRule$1(start) {
  98392. var _this = this,
  98393. condition = _this._stylesheet0$_supportsCondition$0();
  98394. _this.whitespace$0();
  98395. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
  98396. },
  98397. _stylesheet0$_useNamespace$2(url, start) {
  98398. var namespace, basename, dot, t1, exception, _this = this;
  98399. if (_this.scanIdentifier$1("as")) {
  98400. _this.whitespace$0();
  98401. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  98402. }
  98403. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  98404. dot = B.JSString_methods.indexOf$1(basename, ".");
  98405. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  98406. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  98407. try {
  98408. t1 = A.SpanScanner$(namespace, null);
  98409. t1 = new A.Parser1(t1, _this.logger, null)._parser0$_parseIdentifier$0();
  98410. return t1;
  98411. } catch (exception) {
  98412. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  98413. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  98414. else
  98415. throw exception;
  98416. }
  98417. },
  98418. _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
  98419. var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
  98420. if (!_this.scanIdentifier$1("with"))
  98421. return null;
  98422. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  98423. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
  98424. _this.whitespace$0();
  98425. t1 = _this.scanner;
  98426. t1.expectChar$1(40);
  98427. for (t2 = t1.string; true;) {
  98428. _this.whitespace$0();
  98429. t3 = t1._string_scanner$_position;
  98430. t1.expectChar$1(36);
  98431. $name = _this.identifier$1$normalize(true);
  98432. _this.whitespace$0();
  98433. t1.expectChar$1(58);
  98434. _this.whitespace$0();
  98435. expression = _this.expressionUntilComma$0();
  98436. t4 = t1._string_scanner$_position;
  98437. if (allowGuarded && t1.scanChar$1(33))
  98438. if (_this.identifier$0() === "default") {
  98439. _this.whitespace$0();
  98440. guarded = true;
  98441. } else {
  98442. endPosition = t1._string_scanner$_position;
  98443. t5 = t1._sourceFile;
  98444. t6 = new A._FileSpan(t5, t4, endPosition);
  98445. t6._FileSpan$3(t5, t4, endPosition);
  98446. A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
  98447. guarded = false;
  98448. }
  98449. else
  98450. guarded = false;
  98451. endPosition = t1._string_scanner$_position;
  98452. t4 = t1._sourceFile;
  98453. span = new A._FileSpan(t4, t3, endPosition);
  98454. span._FileSpan$3(t4, t3, endPosition);
  98455. if (variableNames.contains$1(0, $name))
  98456. A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
  98457. variableNames.add$1(0, $name);
  98458. configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
  98459. if (!t1.scanChar$1(44))
  98460. break;
  98461. _this.whitespace$0();
  98462. if (!_this._stylesheet0$_lookingAtExpression$0())
  98463. break;
  98464. }
  98465. t1.expectChar$1(41);
  98466. return configuration;
  98467. },
  98468. _stylesheet0$_configuration$0() {
  98469. return this._stylesheet0$_configuration$1$allowGuarded(false);
  98470. },
  98471. _stylesheet0$_warnRule$1(start) {
  98472. var value = this._stylesheet0$_expression$0();
  98473. this.expectStatementSeparator$1("@warn rule");
  98474. return new A.WarnRule0(value, this.scanner.spanFrom$1(start));
  98475. },
  98476. _stylesheet0$_whileRule$2(start, child) {
  98477. var _this = this,
  98478. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  98479. _this._stylesheet0$_inControlDirective = true;
  98480. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this._stylesheet0$_expression$0()));
  98481. },
  98482. unknownAtRule$2(start, $name) {
  98483. var t2, t3, rule, _this = this, t1 = {},
  98484. wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
  98485. _this._stylesheet0$_inUnknownAtRule = true;
  98486. t1.value = null;
  98487. t2 = _this.scanner;
  98488. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
  98489. if (_this.lookingAtChildren$0())
  98490. rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
  98491. else {
  98492. _this.expectStatementSeparator$0();
  98493. rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
  98494. }
  98495. _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
  98496. return rule;
  98497. },
  98498. _stylesheet0$_disallowedAtRule$1(start) {
  98499. this.almostAnyValue$0();
  98500. this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
  98501. },
  98502. _stylesheet0$_argumentDeclaration$0() {
  98503. var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
  98504. t1 = _this.scanner,
  98505. t2 = t1._string_scanner$_position;
  98506. t1.expectChar$1(40);
  98507. _this.whitespace$0();
  98508. $arguments = A._setArrayType([], type$.JSArray_Argument_2);
  98509. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  98510. t3 = t1.string;
  98511. while (true) {
  98512. if (!(t1.peekChar$0() === 36)) {
  98513. restArgument = null;
  98514. break;
  98515. }
  98516. t4 = t1._string_scanner$_position;
  98517. t1.expectChar$1(36);
  98518. $name = _this.identifier$1$normalize(true);
  98519. _this.whitespace$0();
  98520. if (t1.scanChar$1(58)) {
  98521. _this.whitespace$0();
  98522. defaultValue = _this.expressionUntilComma$0();
  98523. } else {
  98524. if (t1.scanChar$1(46)) {
  98525. t1.expectChar$1(46);
  98526. t1.expectChar$1(46);
  98527. _this.whitespace$0();
  98528. restArgument = $name;
  98529. break;
  98530. }
  98531. defaultValue = null;
  98532. }
  98533. endPosition = t1._string_scanner$_position;
  98534. t5 = t1._sourceFile;
  98535. t6 = new A._FileSpan(t5, t4, endPosition);
  98536. t6._FileSpan$3(t5, t4, endPosition);
  98537. $arguments.push(new A.Argument0($name, defaultValue, t6));
  98538. if (!named.add$1(0, $name))
  98539. A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
  98540. if (!t1.scanChar$1(44)) {
  98541. restArgument = null;
  98542. break;
  98543. }
  98544. _this.whitespace$0();
  98545. }
  98546. t1.expectChar$1(41);
  98547. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  98548. return new A.ArgumentDeclaration0(A.List_List$unmodifiable($arguments, type$.Argument_2), restArgument, t1);
  98549. },
  98550. _stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  98551. var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, result, _this = this, _null = null,
  98552. t1 = _this.scanner,
  98553. t2 = t1._string_scanner$_position;
  98554. t1.expectChar$1(40);
  98555. _this.whitespace$0();
  98556. positional = A._setArrayType([], type$.JSArray_Expression_2);
  98557. t3 = type$.String;
  98558. t4 = type$.Expression_2;
  98559. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  98560. t5 = !mixin;
  98561. t6 = t1.string;
  98562. rest = _null;
  98563. while (true) {
  98564. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  98565. keywordRest = _null;
  98566. break;
  98567. }
  98568. expression = _this.expressionUntilComma$1$singleEquals(t5);
  98569. _this.whitespace$0();
  98570. if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
  98571. _this.whitespace$0();
  98572. t7 = expression.name;
  98573. if (named.containsKey$1(t7))
  98574. A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
  98575. named.$indexSet(0, t7, _this.expressionUntilComma$1$singleEquals(t5));
  98576. } else if (t1.scanChar$1(46)) {
  98577. t1.expectChar$1(46);
  98578. t1.expectChar$1(46);
  98579. if (rest != null) {
  98580. _this.whitespace$0();
  98581. keywordRest = expression;
  98582. break;
  98583. }
  98584. rest = expression;
  98585. } else if (named.__js_helper$_length !== 0)
  98586. A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
  98587. else
  98588. positional.push(expression);
  98589. _this.whitespace$0();
  98590. if (!t1.scanChar$1(44)) {
  98591. keywordRest = _null;
  98592. break;
  98593. }
  98594. _this.whitespace$0();
  98595. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  98596. t5 = t1._sourceFile;
  98597. t6 = t1._string_scanner$_position;
  98598. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  98599. t7 = new A._FileSpan(t5, t6, t6);
  98600. t7._FileSpan$3(t5, t6, t6);
  98601. t6 = A._setArrayType([""], type$.JSArray_Object);
  98602. result = A.List_List$from(t6, false, type$.Object);
  98603. result.fixed$length = Array;
  98604. result.immutable$list = Array;
  98605. t5 = new A.Interpolation0(result, t7);
  98606. t5.Interpolation$20(t6, t7);
  98607. positional.push(new A.StringExpression0(t5, false));
  98608. keywordRest = _null;
  98609. break;
  98610. }
  98611. }
  98612. t1.expectChar$1(41);
  98613. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  98614. return new A.ArgumentInvocation0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  98615. },
  98616. _stylesheet0$_argumentInvocation$0() {
  98617. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  98618. },
  98619. _stylesheet0$_argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  98620. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  98621. },
  98622. _stylesheet0$_argumentInvocation$1$mixin(mixin) {
  98623. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  98624. },
  98625. _stylesheet0$_expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
  98626. var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
  98627. _s20_ = "Expected expression.",
  98628. _box_0 = {},
  98629. t1 = until != null;
  98630. if (t1 && until.call$0())
  98631. _this.scanner.error$1(0, _s20_);
  98632. if (bracketList) {
  98633. t2 = _this.scanner;
  98634. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  98635. t2.expectChar$1(91);
  98636. _this.whitespace$0();
  98637. if (t2.scanChar$1(93)) {
  98638. t1 = A._setArrayType([], type$.JSArray_Expression_2);
  98639. t2 = t2.spanFrom$1(beforeBracket);
  98640. return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  98641. }
  98642. } else
  98643. beforeBracket = null;
  98644. t2 = _this.scanner;
  98645. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  98646. wasInParentheses = _this._stylesheet0$_inParentheses;
  98647. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  98648. _box_0.allowSlash = true;
  98649. _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
  98650. resetState = new A.StylesheetParser__expression_resetState0(_box_0, _this, start);
  98651. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation0(_box_0, _this);
  98652. resolveOperations = new A.StylesheetParser__expression_resolveOperations0(_box_0, resolveOneOperation);
  98653. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
  98654. addOperator = new A.StylesheetParser__expression_addOperator0(_box_0, _this, resolveOneOperation);
  98655. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
  98656. $label0$0:
  98657. for (t3 = type$.JSArray_Expression_2; true;) {
  98658. _this.whitespace$0();
  98659. if (t1 && until.call$0())
  98660. break $label0$0;
  98661. first = t2.peekChar$0();
  98662. switch (first) {
  98663. case 40:
  98664. addSingleExpression.call$1(_this._stylesheet0$_parentheses$0());
  98665. break;
  98666. case 91:
  98667. addSingleExpression.call$1(_this._stylesheet0$_expression$1$bracketList(true));
  98668. break;
  98669. case 36:
  98670. addSingleExpression.call$1(_this._stylesheet0$_variable$0());
  98671. break;
  98672. case 38:
  98673. addSingleExpression.call$1(_this._stylesheet0$_selector$0());
  98674. break;
  98675. case 39:
  98676. case 34:
  98677. addSingleExpression.call$1(_this.interpolatedString$0());
  98678. break;
  98679. case 35:
  98680. addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
  98681. break;
  98682. case 61:
  98683. t2.readChar$0();
  98684. if (singleEquals && t2.peekChar$0() !== 61)
  98685. addOperator.call$1(B.BinaryOperator_2jN0);
  98686. else {
  98687. t2.expectChar$1(61);
  98688. addOperator.call$1(B.BinaryOperator_ql50);
  98689. }
  98690. break;
  98691. case 33:
  98692. next = t2.peekChar$1(1);
  98693. if (next === 61) {
  98694. t2.readChar$0();
  98695. t2.readChar$0();
  98696. addOperator.call$1(B.BinaryOperator_ViB0);
  98697. } else {
  98698. if (next != null)
  98699. if ((next | 32) !== 105)
  98700. t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
  98701. else
  98702. t4 = true;
  98703. else
  98704. t4 = true;
  98705. if (t4)
  98706. addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
  98707. else
  98708. break $label0$0;
  98709. }
  98710. break;
  98711. case 60:
  98712. t2.readChar$0();
  98713. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_kpg0 : B.BinaryOperator_U8c0);
  98714. break;
  98715. case 62:
  98716. t2.readChar$0();
  98717. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_7Tg0 : B.BinaryOperator_cIH0);
  98718. break;
  98719. case 42:
  98720. t2.readChar$0();
  98721. addOperator.call$1(B.BinaryOperator_qN20);
  98722. break;
  98723. case 43:
  98724. if (_box_0.singleExpression_ == null)
  98725. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  98726. else {
  98727. t2.readChar$0();
  98728. addOperator.call$1(B.BinaryOperator_anB0);
  98729. }
  98730. break;
  98731. case 45:
  98732. next = t2.peekChar$1(1);
  98733. if (next != null && next >= 48 && next <= 57 || next === 46)
  98734. if (_box_0.singleExpression_ != null) {
  98735. t4 = t2.peekChar$1(-1);
  98736. t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
  98737. } else
  98738. t4 = true;
  98739. else
  98740. t4 = false;
  98741. if (t4)
  98742. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  98743. else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  98744. addSingleExpression.call$1(_this.identifierLike$0());
  98745. else if (_box_0.singleExpression_ == null)
  98746. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  98747. else {
  98748. t2.readChar$0();
  98749. addOperator.call$1(B.BinaryOperator_olz0);
  98750. }
  98751. break;
  98752. case 47:
  98753. if (_box_0.singleExpression_ == null)
  98754. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  98755. else {
  98756. t2.readChar$0();
  98757. addOperator.call$1(B.BinaryOperator_t8B0);
  98758. }
  98759. break;
  98760. case 37:
  98761. t2.readChar$0();
  98762. addOperator.call$1(B.BinaryOperator_OTG0);
  98763. break;
  98764. case 48:
  98765. case 49:
  98766. case 50:
  98767. case 51:
  98768. case 52:
  98769. case 53:
  98770. case 54:
  98771. case 55:
  98772. case 56:
  98773. case 57:
  98774. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  98775. break;
  98776. case 46:
  98777. if (t2.peekChar$1(1) === 46)
  98778. break $label0$0;
  98779. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  98780. break;
  98781. case 97:
  98782. if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
  98783. addOperator.call$1(B.BinaryOperator_SNp0);
  98784. else
  98785. addSingleExpression.call$1(_this.identifierLike$0());
  98786. break;
  98787. case 111:
  98788. if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
  98789. addOperator.call$1(B.BinaryOperator_M6L0);
  98790. else
  98791. addSingleExpression.call$1(_this.identifierLike$0());
  98792. break;
  98793. case 117:
  98794. case 85:
  98795. if (t2.peekChar$1(1) === 43)
  98796. addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
  98797. else
  98798. addSingleExpression.call$1(_this.identifierLike$0());
  98799. break;
  98800. case 98:
  98801. case 99:
  98802. case 100:
  98803. case 101:
  98804. case 102:
  98805. case 103:
  98806. case 104:
  98807. case 105:
  98808. case 106:
  98809. case 107:
  98810. case 108:
  98811. case 109:
  98812. case 110:
  98813. case 112:
  98814. case 113:
  98815. case 114:
  98816. case 115:
  98817. case 116:
  98818. case 118:
  98819. case 119:
  98820. case 120:
  98821. case 121:
  98822. case 122:
  98823. case 65:
  98824. case 66:
  98825. case 67:
  98826. case 68:
  98827. case 69:
  98828. case 70:
  98829. case 71:
  98830. case 72:
  98831. case 73:
  98832. case 74:
  98833. case 75:
  98834. case 76:
  98835. case 77:
  98836. case 78:
  98837. case 79:
  98838. case 80:
  98839. case 81:
  98840. case 82:
  98841. case 83:
  98842. case 84:
  98843. case 86:
  98844. case 87:
  98845. case 88:
  98846. case 89:
  98847. case 90:
  98848. case 95:
  98849. case 92:
  98850. addSingleExpression.call$1(_this.identifierLike$0());
  98851. break;
  98852. case 44:
  98853. if (_this._stylesheet0$_inParentheses) {
  98854. _this._stylesheet0$_inParentheses = false;
  98855. if (_box_0.allowSlash) {
  98856. resetState.call$0();
  98857. break;
  98858. }
  98859. }
  98860. commaExpressions = _box_0.commaExpressions_;
  98861. if (commaExpressions == null)
  98862. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
  98863. if (_box_0.singleExpression_ == null)
  98864. t2.error$1(0, _s20_);
  98865. resolveSpaceExpressions.call$0();
  98866. t4 = _box_0.singleExpression_;
  98867. t4.toString;
  98868. commaExpressions.push(t4);
  98869. t2.readChar$0();
  98870. _box_0.allowSlash = true;
  98871. _box_0.singleExpression_ = null;
  98872. break;
  98873. default:
  98874. if (first != null && first >= 128) {
  98875. addSingleExpression.call$1(_this.identifierLike$0());
  98876. break;
  98877. } else
  98878. break $label0$0;
  98879. }
  98880. }
  98881. if (bracketList)
  98882. t2.expectChar$1(93);
  98883. commaExpressions = _box_0.commaExpressions_;
  98884. spaceExpressions = _box_0.spaceExpressions_;
  98885. if (commaExpressions != null) {
  98886. resolveSpaceExpressions.call$0();
  98887. _this._stylesheet0$_inParentheses = wasInParentheses;
  98888. singleExpression = _box_0.singleExpression_;
  98889. if (singleExpression != null)
  98890. commaExpressions.push(singleExpression);
  98891. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  98892. return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_rXA0, bracketList, t1);
  98893. } else if (bracketList && spaceExpressions != null) {
  98894. resolveOperations.call$0();
  98895. t1 = _box_0.singleExpression_;
  98896. t1.toString;
  98897. spaceExpressions.push(t1);
  98898. beforeBracket.toString;
  98899. t2 = t2.spanFrom$1(beforeBracket);
  98900. return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_EVt0, true, t2);
  98901. } else {
  98902. resolveSpaceExpressions.call$0();
  98903. if (bracketList) {
  98904. t1 = _box_0.singleExpression_;
  98905. t1.toString;
  98906. t3 = A._setArrayType([t1], t3);
  98907. beforeBracket.toString;
  98908. t2 = t2.spanFrom$1(beforeBracket);
  98909. _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t3, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  98910. }
  98911. t1 = _box_0.singleExpression_;
  98912. t1.toString;
  98913. return t1;
  98914. }
  98915. },
  98916. _stylesheet0$_expression$2$singleEquals$until(singleEquals, until) {
  98917. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, singleEquals, until);
  98918. },
  98919. _stylesheet0$_expression$1$bracketList(bracketList) {
  98920. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(bracketList, false, null);
  98921. },
  98922. _stylesheet0$_expression$0() {
  98923. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, false, null);
  98924. },
  98925. _stylesheet0$_expression$1$until(until) {
  98926. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, false, until);
  98927. },
  98928. expressionUntilComma$1$singleEquals(singleEquals) {
  98929. return this._stylesheet0$_expression$2$singleEquals$until(singleEquals, new A.StylesheetParser_expressionUntilComma_closure0(this));
  98930. },
  98931. expressionUntilComma$0() {
  98932. return this.expressionUntilComma$1$singleEquals(false);
  98933. },
  98934. _stylesheet0$_isSlashOperand$1(expression) {
  98935. var t1;
  98936. if (!(expression instanceof A.NumberExpression0))
  98937. if (!(expression instanceof A.CalculationExpression0))
  98938. t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
  98939. else
  98940. t1 = true;
  98941. else
  98942. t1 = true;
  98943. return t1;
  98944. },
  98945. _stylesheet0$_singleExpression$0() {
  98946. var next, _this = this,
  98947. t1 = _this.scanner,
  98948. first = t1.peekChar$0();
  98949. switch (first) {
  98950. case 40:
  98951. return _this._stylesheet0$_parentheses$0();
  98952. case 47:
  98953. return _this._stylesheet0$_unaryOperation$0();
  98954. case 46:
  98955. return _this._stylesheet0$_number$0();
  98956. case 91:
  98957. return _this._stylesheet0$_expression$1$bracketList(true);
  98958. case 36:
  98959. return _this._stylesheet0$_variable$0();
  98960. case 38:
  98961. return _this._stylesheet0$_selector$0();
  98962. case 39:
  98963. case 34:
  98964. return _this.interpolatedString$0();
  98965. case 35:
  98966. return _this._stylesheet0$_hashExpression$0();
  98967. case 43:
  98968. next = t1.peekChar$1(1);
  98969. return A.isDigit0(next) || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
  98970. case 45:
  98971. return _this._stylesheet0$_minusExpression$0();
  98972. case 33:
  98973. return _this._stylesheet0$_importantExpression$0();
  98974. case 117:
  98975. case 85:
  98976. if (t1.peekChar$1(1) === 43)
  98977. return _this._stylesheet0$_unicodeRange$0();
  98978. else
  98979. return _this.identifierLike$0();
  98980. case 48:
  98981. case 49:
  98982. case 50:
  98983. case 51:
  98984. case 52:
  98985. case 53:
  98986. case 54:
  98987. case 55:
  98988. case 56:
  98989. case 57:
  98990. return _this._stylesheet0$_number$0();
  98991. case 97:
  98992. case 98:
  98993. case 99:
  98994. case 100:
  98995. case 101:
  98996. case 102:
  98997. case 103:
  98998. case 104:
  98999. case 105:
  99000. case 106:
  99001. case 107:
  99002. case 108:
  99003. case 109:
  99004. case 110:
  99005. case 111:
  99006. case 112:
  99007. case 113:
  99008. case 114:
  99009. case 115:
  99010. case 116:
  99011. case 118:
  99012. case 119:
  99013. case 120:
  99014. case 121:
  99015. case 122:
  99016. case 65:
  99017. case 66:
  99018. case 67:
  99019. case 68:
  99020. case 69:
  99021. case 70:
  99022. case 71:
  99023. case 72:
  99024. case 73:
  99025. case 74:
  99026. case 75:
  99027. case 76:
  99028. case 77:
  99029. case 78:
  99030. case 79:
  99031. case 80:
  99032. case 81:
  99033. case 82:
  99034. case 83:
  99035. case 84:
  99036. case 86:
  99037. case 87:
  99038. case 88:
  99039. case 89:
  99040. case 90:
  99041. case 95:
  99042. case 92:
  99043. return _this.identifierLike$0();
  99044. default:
  99045. if (first != null && first >= 128)
  99046. return _this.identifierLike$0();
  99047. t1.error$1(0, "Expected expression.");
  99048. }
  99049. },
  99050. _stylesheet0$_parentheses$0() {
  99051. var wasInParentheses, start, first, expressions, t1, t2, _this = this;
  99052. if (_this.get$plainCss())
  99053. _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
  99054. wasInParentheses = _this._stylesheet0$_inParentheses;
  99055. _this._stylesheet0$_inParentheses = true;
  99056. try {
  99057. t1 = _this.scanner;
  99058. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99059. t1.expectChar$1(40);
  99060. _this.whitespace$0();
  99061. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  99062. t1.expectChar$1(41);
  99063. t2 = A._setArrayType([], type$.JSArray_Expression_2);
  99064. t1 = t1.spanFrom$1(start);
  99065. t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
  99066. return new A.ListExpression0(t2, B.ListSeparator_undecided_null_undecided0, false, t1);
  99067. }
  99068. first = _this.expressionUntilComma$0();
  99069. if (t1.scanChar$1(58)) {
  99070. _this.whitespace$0();
  99071. t1 = _this._stylesheet0$_map$2(first, start);
  99072. return t1;
  99073. }
  99074. if (!t1.scanChar$1(44)) {
  99075. t1.expectChar$1(41);
  99076. t1 = t1.spanFrom$1(start);
  99077. return new A.ParenthesizedExpression0(first, t1);
  99078. }
  99079. _this.whitespace$0();
  99080. expressions = A._setArrayType([first], type$.JSArray_Expression_2);
  99081. for (; true;) {
  99082. if (!_this._stylesheet0$_lookingAtExpression$0())
  99083. break;
  99084. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  99085. if (!t1.scanChar$1(44))
  99086. break;
  99087. _this.whitespace$0();
  99088. }
  99089. t1.expectChar$1(41);
  99090. t1 = t1.spanFrom$1(start);
  99091. t2 = A.List_List$unmodifiable(expressions, type$.Expression_2);
  99092. return new A.ListExpression0(t2, B.ListSeparator_rXA0, false, t1);
  99093. } finally {
  99094. _this._stylesheet0$_inParentheses = wasInParentheses;
  99095. }
  99096. },
  99097. _stylesheet0$_map$2(first, start) {
  99098. var t2, key, _this = this,
  99099. t1 = type$.Tuple2_Expression_Expression_2,
  99100. pairs = A._setArrayType([new A.Tuple2(first, _this.expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression_2);
  99101. for (t2 = _this.scanner; t2.scanChar$1(44);) {
  99102. _this.whitespace$0();
  99103. if (!_this._stylesheet0$_lookingAtExpression$0())
  99104. break;
  99105. key = _this.expressionUntilComma$0();
  99106. t2.expectChar$1(58);
  99107. _this.whitespace$0();
  99108. pairs.push(new A.Tuple2(key, _this.expressionUntilComma$0(), t1));
  99109. }
  99110. t2.expectChar$1(41);
  99111. t2 = t2.spanFrom$1(start);
  99112. return new A.MapExpression0(A.List_List$unmodifiable(pairs, t1), t2);
  99113. },
  99114. _stylesheet0$_hashExpression$0() {
  99115. var start, first, t2, identifier, buffer, _this = this,
  99116. t1 = _this.scanner;
  99117. if (t1.peekChar$1(1) === 123)
  99118. return _this.identifierLike$0();
  99119. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99120. t1.expectChar$1(35);
  99121. first = t1.peekChar$0();
  99122. if (first != null && A.isDigit0(first))
  99123. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  99124. t2 = t1._string_scanner$_position;
  99125. identifier = _this.interpolatedIdentifier$0();
  99126. if (_this._stylesheet0$_isHexColor$1(identifier)) {
  99127. t1.set$state(new A._SpanScannerState(t1, t2));
  99128. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  99129. }
  99130. t2 = new A.StringBuffer("");
  99131. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  99132. t2._contents += A.Primitives_stringFromCharCode(35);
  99133. buffer.addInterpolation$1(identifier);
  99134. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  99135. },
  99136. _stylesheet0$_hexColorContents$1(start) {
  99137. var red, green, blue, alpha, digit4, t2, t3, _this = this,
  99138. digit1 = _this._stylesheet0$_hexDigit$0(),
  99139. digit2 = _this._stylesheet0$_hexDigit$0(),
  99140. digit3 = _this._stylesheet0$_hexDigit$0(),
  99141. t1 = _this.scanner;
  99142. if (!A.isHex0(t1.peekChar$0())) {
  99143. red = (digit1 << 4 >>> 0) + digit1;
  99144. green = (digit2 << 4 >>> 0) + digit2;
  99145. blue = (digit3 << 4 >>> 0) + digit3;
  99146. alpha = null;
  99147. } else {
  99148. digit4 = _this._stylesheet0$_hexDigit$0();
  99149. t2 = digit1 << 4 >>> 0;
  99150. t3 = digit3 << 4 >>> 0;
  99151. if (!A.isHex0(t1.peekChar$0())) {
  99152. red = t2 + digit1;
  99153. green = (digit2 << 4 >>> 0) + digit2;
  99154. blue = t3 + digit3;
  99155. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  99156. } else {
  99157. red = t2 + digit2;
  99158. green = t3 + digit4;
  99159. blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
  99160. alpha = A.isHex0(t1.peekChar$0()) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : null;
  99161. }
  99162. }
  99163. return A.SassColor$rgbInternal0(red, green, blue, alpha, alpha == null ? new A.SpanColorFormat0(t1.spanFrom$1(start)) : null);
  99164. },
  99165. _stylesheet0$_isHexColor$1(interpolation) {
  99166. var t1,
  99167. plain = interpolation.get$asPlain();
  99168. if (plain == null)
  99169. return false;
  99170. t1 = plain.length;
  99171. if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
  99172. return false;
  99173. t1 = new A.CodeUnits(plain);
  99174. return t1.every$1(t1, A.character0__isHex$closure());
  99175. },
  99176. _stylesheet0$_hexDigit$0() {
  99177. var t1 = this.scanner,
  99178. char = t1.peekChar$0();
  99179. if (char == null || !A.isHex0(char))
  99180. t1.error$1(0, "Expected hex digit.");
  99181. return A.asHex0(t1.readChar$0());
  99182. },
  99183. _stylesheet0$_minusExpression$0() {
  99184. var _this = this,
  99185. next = _this.scanner.peekChar$1(1);
  99186. if (A.isDigit0(next) || next === 46)
  99187. return _this._stylesheet0$_number$0();
  99188. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  99189. return _this.identifierLike$0();
  99190. return _this._stylesheet0$_unaryOperation$0();
  99191. },
  99192. _stylesheet0$_importantExpression$0() {
  99193. var t1 = this.scanner,
  99194. t2 = t1._string_scanner$_position;
  99195. t1.readChar$0();
  99196. this.whitespace$0();
  99197. this.expectIdentifier$1("important");
  99198. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  99199. return new A.StringExpression0(A.Interpolation$0(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
  99200. },
  99201. _stylesheet0$_unaryOperation$0() {
  99202. var _this = this,
  99203. t1 = _this.scanner,
  99204. t2 = t1._string_scanner$_position,
  99205. operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
  99206. if (operator == null)
  99207. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  99208. else if (_this.get$plainCss() && operator !== B.UnaryOperator_Ix10)
  99209. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  99210. _this.whitespace$0();
  99211. return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99212. },
  99213. _stylesheet0$_unaryOperatorFor$1(character) {
  99214. switch (character) {
  99215. case 43:
  99216. return B.UnaryOperator_gg40;
  99217. case 45:
  99218. return B.UnaryOperator_TLI0;
  99219. case 47:
  99220. return B.UnaryOperator_Ix10;
  99221. default:
  99222. return null;
  99223. }
  99224. },
  99225. _stylesheet0$_number$0() {
  99226. var number, unit, _this = this,
  99227. t1 = _this.scanner,
  99228. t2 = t1._string_scanner$_position,
  99229. first = t1.peekChar$0(),
  99230. t3 = first !== 43;
  99231. if (!t3 || first === 45)
  99232. t1.readChar$0();
  99233. if (t1.peekChar$0() !== 46)
  99234. _this._stylesheet0$_consumeNaturalNumber$0();
  99235. _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  99236. _this._stylesheet0$_tryExponent$0();
  99237. number = A.double_parse(t1.substring$1(0, t2));
  99238. if (t1.scanChar$1(37))
  99239. unit = "%";
  99240. else {
  99241. if (_this.lookingAtIdentifier$0())
  99242. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  99243. else
  99244. t3 = false;
  99245. unit = t3 ? _this.identifier$1$unit(true) : null;
  99246. }
  99247. return new A.NumberExpression0(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99248. },
  99249. _stylesheet0$_consumeNaturalNumber$0() {
  99250. var t2,
  99251. t1 = this.scanner;
  99252. if (!A.isDigit0(t1.readChar$0()))
  99253. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  99254. while (true) {
  99255. t2 = t1.peekChar$0();
  99256. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  99257. break;
  99258. t1.readChar$0();
  99259. }
  99260. },
  99261. _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  99262. var t2,
  99263. t1 = this.scanner;
  99264. if (t1.peekChar$0() !== 46)
  99265. return;
  99266. if (!A.isDigit0(t1.peekChar$1(1))) {
  99267. if (allowTrailingDot)
  99268. return;
  99269. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  99270. }
  99271. t1.readChar$0();
  99272. while (true) {
  99273. t2 = t1.peekChar$0();
  99274. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  99275. break;
  99276. t1.readChar$0();
  99277. }
  99278. },
  99279. _stylesheet0$_tryExponent$0() {
  99280. var next, t2,
  99281. t1 = this.scanner,
  99282. first = t1.peekChar$0();
  99283. if (first !== 101 && first !== 69)
  99284. return;
  99285. next = t1.peekChar$1(1);
  99286. if (!A.isDigit0(next) && next !== 45 && next !== 43)
  99287. return;
  99288. t1.readChar$0();
  99289. if (next === 43 || next === 45)
  99290. t1.readChar$0();
  99291. if (!A.isDigit0(t1.peekChar$0()))
  99292. t1.error$1(0, "Expected digit.");
  99293. while (true) {
  99294. t2 = t1.peekChar$0();
  99295. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  99296. break;
  99297. t1.readChar$0();
  99298. }
  99299. },
  99300. _stylesheet0$_unicodeRange$0() {
  99301. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  99302. _s26_ = "Expected at most 6 digits.",
  99303. t1 = _this.scanner,
  99304. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99305. _this.expectIdentChar$1(117);
  99306. t1.expectChar$1(43);
  99307. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
  99308. ++firstRangeLength;
  99309. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  99310. ++firstRangeLength;
  99311. if (firstRangeLength === 0)
  99312. t1.error$1(0, 'Expected hex digit or "?".');
  99313. else if (firstRangeLength > 6)
  99314. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  99315. else if (hasQuestionMark) {
  99316. t2 = t1.substring$1(0, start.position);
  99317. t1 = t1.spanFrom$1(start);
  99318. return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  99319. }
  99320. if (t1.scanChar$1(45)) {
  99321. t2 = t1._string_scanner$_position;
  99322. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
  99323. ++secondRangeLength;
  99324. if (secondRangeLength === 0)
  99325. t1.error$1(0, "Expected hex digit.");
  99326. else if (secondRangeLength > 6)
  99327. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99328. }
  99329. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  99330. t1.error$1(0, "Expected end of identifier.");
  99331. t2 = t1.substring$1(0, start.position);
  99332. t1 = t1.spanFrom$1(start);
  99333. return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  99334. },
  99335. _stylesheet0$_variable$0() {
  99336. var _this = this,
  99337. t1 = _this.scanner,
  99338. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  99339. $name = _this.variableName$0();
  99340. if (_this.get$plainCss())
  99341. _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
  99342. return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
  99343. },
  99344. _stylesheet0$_selector$0() {
  99345. var t1, start, _this = this;
  99346. if (_this.get$plainCss())
  99347. _this.scanner.error$2$length(0, string$.The_pa, 1);
  99348. t1 = _this.scanner;
  99349. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99350. t1.expectChar$1(38);
  99351. if (t1.scanChar$1(38)) {
  99352. _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
  99353. t1.set$position(t1._string_scanner$_position - 1);
  99354. }
  99355. return new A.SelectorExpression0(t1.spanFrom$1(start));
  99356. },
  99357. interpolatedString$0() {
  99358. var t3, t4, buffer, next, second, t5,
  99359. t1 = this.scanner,
  99360. t2 = t1._string_scanner$_position,
  99361. quote = t1.readChar$0();
  99362. if (quote !== 39 && quote !== 34)
  99363. t1.error$2$position(0, "Expected string.", t2);
  99364. t3 = new A.StringBuffer("");
  99365. t4 = A._setArrayType([], type$.JSArray_Object);
  99366. buffer = new A.InterpolationBuffer0(t3, t4);
  99367. for (; true;) {
  99368. next = t1.peekChar$0();
  99369. if (next === quote) {
  99370. t1.readChar$0();
  99371. break;
  99372. } else if (next == null || next === 10 || next === 13 || next === 12)
  99373. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  99374. else if (next === 92) {
  99375. second = t1.peekChar$1(1);
  99376. if (second === 10 || second === 13 || second === 12) {
  99377. t1.readChar$0();
  99378. t1.readChar$0();
  99379. if (second === 13)
  99380. t1.scanChar$1(10);
  99381. } else
  99382. t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  99383. } else if (next === 35)
  99384. if (t1.peekChar$1(1) === 123) {
  99385. t5 = this.singleInterpolation$0();
  99386. buffer._interpolation_buffer0$_flushText$0();
  99387. t4.push(t5);
  99388. } else
  99389. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99390. else
  99391. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99392. }
  99393. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  99394. },
  99395. identifierLike$0() {
  99396. var invocation, expression, color, specialFunction, _this = this,
  99397. t1 = _this.scanner,
  99398. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  99399. identifier = _this.interpolatedIdentifier$0(),
  99400. plain = identifier.get$asPlain(),
  99401. lower = A._Cell$(),
  99402. t2 = plain == null,
  99403. t3 = !t2;
  99404. if (t3) {
  99405. if (plain === "if" && t1.peekChar$0() === 40) {
  99406. invocation = _this._stylesheet0$_argumentInvocation$0();
  99407. return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
  99408. } else if (plain === "not") {
  99409. _this.whitespace$0();
  99410. expression = _this._stylesheet0$_singleExpression$0();
  99411. return new A.UnaryOperationExpression0(B.UnaryOperator_not_not_not0, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  99412. }
  99413. lower.__late_helper$_value = plain.toLowerCase();
  99414. if (t1.peekChar$0() !== 40) {
  99415. switch (plain) {
  99416. case "false":
  99417. return new A.BooleanExpression0(false, identifier.span);
  99418. case "null":
  99419. return new A.NullExpression0(identifier.span);
  99420. case "true":
  99421. return new A.BooleanExpression0(true, identifier.span);
  99422. }
  99423. color = $.$get$colorsByName0().$index(0, lower._readLocal$0());
  99424. if (color != null) {
  99425. t1 = identifier.span;
  99426. 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);
  99427. }
  99428. }
  99429. specialFunction = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  99430. if (specialFunction != null)
  99431. return specialFunction;
  99432. }
  99433. switch (t1.peekChar$0()) {
  99434. case 46:
  99435. if (t1.peekChar$1(1) === 46)
  99436. return new A.StringExpression0(identifier, false);
  99437. t1.readChar$0();
  99438. if (t3)
  99439. return _this.namespacedExpression$2(plain, start);
  99440. _this.error$2(0, string$.Interpn, identifier.span);
  99441. break;
  99442. case 40:
  99443. if (t2)
  99444. return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  99445. else
  99446. return new A.FunctionExpression0(null, plain, _this._stylesheet0$_argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var")), t1.spanFrom$1(start));
  99447. default:
  99448. return new A.StringExpression0(identifier, false);
  99449. }
  99450. },
  99451. namespacedExpression$2(namespace, start) {
  99452. var $name, _this = this,
  99453. t1 = _this.scanner;
  99454. if (t1.peekChar$0() === 36) {
  99455. $name = _this.variableName$0();
  99456. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
  99457. return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
  99458. }
  99459. return new A.FunctionExpression0(namespace, _this._stylesheet0$_publicIdentifier$0(), _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  99460. },
  99461. trySpecialFunction$2($name, start) {
  99462. var t2, buffer, next, t3, _this = this, _null = null,
  99463. t1 = _this.scanner,
  99464. calculation = t1.peekChar$0() === 40 ? _this._stylesheet0$_tryCalculation$2($name, start) : _null;
  99465. if (calculation != null)
  99466. return calculation;
  99467. switch (A.unvendor0($name)) {
  99468. case "calc":
  99469. case "element":
  99470. case "expression":
  99471. if (!t1.scanChar$1(40))
  99472. return _null;
  99473. t2 = new A.StringBuffer("");
  99474. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  99475. t2._contents = "" + $name;
  99476. t2._contents += A.Primitives_stringFromCharCode(40);
  99477. break;
  99478. case "progid":
  99479. if (!t1.scanChar$1(58))
  99480. return _null;
  99481. t2 = new A.StringBuffer("");
  99482. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  99483. t2._contents = "" + $name;
  99484. t2._contents += A.Primitives_stringFromCharCode(58);
  99485. next = t1.peekChar$0();
  99486. while (true) {
  99487. if (next != null) {
  99488. if (!(next >= 97 && next <= 122))
  99489. t3 = next >= 65 && next <= 90;
  99490. else
  99491. t3 = true;
  99492. t3 = t3 || next === 46;
  99493. } else
  99494. t3 = false;
  99495. if (!t3)
  99496. break;
  99497. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99498. next = t1.peekChar$0();
  99499. }
  99500. t1.expectChar$1(40);
  99501. t2._contents += A.Primitives_stringFromCharCode(40);
  99502. break;
  99503. case "url":
  99504. return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
  99505. default:
  99506. return _null;
  99507. }
  99508. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
  99509. t1.expectChar$1(41);
  99510. buffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(41);
  99511. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  99512. },
  99513. _stylesheet0$_tryCalculation$2($name, start) {
  99514. var beforeArguments, $arguments, t1, exception, t2, _this = this;
  99515. switch ($name) {
  99516. case "calc":
  99517. $arguments = _this._stylesheet0$_calculationArguments$1(1);
  99518. t1 = _this.scanner.spanFrom$1(start);
  99519. return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
  99520. case "min":
  99521. case "max":
  99522. t1 = _this.scanner;
  99523. beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99524. $arguments = null;
  99525. try {
  99526. $arguments = _this._stylesheet0$_calculationArguments$0();
  99527. } catch (exception) {
  99528. if (type$.FormatException._is(A.unwrapException(exception))) {
  99529. t1.set$state(beforeArguments);
  99530. return null;
  99531. } else
  99532. throw exception;
  99533. }
  99534. t2 = $arguments;
  99535. t1 = t1.spanFrom$1(start);
  99536. return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0(t2), t1);
  99537. case "clamp":
  99538. $arguments = _this._stylesheet0$_calculationArguments$1(3);
  99539. t1 = _this.scanner.spanFrom$1(start);
  99540. return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
  99541. default:
  99542. return null;
  99543. }
  99544. },
  99545. _stylesheet0$_calculationArguments$1(maxArgs) {
  99546. var interpolation, $arguments, t2, _this = this,
  99547. t1 = _this.scanner;
  99548. t1.expectChar$1(40);
  99549. interpolation = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
  99550. if (interpolation != null) {
  99551. t1.expectChar$1(41);
  99552. return A._setArrayType([interpolation], type$.JSArray_Expression_2);
  99553. }
  99554. _this.whitespace$0();
  99555. $arguments = A._setArrayType([_this._stylesheet0$_calculationSum$0()], type$.JSArray_Expression_2);
  99556. t2 = maxArgs != null;
  99557. while (true) {
  99558. if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
  99559. break;
  99560. _this.whitespace$0();
  99561. $arguments.push(_this._stylesheet0$_calculationSum$0());
  99562. }
  99563. t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
  99564. return $arguments;
  99565. },
  99566. _stylesheet0$_calculationArguments$0() {
  99567. return this._stylesheet0$_calculationArguments$1(null);
  99568. },
  99569. _stylesheet0$_calculationSum$0() {
  99570. var t1, next, t2, t3, _this = this,
  99571. sum = _this._stylesheet0$_calculationProduct$0();
  99572. for (t1 = _this.scanner; true;) {
  99573. next = t1.peekChar$0();
  99574. t2 = next === 43;
  99575. if (t2 || next === 45) {
  99576. t3 = t1.peekChar$1(-1);
  99577. if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
  99578. t3 = t1.peekChar$1(1);
  99579. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  99580. } else
  99581. t3 = true;
  99582. if (t3)
  99583. t1.error$1(0, string$.x22x2b__an);
  99584. t1.readChar$0();
  99585. _this.whitespace$0();
  99586. t2 = t2 ? B.BinaryOperator_anB0 : B.BinaryOperator_olz0;
  99587. sum = new A.BinaryOperationExpression0(t2, sum, _this._stylesheet0$_calculationProduct$0(), false);
  99588. } else
  99589. return sum;
  99590. }
  99591. },
  99592. _stylesheet0$_calculationProduct$0() {
  99593. var t1, next, t2, _this = this,
  99594. product = _this._stylesheet0$_calculationValue$0();
  99595. for (t1 = _this.scanner; true;) {
  99596. _this.whitespace$0();
  99597. next = t1.peekChar$0();
  99598. t2 = next === 42;
  99599. if (t2 || next === 47) {
  99600. t1.readChar$0();
  99601. _this.whitespace$0();
  99602. t2 = t2 ? B.BinaryOperator_qN20 : B.BinaryOperator_t8B0;
  99603. product = new A.BinaryOperationExpression0(t2, product, _this._stylesheet0$_calculationValue$0(), false);
  99604. } else
  99605. return product;
  99606. }
  99607. },
  99608. _stylesheet0$_calculationValue$0() {
  99609. var t2, value, start, ident, lowerCase, calculation, _this = this,
  99610. t1 = _this.scanner,
  99611. next = t1.peekChar$0();
  99612. if (next === 43 || next === 46 || A.isDigit0(next))
  99613. return _this._stylesheet0$_number$0();
  99614. else if (next === 36)
  99615. return _this._stylesheet0$_variable$0();
  99616. else if (next === 40) {
  99617. t2 = t1._string_scanner$_position;
  99618. t1.readChar$0();
  99619. value = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
  99620. if (value == null) {
  99621. _this.whitespace$0();
  99622. value = _this._stylesheet0$_calculationSum$0();
  99623. }
  99624. _this.whitespace$0();
  99625. t1.expectChar$1(41);
  99626. return new A.ParenthesizedExpression0(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99627. } else if (_this.lookingAtIdentifier$0()) {
  99628. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99629. ident = _this.identifier$0();
  99630. if (t1.scanChar$1(46))
  99631. return _this.namespacedExpression$2(ident, start);
  99632. if (t1.peekChar$0() !== 40)
  99633. return new A.StringExpression0(A.Interpolation$0(A._setArrayType([ident], type$.JSArray_Object), t1.spanFrom$1(start)), false);
  99634. lowerCase = ident.toLowerCase();
  99635. calculation = _this._stylesheet0$_tryCalculation$2(lowerCase, start);
  99636. if (calculation != null)
  99637. return calculation;
  99638. else if (lowerCase === "if")
  99639. return new A.IfExpression0(_this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  99640. else
  99641. return new A.FunctionExpression0(null, ident, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  99642. } else if (next === 45)
  99643. return _this._stylesheet0$_number$0();
  99644. else
  99645. t1.error$1(0, string$.Expectn);
  99646. },
  99647. _stylesheet0$_containsCalculationInterpolation$0() {
  99648. var t2, parens, next, target, t3, _null = null,
  99649. _s64_ = string$.The_gi,
  99650. _s17_ = "Invalid position ",
  99651. brackets = A._setArrayType([], type$.JSArray_int),
  99652. t1 = this.scanner,
  99653. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99654. for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
  99655. next = t1.peekChar$0();
  99656. switch (next) {
  99657. case 92:
  99658. target = 1;
  99659. break;
  99660. case 47:
  99661. target = 2;
  99662. break;
  99663. case 39:
  99664. case 34:
  99665. target = 3;
  99666. break;
  99667. case 35:
  99668. target = 4;
  99669. break;
  99670. case 40:
  99671. target = 5;
  99672. break;
  99673. case 123:
  99674. case 91:
  99675. target = 6;
  99676. break;
  99677. case 41:
  99678. target = 7;
  99679. break;
  99680. case 125:
  99681. case 93:
  99682. target = 8;
  99683. break;
  99684. default:
  99685. target = 9;
  99686. break;
  99687. }
  99688. c$0:
  99689. for (; true;)
  99690. switch (target) {
  99691. case 1:
  99692. t1.readChar$0();
  99693. t1.readChar$0();
  99694. break c$0;
  99695. case 2:
  99696. if (!this.scanComment$0())
  99697. t1.readChar$0();
  99698. break c$0;
  99699. case 3:
  99700. this.interpolatedString$0();
  99701. break c$0;
  99702. case 4:
  99703. if (parens === 0 && t1.peekChar$1(1) === 123) {
  99704. if (start._scanner !== t1)
  99705. A.throwExpression(A.ArgumentError$(_s64_, _null));
  99706. t3 = start.position;
  99707. if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
  99708. A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
  99709. t1._string_scanner$_position = t3;
  99710. t1._lastMatch = null;
  99711. return true;
  99712. }
  99713. t1.readChar$0();
  99714. break c$0;
  99715. case 5:
  99716. ++parens;
  99717. target = 6;
  99718. continue c$0;
  99719. case 6:
  99720. next.toString;
  99721. brackets.push(A.opposite0(next));
  99722. t1.readChar$0();
  99723. break c$0;
  99724. case 7:
  99725. --parens;
  99726. target = 8;
  99727. continue c$0;
  99728. case 8:
  99729. if (brackets.length === 0 || brackets.pop() !== next) {
  99730. if (start._scanner !== t1)
  99731. A.throwExpression(A.ArgumentError$(_s64_, _null));
  99732. t3 = start.position;
  99733. if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
  99734. A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
  99735. t1._string_scanner$_position = t3;
  99736. t1._lastMatch = null;
  99737. return false;
  99738. }
  99739. t1.readChar$0();
  99740. break c$0;
  99741. case 9:
  99742. t1.readChar$0();
  99743. break c$0;
  99744. }
  99745. }
  99746. t1.set$state(start);
  99747. return false;
  99748. },
  99749. _stylesheet0$_tryUrlContents$2$name(start, $name) {
  99750. var t3, t4, buffer, next, t5, endPosition, result, _this = this,
  99751. t1 = _this.scanner,
  99752. t2 = t1._string_scanner$_position;
  99753. if (!t1.scanChar$1(40))
  99754. return null;
  99755. _this.whitespaceWithoutComments$0();
  99756. t3 = new A.StringBuffer("");
  99757. t4 = A._setArrayType([], type$.JSArray_Object);
  99758. buffer = new A.InterpolationBuffer0(t3, t4);
  99759. t3._contents = "" + ($name == null ? "url" : $name);
  99760. t3._contents += A.Primitives_stringFromCharCode(40);
  99761. for (; true;) {
  99762. next = t1.peekChar$0();
  99763. if (next == null)
  99764. break;
  99765. else if (next === 92)
  99766. t3._contents += A.S(_this.escape$0());
  99767. else {
  99768. if (next !== 33)
  99769. if (next !== 37)
  99770. if (next !== 38)
  99771. t5 = next >= 42 && next <= 126 || next >= 128;
  99772. else
  99773. t5 = true;
  99774. else
  99775. t5 = true;
  99776. else
  99777. t5 = true;
  99778. if (t5)
  99779. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99780. else if (next === 35)
  99781. if (t1.peekChar$1(1) === 123) {
  99782. t5 = _this.singleInterpolation$0();
  99783. buffer._interpolation_buffer0$_flushText$0();
  99784. t4.push(t5);
  99785. } else
  99786. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99787. else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
  99788. _this.whitespaceWithoutComments$0();
  99789. if (t1.peekChar$0() !== 41)
  99790. break;
  99791. } else if (next === 41) {
  99792. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99793. endPosition = t1._string_scanner$_position;
  99794. t2 = t1._sourceFile;
  99795. t5 = start.position;
  99796. t1 = new A._FileSpan(t2, t5, endPosition);
  99797. t1._FileSpan$3(t2, t5, endPosition);
  99798. t5 = type$.Object;
  99799. t2 = A.List_List$of(t4, true, t5);
  99800. t4 = t3._contents;
  99801. if (t4.length !== 0)
  99802. t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
  99803. result = A.List_List$from(t2, false, t5);
  99804. result.fixed$length = Array;
  99805. result.immutable$list = Array;
  99806. t3 = new A.Interpolation0(result, t1);
  99807. t3.Interpolation$20(t2, t1);
  99808. return t3;
  99809. } else
  99810. break;
  99811. }
  99812. }
  99813. t1.set$state(new A._SpanScannerState(t1, t2));
  99814. return null;
  99815. },
  99816. _stylesheet0$_tryUrlContents$1(start) {
  99817. return this._stylesheet0$_tryUrlContents$2$name(start, null);
  99818. },
  99819. dynamicUrl$0() {
  99820. var contents, _this = this,
  99821. t1 = _this.scanner,
  99822. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99823. _this.expectIdentifier$1("url");
  99824. contents = _this._stylesheet0$_tryUrlContents$1(start);
  99825. if (contents != null)
  99826. return new A.StringExpression0(contents, false);
  99827. 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));
  99828. },
  99829. almostAnyValue$1$omitComments(omitComments) {
  99830. var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
  99831. t1 = _this.scanner,
  99832. t2 = t1._string_scanner$_position,
  99833. t3 = new A.StringBuffer(""),
  99834. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  99835. $label0$1:
  99836. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
  99837. next = t1.peekChar$0();
  99838. switch (next) {
  99839. case 92:
  99840. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99841. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99842. break;
  99843. case 34:
  99844. case 39:
  99845. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  99846. break;
  99847. case 47:
  99848. commentStart = t1._string_scanner$_position;
  99849. if (_this.scanComment$0()) {
  99850. if (t6) {
  99851. end = t1._string_scanner$_position;
  99852. t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
  99853. }
  99854. } else
  99855. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99856. break;
  99857. case 35:
  99858. if (t1.peekChar$1(1) === 123)
  99859. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  99860. else
  99861. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99862. break;
  99863. case 13:
  99864. case 10:
  99865. case 12:
  99866. if (_this.get$indented())
  99867. break $label0$1;
  99868. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99869. break;
  99870. case 33:
  99871. case 59:
  99872. case 123:
  99873. case 125:
  99874. break $label0$1;
  99875. case 117:
  99876. case 85:
  99877. t7 = t1._string_scanner$_position;
  99878. if (!_this.scanIdentifier$1("url")) {
  99879. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99880. break;
  99881. }
  99882. contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t7));
  99883. if (contents == null) {
  99884. if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
  99885. A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
  99886. t1._string_scanner$_position = t7;
  99887. t1._lastMatch = null;
  99888. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99889. } else
  99890. buffer.addInterpolation$1(contents);
  99891. break;
  99892. default:
  99893. if (next == null)
  99894. break $label0$1;
  99895. if (_this.lookingAtIdentifier$0())
  99896. t3._contents += _this.identifier$0();
  99897. else
  99898. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99899. break;
  99900. }
  99901. }
  99902. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99903. },
  99904. almostAnyValue$0() {
  99905. return this.almostAnyValue$1$omitComments(false);
  99906. },
  99907. _stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
  99908. var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
  99909. t1 = _this.scanner,
  99910. t2 = t1._string_scanner$_position,
  99911. t3 = new A.StringBuffer(""),
  99912. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object)),
  99913. brackets = A._setArrayType([], type$.JSArray_int);
  99914. $label0$1:
  99915. for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
  99916. next = t1.peekChar$0();
  99917. switch (next) {
  99918. case 92:
  99919. t3._contents += A.S(_this.escape$1$identifierStart(true));
  99920. wroteNewline = false;
  99921. break;
  99922. case 34:
  99923. case 39:
  99924. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  99925. wroteNewline = false;
  99926. break;
  99927. case 47:
  99928. if (t1.peekChar$1(1) === 42) {
  99929. t8 = _this.get$loudComment();
  99930. start = t1._string_scanner$_position;
  99931. t8.call$0();
  99932. end = t1._string_scanner$_position;
  99933. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  99934. } else
  99935. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99936. wroteNewline = false;
  99937. break;
  99938. case 35:
  99939. if (t1.peekChar$1(1) === 123)
  99940. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  99941. else
  99942. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99943. wroteNewline = false;
  99944. break;
  99945. case 32:
  99946. case 9:
  99947. if (!wroteNewline) {
  99948. t8 = t1.peekChar$1(1);
  99949. t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
  99950. } else
  99951. t8 = true;
  99952. if (t8)
  99953. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99954. else
  99955. t1.readChar$0();
  99956. break;
  99957. case 10:
  99958. case 13:
  99959. case 12:
  99960. if (_this.get$indented())
  99961. break $label0$1;
  99962. t8 = t1.peekChar$1(-1);
  99963. if (!(t8 === 10 || t8 === 13 || t8 === 12))
  99964. t3._contents += "\n";
  99965. t1.readChar$0();
  99966. wroteNewline = true;
  99967. break;
  99968. case 40:
  99969. case 123:
  99970. case 91:
  99971. next.toString;
  99972. t3._contents += A.Primitives_stringFromCharCode(next);
  99973. brackets.push(A.opposite0(t1.readChar$0()));
  99974. wroteNewline = false;
  99975. break;
  99976. case 41:
  99977. case 125:
  99978. case 93:
  99979. if (brackets.length === 0)
  99980. break $label0$1;
  99981. next.toString;
  99982. t3._contents += A.Primitives_stringFromCharCode(next);
  99983. t1.expectChar$1(brackets.pop());
  99984. wroteNewline = false;
  99985. break;
  99986. case 59:
  99987. if (t7 && brackets.length === 0)
  99988. break $label0$1;
  99989. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99990. wroteNewline = false;
  99991. break;
  99992. case 58:
  99993. if (t6 && brackets.length === 0)
  99994. break $label0$1;
  99995. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99996. wroteNewline = false;
  99997. break;
  99998. case 117:
  99999. case 85:
  100000. t8 = t1._string_scanner$_position;
  100001. if (!_this.scanIdentifier$1("url")) {
  100002. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  100003. wroteNewline = false;
  100004. break;
  100005. }
  100006. contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t8));
  100007. if (contents == null) {
  100008. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  100009. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  100010. t1._string_scanner$_position = t8;
  100011. t1._lastMatch = null;
  100012. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  100013. } else
  100014. buffer.addInterpolation$1(contents);
  100015. wroteNewline = false;
  100016. break;
  100017. default:
  100018. if (next == null)
  100019. break $label0$1;
  100020. if (_this.lookingAtIdentifier$0())
  100021. t3._contents += _this.identifier$0();
  100022. else
  100023. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  100024. wroteNewline = false;
  100025. break;
  100026. }
  100027. }
  100028. if (brackets.length !== 0)
  100029. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  100030. if (!allowEmpty && buffer._interpolation_buffer0$_contents.length === 0 && t3._contents.length === 0)
  100031. t1.error$1(0, "Expected token.");
  100032. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  100033. },
  100034. _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  100035. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
  100036. },
  100037. _stylesheet0$_interpolatedDeclarationValue$0() {
  100038. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
  100039. },
  100040. _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
  100041. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
  100042. },
  100043. interpolatedIdentifier$0() {
  100044. var first, _this = this,
  100045. _s20_ = "Expected identifier.",
  100046. t1 = _this.scanner,
  100047. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  100048. t2 = new A.StringBuffer(""),
  100049. t3 = A._setArrayType([], type$.JSArray_Object),
  100050. buffer = new A.InterpolationBuffer0(t2, t3);
  100051. if (t1.scanChar$1(45)) {
  100052. t2._contents += A.Primitives_stringFromCharCode(45);
  100053. if (t1.scanChar$1(45)) {
  100054. t2._contents += A.Primitives_stringFromCharCode(45);
  100055. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  100056. return buffer.interpolation$1(t1.spanFrom$1(start));
  100057. }
  100058. }
  100059. first = t1.peekChar$0();
  100060. if (first == null)
  100061. t1.error$1(0, _s20_);
  100062. else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
  100063. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  100064. else if (first === 92)
  100065. t2._contents += A.S(_this.escape$1$identifierStart(true));
  100066. else if (first === 35 && t1.peekChar$1(1) === 123) {
  100067. t2 = _this.singleInterpolation$0();
  100068. buffer._interpolation_buffer0$_flushText$0();
  100069. t3.push(t2);
  100070. } else
  100071. t1.error$1(0, _s20_);
  100072. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  100073. return buffer.interpolation$1(t1.spanFrom$1(start));
  100074. },
  100075. _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
  100076. var t1, t2, t3, next, t4;
  100077. for (t1 = buffer._interpolation_buffer0$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer0$_text; true;) {
  100078. next = t2.peekChar$0();
  100079. if (next == null)
  100080. break;
  100081. else {
  100082. if (next !== 95)
  100083. if (next !== 45) {
  100084. if (!(next >= 97 && next <= 122))
  100085. t4 = next >= 65 && next <= 90;
  100086. else
  100087. t4 = true;
  100088. if (!t4)
  100089. t4 = next >= 48 && next <= 57;
  100090. else
  100091. t4 = true;
  100092. t4 = t4 || next >= 128;
  100093. } else
  100094. t4 = true;
  100095. else
  100096. t4 = true;
  100097. if (t4)
  100098. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  100099. else if (next === 92)
  100100. t3._contents += A.S(this.escape$0());
  100101. else if (next === 35 && t2.peekChar$1(1) === 123) {
  100102. t4 = this.singleInterpolation$0();
  100103. buffer._interpolation_buffer0$_flushText$0();
  100104. t1.push(t4);
  100105. } else
  100106. break;
  100107. }
  100108. }
  100109. },
  100110. singleInterpolation$0() {
  100111. var contents, _this = this,
  100112. t1 = _this.scanner,
  100113. t2 = t1._string_scanner$_position;
  100114. t1.expect$1("#{");
  100115. _this.whitespace$0();
  100116. contents = _this._stylesheet0$_expression$0();
  100117. t1.expectChar$1(125);
  100118. if (_this.get$plainCss())
  100119. _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  100120. return contents;
  100121. },
  100122. _stylesheet0$_mediaQueryList$0() {
  100123. var _this = this,
  100124. t1 = _this.scanner,
  100125. t2 = t1._string_scanner$_position,
  100126. t3 = new A.StringBuffer(""),
  100127. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  100128. for (; true;) {
  100129. _this.whitespace$0();
  100130. _this._stylesheet0$_mediaQuery$1(buffer);
  100131. _this.whitespace$0();
  100132. if (!t1.scanChar$1(44))
  100133. break;
  100134. t3._contents += A.Primitives_stringFromCharCode(44);
  100135. t3._contents += A.Primitives_stringFromCharCode(32);
  100136. }
  100137. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  100138. },
  100139. _stylesheet0$_mediaQuery$1(buffer) {
  100140. var identifier1, t1, identifier2, _this = this, _s3_ = "and";
  100141. if (_this.scanner.peekChar$0() === 40) {
  100142. _this._stylesheet0$_mediaInParens$1(buffer);
  100143. _this.whitespace$0();
  100144. if (_this.scanIdentifier$1(_s3_)) {
  100145. buffer._interpolation_buffer0$_text._contents += " and ";
  100146. _this.expectWhitespace$0();
  100147. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  100148. } else if (_this.scanIdentifier$1("or")) {
  100149. buffer._interpolation_buffer0$_text._contents += " or ";
  100150. _this.expectWhitespace$0();
  100151. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  100152. }
  100153. return;
  100154. }
  100155. identifier1 = _this.interpolatedIdentifier$0();
  100156. if (A.equalsIgnoreCase0(identifier1.get$asPlain(), "not")) {
  100157. _this.expectWhitespace$0();
  100158. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  100159. buffer._interpolation_buffer0$_text._contents += "not ";
  100160. _this._stylesheet0$_mediaOrInterp$1(buffer);
  100161. return;
  100162. }
  100163. }
  100164. _this.whitespace$0();
  100165. buffer.addInterpolation$1(identifier1);
  100166. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  100167. return;
  100168. t1 = buffer._interpolation_buffer0$_text;
  100169. t1._contents += A.Primitives_stringFromCharCode(32);
  100170. identifier2 = _this.interpolatedIdentifier$0();
  100171. if (A.equalsIgnoreCase0(identifier2.get$asPlain(), _s3_)) {
  100172. _this.expectWhitespace$0();
  100173. t1._contents += " and ";
  100174. } else {
  100175. _this.whitespace$0();
  100176. buffer.addInterpolation$1(identifier2);
  100177. if (_this.scanIdentifier$1(_s3_)) {
  100178. _this.expectWhitespace$0();
  100179. t1._contents += " and ";
  100180. } else
  100181. return;
  100182. }
  100183. if (_this.scanIdentifier$1("not")) {
  100184. _this.expectWhitespace$0();
  100185. t1._contents += "not ";
  100186. _this._stylesheet0$_mediaOrInterp$1(buffer);
  100187. return;
  100188. }
  100189. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  100190. return;
  100191. },
  100192. _stylesheet0$_mediaLogicSequence$2(buffer, operator) {
  100193. var t1, t2, _this = this;
  100194. for (t1 = buffer._interpolation_buffer0$_text; true;) {
  100195. _this._stylesheet0$_mediaOrInterp$1(buffer);
  100196. _this.whitespace$0();
  100197. if (!_this.scanIdentifier$1(operator))
  100198. return;
  100199. _this.expectWhitespace$0();
  100200. t2 = t1._contents += A.Primitives_stringFromCharCode(32);
  100201. t1._contents = t2 + operator;
  100202. t1._contents += A.Primitives_stringFromCharCode(32);
  100203. }
  100204. },
  100205. _stylesheet0$_mediaOrInterp$1(buffer) {
  100206. var interpolation;
  100207. if (this.scanner.peekChar$0() === 35) {
  100208. interpolation = this.singleInterpolation$0();
  100209. buffer.addInterpolation$1(A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation)));
  100210. } else
  100211. this._stylesheet0$_mediaInParens$1(buffer);
  100212. },
  100213. _stylesheet0$_mediaInParens$1(buffer) {
  100214. var t2, t3, t4, next, t5, _this = this,
  100215. t1 = _this.scanner;
  100216. t1.expectChar$2$name(40, "media condition in parentheses");
  100217. t2 = buffer._interpolation_buffer0$_text;
  100218. t2._contents += A.Primitives_stringFromCharCode(40);
  100219. _this.whitespace$0();
  100220. if (t1.peekChar$0() === 40) {
  100221. _this._stylesheet0$_mediaInParens$1(buffer);
  100222. _this.whitespace$0();
  100223. if (_this.scanIdentifier$1("and")) {
  100224. t2._contents += " and ";
  100225. _this.expectWhitespace$0();
  100226. _this._stylesheet0$_mediaLogicSequence$2(buffer, "and");
  100227. } else if (_this.scanIdentifier$1("or")) {
  100228. t2._contents += " or ";
  100229. _this.expectWhitespace$0();
  100230. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  100231. }
  100232. } else if (_this.scanIdentifier$1("not")) {
  100233. t2._contents += "not ";
  100234. _this.expectWhitespace$0();
  100235. _this._stylesheet0$_mediaOrInterp$1(buffer);
  100236. } else {
  100237. t3 = _this._stylesheet0$_expressionUntilComparison$0();
  100238. buffer._interpolation_buffer0$_flushText$0();
  100239. t4 = buffer._interpolation_buffer0$_contents;
  100240. t4.push(t3);
  100241. if (t1.scanChar$1(58)) {
  100242. _this.whitespace$0();
  100243. t2._contents += A.Primitives_stringFromCharCode(58);
  100244. t2._contents += A.Primitives_stringFromCharCode(32);
  100245. t3 = _this._stylesheet0$_expression$0();
  100246. buffer._interpolation_buffer0$_flushText$0();
  100247. t4.push(t3);
  100248. } else {
  100249. next = t1.peekChar$0();
  100250. t3 = next !== 60;
  100251. if (!t3 || next === 62 || next === 61) {
  100252. t2._contents += A.Primitives_stringFromCharCode(32);
  100253. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  100254. if ((!t3 || next === 62) && t1.scanChar$1(61))
  100255. t2._contents += A.Primitives_stringFromCharCode(61);
  100256. t2._contents += A.Primitives_stringFromCharCode(32);
  100257. _this.whitespace$0();
  100258. t5 = _this._stylesheet0$_expressionUntilComparison$0();
  100259. buffer._interpolation_buffer0$_flushText$0();
  100260. t4.push(t5);
  100261. if (!t3 || next === 62) {
  100262. next.toString;
  100263. t3 = t1.scanChar$1(next);
  100264. } else
  100265. t3 = false;
  100266. if (t3) {
  100267. t2._contents += A.Primitives_stringFromCharCode(32);
  100268. t2._contents += A.Primitives_stringFromCharCode(next);
  100269. if (t1.scanChar$1(61))
  100270. t2._contents += A.Primitives_stringFromCharCode(61);
  100271. t2._contents += A.Primitives_stringFromCharCode(32);
  100272. _this.whitespace$0();
  100273. t3 = _this._stylesheet0$_expressionUntilComparison$0();
  100274. buffer._interpolation_buffer0$_flushText$0();
  100275. t4.push(t3);
  100276. }
  100277. }
  100278. }
  100279. }
  100280. t1.expectChar$1(41);
  100281. _this.whitespace$0();
  100282. t2._contents += A.Primitives_stringFromCharCode(41);
  100283. },
  100284. _stylesheet0$_expressionUntilComparison$0() {
  100285. return this._stylesheet0$_expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure0(this));
  100286. },
  100287. _stylesheet0$_supportsCondition$0() {
  100288. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  100289. t1 = _this.scanner,
  100290. t2 = t1._string_scanner$_position;
  100291. if (_this.scanIdentifier$1("not")) {
  100292. _this.whitespace$0();
  100293. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  100294. }
  100295. condition = _this._stylesheet0$_supportsConditionInParens$0();
  100296. _this.whitespace$0();
  100297. for (operator = null; _this.lookingAtIdentifier$0();) {
  100298. if (operator != null)
  100299. _this.expectIdentifier$1(operator);
  100300. else if (_this.scanIdentifier$1("or"))
  100301. operator = "or";
  100302. else {
  100303. _this.expectIdentifier$1("and");
  100304. operator = "and";
  100305. }
  100306. _this.whitespace$0();
  100307. right = _this._stylesheet0$_supportsConditionInParens$0();
  100308. endPosition = t1._string_scanner$_position;
  100309. t3 = t1._sourceFile;
  100310. t4 = new A._FileSpan(t3, t2, endPosition);
  100311. t4._FileSpan$3(t3, t2, endPosition);
  100312. condition = new A.SupportsOperation0(condition, right, operator, t4);
  100313. lowerOperator = operator.toLowerCase();
  100314. if (lowerOperator !== "and" && lowerOperator !== "or")
  100315. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  100316. _this.whitespace$0();
  100317. }
  100318. return condition;
  100319. },
  100320. _stylesheet0$_supportsConditionInParens$0() {
  100321. var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
  100322. t1 = _this.scanner,
  100323. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  100324. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  100325. identifier0 = _this.interpolatedIdentifier$0();
  100326. t2 = identifier0.get$asPlain();
  100327. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  100328. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  100329. if (t1.scanChar$1(40)) {
  100330. $arguments = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  100331. t1.expectChar$1(41);
  100332. return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
  100333. } else {
  100334. t2 = identifier0.contents;
  100335. if (t2.length !== 1 || !type$.Expression_2._is(B.JSArray_methods.get$first(t2)))
  100336. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  100337. else
  100338. return new A.SupportsInterpolation0(type$.Expression_2._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
  100339. }
  100340. }
  100341. t1.expectChar$1(40);
  100342. _this.whitespace$0();
  100343. if (_this.scanIdentifier$1("not")) {
  100344. _this.whitespace$0();
  100345. condition = _this._stylesheet0$_supportsConditionInParens$0();
  100346. t1.expectChar$1(41);
  100347. return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
  100348. } else if (t1.peekChar$0() === 40) {
  100349. condition = _this._stylesheet0$_supportsCondition$0();
  100350. t1.expectChar$1(41);
  100351. return condition;
  100352. }
  100353. $name = null;
  100354. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  100355. wasInParentheses = _this._stylesheet0$_inParentheses;
  100356. try {
  100357. $name = _this._stylesheet0$_expression$0();
  100358. t1.expectChar$1(58);
  100359. } catch (exception) {
  100360. if (type$.FormatException._is(A.unwrapException(exception))) {
  100361. t1.set$state(nameStart);
  100362. _this._stylesheet0$_inParentheses = wasInParentheses;
  100363. identifier = _this.interpolatedIdentifier$0();
  100364. operation = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
  100365. if (operation != null) {
  100366. t1.expectChar$1(41);
  100367. return operation;
  100368. }
  100369. t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  100370. t2.addInterpolation$1(identifier);
  100371. t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
  100372. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  100373. if (t1.peekChar$0() === 58)
  100374. throw exception;
  100375. t1.expectChar$1(41);
  100376. return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
  100377. } else
  100378. throw exception;
  100379. }
  100380. declaration = _this._stylesheet0$_supportsDeclarationValue$2($name, start);
  100381. t1.expectChar$1(41);
  100382. return declaration;
  100383. },
  100384. _stylesheet0$_supportsDeclarationValue$2($name, start) {
  100385. var value, _this = this;
  100386. if ($name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
  100387. value = new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false);
  100388. else {
  100389. _this.whitespace$0();
  100390. value = _this._stylesheet0$_expression$0();
  100391. }
  100392. return new A.SupportsDeclaration0($name, value, _this.scanner.spanFrom$1(start));
  100393. },
  100394. _stylesheet0$_trySupportsOperation$2(interpolation, start) {
  100395. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  100396. t1 = interpolation.contents;
  100397. if (t1.length !== 1)
  100398. return _null;
  100399. expression = B.JSArray_methods.get$first(t1);
  100400. if (!type$.Expression_2._is(expression))
  100401. return _null;
  100402. t1 = _this.scanner;
  100403. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  100404. _this.whitespace$0();
  100405. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  100406. if (operator != null)
  100407. _this.expectIdentifier$1(operator);
  100408. else if (_this.scanIdentifier$1("and"))
  100409. operator = "and";
  100410. else {
  100411. if (!_this.scanIdentifier$1("or")) {
  100412. if (beforeWhitespace._scanner !== t1)
  100413. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  100414. t2 = beforeWhitespace.position;
  100415. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  100416. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  100417. t1._string_scanner$_position = t2;
  100418. return t1._lastMatch = null;
  100419. }
  100420. operator = "or";
  100421. }
  100422. _this.whitespace$0();
  100423. right = _this._stylesheet0$_supportsConditionInParens$0();
  100424. t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
  100425. endPosition = t1._string_scanner$_position;
  100426. t5 = t1._sourceFile;
  100427. t6 = new A._FileSpan(t5, t2, endPosition);
  100428. t6._FileSpan$3(t5, t2, endPosition);
  100429. operation = new A.SupportsOperation0(t4, right, operator, t6);
  100430. lowerOperator = operator.toLowerCase();
  100431. if (lowerOperator !== "and" && lowerOperator !== "or")
  100432. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  100433. _this.whitespace$0();
  100434. }
  100435. return operation;
  100436. },
  100437. _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
  100438. var second,
  100439. t1 = this.scanner,
  100440. first = t1.peekChar$0();
  100441. if (first == null)
  100442. return false;
  100443. if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
  100444. return true;
  100445. if (first === 35)
  100446. return t1.peekChar$1(1) === 123;
  100447. if (first !== 45)
  100448. return false;
  100449. second = t1.peekChar$1(1);
  100450. if (second == null)
  100451. return false;
  100452. if (second === 35)
  100453. return t1.peekChar$1(2) === 123;
  100454. return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
  100455. },
  100456. _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
  100457. var t1 = this.scanner,
  100458. first = t1.peekChar$0();
  100459. if (first == null)
  100460. return false;
  100461. if (first === 95 || A.isAlphabetic1(first) || first >= 128 || A.isDigit0(first) || first === 45 || first === 92)
  100462. return true;
  100463. return first === 35 && t1.peekChar$1(1) === 123;
  100464. },
  100465. _stylesheet0$_lookingAtExpression$0() {
  100466. var next,
  100467. t1 = this.scanner,
  100468. character = t1.peekChar$0();
  100469. if (character == null)
  100470. return false;
  100471. if (character === 46)
  100472. return t1.peekChar$1(1) !== 46;
  100473. if (character === 33) {
  100474. next = t1.peekChar$1(1);
  100475. if (next != null)
  100476. if ((next | 32) !== 105)
  100477. t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
  100478. else
  100479. t1 = true;
  100480. else
  100481. t1 = true;
  100482. return t1;
  100483. }
  100484. if (character !== 40)
  100485. if (character !== 47)
  100486. if (character !== 91)
  100487. if (character !== 39)
  100488. if (character !== 34)
  100489. if (character !== 35)
  100490. if (character !== 43)
  100491. if (character !== 45)
  100492. if (character !== 92)
  100493. if (character !== 36)
  100494. if (character !== 38)
  100495. t1 = character === 95 || A.isAlphabetic1(character) || character >= 128 || A.isDigit0(character);
  100496. else
  100497. t1 = true;
  100498. else
  100499. t1 = true;
  100500. else
  100501. t1 = true;
  100502. else
  100503. t1 = true;
  100504. else
  100505. t1 = true;
  100506. else
  100507. t1 = true;
  100508. else
  100509. t1 = true;
  100510. else
  100511. t1 = true;
  100512. else
  100513. t1 = true;
  100514. else
  100515. t1 = true;
  100516. else
  100517. t1 = true;
  100518. return t1;
  100519. },
  100520. _stylesheet0$_withChildren$1$3(child, start, create) {
  100521. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  100522. this.whitespaceWithoutComments$0();
  100523. return result;
  100524. },
  100525. _stylesheet0$_withChildren$3(child, start, create) {
  100526. return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
  100527. },
  100528. _stylesheet0$_urlString$0() {
  100529. var innerError, stackTrace, t2, exception,
  100530. t1 = this.scanner,
  100531. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  100532. url = this.string$0();
  100533. try {
  100534. t2 = A.Uri_parse(url);
  100535. return t2;
  100536. } catch (exception) {
  100537. t2 = A.unwrapException(exception);
  100538. if (type$.FormatException._is(t2)) {
  100539. innerError = t2;
  100540. stackTrace = A.getTraceFromException(exception);
  100541. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  100542. } else
  100543. throw exception;
  100544. }
  100545. },
  100546. _stylesheet0$_publicIdentifier$0() {
  100547. var _this = this,
  100548. t1 = _this.scanner,
  100549. t2 = t1._string_scanner$_position,
  100550. result = _this.identifier$1$normalize(true);
  100551. _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
  100552. return result;
  100553. },
  100554. _stylesheet0$_assertPublic$2(identifier, span) {
  100555. var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
  100556. if (!(first === 45 || first === 95))
  100557. return;
  100558. this.error$2(0, string$.Privat, span.call$0());
  100559. },
  100560. get$plainCss() {
  100561. return false;
  100562. }
  100563. };
  100564. A.StylesheetParser_parse_closure0.prototype = {
  100565. call$0() {
  100566. var statements, t4,
  100567. t1 = this.$this,
  100568. t2 = t1.scanner,
  100569. t3 = t2._string_scanner$_position;
  100570. t2.scanChar$1(65279);
  100571. statements = t1.statements$1(new A.StylesheetParser_parse__closure1(t1));
  100572. t2.expectDone$0();
  100573. t4 = t1._stylesheet0$_globalVariables;
  100574. t4 = t4.get$values(t4);
  100575. 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));
  100576. return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
  100577. },
  100578. $signature: 534
  100579. };
  100580. A.StylesheetParser_parse__closure1.prototype = {
  100581. call$0() {
  100582. var t1 = this.$this;
  100583. if (t1.scanner.scan$1("@charset")) {
  100584. t1.whitespace$0();
  100585. t1.string$0();
  100586. return null;
  100587. }
  100588. return t1._stylesheet0$_statement$1$root(true);
  100589. },
  100590. $signature: 535
  100591. };
  100592. A.StylesheetParser_parse__closure2.prototype = {
  100593. call$1(declaration) {
  100594. var t1 = declaration.name,
  100595. t2 = declaration.expression;
  100596. return A.VariableDeclaration$0(t1, new A.NullExpression0(t2.get$span(t2)), declaration.span, null, false, true, null);
  100597. },
  100598. $signature: 536
  100599. };
  100600. A.StylesheetParser_parseArgumentDeclaration_closure0.prototype = {
  100601. call$0() {
  100602. var $arguments,
  100603. t1 = this.$this,
  100604. t2 = t1.scanner;
  100605. t2.expectChar$2$name(64, "@-rule");
  100606. t1.identifier$0();
  100607. t1.whitespace$0();
  100608. t1.identifier$0();
  100609. $arguments = t1._stylesheet0$_argumentDeclaration$0();
  100610. t1.whitespace$0();
  100611. t2.expectChar$1(123);
  100612. return $arguments;
  100613. },
  100614. $signature: 537
  100615. };
  100616. A.StylesheetParser__parseSingleProduction_closure0.prototype = {
  100617. call$0() {
  100618. var result = this.production.call$0();
  100619. this.$this.scanner.expectDone$0();
  100620. return result;
  100621. },
  100622. $signature() {
  100623. return this.T._eval$1("0()");
  100624. }
  100625. };
  100626. A.StylesheetParser_parseSignature_closure.prototype = {
  100627. call$0() {
  100628. var $arguments, t2, t3,
  100629. t1 = this.$this,
  100630. $name = t1.identifier$0();
  100631. if (this.requireParens || t1.scanner.peekChar$0() === 40)
  100632. $arguments = t1._stylesheet0$_argumentDeclaration$0();
  100633. else {
  100634. t2 = t1.scanner;
  100635. t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
  100636. t3 = t2.offset;
  100637. $arguments = new A.ArgumentDeclaration0(B.List_empty22, null, A._FileSpan$(t2.file, t3, t3));
  100638. }
  100639. t1.scanner.expectDone$0();
  100640. return new A.Tuple2($name, $arguments, type$.Tuple2_String_ArgumentDeclaration);
  100641. },
  100642. $signature: 538
  100643. };
  100644. A.StylesheetParser__statement_closure0.prototype = {
  100645. call$0() {
  100646. return this.$this._stylesheet0$_statement$0();
  100647. },
  100648. $signature: 106
  100649. };
  100650. A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
  100651. call$0() {
  100652. return this.$this.scanner.spanFrom$1(this.start);
  100653. },
  100654. $signature: 25
  100655. };
  100656. A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
  100657. call$0() {
  100658. return this.declaration;
  100659. },
  100660. $signature: 539
  100661. };
  100662. A.StylesheetParser__declarationOrBuffer_closure1.prototype = {
  100663. call$2(children, span) {
  100664. return A.Declaration$nested0(this.name, children, span, null);
  100665. },
  100666. $signature: 83
  100667. };
  100668. A.StylesheetParser__declarationOrBuffer_closure2.prototype = {
  100669. call$2(children, span) {
  100670. return A.Declaration$nested0(this.name, children, span, this._box_0.value);
  100671. },
  100672. $signature: 83
  100673. };
  100674. A.StylesheetParser__styleRule_closure0.prototype = {
  100675. call$2(children, span) {
  100676. var _this = this,
  100677. t1 = _this.$this;
  100678. if (t1.get$indented() && children.length === 0)
  100679. t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
  100680. t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
  100681. return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  100682. },
  100683. $signature: 541
  100684. };
  100685. A.StylesheetParser__propertyOrVariableDeclaration_closure1.prototype = {
  100686. call$2(children, span) {
  100687. return A.Declaration$nested0(this._box_0.name, children, span, null);
  100688. },
  100689. $signature: 83
  100690. };
  100691. A.StylesheetParser__propertyOrVariableDeclaration_closure2.prototype = {
  100692. call$2(children, span) {
  100693. return A.Declaration$nested0(this._box_0.name, children, span, this.value);
  100694. },
  100695. $signature: 83
  100696. };
  100697. A.StylesheetParser__atRootRule_closure1.prototype = {
  100698. call$2(children, span) {
  100699. return A.AtRootRule$0(children, span, this.query);
  100700. },
  100701. $signature: 246
  100702. };
  100703. A.StylesheetParser__atRootRule_closure2.prototype = {
  100704. call$2(children, span) {
  100705. return A.AtRootRule$0(children, span, null);
  100706. },
  100707. $signature: 246
  100708. };
  100709. A.StylesheetParser__eachRule_closure0.prototype = {
  100710. call$2(children, span) {
  100711. var _this = this;
  100712. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  100713. return A.EachRule$0(_this.variables, _this.list, children, span);
  100714. },
  100715. $signature: 543
  100716. };
  100717. A.StylesheetParser__functionRule_closure0.prototype = {
  100718. call$2(children, span) {
  100719. return A.FunctionRule$0(this.name, this.$arguments, children, span, this.precedingComment);
  100720. },
  100721. $signature: 544
  100722. };
  100723. A.StylesheetParser__forRule_closure1.prototype = {
  100724. call$0() {
  100725. var t1 = this.$this;
  100726. if (!t1.lookingAtIdentifier$0())
  100727. return false;
  100728. if (t1.scanIdentifier$1("to"))
  100729. return this._box_0.exclusive = true;
  100730. else if (t1.scanIdentifier$1("through")) {
  100731. this._box_0.exclusive = false;
  100732. return true;
  100733. } else
  100734. return false;
  100735. },
  100736. $signature: 27
  100737. };
  100738. A.StylesheetParser__forRule_closure2.prototype = {
  100739. call$2(children, span) {
  100740. var t1, _this = this;
  100741. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  100742. t1 = _this._box_0.exclusive;
  100743. t1.toString;
  100744. return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
  100745. },
  100746. $signature: 545
  100747. };
  100748. A.StylesheetParser__memberList_closure0.prototype = {
  100749. call$0() {
  100750. var t1 = this.$this;
  100751. if (t1.scanner.peekChar$0() === 36)
  100752. this.variables.add$1(0, t1.variableName$0());
  100753. else
  100754. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  100755. },
  100756. $signature: 1
  100757. };
  100758. A.StylesheetParser__includeRule_closure0.prototype = {
  100759. call$2(children, span) {
  100760. return A.ContentBlock$0(this.contentArguments_, children, span);
  100761. },
  100762. $signature: 546
  100763. };
  100764. A.StylesheetParser_mediaRule_closure0.prototype = {
  100765. call$2(children, span) {
  100766. return A.MediaRule$0(this.query, children, span);
  100767. },
  100768. $signature: 547
  100769. };
  100770. A.StylesheetParser__mixinRule_closure0.prototype = {
  100771. call$2(children, span) {
  100772. var _this = this;
  100773. _this.$this._stylesheet0$_inMixin = false;
  100774. return A.MixinRule$0(_this.name, _this.$arguments, children, span, _this.precedingComment);
  100775. },
  100776. $signature: 548
  100777. };
  100778. A.StylesheetParser_mozDocumentRule_closure0.prototype = {
  100779. call$2(children, span) {
  100780. var _this = this;
  100781. if (_this._box_0.needsDeprecationWarning)
  100782. A.WarnForDeprecation_warnForDeprecation0(_this.$this.logger, B.Deprecation_GbU, string$.x40_moz_, span, null);
  100783. return A.AtRule$0(_this.name, span, children, _this.value);
  100784. },
  100785. $signature: 247
  100786. };
  100787. A.StylesheetParser_supportsRule_closure0.prototype = {
  100788. call$2(children, span) {
  100789. return A.SupportsRule$0(this.condition, children, span);
  100790. },
  100791. $signature: 550
  100792. };
  100793. A.StylesheetParser__whileRule_closure0.prototype = {
  100794. call$2(children, span) {
  100795. this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
  100796. return A.WhileRule$0(this.condition, children, span);
  100797. },
  100798. $signature: 551
  100799. };
  100800. A.StylesheetParser_unknownAtRule_closure0.prototype = {
  100801. call$2(children, span) {
  100802. return A.AtRule$0(this.name, span, children, this._box_0.value);
  100803. },
  100804. $signature: 247
  100805. };
  100806. A.StylesheetParser__expression_resetState0.prototype = {
  100807. call$0() {
  100808. var t2,
  100809. t1 = this._box_0;
  100810. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  100811. t2 = this.$this;
  100812. t2.scanner.set$state(this.start);
  100813. t1.allowSlash = true;
  100814. t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
  100815. },
  100816. $signature: 0
  100817. };
  100818. A.StylesheetParser__expression_resolveOneOperation0.prototype = {
  100819. call$0() {
  100820. var t2, t3, t4, t5, t6, t7, _this = this,
  100821. t1 = _this._box_0,
  100822. operator = t1.operators_.pop(),
  100823. left = t1.operands_.pop(),
  100824. right = t1.singleExpression_;
  100825. if (right == null) {
  100826. t2 = _this.$this.scanner;
  100827. t3 = operator.operator.length;
  100828. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  100829. }
  100830. if (t1.allowSlash) {
  100831. t2 = _this.$this;
  100832. t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_t8B0 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
  100833. } else
  100834. t2 = false;
  100835. if (t2)
  100836. t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_t8B0, left, right, true);
  100837. else {
  100838. t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
  100839. t2 = t1.allowSlash = false;
  100840. if (operator === B.BinaryOperator_anB0 || operator === B.BinaryOperator_olz0) {
  100841. t3 = _this.$this;
  100842. t4 = t3.scanner.string;
  100843. t5 = right.get$span(right);
  100844. t5 = t5.get$start(t5);
  100845. t6 = right.get$span(right);
  100846. t7 = operator.operator;
  100847. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  100848. t2 = left.get$span(left);
  100849. t2 = B.JSString_methods.codeUnitAt$1(t4, t2.get$end(t2).offset);
  100850. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  100851. }
  100852. if (t2) {
  100853. t2 = left.toString$0(0);
  100854. t4 = right.toString$0(0);
  100855. t5 = left.toString$0(0);
  100856. t6 = right.toString$0(0);
  100857. t1 = t1.singleExpression_;
  100858. 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);
  100859. }
  100860. }
  100861. }
  100862. },
  100863. $signature: 0
  100864. };
  100865. A.StylesheetParser__expression_resolveOperations0.prototype = {
  100866. call$0() {
  100867. var t1,
  100868. operators = this._box_0.operators_;
  100869. if (operators == null)
  100870. return;
  100871. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  100872. t1.call$0();
  100873. },
  100874. $signature: 0
  100875. };
  100876. A.StylesheetParser__expression_addSingleExpression0.prototype = {
  100877. call$1(expression) {
  100878. var t2, spaceExpressions, _this = this,
  100879. t1 = _this._box_0;
  100880. if (t1.singleExpression_ != null) {
  100881. t2 = _this.$this;
  100882. if (t2._stylesheet0$_inParentheses) {
  100883. t2._stylesheet0$_inParentheses = false;
  100884. if (t1.allowSlash) {
  100885. _this.resetState.call$0();
  100886. return;
  100887. }
  100888. }
  100889. spaceExpressions = t1.spaceExpressions_;
  100890. if (spaceExpressions == null)
  100891. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
  100892. _this.resolveOperations.call$0();
  100893. t2 = t1.singleExpression_;
  100894. t2.toString;
  100895. spaceExpressions.push(t2);
  100896. t1.allowSlash = true;
  100897. }
  100898. t1.singleExpression_ = expression;
  100899. },
  100900. $signature: 552
  100901. };
  100902. A.StylesheetParser__expression_addOperator0.prototype = {
  100903. call$1(operator) {
  100904. var t2, t3, operators, operands, t4, singleExpression,
  100905. t1 = this.$this;
  100906. if (t1.get$plainCss() && operator !== B.BinaryOperator_t8B0 && operator !== B.BinaryOperator_2jN0) {
  100907. t2 = t1.scanner;
  100908. t3 = operator.operator.length;
  100909. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  100910. }
  100911. t2 = this._box_0;
  100912. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_t8B0;
  100913. operators = t2.operators_;
  100914. if (operators == null)
  100915. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
  100916. operands = t2.operands_;
  100917. if (operands == null)
  100918. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
  100919. t3 = this.resolveOneOperation;
  100920. t4 = operator.precedence;
  100921. while (true) {
  100922. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  100923. break;
  100924. t3.call$0();
  100925. }
  100926. operators.push(operator);
  100927. singleExpression = t2.singleExpression_;
  100928. if (singleExpression == null) {
  100929. t3 = t1.scanner;
  100930. t4 = operator.operator.length;
  100931. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  100932. }
  100933. operands.push(singleExpression);
  100934. t1.whitespace$0();
  100935. t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
  100936. },
  100937. $signature: 553
  100938. };
  100939. A.StylesheetParser__expression_resolveSpaceExpressions0.prototype = {
  100940. call$0() {
  100941. var t1, spaceExpressions, singleExpression, t2;
  100942. this.resolveOperations.call$0();
  100943. t1 = this._box_0;
  100944. spaceExpressions = t1.spaceExpressions_;
  100945. if (spaceExpressions != null) {
  100946. singleExpression = t1.singleExpression_;
  100947. if (singleExpression == null)
  100948. this.$this.scanner.error$1(0, "Expected expression.");
  100949. spaceExpressions.push(singleExpression);
  100950. t2 = B.JSArray_methods.get$first(spaceExpressions);
  100951. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  100952. t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_EVt0, false, t2);
  100953. t1.spaceExpressions_ = null;
  100954. }
  100955. },
  100956. $signature: 0
  100957. };
  100958. A.StylesheetParser_expressionUntilComma_closure0.prototype = {
  100959. call$0() {
  100960. return this.$this.scanner.peekChar$0() === 44;
  100961. },
  100962. $signature: 27
  100963. };
  100964. A.StylesheetParser__unicodeRange_closure1.prototype = {
  100965. call$1(char) {
  100966. return char != null && A.isHex0(char);
  100967. },
  100968. $signature: 33
  100969. };
  100970. A.StylesheetParser__unicodeRange_closure2.prototype = {
  100971. call$1(char) {
  100972. return char != null && A.isHex0(char);
  100973. },
  100974. $signature: 33
  100975. };
  100976. A.StylesheetParser_namespacedExpression_closure0.prototype = {
  100977. call$0() {
  100978. return this.$this.scanner.spanFrom$1(this.start);
  100979. },
  100980. $signature: 25
  100981. };
  100982. A.StylesheetParser_trySpecialFunction_closure0.prototype = {
  100983. call$1(contents) {
  100984. return new A.StringExpression0(contents, false);
  100985. },
  100986. $signature: 554
  100987. };
  100988. A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
  100989. call$0() {
  100990. var t1 = this.$this.scanner,
  100991. next = t1.peekChar$0();
  100992. if (next === 61)
  100993. return t1.peekChar$1(1) !== 61;
  100994. return next === 60 || next === 62;
  100995. },
  100996. $signature: 27
  100997. };
  100998. A.StylesheetParser__publicIdentifier_closure0.prototype = {
  100999. call$0() {
  101000. return this.$this.scanner.spanFrom$1(this.start);
  101001. },
  101002. $signature: 25
  101003. };
  101004. A.Stylesheet0.prototype = {
  101005. Stylesheet$internal$3$plainCss0(children, span, plainCss) {
  101006. var t1, t2, t3, t4, _i, child;
  101007. for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
  101008. child = t1[_i];
  101009. if (child instanceof A.UseRule0)
  101010. t4.push(child);
  101011. else if (child instanceof A.ForwardRule0)
  101012. t3.push(child);
  101013. else if (!(child instanceof A.SilentComment0) && !(child instanceof A.LoudComment0) && !(child instanceof A.VariableDeclaration0))
  101014. break;
  101015. }
  101016. },
  101017. accept$1$1(visitor) {
  101018. return visitor.visitStylesheet$1(this);
  101019. },
  101020. accept$1(visitor) {
  101021. return this.accept$1$1(visitor, type$.dynamic);
  101022. },
  101023. toString$0(_) {
  101024. var t1 = this.children;
  101025. return (t1 && B.JSArray_methods).join$1(t1, " ");
  101026. },
  101027. get$span(receiver) {
  101028. return this.span;
  101029. }
  101030. };
  101031. A.SupportsExpression0.prototype = {
  101032. get$span(_) {
  101033. var t1 = this.condition;
  101034. return t1.get$span(t1);
  101035. },
  101036. accept$1$1(visitor) {
  101037. return visitor.visitSupportsExpression$1(this);
  101038. },
  101039. accept$1(visitor) {
  101040. return this.accept$1$1(visitor, type$.dynamic);
  101041. },
  101042. toString$0(_) {
  101043. return this.condition.toString$0(0);
  101044. },
  101045. $isExpression0: 1,
  101046. $isAstNode0: 1
  101047. };
  101048. A.ModifiableCssSupportsRule0.prototype = {
  101049. accept$1$1(visitor) {
  101050. return visitor.visitCssSupportsRule$1(this);
  101051. },
  101052. accept$1(visitor) {
  101053. return this.accept$1$1(visitor, type$.dynamic);
  101054. },
  101055. equalsIgnoringChildren$1(other) {
  101056. var t1, t2;
  101057. if (other instanceof A.ModifiableCssSupportsRule0) {
  101058. t1 = this.condition;
  101059. t2 = other.condition;
  101060. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  101061. } else
  101062. t1 = false;
  101063. return t1;
  101064. },
  101065. copyWithoutChildren$0() {
  101066. return A.ModifiableCssSupportsRule$0(this.condition, this.span);
  101067. },
  101068. $isCssSupportsRule0: 1,
  101069. get$span(receiver) {
  101070. return this.span;
  101071. }
  101072. };
  101073. A.SupportsRule0.prototype = {
  101074. accept$1$1(visitor) {
  101075. return visitor.visitSupportsRule$1(this);
  101076. },
  101077. accept$1(visitor) {
  101078. return this.accept$1$1(visitor, type$.dynamic);
  101079. },
  101080. toString$0(_) {
  101081. var t1 = this.children;
  101082. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  101083. },
  101084. get$span(receiver) {
  101085. return this.span;
  101086. }
  101087. };
  101088. A.NodeToDartImporter.prototype = {
  101089. canonicalize$1(_, url) {
  101090. var t1,
  101091. result = this._sync$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
  101092. if (result == null)
  101093. return null;
  101094. t1 = self.URL;
  101095. if (result instanceof t1)
  101096. return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  101097. t1 = self.Promise;
  101098. if (result instanceof t1)
  101099. A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
  101100. else
  101101. A.jsThrow(new self.Error(string$.The_ca));
  101102. },
  101103. load$1(_, url) {
  101104. var t1, contents, syntax, t2,
  101105. result = this._sync$_load.call$1(new self.URL(url.toString$0(0)));
  101106. if (result == null)
  101107. return null;
  101108. t1 = self.Promise;
  101109. if (result instanceof t1)
  101110. A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
  101111. type$.NodeImporterResult._as(result);
  101112. t1 = J.getInterceptor$x(result);
  101113. contents = t1.get$contents(result);
  101114. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  101115. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  101116. syntax = t1.get$syntax(result);
  101117. if (contents == null || syntax == null)
  101118. A.jsThrow(new self.Error(string$.The_lo));
  101119. t2 = A.parseSyntax(syntax);
  101120. return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
  101121. }
  101122. };
  101123. A.Syntax0.prototype = {
  101124. _enumToString$0() {
  101125. return "Syntax." + this._name;
  101126. },
  101127. toString$0(_) {
  101128. return this._syntax0$_name;
  101129. }
  101130. };
  101131. A.TypeSelector0.prototype = {
  101132. get$specificity() {
  101133. return 1;
  101134. },
  101135. accept$1$1(visitor) {
  101136. return visitor.visitTypeSelector$1(this);
  101137. },
  101138. accept$1(visitor) {
  101139. return this.accept$1$1(visitor, type$.dynamic);
  101140. },
  101141. addSuffix$1(suffix) {
  101142. var t1 = this.name;
  101143. return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace), this.span);
  101144. },
  101145. unify$1(compound) {
  101146. var unified, t1;
  101147. if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector0 || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector0) {
  101148. unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
  101149. if (unified == null)
  101150. return null;
  101151. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  101152. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  101153. return t1;
  101154. } else {
  101155. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
  101156. B.JSArray_methods.addAll$1(t1, compound);
  101157. return t1;
  101158. }
  101159. },
  101160. isSuperselector$1(other) {
  101161. var t1, t2;
  101162. if (!this.super$SimpleSelector$isSuperselector0(other))
  101163. if (other instanceof A.TypeSelector0) {
  101164. t1 = this.name;
  101165. t2 = other.name;
  101166. if (t1.name === t2.name) {
  101167. t1 = t1.namespace;
  101168. t1 = t1 === "*" || t1 == t2.namespace;
  101169. } else
  101170. t1 = false;
  101171. } else
  101172. t1 = false;
  101173. else
  101174. t1 = true;
  101175. return t1;
  101176. },
  101177. $eq(_, other) {
  101178. if (other == null)
  101179. return false;
  101180. return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
  101181. },
  101182. get$hashCode(_) {
  101183. var t1 = this.name;
  101184. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  101185. }
  101186. };
  101187. A.Types.prototype = {};
  101188. A.UnaryOperationExpression0.prototype = {
  101189. accept$1$1(visitor) {
  101190. return visitor.visitUnaryOperationExpression$1(this);
  101191. },
  101192. accept$1(visitor) {
  101193. return this.accept$1$1(visitor, type$.dynamic);
  101194. },
  101195. toString$0(_) {
  101196. var operand, needsParens,
  101197. t1 = this.operator,
  101198. t2 = t1.operator;
  101199. t1 = t1 === B.UnaryOperator_not_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  101200. operand = this.operand;
  101201. if (!(operand instanceof A.BinaryOperationExpression0))
  101202. if (!(operand instanceof A.UnaryOperationExpression0)) {
  101203. t2 = operand instanceof A.ListExpression0 && !operand.hasBrackets && operand.contents.length > 1;
  101204. needsParens = t2;
  101205. } else
  101206. needsParens = true;
  101207. else
  101208. needsParens = true;
  101209. if (needsParens)
  101210. t1 += "40";
  101211. t1 += operand.toString$0(0);
  101212. if (needsParens)
  101213. t1 += "41";
  101214. return t1.charCodeAt(0) == 0 ? t1 : t1;
  101215. },
  101216. $isExpression0: 1,
  101217. $isAstNode0: 1,
  101218. get$span(receiver) {
  101219. return this.span;
  101220. }
  101221. };
  101222. A.UnaryOperator0.prototype = {
  101223. _enumToString$0() {
  101224. return "UnaryOperator." + this._name;
  101225. },
  101226. toString$0(_) {
  101227. return this.name;
  101228. }
  101229. };
  101230. A.UnitlessSassNumber0.prototype = {
  101231. get$numeratorUnits(_) {
  101232. return B.List_empty;
  101233. },
  101234. get$denominatorUnits(_) {
  101235. return B.List_empty;
  101236. },
  101237. get$hasUnits() {
  101238. return false;
  101239. },
  101240. withValue$1(value) {
  101241. return new A.UnitlessSassNumber0(value, null);
  101242. },
  101243. withSlash$2(numerator, denominator) {
  101244. return new A.UnitlessSassNumber0(this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
  101245. },
  101246. hasUnit$1(unit) {
  101247. return false;
  101248. },
  101249. hasCompatibleUnits$1(other) {
  101250. return other instanceof A.UnitlessSassNumber0;
  101251. },
  101252. hasPossiblyCompatibleUnits$1(other) {
  101253. return other instanceof A.UnitlessSassNumber0;
  101254. },
  101255. compatibleWithUnit$1(unit) {
  101256. return true;
  101257. },
  101258. coerceToMatch$3(other, $name, otherName) {
  101259. return other.withValue$1(this._number1$_value);
  101260. },
  101261. coerceValueToMatch$3(other, $name, otherName) {
  101262. return this._number1$_value;
  101263. },
  101264. coerceValueToMatch$1(other) {
  101265. return this.coerceValueToMatch$3(other, null, null);
  101266. },
  101267. convertToMatch$3(other, $name, otherName) {
  101268. return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
  101269. },
  101270. convertValueToMatch$3(other, $name, otherName) {
  101271. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
  101272. },
  101273. coerce$3(newNumerators, newDenominators, $name) {
  101274. return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
  101275. },
  101276. coerce$2(newNumerators, newDenominators) {
  101277. return this.coerce$3(newNumerators, newDenominators, null);
  101278. },
  101279. coerceValue$3(newNumerators, newDenominators, $name) {
  101280. return this._number1$_value;
  101281. },
  101282. coerceValueToUnit$2(unit, $name) {
  101283. return this._number1$_value;
  101284. },
  101285. coerceValueToUnit$1(unit) {
  101286. return this.coerceValueToUnit$2(unit, null);
  101287. },
  101288. greaterThan$1(other) {
  101289. var t1, t2;
  101290. if (other instanceof A.SassNumber0) {
  101291. t1 = this._number1$_value;
  101292. t2 = other._number1$_value;
  101293. return t1 > t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  101294. }
  101295. return this.super$SassNumber$greaterThan0(other);
  101296. },
  101297. greaterThanOrEquals$1(other) {
  101298. var t1, t2;
  101299. if (other instanceof A.SassNumber0) {
  101300. t1 = this._number1$_value;
  101301. t2 = other._number1$_value;
  101302. return t1 > t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  101303. }
  101304. return this.super$SassNumber$greaterThanOrEquals0(other);
  101305. },
  101306. lessThan$1(other) {
  101307. var t1, t2;
  101308. if (other instanceof A.SassNumber0) {
  101309. t1 = this._number1$_value;
  101310. t2 = other._number1$_value;
  101311. return t1 < t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  101312. }
  101313. return this.super$SassNumber$lessThan0(other);
  101314. },
  101315. lessThanOrEquals$1(other) {
  101316. var t1, t2;
  101317. if (other instanceof A.SassNumber0) {
  101318. t1 = this._number1$_value;
  101319. t2 = other._number1$_value;
  101320. return t1 < t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  101321. }
  101322. return this.super$SassNumber$lessThanOrEquals0(other);
  101323. },
  101324. modulo$1(other) {
  101325. if (other instanceof A.SassNumber0)
  101326. return other.withValue$1(A.moduloLikeSass0(this._number1$_value, other._number1$_value));
  101327. return this.super$SassNumber$modulo0(other);
  101328. },
  101329. plus$1(other) {
  101330. if (other instanceof A.SassNumber0)
  101331. return other.withValue$1(this._number1$_value + other._number1$_value);
  101332. return this.super$SassNumber$plus0(other);
  101333. },
  101334. minus$1(other) {
  101335. if (other instanceof A.SassNumber0)
  101336. return other.withValue$1(this._number1$_value - other._number1$_value);
  101337. return this.super$SassNumber$minus0(other);
  101338. },
  101339. times$1(other) {
  101340. if (other instanceof A.SassNumber0)
  101341. return other.withValue$1(this._number1$_value * other._number1$_value);
  101342. return this.super$SassNumber$times0(other);
  101343. },
  101344. dividedBy$1(other) {
  101345. var t1, t2;
  101346. if (other instanceof A.SassNumber0) {
  101347. t1 = this._number1$_value / other._number1$_value;
  101348. if (other.get$hasUnits()) {
  101349. t2 = other.get$denominatorUnits(other);
  101350. t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
  101351. t1 = t2;
  101352. } else
  101353. t1 = new A.UnitlessSassNumber0(t1, null);
  101354. return t1;
  101355. }
  101356. return this.super$SassNumber$dividedBy0(other);
  101357. },
  101358. unaryMinus$0() {
  101359. return new A.UnitlessSassNumber0(-this._number1$_value, null);
  101360. },
  101361. $eq(_, other) {
  101362. if (other == null)
  101363. return false;
  101364. return other instanceof A.UnitlessSassNumber0 && A.fuzzyEquals0(this._number1$_value, other._number1$_value);
  101365. },
  101366. get$hashCode(_) {
  101367. var t1 = this.hashCache;
  101368. return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
  101369. }
  101370. };
  101371. A.UniversalSelector0.prototype = {
  101372. get$specificity() {
  101373. return 0;
  101374. },
  101375. accept$1$1(visitor) {
  101376. return visitor.visitUniversalSelector$1(this);
  101377. },
  101378. accept$1(visitor) {
  101379. return this.accept$1$1(visitor, type$.dynamic);
  101380. },
  101381. unify$1(compound) {
  101382. var unified, t1, _this = this,
  101383. first = B.JSArray_methods.get$first(compound);
  101384. if (first instanceof A.UniversalSelector0 || first instanceof A.TypeSelector0) {
  101385. unified = A.unifyUniversalAndElement0(_this, first);
  101386. if (unified == null)
  101387. return null;
  101388. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  101389. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  101390. return t1;
  101391. } else {
  101392. if (compound.length === 1)
  101393. if (first instanceof A.PseudoSelector0)
  101394. t1 = first.isClass && first.name === "host" || first.get$isHostContext();
  101395. else
  101396. t1 = false;
  101397. else
  101398. t1 = false;
  101399. if (t1)
  101400. return null;
  101401. }
  101402. t1 = _this.namespace;
  101403. if (t1 != null && t1 !== "*") {
  101404. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  101405. B.JSArray_methods.addAll$1(t1, compound);
  101406. return t1;
  101407. }
  101408. if (compound.length !== 0)
  101409. return compound;
  101410. return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  101411. },
  101412. isSuperselector$1(other) {
  101413. var t1 = this.namespace;
  101414. if (t1 === "*")
  101415. return true;
  101416. if (other instanceof A.TypeSelector0)
  101417. return t1 == other.name.namespace;
  101418. if (other instanceof A.UniversalSelector0)
  101419. return t1 == other.namespace;
  101420. return t1 == null || this.super$SimpleSelector$isSuperselector0(other);
  101421. },
  101422. $eq(_, other) {
  101423. if (other == null)
  101424. return false;
  101425. return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
  101426. },
  101427. get$hashCode(_) {
  101428. return J.get$hashCode$(this.namespace);
  101429. }
  101430. };
  101431. A.UnprefixedMapView0.prototype = {
  101432. get$keys(_) {
  101433. return new A._UnprefixedKeys0(this);
  101434. },
  101435. $index(_, key) {
  101436. return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
  101437. },
  101438. containsKey$1(key) {
  101439. return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
  101440. },
  101441. remove$1(_, key) {
  101442. return typeof key == "string" ? this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key) : null;
  101443. }
  101444. };
  101445. A._UnprefixedKeys0.prototype = {
  101446. get$iterator(_) {
  101447. var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
  101448. 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);
  101449. return t1.get$iterator(t1);
  101450. },
  101451. contains$1(_, key) {
  101452. return this._unprefixed_map_view0$_view.containsKey$1(key);
  101453. }
  101454. };
  101455. A._UnprefixedKeys_iterator_closure1.prototype = {
  101456. call$1(key) {
  101457. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
  101458. },
  101459. $signature: 8
  101460. };
  101461. A._UnprefixedKeys_iterator_closure2.prototype = {
  101462. call$1(key) {
  101463. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
  101464. },
  101465. $signature: 5
  101466. };
  101467. A.JSUrl0.prototype = {};
  101468. A.UseRule0.prototype = {
  101469. UseRule$4$configuration0(url, namespace, span, configuration) {
  101470. var t1, t2, _i, variable;
  101471. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  101472. variable = t1[_i];
  101473. if (variable.isGuarded)
  101474. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  101475. }
  101476. },
  101477. accept$1$1(visitor) {
  101478. return visitor.visitUseRule$1(this);
  101479. },
  101480. accept$1(visitor) {
  101481. return this.accept$1$1(visitor, type$.dynamic);
  101482. },
  101483. toString$0(_) {
  101484. var t1 = this.url,
  101485. t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
  101486. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  101487. dot = B.JSString_methods.indexOf$1(basename, ".");
  101488. t1 = this.namespace;
  101489. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  101490. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  101491. else
  101492. t1 = t2;
  101493. t2 = this.configuration;
  101494. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  101495. return t1.charCodeAt(0) == 0 ? t1 : t1;
  101496. },
  101497. $isAstNode0: 1,
  101498. $isStatement0: 1,
  101499. get$span(receiver) {
  101500. return this.span;
  101501. }
  101502. };
  101503. A.UserDefinedCallable0.prototype = {
  101504. get$name(_) {
  101505. return this.declaration.name;
  101506. },
  101507. $isAsyncCallable0: 1,
  101508. $isCallable0: 1
  101509. };
  101510. A.resolveImportPath_closure1.prototype = {
  101511. call$0() {
  101512. return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  101513. },
  101514. $signature: 43
  101515. };
  101516. A.resolveImportPath_closure2.prototype = {
  101517. call$0() {
  101518. return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
  101519. },
  101520. $signature: 43
  101521. };
  101522. A._tryPathAsDirectory_closure0.prototype = {
  101523. call$0() {
  101524. return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
  101525. },
  101526. $signature: 43
  101527. };
  101528. A._exactlyOne_closure0.prototype = {
  101529. call$1(path) {
  101530. var t1 = $.$get$context();
  101531. return " " + t1.prettyUri$1(t1.toUri$1(path));
  101532. },
  101533. $signature: 5
  101534. };
  101535. A._PropertyDescriptor0.prototype = {};
  101536. A.futureToPromise_closure0.prototype = {
  101537. call$2(resolve, reject) {
  101538. this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
  101539. },
  101540. $signature: 555
  101541. };
  101542. A.futureToPromise__closure0.prototype = {
  101543. call$1(result) {
  101544. return this.resolve.call$1(result);
  101545. },
  101546. $signature: 29
  101547. };
  101548. A.futureToPromise__closure1.prototype = {
  101549. call$2(error, stackTrace) {
  101550. A.attachTrace0(error, stackTrace);
  101551. this.reject.call$1(error);
  101552. },
  101553. $signature: 65
  101554. };
  101555. A.objectToMap_closure.prototype = {
  101556. call$2(key, value) {
  101557. this.map.$indexSet(0, key, value);
  101558. return value;
  101559. },
  101560. $signature: 105
  101561. };
  101562. A.indent_closure0.prototype = {
  101563. call$1(line) {
  101564. return B.JSString_methods.$mul(" ", this.indentation) + line;
  101565. },
  101566. $signature: 5
  101567. };
  101568. A.flattenVertically_closure1.prototype = {
  101569. call$1(inner) {
  101570. return A.QueueList_QueueList$from(inner, this.T);
  101571. },
  101572. $signature() {
  101573. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  101574. }
  101575. };
  101576. A.flattenVertically_closure2.prototype = {
  101577. call$1(queue) {
  101578. this.result.push(queue.removeFirst$0());
  101579. return queue.get$length(queue) === 0;
  101580. },
  101581. $signature() {
  101582. return this.T._eval$1("bool(QueueList<0>)");
  101583. }
  101584. };
  101585. A.longestCommonSubsequence_backtrack0.prototype = {
  101586. call$2(i, j) {
  101587. var selection, t1, _this = this;
  101588. if (i === -1 || j === -1)
  101589. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  101590. selection = _this.selections[i][j];
  101591. if (selection != null) {
  101592. t1 = _this.call$2(i - 1, j - 1);
  101593. J.add$1$ax(t1, selection);
  101594. return t1;
  101595. }
  101596. t1 = _this.lengths;
  101597. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  101598. },
  101599. $signature() {
  101600. return this.T._eval$1("List<0>(int,int)");
  101601. }
  101602. };
  101603. A.mapAddAll2_closure0.prototype = {
  101604. call$2(key, inner) {
  101605. var t1 = this.destination,
  101606. innerDestination = t1.$index(0, key);
  101607. if (innerDestination != null)
  101608. innerDestination.addAll$1(0, inner);
  101609. else
  101610. t1.$indexSet(0, key, inner);
  101611. },
  101612. $signature() {
  101613. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  101614. }
  101615. };
  101616. A.CssValue0.prototype = {
  101617. $eq(_, other) {
  101618. if (other == null)
  101619. return false;
  101620. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  101621. },
  101622. get$hashCode(_) {
  101623. return J.get$hashCode$(this.value);
  101624. },
  101625. toString$0(_) {
  101626. return J.toString$0$(this.value);
  101627. },
  101628. $isAstNode0: 1,
  101629. get$span(receiver) {
  101630. return this.span;
  101631. }
  101632. };
  101633. A.ValueExpression0.prototype = {
  101634. accept$1$1(visitor) {
  101635. return visitor.visitValueExpression$1(this);
  101636. },
  101637. accept$1(visitor) {
  101638. return this.accept$1$1(visitor, type$.dynamic);
  101639. },
  101640. toString$0(_) {
  101641. return A.serializeValue0(this.value, true, true);
  101642. },
  101643. $isExpression0: 1,
  101644. $isAstNode0: 1,
  101645. get$span(receiver) {
  101646. return this.span;
  101647. }
  101648. };
  101649. A.valueClass_closure.prototype = {
  101650. call$0() {
  101651. var t2,
  101652. t1 = type$.JSClass,
  101653. jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
  101654. A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
  101655. t1 = type$.String;
  101656. t2 = type$.Function;
  101657. 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));
  101658. 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));
  101659. return jsClass;
  101660. },
  101661. $signature: 26
  101662. };
  101663. A.valueClass__closure.prototype = {
  101664. call$1($self) {
  101665. return J.toString$0$($self);
  101666. },
  101667. $signature: 63
  101668. };
  101669. A.valueClass__closure0.prototype = {
  101670. call$1($self) {
  101671. return new self.immutable.List($self.get$asList());
  101672. },
  101673. $signature: 556
  101674. };
  101675. A.valueClass__closure1.prototype = {
  101676. call$1($self) {
  101677. return $self.get$hasBrackets();
  101678. },
  101679. $signature: 46
  101680. };
  101681. A.valueClass__closure2.prototype = {
  101682. call$1($self) {
  101683. return $self.get$isTruthy();
  101684. },
  101685. $signature: 46
  101686. };
  101687. A.valueClass__closure3.prototype = {
  101688. call$1($self) {
  101689. return $self.get$realNull();
  101690. },
  101691. $signature: 213
  101692. };
  101693. A.valueClass__closure4.prototype = {
  101694. call$1($self) {
  101695. return $self.get$separator($self).separator;
  101696. },
  101697. $signature: 557
  101698. };
  101699. A.valueClass__closure5.prototype = {
  101700. call$3($self, sassIndex, $name) {
  101701. return $self.sassIndexToListIndex$2(sassIndex, $name);
  101702. },
  101703. call$2($self, sassIndex) {
  101704. return this.call$3($self, sassIndex, null);
  101705. },
  101706. "call*": "call$3",
  101707. $requiredArgCount: 2,
  101708. $defaultValues() {
  101709. return [null];
  101710. },
  101711. $signature: 558
  101712. };
  101713. A.valueClass__closure6.prototype = {
  101714. call$2($self, index) {
  101715. return index < 1 && index >= -1 ? $self : self.undefined;
  101716. },
  101717. $signature: 227
  101718. };
  101719. A.valueClass__closure7.prototype = {
  101720. call$2($self, $name) {
  101721. return $self.assertBoolean$1($name);
  101722. },
  101723. call$1($self) {
  101724. return this.call$2($self, null);
  101725. },
  101726. "call*": "call$2",
  101727. $requiredArgCount: 1,
  101728. $defaultValues() {
  101729. return [null];
  101730. },
  101731. $signature: 559
  101732. };
  101733. A.valueClass__closure8.prototype = {
  101734. call$2($self, $name) {
  101735. return $self.assertColor$1($name);
  101736. },
  101737. call$1($self) {
  101738. return this.call$2($self, null);
  101739. },
  101740. "call*": "call$2",
  101741. $requiredArgCount: 1,
  101742. $defaultValues() {
  101743. return [null];
  101744. },
  101745. $signature: 560
  101746. };
  101747. A.valueClass__closure9.prototype = {
  101748. call$2($self, $name) {
  101749. return $self.assertFunction$1($name);
  101750. },
  101751. call$1($self) {
  101752. return this.call$2($self, null);
  101753. },
  101754. "call*": "call$2",
  101755. $requiredArgCount: 1,
  101756. $defaultValues() {
  101757. return [null];
  101758. },
  101759. $signature: 561
  101760. };
  101761. A.valueClass__closure10.prototype = {
  101762. call$2($self, $name) {
  101763. return $self.assertMap$1($name);
  101764. },
  101765. call$1($self) {
  101766. return this.call$2($self, null);
  101767. },
  101768. "call*": "call$2",
  101769. $requiredArgCount: 1,
  101770. $defaultValues() {
  101771. return [null];
  101772. },
  101773. $signature: 562
  101774. };
  101775. A.valueClass__closure11.prototype = {
  101776. call$2($self, $name) {
  101777. return $self.assertNumber$1($name);
  101778. },
  101779. call$1($self) {
  101780. return this.call$2($self, null);
  101781. },
  101782. "call*": "call$2",
  101783. $requiredArgCount: 1,
  101784. $defaultValues() {
  101785. return [null];
  101786. },
  101787. $signature: 563
  101788. };
  101789. A.valueClass__closure12.prototype = {
  101790. call$2($self, $name) {
  101791. return $self.assertString$1($name);
  101792. },
  101793. call$1($self) {
  101794. return this.call$2($self, null);
  101795. },
  101796. "call*": "call$2",
  101797. $requiredArgCount: 1,
  101798. $defaultValues() {
  101799. return [null];
  101800. },
  101801. $signature: 564
  101802. };
  101803. A.valueClass__closure13.prototype = {
  101804. call$1($self) {
  101805. return $self.tryMap$0();
  101806. },
  101807. $signature: 565
  101808. };
  101809. A.valueClass__closure14.prototype = {
  101810. call$2($self, other) {
  101811. return $self.$eq(0, other);
  101812. },
  101813. $signature: 566
  101814. };
  101815. A.valueClass__closure15.prototype = {
  101816. call$2($self, _) {
  101817. return $self.get$hashCode($self);
  101818. },
  101819. call$1($self) {
  101820. return this.call$2($self, null);
  101821. },
  101822. "call*": "call$2",
  101823. $requiredArgCount: 1,
  101824. $defaultValues() {
  101825. return [null];
  101826. },
  101827. $signature: 567
  101828. };
  101829. A.valueClass__closure16.prototype = {
  101830. call$1($self) {
  101831. return A.serializeValue0($self, true, true);
  101832. },
  101833. $signature: 197
  101834. };
  101835. A.Value0.prototype = {
  101836. get$isTruthy() {
  101837. return true;
  101838. },
  101839. get$separator(_) {
  101840. return B.ListSeparator_undecided_null_undecided0;
  101841. },
  101842. get$hasBrackets() {
  101843. return false;
  101844. },
  101845. get$asList() {
  101846. return A._setArrayType([this], type$.JSArray_Value_2);
  101847. },
  101848. get$lengthAsList() {
  101849. return 1;
  101850. },
  101851. get$isBlank() {
  101852. return false;
  101853. },
  101854. get$isSpecialNumber() {
  101855. return false;
  101856. },
  101857. get$isVar() {
  101858. return false;
  101859. },
  101860. get$realNull() {
  101861. return this;
  101862. },
  101863. sassIndexToListIndex$2(sassIndex, $name) {
  101864. var t1, t2, index,
  101865. indexValue = sassIndex.assertNumber$1($name);
  101866. if (indexValue.get$hasUnits()) {
  101867. t1 = indexValue.get$unitString();
  101868. t2 = indexValue.unitSuggestion$1($name == null ? "index" : $name);
  101869. 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);
  101870. }
  101871. index = indexValue.assertInt$1($name);
  101872. if (index === 0)
  101873. throw A.wrapException(A.SassScriptException$0("List index may not be 0.", $name));
  101874. if (Math.abs(index) > this.get$lengthAsList())
  101875. throw A.wrapException(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  101876. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  101877. },
  101878. assertBoolean$1($name) {
  101879. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a boolean.", $name));
  101880. },
  101881. assertCalculation$1($name) {
  101882. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a calculation.", $name));
  101883. },
  101884. assertColor$1($name) {
  101885. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a color.", $name));
  101886. },
  101887. assertFunction$1($name) {
  101888. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a function reference.", $name));
  101889. },
  101890. assertMap$1($name) {
  101891. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a map.", $name));
  101892. },
  101893. tryMap$0() {
  101894. return null;
  101895. },
  101896. assertNumber$1($name) {
  101897. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a number.", $name));
  101898. },
  101899. assertNumber$0() {
  101900. return this.assertNumber$1(null);
  101901. },
  101902. assertString$1($name) {
  101903. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a string.", $name));
  101904. },
  101905. _value$_selectorString$1($name) {
  101906. var string = this._value$_selectorStringOrNull$0();
  101907. if (string != null)
  101908. return string;
  101909. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + string$.x20is_noa, $name));
  101910. },
  101911. _value$_selectorStringOrNull$0() {
  101912. var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
  101913. if (_this instanceof A.SassString0)
  101914. return _this._string0$_text;
  101915. if (!(_this instanceof A.SassList0))
  101916. return _null;
  101917. t1 = _this._list1$_contents;
  101918. t2 = t1.length;
  101919. if (t2 === 0)
  101920. return _null;
  101921. result = A._setArrayType([], type$.JSArray_String);
  101922. t3 = _this._list1$_separator;
  101923. switch (t3) {
  101924. case B.ListSeparator_rXA0:
  101925. for (_i = 0; _i < t2; ++_i) {
  101926. complex = t1[_i];
  101927. if (complex instanceof A.SassString0)
  101928. result.push(complex._string0$_text);
  101929. else if (complex instanceof A.SassList0 && complex._list1$_separator === B.ListSeparator_EVt0) {
  101930. string = complex._value$_selectorStringOrNull$0();
  101931. if (string == null)
  101932. return _null;
  101933. result.push(string);
  101934. } else
  101935. return _null;
  101936. }
  101937. break;
  101938. case B.ListSeparator_zg90:
  101939. return _null;
  101940. default:
  101941. for (_i = 0; _i < t2; ++_i) {
  101942. compound = t1[_i];
  101943. if (compound instanceof A.SassString0)
  101944. result.push(compound._string0$_text);
  101945. else
  101946. return _null;
  101947. }
  101948. break;
  101949. }
  101950. return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_rXA0 ? ", " : " ");
  101951. },
  101952. withListContents$2$separator(contents, separator) {
  101953. var t1 = separator == null ? this.get$separator(this) : separator,
  101954. t2 = this.get$hasBrackets();
  101955. return A.SassList$0(contents, t1, t2);
  101956. },
  101957. withListContents$1(contents) {
  101958. return this.withListContents$2$separator(contents, null);
  101959. },
  101960. greaterThan$1(other) {
  101961. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  101962. },
  101963. greaterThanOrEquals$1(other) {
  101964. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  101965. },
  101966. lessThan$1(other) {
  101967. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  101968. },
  101969. lessThanOrEquals$1(other) {
  101970. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  101971. },
  101972. times$1(other) {
  101973. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  101974. },
  101975. modulo$1(other) {
  101976. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  101977. },
  101978. plus$1(other) {
  101979. if (other instanceof A.SassString0)
  101980. return new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
  101981. else if (other instanceof A.SassCalculation0)
  101982. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  101983. else
  101984. return new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
  101985. },
  101986. minus$1(other) {
  101987. if (other instanceof A.SassCalculation0)
  101988. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  101989. else
  101990. return new A.SassString0(A.serializeValue0(this, false, true) + "-" + A.serializeValue0(other, false, true), false);
  101991. },
  101992. dividedBy$1(other) {
  101993. return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
  101994. },
  101995. unaryPlus$0() {
  101996. return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
  101997. },
  101998. unaryMinus$0() {
  101999. return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
  102000. },
  102001. unaryNot$0() {
  102002. return B.SassBoolean_false0;
  102003. },
  102004. withoutSlash$0() {
  102005. return this;
  102006. },
  102007. toString$0(_) {
  102008. return A.serializeValue0(this, true, true);
  102009. }
  102010. };
  102011. A.VariableExpression0.prototype = {
  102012. accept$1$1(visitor) {
  102013. return visitor.visitVariableExpression$1(this);
  102014. },
  102015. accept$1(visitor) {
  102016. return this.accept$1$1(visitor, type$.dynamic);
  102017. },
  102018. toString$0(_) {
  102019. var t1 = this.namespace,
  102020. t2 = this.name;
  102021. return t1 == null ? "$" + t2 : t1 + ".$" + t2;
  102022. },
  102023. $isExpression0: 1,
  102024. $isAstNode0: 1,
  102025. get$span(receiver) {
  102026. return this.span;
  102027. }
  102028. };
  102029. A.VariableDeclaration0.prototype = {
  102030. accept$1$1(visitor) {
  102031. return visitor.visitVariableDeclaration$1(this);
  102032. },
  102033. accept$1(visitor) {
  102034. return this.accept$1$1(visitor, type$.dynamic);
  102035. },
  102036. toString$0(_) {
  102037. var t1 = this.namespace;
  102038. t1 = t1 != null ? "" + (t1 + ".") : "";
  102039. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  102040. return t1.charCodeAt(0) == 0 ? t1 : t1;
  102041. },
  102042. $isAstNode0: 1,
  102043. $isStatement0: 1,
  102044. get$span(receiver) {
  102045. return this.span;
  102046. }
  102047. };
  102048. A.WarnRule0.prototype = {
  102049. accept$1$1(visitor) {
  102050. return visitor.visitWarnRule$1(this);
  102051. },
  102052. accept$1(visitor) {
  102053. return this.accept$1$1(visitor, type$.dynamic);
  102054. },
  102055. toString$0(_) {
  102056. return "@warn " + this.expression.toString$0(0) + ";";
  102057. },
  102058. $isAstNode0: 1,
  102059. $isStatement0: 1,
  102060. get$span(receiver) {
  102061. return this.span;
  102062. }
  102063. };
  102064. A.WhileRule0.prototype = {
  102065. accept$1$1(visitor) {
  102066. return visitor.visitWhileRule$1(this);
  102067. },
  102068. accept$1(visitor) {
  102069. return this.accept$1$1(visitor, type$.dynamic);
  102070. },
  102071. toString$0(_) {
  102072. var t1 = this.children;
  102073. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  102074. },
  102075. get$span(receiver) {
  102076. return this.span;
  102077. }
  102078. };
  102079. (function aliases() {
  102080. var _ = J.LegacyJavaScriptObject.prototype;
  102081. _.super$LegacyJavaScriptObject$toString = _.toString$0;
  102082. _ = A.JsLinkedHashMap.prototype;
  102083. _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
  102084. _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
  102085. _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
  102086. _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
  102087. _ = A._BufferingStreamSubscription.prototype;
  102088. _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
  102089. _.super$_BufferingStreamSubscription$_addError = _._addError$2;
  102090. _ = A.ListBase.prototype;
  102091. _.super$ListBase$setRange = _.setRange$4;
  102092. _ = A.Iterable.prototype;
  102093. _.super$Iterable$where = _.where$1;
  102094. _.super$Iterable$skipWhile = _.skipWhile$1;
  102095. _ = A.ModifiableCssParentNode.prototype;
  102096. _.super$ModifiableCssParentNode$addChild = _.addChild$1;
  102097. _ = A.SimpleSelector.prototype;
  102098. _.super$SimpleSelector$addSuffix = _.addSuffix$1;
  102099. _.super$SimpleSelector$unify = _.unify$1;
  102100. _.super$SimpleSelector$isSuperselector = _.isSuperselector$1;
  102101. _ = A.Parser.prototype;
  102102. _.super$Parser$silentComment = _.silentComment$0;
  102103. _ = A.StylesheetParser.prototype;
  102104. _.super$StylesheetParser$importArgument = _.importArgument$0;
  102105. _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
  102106. _ = A.Value.prototype;
  102107. _.super$Value$assertMap = _.assertMap$1;
  102108. _.super$Value$plus = _.plus$1;
  102109. _.super$Value$minus = _.minus$1;
  102110. _.super$Value$dividedBy = _.dividedBy$1;
  102111. _ = A.SassNumber.prototype;
  102112. _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
  102113. _.super$SassNumber$coerce = _.coerce$3;
  102114. _.super$SassNumber$coerceValue = _.coerceValue$3;
  102115. _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
  102116. _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
  102117. _.super$SassNumber$greaterThan = _.greaterThan$1;
  102118. _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
  102119. _.super$SassNumber$lessThan = _.lessThan$1;
  102120. _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
  102121. _.super$SassNumber$modulo = _.modulo$1;
  102122. _.super$SassNumber$plus = _.plus$1;
  102123. _.super$SassNumber$minus = _.minus$1;
  102124. _.super$SassNumber$times = _.times$1;
  102125. _.super$SassNumber$dividedBy = _.dividedBy$1;
  102126. _ = A.AnySelectorVisitor.prototype;
  102127. _.super$AnySelectorVisitor$visitComplexSelector = _.visitComplexSelector$1;
  102128. _ = A.EveryCssVisitor.prototype;
  102129. _.super$EveryCssVisitor$visitCssStyleRule = _.visitCssStyleRule$1;
  102130. _ = A.ReplaceExpressionVisitor.prototype;
  102131. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression = _.visitBinaryOperationExpression$1;
  102132. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression = _.visitUnaryOperationExpression$1;
  102133. _ = A.SourceSpanMixin.prototype;
  102134. _.super$SourceSpanMixin$compareTo = _.compareTo$1;
  102135. _.super$SourceSpanMixin$$eq = _.$eq;
  102136. _ = A.StringScanner.prototype;
  102137. _.super$StringScanner$readChar = _.readChar$0;
  102138. _.super$StringScanner$scanChar = _.scanChar$1;
  102139. _.super$StringScanner$scan = _.scan$1;
  102140. _.super$StringScanner$matches = _.matches$1;
  102141. _ = A.AnySelectorVisitor0.prototype;
  102142. _.super$AnySelectorVisitor$visitComplexSelector0 = _.visitComplexSelector$1;
  102143. _ = A.EveryCssVisitor0.prototype;
  102144. _.super$EveryCssVisitor$visitCssStyleRule0 = _.visitCssStyleRule$1;
  102145. _ = A.ModifiableCssParentNode0.prototype;
  102146. _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
  102147. _ = A.SassNumber0.prototype;
  102148. _.super$SassNumber$convertToMatch = _.convertToMatch$3;
  102149. _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
  102150. _.super$SassNumber$coerce0 = _.coerce$3;
  102151. _.super$SassNumber$coerceValue0 = _.coerceValue$3;
  102152. _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
  102153. _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
  102154. _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
  102155. _.super$SassNumber$greaterThan0 = _.greaterThan$1;
  102156. _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
  102157. _.super$SassNumber$lessThan0 = _.lessThan$1;
  102158. _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
  102159. _.super$SassNumber$modulo0 = _.modulo$1;
  102160. _.super$SassNumber$plus0 = _.plus$1;
  102161. _.super$SassNumber$minus0 = _.minus$1;
  102162. _.super$SassNumber$times0 = _.times$1;
  102163. _.super$SassNumber$dividedBy0 = _.dividedBy$1;
  102164. _ = A.Parser1.prototype;
  102165. _.super$Parser$silentComment0 = _.silentComment$0;
  102166. _ = A.ReplaceExpressionVisitor0.prototype;
  102167. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0 = _.visitBinaryOperationExpression$1;
  102168. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0 = _.visitUnaryOperationExpression$1;
  102169. _ = A.SimpleSelector0.prototype;
  102170. _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
  102171. _.super$SimpleSelector$unify0 = _.unify$1;
  102172. _.super$SimpleSelector$isSuperselector0 = _.isSuperselector$1;
  102173. _ = A.StylesheetParser0.prototype;
  102174. _.super$StylesheetParser$importArgument0 = _.importArgument$0;
  102175. _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
  102176. _ = A.Value0.prototype;
  102177. _.super$Value$assertMap0 = _.assertMap$1;
  102178. _.super$Value$plus0 = _.plus$1;
  102179. _.super$Value$minus0 = _.minus$1;
  102180. _.super$Value$dividedBy0 = _.dividedBy$1;
  102181. })();
  102182. (function installTearOffs() {
  102183. var _static_2 = hunkHelpers._static_2,
  102184. _instance_1_i = hunkHelpers._instance_1i,
  102185. _instance_1_u = hunkHelpers._instance_1u,
  102186. _static_1 = hunkHelpers._static_1,
  102187. _static_0 = hunkHelpers._static_0,
  102188. _static = hunkHelpers.installStaticTearOff,
  102189. _instance = hunkHelpers.installInstanceTearOff,
  102190. _instance_2_u = hunkHelpers._instance_2u,
  102191. _instance_0_i = hunkHelpers._instance_0i,
  102192. _instance_0_u = hunkHelpers._instance_0u;
  102193. _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 248);
  102194. _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 9);
  102195. _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 9);
  102196. _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 9);
  102197. _static_1(A, "_js_helper_GeneralConstantMap__constantMapHashCode$closure", "GeneralConstantMap__constantMapHashCode", 128);
  102198. _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 9);
  102199. _instance_1_u(A.GeneralConstantMap.prototype, "get$containsKey", "containsKey$1", 9);
  102200. _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  102201. _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 134);
  102202. _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 134);
  102203. _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 134);
  102204. _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
  102205. _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 120);
  102206. _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 71);
  102207. _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
  102208. _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 571, 0);
  102209. _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
  102210. return A._rootRun($self, $parent, zone, f, type$.dynamic);
  102211. }], 572, 1);
  102212. _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
  102213. return A._rootRunUnary($self, $parent, zone, f, arg, type$.dynamic, type$.dynamic);
  102214. }], 573, 1);
  102215. _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
  102216. return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, type$.dynamic, type$.dynamic, type$.dynamic);
  102217. }], 574, 1);
  102218. _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
  102219. return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
  102220. }], 575, 0);
  102221. _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
  102222. return A._rootRegisterUnaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic);
  102223. }], 576, 0);
  102224. _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
  102225. return A._rootRegisterBinaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic, type$.dynamic);
  102226. }], 577, 0);
  102227. _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 578, 0);
  102228. _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 579, 0);
  102229. _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 580, 0);
  102230. _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 581, 0);
  102231. _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 582, 0);
  102232. _static_1(A, "async___printToZone$closure", "_printToZone", 126);
  102233. _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 583, 0);
  102234. _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
  102235. return [null];
  102236. }, ["call$1", "call$0"], ["complete$1", "complete$0"], 250, 0, 0);
  102237. _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 71);
  102238. var _;
  102239. _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 29);
  102240. _instance(_, "get$addError", 0, 1, function() {
  102241. return [null];
  102242. }, ["call$2", "call$1"], ["addError$2", "addError$1"], 249, 0, 0);
  102243. _instance_0_i(_, "get$close", "close$0", 521);
  102244. _instance_1_u(_, "get$_async$_add", "_async$_add$1", 29);
  102245. _instance_2_u(_, "get$_addError", "_addError$2", 71);
  102246. _instance_0_u(_, "get$_close", "_close$0", 0);
  102247. _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  102248. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  102249. _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 587, 0, 0);
  102250. _instance_0_i(_, "get$resume", "resume$0", 0);
  102251. _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
  102252. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  102253. _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 29);
  102254. _instance_2_u(_, "get$_onError", "_onError$2", 71);
  102255. _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
  102256. _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  102257. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  102258. _instance_1_u(_, "get$_handleData", "_handleData$1", 29);
  102259. _instance_2_u(_, "get$_handleError", "_handleError$2", 269);
  102260. _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
  102261. _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 251);
  102262. _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 128);
  102263. _static_2(A, "collection_ListBase__compareAny$closure", "ListBase__compareAny", 248);
  102264. _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 9);
  102265. _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  102266. _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 245, 0, 0);
  102267. _instance_1_i(_, "get$contains", "contains$1", 9);
  102268. _instance_1_i(_, "get$add", "add$1", 9);
  102269. _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 245, 0, 0);
  102270. _instance_1_u(A.MapBase.prototype, "get$containsKey", "containsKey$1", 9);
  102271. _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 9);
  102272. _instance_1_i(A._UnmodifiableSet.prototype, "get$contains", "contains$1", 9);
  102273. _instance_1_i(A.UnmodifiableSetView.prototype, "get$contains", "contains$1", 9);
  102274. _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 99);
  102275. _static_1(A, "core__identityHashCode$closure", "identityHashCode", 128);
  102276. _static_2(A, "core__identical$closure", "identical", 251);
  102277. _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 5);
  102278. _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 9);
  102279. _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 29);
  102280. _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
  102281. return A.max(a, b, type$.num);
  102282. }], 585, 1);
  102283. _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 29);
  102284. _instance(_, "get$setError", 0, 1, function() {
  102285. return [null];
  102286. }, ["call$2", "call$1"], ["setError$2", "setError$1"], 249, 0, 0);
  102287. _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
  102288. _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
  102289. _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
  102290. _instance_0_u(_, "get$_onCancel", "_onCancel$0", 219);
  102291. _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
  102292. _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 9);
  102293. _instance_1_i(A.UnionSet.prototype, "get$contains", "contains$1", 9);
  102294. _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 9);
  102295. _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 9);
  102296. _instance_1_u(A.VersionRange.prototype, "get$allows", "allows$1", 331);
  102297. _instance_1_u(A._IsInvisibleVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  102298. _instance_1_u(A._IsBogusVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  102299. _instance_1_u(A._IsUselessVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  102300. _instance_1_u(A.SelectorList.prototype, "get$isSuperselector", "isSuperselector$1", 66);
  102301. _instance_1_u(A.PseudoSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  102302. _instance_1_u(A.SimpleSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  102303. _instance_1_u(A.TypeSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  102304. _instance_1_u(A.UniversalSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  102305. _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 194);
  102306. _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 194);
  102307. _static_1(A, "functions___isUnique$closure", "_isUnique", 13);
  102308. _static_1(A, "color0___opacify$closure", "_opacify", 24);
  102309. _static_1(A, "color0___transparentize$closure", "_transparentize", 24);
  102310. _instance_0_u(_ = A.Parser.prototype, "get$whitespace", "whitespace$0", 0);
  102311. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  102312. _instance_0_u(_, "get$string", "string$0", 31);
  102313. _instance_0_u(A.SassParser.prototype, "get$loudComment", "loudComment$0", 0);
  102314. _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 349, 0, 0);
  102315. _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 104);
  102316. _instance_0_u(_, "get$_functionChild", "_functionChild$0", 104);
  102317. _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"], 351, 0, 0);
  102318. _instance(A.LazyFileSpan.prototype, "get$message", 1, 1, function() {
  102319. return {color: null};
  102320. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 102, 0, 0);
  102321. _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  102322. _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  102323. _instance(A.MultiSpan.prototype, "get$message", 1, 1, function() {
  102324. return {color: null};
  102325. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 162, 0, 0);
  102326. _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 29);
  102327. _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  102328. _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 9);
  102329. _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 29);
  102330. _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  102331. _static_1(A, "utils__isPublic$closure", "isPublic", 8);
  102332. _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 75);
  102333. _instance_1_u(A.AnySelectorVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  102334. _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"], 418, 0, 0);
  102335. _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 153);
  102336. _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"], 256, 0, 0);
  102337. _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 153);
  102338. _instance_1_u(A.RecursiveStatementVisitor.prototype, "get$visitChildren", "visitChildren$1", 271);
  102339. _instance_1_u(_ = A.SelectorSearchVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor.T?(ComplexSelector)");
  102340. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor.T?(SelectorList)");
  102341. _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 274);
  102342. _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 112);
  102343. _instance_1_u(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
  102344. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
  102345. _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
  102346. return {color: null};
  102347. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 102, 0, 0);
  102348. _static_1(A, "frame_Frame___parseVM_tearOff$closure", "Frame___parseVM_tearOff", 96);
  102349. _static_1(A, "frame_Frame___parseV8_tearOff$closure", "Frame___parseV8_tearOff", 96);
  102350. _static_1(A, "frame_Frame___parseFirefox_tearOff$closure", "Frame___parseFirefox_tearOff", 96);
  102351. _static_1(A, "frame_Frame___parseFriendly_tearOff$closure", "Frame___parseFriendly_tearOff", 96);
  102352. _static_1(A, "trace_Trace___parseVM_tearOff$closure", "Trace___parseVM_tearOff", 168);
  102353. _static_1(A, "trace_Trace___parseFriendly_tearOff$closure", "Trace___parseFriendly_tearOff", 168);
  102354. _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
  102355. return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
  102356. }], 588, 0);
  102357. _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
  102358. return A._collect($event, soFar, type$.dynamic);
  102359. }], 589, 0);
  102360. _instance_1_u(A.AnySelectorVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 15);
  102361. _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"], 314, 0, 0);
  102362. _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 158);
  102363. _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 75);
  102364. _static_1(A, "color2___opacify$closure", "_opacify0", 23);
  102365. _static_1(A, "color2___transparentize$closure", "_transparentize0", 23);
  102366. _static(A, "compile__compile$closure", 1, function() {
  102367. return [null];
  102368. }, ["call$2", "call$1"], ["compile0", function(path) {
  102369. return A.compile0(path, null);
  102370. }], 590, 0);
  102371. _static(A, "compile__compileString$closure", 1, function() {
  102372. return [null];
  102373. }, ["call$2", "call$1"], ["compileString0", function(text) {
  102374. return A.compileString0(text, null);
  102375. }], 591, 0);
  102376. _static(A, "compile__compileAsync$closure", 1, function() {
  102377. return [null];
  102378. }, ["call$2", "call$1"], ["compileAsync1", function(path) {
  102379. return A.compileAsync1(path, null);
  102380. }], 592, 0);
  102381. _static(A, "compile__compileStringAsync$closure", 1, function() {
  102382. return [null];
  102383. }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
  102384. return A.compileStringAsync1(text, null);
  102385. }], 593, 0);
  102386. _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 594);
  102387. _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 205);
  102388. _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"], 400, 0, 0);
  102389. _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 158);
  102390. _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 205);
  102391. _static_1(A, "functions0___isUnique$closure", "_isUnique0", 14);
  102392. _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 595);
  102393. _instance(A.LazyFileSpan0.prototype, "get$message", 1, 1, function() {
  102394. return {color: null};
  102395. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 102, 0, 0);
  102396. _static_2(A, "legacy__render$closure", "render", 596);
  102397. _static_1(A, "legacy__renderSync$closure", "renderSync", 597);
  102398. _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  102399. _instance_1_u(A.SelectorList0.prototype, "get$isSuperselector", "isSuperselector$1", 70);
  102400. _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  102401. _instance(A.MultiSpan0.prototype, "get$message", 1, 1, function() {
  102402. return {color: null};
  102403. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 162, 0, 0);
  102404. _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 29);
  102405. _instance_0_u(_ = A.Parser1.prototype, "get$whitespace", "whitespace$0", 0);
  102406. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  102407. _instance_0_u(_, "get$string", "string$0", 31);
  102408. _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  102409. _instance_1_u(A.PseudoSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  102410. _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  102411. _static_1(A, "sass__main$closure", "main1", 598);
  102412. _instance_0_u(A.SassParser0.prototype, "get$loudComment", "loudComment$0", 0);
  102413. _instance_1_u(A._IsInvisibleVisitor2.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 15);
  102414. _instance_1_u(A._IsBogusVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 15);
  102415. _instance_1_u(A._IsUselessVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 15);
  102416. _instance_1_u(_ = A.SelectorSearchVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor0.T?(ComplexSelector0)");
  102417. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor0.T?(SelectorList0)");
  102418. _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 515);
  102419. _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 112);
  102420. _instance_1_u(A.SimpleSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  102421. _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 29);
  102422. _instance_1_u(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
  102423. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
  102424. _instance(_ = A.StylesheetParser0.prototype, "get$_stylesheet0$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_stylesheet0$_statement$1$root", "_stylesheet0$_statement$0"], 532, 0, 0);
  102425. _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 106);
  102426. _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 106);
  102427. _instance_1_u(A.TypeSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  102428. _instance_1_u(A.UniversalSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  102429. _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  102430. _static_1(A, "utils1__jsToDartUrl$closure", "jsToDartUrl", 599);
  102431. _static_1(A, "utils1__dartToJSUrl$closure", "dartToJSUrl", 600);
  102432. _static_1(A, "utils0__isPublic$closure", "isPublic0", 8);
  102433. _static(A, "path__absolute$closure", 1, function() {
  102434. return [null, null, null, null, null, null, null, null, null, null, null, null, null, null];
  102435. }, ["call$15", "call$1", "call$2", "call$3", "call$4", "call$6", "call$5"], ["absolute", function(part1) {
  102436. return A.absolute(part1, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  102437. }, function(part1, part2) {
  102438. return A.absolute(part1, part2, null, null, null, null, null, null, null, null, null, null, null, null, null);
  102439. }, function(part1, part2, part3) {
  102440. return A.absolute(part1, part2, part3, null, null, null, null, null, null, null, null, null, null, null, null);
  102441. }, function(part1, part2, part3, part4) {
  102442. return A.absolute(part1, part2, part3, part4, null, null, null, null, null, null, null, null, null, null, null);
  102443. }, function(part1, part2, part3, part4, part5, part6) {
  102444. return A.absolute(part1, part2, part3, part4, part5, part6, null, null, null, null, null, null, null, null, null);
  102445. }, function(part1, part2, part3, part4, part5) {
  102446. return A.absolute(part1, part2, part3, part4, part5, null, null, null, null, null, null, null, null, null, null);
  102447. }], 601, 0);
  102448. _static_1(A, "path__prettyUri$closure", "prettyUri", 80);
  102449. _static_1(A, "character__isWhitespace$closure", "isWhitespace", 33);
  102450. _static_1(A, "character__isNewline$closure", "isNewline", 33);
  102451. _static_1(A, "character__isHex$closure", "isHex", 33);
  102452. _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 44);
  102453. _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 44);
  102454. _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 44);
  102455. _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 44);
  102456. _static_2(A, "number0__moduloLikeSass$closure", "moduloLikeSass", 54);
  102457. _static_1(A, "character0__isWhitespace$closure", "isWhitespace0", 33);
  102458. _static_1(A, "character0__isNewline$closure", "isNewline0", 33);
  102459. _static_1(A, "character0__isHex$closure", "isHex0", 33);
  102460. _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 44);
  102461. _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 44);
  102462. _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 44);
  102463. _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 44);
  102464. _static_1(A, "number2__fuzzyRound$closure", "fuzzyRound0", 603);
  102465. _static_2(A, "number2__moduloLikeSass$closure", "moduloLikeSass0", 54);
  102466. _static_1(A, "value0__wrapValue$closure", "wrapValue", 402);
  102467. })();
  102468. (function inheritance() {
  102469. var _mixin = hunkHelpers.mixin,
  102470. _inherit = hunkHelpers.inherit,
  102471. _inheritMany = hunkHelpers.inheritMany;
  102472. _inherit(A.Object, null);
  102473. _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, J.ArrayIterator, A.Iterable, A.CastIterator, A.Closure, A.MapBase, A.Error, A.ListBase, A.SentinelValue, A.ListIterator, A.MappedIterator, A.WhereIterator, A.ExpandIterator, A.TakeIterator, A.SkipIterator, A.SkipWhileIterator, A.EmptyIterator, A.FollowedByIterator, A.WhereTypeIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A.Symbol, A.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._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, A._LinkedHashSetCell, A._LinkedHashSetIterator, A._MapBaseValueIterator, A._UnmodifiableMapMixin, A._ListQueueIterator, A._UnmodifiableSetMixin, A.Codec, A.Converter, A._Base64Encoder, A.ByteConversionSink, A._JsonStringifier, A.StringConversionSink, A._Utf8Encoder, A._Utf8Decoder, A.DateTime, A.Duration, A._Enum, A.OutOfMemoryError, A.StackOverflowError, A._Exception, A.FormatException, A.MapEntry, A.Null, A._StringStackTrace, A.RuneIterator, A.StringBuffer, A._Uri, A.UriData, A._SimpleUri, A.Expando, A._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._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.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]);
  102474. _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JSNumber, J.JSString]);
  102475. _inheritMany(J.JavaScriptObject, [J.LegacyJavaScriptObject, J.JSArray, A.NativeByteBuffer, A.NativeTypedData]);
  102476. _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]);
  102477. _inherit(J.JSUnmodifiableArray, J.JSArray);
  102478. _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
  102479. _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._AllMatchesIterable, A._StringAllMatchesIterable, A._SyncStarIterable, A.Runes, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A._PrefixedKeys, A._UnprefixedKeys, A._PrefixedKeys0, A._UnprefixedKeys0]);
  102480. _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
  102481. _inherit(A._EfficientLengthCastIterable, A.CastIterable);
  102482. _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
  102483. _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.MapBase_entries_closure, A._Uri__makePath_closure, A._createTables_setChars, A._createTables_setRange, A.jsify__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]);
  102484. _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_addAll_closure, A.MapBase_mapToString_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]);
  102485. _inherit(A.CastList, A._CastListBase);
  102486. _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A.MergedMapView, A.MergedMapView0]);
  102487. _inheritMany(A.Error, [A.LateError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A._CyclicInitializationError, A.RuntimeError, A._Error, A.JsonUnsupportedObjectError, A.AssertionError, A.ArgumentError, A.NoSuchMethodError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError]);
  102488. _inherit(A.UnmodifiableListBase, A.ListBase);
  102489. _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
  102490. _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]);
  102491. _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeyIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
  102492. _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._GeneratorIterable]);
  102493. _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
  102494. _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
  102495. _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
  102496. _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
  102497. _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
  102498. _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
  102499. _inherit(A.ConstantMapView, A.UnmodifiableMapView);
  102500. _inheritMany(A.ConstantMap, [A.ConstantStringMap, A.GeneralConstantMap]);
  102501. _inherit(A.Instantiation1, A.Instantiation);
  102502. _inherit(A.NullError, A.TypeError);
  102503. _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
  102504. _inheritMany(A.NativeTypedData, [A.NativeByteData, A.NativeTypedArray]);
  102505. _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
  102506. _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
  102507. _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
  102508. _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
  102509. _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
  102510. _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]);
  102511. _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
  102512. _inherit(A._TypeError, A._Error);
  102513. _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
  102514. _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
  102515. _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
  102516. _inherit(A._ControllerStream, A._StreamImpl);
  102517. _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
  102518. _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
  102519. _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
  102520. _inherit(A._ExpandStream, A._ForwardingStream);
  102521. _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
  102522. _inherit(A._IdentityHashMap, A._HashMap);
  102523. _inheritMany(A.JsLinkedHashMap, [A._LinkedIdentityHashMap, A._LinkedCustomHashMap]);
  102524. _inheritMany(A.SetBase, [A._SetBase, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnionSet_SetBase_UnmodifiableSetMixin]);
  102525. _inheritMany(A._SetBase, [A._LinkedHashSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin]);
  102526. _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
  102527. _inherit(A._UnmodifiableSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin);
  102528. _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin);
  102529. _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
  102530. _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
  102531. _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.Utf8Encoder, A.Utf8Decoder]);
  102532. _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
  102533. _inheritMany(A.ByteConversionSink, [A._Base64EncoderSink, A._Utf8StringSinkAdapter]);
  102534. _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
  102535. _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
  102536. _inherit(A._JsonStringStringifier, A._JsonStringifier);
  102537. _inherit(A._StringSinkConversionSink, A.StringConversionSink);
  102538. _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
  102539. _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
  102540. _inherit(A._DataUri, A._Uri);
  102541. _inherit(A.ArgParserException, A.FormatException);
  102542. _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
  102543. _inherit(A.QueueList, A._QueueList_Object_ListMixin);
  102544. _inherit(A._CastQueueList, A.QueueList);
  102545. _inherit(A.UnionSet, A._UnionSet_SetBase_UnmodifiableSetMixin);
  102546. _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
  102547. _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
  102548. _inherit(A.UnmodifiableSetView0, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
  102549. _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
  102550. _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
  102551. _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
  102552. _inherit(A.InternalStyle, A.Style);
  102553. _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
  102554. _inherit(A.CssNode, A.AstNode);
  102555. _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
  102556. _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
  102557. _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
  102558. _inherit(A._IsInvisibleVisitor, A.__IsInvisibleVisitor_Object_EveryCssVisitor);
  102559. _inherit(A.CssStylesheet, A.CssParentNode);
  102560. _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]);
  102561. _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]);
  102562. _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
  102563. _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
  102564. _inherit(A._HasContentVisitor, A.__HasContentVisitor_Object_StatementSearchVisitor);
  102565. _inherit(A._IsInvisibleVisitor0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor);
  102566. _inherit(A._IsBogusVisitor, A.__IsBogusVisitor_Object_AnySelectorVisitor);
  102567. _inherit(A._IsUselessVisitor, A.__IsUselessVisitor_Object_AnySelectorVisitor);
  102568. _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
  102569. _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
  102570. _inherit(A._ParentSelectorVisitor, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor);
  102571. _inherit(A.ExplicitConfiguration, A.Configuration);
  102572. _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.MultiSourceSpanException, A.SassException0]);
  102573. _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
  102574. _inheritMany(A.MultiSpanSassException, [A.MultiSpanSassRuntimeException, A.MultiSpanSassFormatException]);
  102575. _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
  102576. _inherit(A.MergedExtension, A.Extension);
  102577. _inherit(A.Importer, A.AsyncImporter);
  102578. _inheritMany(A.Importer, [A.FilesystemImporter, A.NoOpImporter]);
  102579. _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
  102580. _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
  102581. _inherit(A.CssParser, A.ScssParser);
  102582. _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
  102583. _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A._SassNull, A.SassNumber, A.SassString]);
  102584. _inherit(A.SassArgumentList, A.SassList);
  102585. _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
  102586. _inherit(A._MakeExpressionCalculationSafe, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor);
  102587. _inherit(A._FindDependenciesVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor);
  102588. _inherit(A.SingleMapping, A.Mapping);
  102589. _inherit(A.FileLocation, A.SourceLocationMixin);
  102590. _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
  102591. _inherit(A.MultiSourceSpanFormatException, A.MultiSourceSpanException);
  102592. _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
  102593. _inherit(A.StringScannerException, A.SourceSpanFormatException);
  102594. _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
  102595. _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A._SassNull0, A.SassString0]);
  102596. _inherit(A.SassArgumentList0, A.SassList0);
  102597. _inheritMany(A.AsyncImporter0, [A.NodeToDartAsyncImporter, A.NodeToDartAsyncFileImporter, A.Importer0]);
  102598. _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
  102599. _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]);
  102600. _inherit(A.CssNode0, A.AstNode0);
  102601. _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
  102602. _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
  102603. _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
  102604. _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
  102605. _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
  102606. _inherit(A.CompileStringOptions, A.CompileOptions);
  102607. _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
  102608. _inherit(A.ExplicitConfiguration0, A.Configuration0);
  102609. _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
  102610. _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
  102611. _inherit(A.CssParser0, A.ScssParser0);
  102612. _inherit(A._NodeException, A.JsError);
  102613. _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
  102614. _inheritMany(A.MultiSpanSassException0, [A.MultiSpanSassRuntimeException0, A.MultiSpanSassFormatException0]);
  102615. _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
  102616. _inherit(A._MakeExpressionCalculationSafe0, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0);
  102617. _inheritMany(A.Importer0, [A.NodeToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter0, A.NodeToDartImporter]);
  102618. _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
  102619. _inherit(A._ParentSelectorVisitor0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0);
  102620. _inherit(A.MergedExtension0, A.Extension0);
  102621. _inherit(A._HasContentVisitor0, A.__HasContentVisitor_Object_StatementSearchVisitor0);
  102622. _inherit(A._IsInvisibleVisitor1, A.__IsInvisibleVisitor_Object_EveryCssVisitor0);
  102623. _inherit(A._IsInvisibleVisitor2, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0);
  102624. _inherit(A._IsBogusVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0);
  102625. _inherit(A._IsUselessVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0);
  102626. _inherit(A.CssStylesheet0, A.CssParentNode0);
  102627. _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
  102628. _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListBase);
  102629. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListBase);
  102630. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  102631. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListBase);
  102632. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  102633. _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
  102634. _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
  102635. _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
  102636. _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
  102637. _mixin(A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
  102638. _mixin(A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
  102639. _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  102640. _mixin(A._QueueList_Object_ListMixin, A.ListBase);
  102641. _mixin(A._UnionSet_SetBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  102642. _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  102643. _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  102644. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.EveryCssVisitor);
  102645. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor, A.StatementSearchVisitor);
  102646. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  102647. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  102648. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  102649. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor, A.SelectorSearchVisitor);
  102650. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor, A.ReplaceExpressionVisitor);
  102651. _mixin(A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.RecursiveStatementVisitor);
  102652. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0, A.ReplaceExpressionVisitor0);
  102653. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A.SelectorSearchVisitor0);
  102654. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor0, A.StatementSearchVisitor0);
  102655. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.EveryCssVisitor0);
  102656. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  102657. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  102658. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  102659. })();
  102660. var init = {
  102661. typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
  102662. mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"},
  102663. mangledNames: {},
  102664. 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(ComplexSelector0)", "bool(ComplexSelector)", "SassString0(List<Value0>)", "SassString(List<Value>)", "SassBoolean(List<Value>)", "SassBoolean0(List<Value0>)", "SassList0(List<Value0>)", "SassList(List<Value>)", "SassColor0(List<Value0>)", "SassColor(List<Value>)", "FileSpan()", "JSClass0()", "bool()", "Value()", "~(Object?)", "Null(~())", "String()", "double(double)", "bool(int?)", "Future<Null>(Future<~>())", "Value(Value)", "SassMap(List<Value>)", "Value0(Value0)", "Value0?()", "SassMap0(List<Value0>)", "Future<~>()", "Value?()", "Value0()", "String?()", "bool(num,num)", "bool(ComplexSelectorComponent)", "bool(Value0)", "bool(ComplexSelectorComponent0)", "ValueExpression0(Value0)", "~(Value,Value)", "ValueExpression(Value)", "bool(int)", "~(Value0,Value0)", "ComplexSelector(ComplexSelector)", "double(double,double)", "~(Value0)", "~(Value)", "double(SassColor0)", "ComplexSelector0(ComplexSelector0)", "Future<Value>()", "Future<Value0?>()", "bool(Value)", "~(Module<Callable>)", "String(Object)", "~(Module0<Callable0>)", "Null(Object,StackTrace)", "bool(SelectorList)", "Future<Value0>()", "Frame()", "bool(Object)", "bool(SelectorList0)", "~(Object,StackTrace)", "Future<Value?>()", "Null(@)", "Null([Object?])", "Object(Object)", "double(Value)", "Tuple3<Importer,Uri,Uri>?()", "List<CssMediaQuery>?(List<CssMediaQuery>)", "Stylesheet?()", "String(@)", "~(String,Value0)", "~(String,Value)", "Declaration0(List<Statement0>,FileSpan)", "Uri(Uri)", "Value0?(Statement0)", "Future<Value?>(Statement)", "Value?(Statement)", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "Object()", "double(Value0)", "SassRuntimeException(AstNode)", "@()", "Future<Value0?>(Statement0)", "Null(_NodeSassColor,num)", "int(Uri)", "Frame(String)", "Declaration(List<Statement>,FileSpan)", "SassRuntimeException0(AstNode0)", "@(@)", "Future<Value0>(List<Value0>)", "int(_NodeSassColor)", "String(String{color:Object?})", "AsyncCallable0?()", "Statement()", "~(String,Object?)", "Statement0()", "bool(Module0<AsyncCallable0>)", "Iterable<String>(Module0<AsyncCallable0>)", "Callable?()", "AsyncCallable?()", "Iterable<String>(Module<Callable>)", "~(Object)", "int(SassColor0)", "Iterable<String>(Module0<Callable0>)", "Null(Module0<AsyncCallable0>)", "bool(Module<Callable>)", "bool(ModifiableCssNode0)", "Iterable<String>(Module<AsyncCallable>)", "bool(Module0<Callable0>)", "~(@)", "Null(Module<AsyncCallable>)", "bool(@)", "bool(Module<AsyncCallable>)", "String(Expression0)", "Map<ComplexSelector,Extension>()", "~(String)", "List<String>()", "int(Object?)", "String(Expression)", "Expression(Expression)", "bool(ModifiableCssNode)", "Expression0(Expression0)", "Map<ComplexSelector0,Extension0>()", "~(~())", "bool(_Highlight)", "Callable0?()", "Iterable<String>(@)", "AstNode?()", "SassNumber()", "Future<String>(Object)", "Future<Object>()", "bool(ForwardRule)", "int(Frame)", "String(Frame)", "bool(UseRule)", "Trace()", "bool(Frame)", "Future<SassNumber>()", "bool(ModifiableCssParentNode)", "List<ExtensionStore>()", "~(Module<AsyncCallable>)", "SassFunction(List<Value>)", "AstNode(AstNode)", "AsyncCallable0?(Module0<AsyncCallable0>)", "MapKeySet<Module0<AsyncCallable0>>(Map<Module0<AsyncCallable0>,AstNode0>)", "Map<String,AsyncCallable0>(Module0<AsyncCallable0>)", "double(double,String)", "AstNode0(AstNode0)", "int(double)", "Entry(Entry)", "SassFunction0(List<Value0>)", "String(String{color:@})", "AtRule(List<Statement>,FileSpan)", "~(Module0<AsyncCallable0>)", "AtRootRule(List<Statement>,FileSpan)", "List<ExtensionStore0>()", "bool(ModifiableCssParentNode0)", "Trace(String)", "VariableDeclaration()", "int(int)", "~(String[~])", "Future<SassNumber0>()", "DateTime()", "bool(UseRule0)", "bool(ForwardRule0)", "String(SassNumber)", "Iterable<String>(String)", "Iterable<String>()", "Uri(String)", "Uri?()", "SelectorList(SelectorList,SelectorList)", "SelectorList(Value)", "int(int,double?)", "double(double,double?,num)", "AstNode0?()", "String(SassNumber0)", "Frame(Tuple2<String,AstNode0>)", "Future<Tuple3<AsyncImporter0,Uri,Uri>?>()", "0&(@[@])", "double?(String,num{assertPercent:bool,checkPercent:bool,checkUnitless:bool})", "String(int)", "bool(Queue<List<ComplexSelectorComponent>>)", "List<Extension>()", "~(Iterable<ExtensionStore>)", "Map<String,Callable>(Module<Callable>)", "MapKeySet<Module<Callable>>(Map<Module<Callable>,AstNode>)", "String(Value0)", "Callable?(Module<Callable>)", "Future<Value>(List<Value>)", "Uri?/()", "Future<Tuple3<AsyncImporter,Uri,Uri>?>()", "Future<NodeCompileResult>()", "AsyncImporter0(Object?)", "Map<String,AsyncCallable>(Module<AsyncCallable>)", "~(Iterable<ExtensionStore0>)", "AsyncCallable?(Module<AsyncCallable>)", "Callable0?(Module0<Callable0>)", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode0>)", "Map<String,Callable0>(Module0<Callable0>)", "int(ComplexSelector)", "MapKeySet<Module<AsyncCallable>>(Map<Module<AsyncCallable>,AstNode>)", "bool(Import)", "Value0?(Value0)", "Frame(Tuple2<String,AstNode>)", "SassNumber0()", "String(_NodeException)", "bool(String?)", "List<Extension0>()", "Future<~>?()", "bool(Queue<List<ComplexSelectorComponent0>>)", "~(Uint8List,String,int)", "bool(Statement0)", "bool(Import0)", "Tuple3<Importer0,Uri,Uri>?()", "~(Object?,Object?)", "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?])", "double(SassNumber0,SassNumber0[String?,String?])", "int(ComplexSelector0)", "~(String,Function)", "SelectorList0(Value0)", "SelectorList0(SelectorList0,SelectorList0)", "FileLocation(FileSpan)", "String(FileSpan)", "int(SourceLocation)", "~(@,@)", "Set<0^>()<Object?>", "AtRootRule0(List<Statement0>,FileSpan)", "AtRule0(List<Statement0>,FileSpan)", "int(@,@)", "~(Object[StackTrace?])", "~([Object?])", "bool(Object?,Object?)", "~(String,@)", "bool(Statement)", "WhileRule(List<Statement>,FileSpan)", "Iterable<ComplexSelector>(ComplexSelector)", "CssValue<String>(Interpolation{trim:bool,warnForColor:bool})", "~(String,Option)", "~(List<Value>)", "SimpleSelector(SimpleSelector)", "EvaluateResult()", "Module<Callable>()", "Module<Callable>(Module<Callable>)", "CssValue<Value>(Expression)", "Value?(Value)", "String(Value)", "CssValue<String>(Interpolation)", "0&(List<Value>)", "UserDefinedCallable<Environment>(ContentBlock)", "~(@,StackTrace)", "Value(Expression)", "~(List<Statement>)", "Tuple2<Expression,Expression>(Tuple2<Expression,Expression>)", "List<Value>(Value)", "~(CssMediaQuery)", "~(MapEntry<Value,Value>)", "SourceFile()", "SourceFile?(int)", "String?(SourceFile?)", "int(_Line)", "bool(List<Value>)", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry<Object,List<_Highlight>>)", "SourceSpanWithContext()", "List<Frame>(Trace)", "int(Trace)", "@(@,String)", "String(Trace)", "Null(@,StackTrace)", "Value?(Module<AsyncCallable>)", "Frame(String,String)", "SassMap(Value)", "SassMap(SassMap)", "Frame(Frame)", "Module<AsyncCallable>?(Module<AsyncCallable>)", "_Future<@>(@)", "SassNumber(Value)", "String(Argument0)", "Value(Object)", "SassArgumentList0(Object,Object,Object[String?])", "ImmutableMap(SassArgumentList0)", "Null(Function,Function)", "FileSpan?(MapEntry<Module<AsyncCallable>,AstNode>)", "Value0?(Module0<AsyncCallable0>)", "Module0<AsyncCallable0>?(Module0<AsyncCallable0>)", "SassString(SimpleSelector)", "SassString(int)", "FileSpan?(MapEntry<Module0<AsyncCallable0>,AstNode0>)", "Map<String,Value0>(Module0<AsyncCallable0>)", "Map<String,AstNode0>(Module0<AsyncCallable0>)", "SassString(String)", "Map<String,Value>(Module<AsyncCallable>)", "Future<CssValue0<String>>(Interpolation0{trim:bool,warnForColor:bool})", "Map<String,AstNode>(Module<AsyncCallable>)", "String(String?)", "bool(Tuple3<Importer,Uri,Uri>)", "Uri(Tuple3<Importer,Uri,Uri>)", "Null(@,@)", "Future<~>(List<Value0>)", "bool(String?,String?)", "int(String?)", "Future<EvaluateResult0>()", "Future<Module0<AsyncCallable0>>()", "Future<Stylesheet?>()", "Module0<AsyncCallable0>(Module0<AsyncCallable0>)", "bool(Tuple3<AsyncImporter,Uri,Uri>)", "Uri(Tuple3<AsyncImporter,Uri,Uri>)", "Future<CssValue0<Value0>>(Expression0)", "Object(String)", "bool(Version)", "Future<Value0?>(Value0)", "~(int,@)", "Future<CssValue0<String>>(Interpolation0)", "String(MapEntry<String,ConfiguredValue>)", "bool(Deprecation)", "String(Argument)", "Value?(Module<Callable>)", "Module<Callable>?(Module<Callable>)", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "AtRootQuery()", "String(BuiltInCallable)", "List<CssMediaQuery>()", "~(Symbol0,@)", "SelectorList()", "CompoundSelector()", "Future<Value0>(Expression0)", "Value0/()", "Statement({root:bool})", "~(String,int)", "Expression({bracketList:bool,singleEquals:bool,until:bool()?})", "Stylesheet()", "Statement?()", "VariableDeclaration(VariableDeclaration)", "ArgumentDeclaration()", "Future<Stylesheet0?>()", "bool(Tuple3<AsyncImporter0,Uri,Uri>)", "Uri(Tuple3<AsyncImporter0,Uri,Uri>)", "AtRootQuery0()", "FileSpan?(MapEntry<Module<Callable>,AstNode>)", "0&(Object[Object?])", "UseRule()", "Map<String,Value>(Module<Callable>)", "StyleRule(List<Statement>,FileSpan)", "Map<String,AstNode>(Module<Callable>)", "EachRule(List<Statement>,FileSpan)", "FunctionRule(List<Statement>,FileSpan)", "ForRule(List<Statement>,FileSpan)", "ContentBlock(List<Statement>,FileSpan)", "0&(List<Value0>)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "MediaRule(List<Statement>,FileSpan)", "double(_NodeSassColor)", "MixinRule(List<Statement>,FileSpan)", "SassColor0(Object,_Channels)", "SassColor0(SassColor0,_Channels)", "String(Tuple2<Expression,Expression>)", "SupportsRule(List<Statement>,FileSpan)", "~(String,int?)", "~(Expression)", "AsyncImporter0(NodeImporter0)", "0&(@)", "~(BinaryOperator)", "int(int,ComplexSelectorComponent0)", "String(CssValue0<Combinator0>)", "int(int,SimpleSelector0)", "String(MapEntry<String,ConfiguredValue0>)", "String(BuiltInCallable0)", "ArgParser()", "StringExpression(Interpolation)", "Value0?(Module0<Callable0>)", "Module0<Callable0>?(Module0<Callable0>)", "DateTime(StylesheetNode)", "~(Uri,StylesheetNode?)", "FileSpan?(MapEntry<Module0<Callable0>,AstNode0>)", "Map<String,Value0>(Module0<Callable0>)", "Map<String,AstNode0>(Module0<Callable0>)", "String(int,IfClause)", "Set<Deprecation>()", "CssValue0<String>(Interpolation0{trim:bool,warnForColor:bool})", "Future<~>(String)", "Object(Value0)", "List<WatchEvent>(List<WatchEvent>)", "EvaluateResult0()", "Module0<Callable0>()", "Module0<Callable0>(Module0<Callable0>)", "CssValue0<Value0>(Expression0)", "SassScriptException()", "int(int,int)", "CssValue0<String>(Interpolation0)", "bool(Extension)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "SingleUnitSassNumber(double)", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableBox0<SelectorList0>>()", "Future<CssValue<String>>(Interpolation{trim:bool,warnForColor:bool})", "Set<ModifiableBox<SelectorList>>()", "~(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>)", "@(String)", "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>)", "Uint8List(@,@)", "bool(List<Iterable<ComplexSelectorComponent0>>)", "Future<~>(List<Value>)", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "~(SimpleSelector,Map<ComplexSelector,Extension>)", "Future<EvaluateResult>()", "~(Object?,Object,Object?)", "Tuple2<String,String>(String)", "Future<Module<AsyncCallable>>()", "Stylesheet0?()", "bool(Tuple3<Importer0,Uri,Uri>)", "Uri(Tuple3<Importer0,Uri,Uri>)", "Null(RenderResult)", "JSFunction0(JSFunction0)", "Object?(Object,String,String[Object?])", "Null(Object)", "~(ComplexSelector,Extension)", "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?])", "Null(Map<SimpleSelector,Map<ComplexSelector,Extension>>)", "String(Tuple2<Expression0,Expression0>)", "SassMap0(Value0)", "SassMap0(SassMap0)", "Null(_NodeSassMap,int?[SassMap0?])", "SassNumber0(int)", "Map<SimpleSelector,Map<ComplexSelector,Extension>>?(List<Extension>)", "int(_NodeSassMap)", "~(Set<ModifiableBox<SelectorList>>)", "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>(List<ComplexSelector>)", "int(SassNumber0[String?])", "double(SassNumber0,num,num[String?])", "SassNumber0(SassNumber0[String?])", "SassNumber0(SassNumber0,String[String?])", "List<SimpleSelector>(Extender)", "Future<Value?>(Value)", "List<Extender>?(SimpleSelector)", "Future<CssValue<String>>(Interpolation)", "List<Extender>(PseudoSelector)", "SassScriptException0()", "List<List<Extender>>(List<Extender>)", "String(Object,@,@[@])", "List<ComplexSelector>(ComplexSelector)", "Tuple2<Expression0,Expression0>(Tuple2<Expression0,Expression0>)", "~(String,StackTrace?)", "PseudoSelector(ComplexSelector)", "~(SimpleSelector,Set<ModifiableBox<SelectorList>>)", "SassString0(SimpleSelector0)", "SelectorList0()", "CompoundSelector0()", "~(CssMediaQuery0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(double)", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "JSUrl0?(FileSpan)", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "Future<@>()", "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})", "bool(List<Iterable<ComplexSelectorComponent>>)", "Stylesheet0()", "Statement0?()", "VariableDeclaration0(VariableDeclaration0)", "ArgumentDeclaration0()", "Tuple2<String,ArgumentDeclaration0>()", "VariableDeclaration0()", "bool(PseudoSelector)", "StyleRule0(List<Statement0>,FileSpan)", "SelectorList?(PseudoSelector)", "EachRule0(List<Statement0>,FileSpan)", "FunctionRule0(List<Statement0>,FileSpan)", "ForRule0(List<Statement0>,FileSpan)", "ContentBlock0(List<Statement0>,FileSpan)", "MediaRule0(List<Statement0>,FileSpan)", "MixinRule0(List<Statement0>,FileSpan)", "Future<Value>(Expression)", "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?])", "Value/()", "int(int,ComplexSelectorComponent)", "String(CssValue<Combinator>)", "~(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?>?)", "int(int,SimpleSelector)", "0^(0^,0^)<num>", "Object?(Object?)", "~([Future<~>?])", "~(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?])", "SassList(ComplexSelector)", "int(num)", "~(List<Value0>)"],
  102665. interceptorsByTag: null,
  102666. leafTags: null,
  102667. arrayRti: Symbol("$ti")
  102668. };
  102669. 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","JSBool":{"bool":[],"TrustedGetRuntimeType":[]},"JSNull":{"Null":[],"TrustedGetRuntimeType":[]},"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"],"TrustedGetRuntimeType":[]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"],"TrustedGetRuntimeType":[]},"JSString":{"String":[],"Comparable":["String"],"TrustedGetRuntimeType":[]},"_CastIterableBase":{"Iterable":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListBase.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapBase":["3","4"],"Map":["3","4"],"MapBase.V":"4","MapBase.K":"3"},"LateError":{"Error":[]},"CodeUnits":{"ListBase":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListBase.E":"int"},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"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":{"ListBase":["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":[]},"_CyclicInitializationError":{"Error":[]},"RuntimeError":{"Error":[]},"JsLinkedHashMap":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"NativeByteBuffer":{"ByteBuffer":[],"TrustedGetRuntimeType":[]},"NativeByteData":{"ByteData":[],"TrustedGetRuntimeType":[]},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"]},"NativeTypedArrayOfDouble":{"ListBase":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"NativeTypedArrayOfInt":{"ListBase":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"NativeFloat32List":{"NativeTypedArrayOfDouble":[],"ListBase":["double"],"Float32List":[],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double"},"NativeFloat64List":{"NativeTypedArrayOfDouble":[],"ListBase":["double"],"Float64List":[],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double"},"NativeInt16List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Int16List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Int32List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Int8List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Uint16List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Uint32List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Uint8ClampedList":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Uint8List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.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":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_LinkedIdentityHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"_LinkedHashSet":{"_SetBase":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedIdentityHashSet":{"_LinkedHashSet":["1"],"_SetBase":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableListView":{"ListBase":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListBase.E":"1"},"ListBase":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"Map":["1","2"]},"UnmodifiableMapBase":{"MapBase":["1","2"],"Map":["1","2"]},"_MapBaseValueIterable":{"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"Map":["1","2"]},"ListQueue":{"ListIterable":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"SetBase":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SetBase":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_UnmodifiableSet":{"_SetBase":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableSetView":{"SetBase":["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":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"RangeError":[],"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"_GeneratorIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"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":{"ListBase":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListBase.E":"1","QueueList.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListBase":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListBase.E":"2","QueueList.E":"2"},"UnionSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableSetView0":{"DelegatingSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapKeySet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_DelegatingIterableBase":{"Iterable":["1"]},"DelegatingSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"PathException":{"Exception":[]},"PathMap":{"Map":["String?","1"]},"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":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"MergedMapView":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"MultiSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"PrefixedMapView":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"_PrefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"PublicMemberMapView":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"UnprefixedMapView":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"_UnprefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"SassArgumentList":{"SassList":[],"Value":[]},"SassBoolean":{"Value":[]},"SassCalculation":{"Value":[]},"SassColor":{"Value":[]},"SassFunction":{"Value":[]},"SassList":{"Value":[]},"SassMap":{"Value":[]},"_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":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"ListExpression0":{"Expression0":[],"AstNode0":[]},"SelectorList0":{"AstNode0":[]},"_ParentSelectorVisitor0":{"SelectorSearchVisitor0":["ParentSelector0"],"SelectorSearchVisitor0.T":"ParentSelector0"},"SassList0":{"Value0":[]},"LoudComment0":{"Statement0":[],"AstNode0":[]},"MapExpression0":{"Expression0":[],"AstNode0":[]},"SassMap0":{"Value0":[]},"ModifiableCssMediaRule0":{"ModifiableCssParentNode0":[],"CssMediaRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"MediaRule0":{"Statement0":[],"AstNode0":[]},"MergedExtension0":{"Extension0":[]},"MergedMapView0":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"MixinRule0":{"Statement0":[],"AstNode0":[]},"_HasContentVisitor0":{"StatementSearchVisitor0":["bool"],"StatementSearchVisitor0.T":"bool"},"MultiSpan0":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SupportsNegation0":{"AstNode0":[]},"NoOpImporter0":{"Importer0":[],"AsyncImporter0":[]},"_FakeAstNode0":{"AstNode0":[]},"CssNode0":{"AstNode0":[]},"CssParentNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssParentNode0":{"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"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":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"_PrefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"PseudoSelector0":{"SimpleSelector0":[],"AstNode0":[]},"PublicMemberMapView0":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"ReturnRule0":{"Statement0":[],"AstNode0":[]},"Selector0":{"AstNode0":[]},"SelectorExpression0":{"Expression0":[],"AstNode0":[]},"ShadowedModuleView0":{"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":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.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":[]},"Int8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8ClampedList":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Int16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Int32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Float32List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"Float64List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"Expression":{"AstNode":[]},"Import":{"AstNode":[]},"Statement":{"AstNode":[]},"Callable":{"AsyncCallable":[]},"Callable0":{"AsyncCallable0":[]},"Expression0":{"AstNode0":[]},"Import0":{"AstNode0":[]},"Statement0":{"AstNode0":[]}}'));
  102670. 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,"_SyncStreamControllerDispatch":1,"_AsyncStreamControllerDispatch":1,"_AddStreamState":1,"_StreamControllerAddStreamState":1,"_DelayedEvent":1,"_DelayedData":1,"_PendingEvents":1,"_StreamIterator":1,"_ZoneFunction":1,"Queue":1,"_HashMapKeyIterator":1,"_LinkedHashSetIterator":1,"UnmodifiableMapBase":2,"_MapBaseValueIterator":2,"_UnmodifiableMapMixin":2,"MapView":2,"_ListQueueIterator":1,"_UnmodifiableSetMixin":1,"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":2,"_UnmodifiableSetView_SetBase__UnmodifiableSetMixin":1,"__UnmodifiableSet__SetBase__UnmodifiableSetMixin":1,"_StringSinkConversionSink":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}'));
  102671. var string$ = {
  102672. x0a_BUG_: "\n\nBUG: This should include a source span!",
  102673. x0a_Morex20: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
  102674. x0a_Morex3a: "\n\nMore info: https://sass-lang.com/d/function-units",
  102675. x0a_See_: "\n\nSee https://sass-lang.com/d/function-units",
  102676. x0a_This: "\n\nThis is only an error because you've set the ",
  102677. x0a_To_p: "\n\nTo preserve current behavior: math.random(math.div($limit, 1",
  102678. x0a_but_: "\n\nbut you may have intended it to mean:\n\n ",
  102679. x0aRun_i: "\nRun in verbose mode to see all warnings.",
  102680. x0aThis_: "\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",
  102681. x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
  102682. x20It_wi: " It will be omitted from the generated CSS.",
  102683. 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",
  102684. x20depre: " deprecation to be fatal.\nRemove this setting if you need to keep using this feature.",
  102685. x20in_in: " in interpolation here.\nIt may end up represented as ",
  102686. x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
  102687. x20is_av: " is available from multiple global modules.",
  102688. x20is_de: " is deprecated.\n\nTo preserve current behavior: ",
  102689. x20is_noa: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
  102690. 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",
  102691. x20must_: " must not be greater than the number of characters in the file, ",
  102692. x20repet: " repetitive deprecation warnings omitted.",
  102693. x20targe: " targetLocations if the interpolation has ",
  102694. 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",
  102695. x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
  102696. x20was_a: ' was already loaded, so it can\'t be configured using "with".',
  102697. x20was_n: " was not declared with !default in the @used module.",
  102698. x20was_p: " was passed both by position and by name.",
  102699. x21defau: "!default should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  102700. x21globai: "!global isn't allowed for variables in other modules.",
  102701. x21globas: "!global should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  102702. x22x20can_: "\" can't be used as a parent in a compound selector.",
  102703. 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',
  102704. 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',
  102705. x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
  102706. x22x20is_o: "\" is only valid for nesting and shouldn't\nhave children other than style rules.",
  102707. x22x26__ma: '"&" may only used at the beginning of a compound selector.',
  102708. x22x29__If: "\").\nIf you really want to use the color value here, use '",
  102709. x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
  102710. x22packa: '"package:" URLs aren\'t supported on this platform.',
  102711. x24css_a: "$css and $module may not both be passed at once.",
  102712. x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
  102713. x24selec: "$selectors: At least one selector must be passed.",
  102714. x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
  102715. x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
  102716. x29x0a_Mor: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
  102717. x29x20in_a: ") in a future release.\n\nRecommendation: math.random(math.div($limit, 1",
  102718. x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: ",
  102719. x29x20to_cg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
  102720. x29x20to_ci: ") to color.invert() is deprecated.\n\nRecommendation: ",
  102721. x29x29__Mo: "))\n\nMore info: https://sass-lang.com/d/function-units",
  102722. x2c_whic: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
  102723. x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.\n",
  102724. x3d_____: "===== asynchronous gap ===========================\n",
  102725. 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.",
  102726. x40conte: "@content is only allowed within mixin declarations.",
  102727. x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
  102728. x40exten: "@extend may only be used within style rules.",
  102729. x40forwa: "@forward rules must be written before any other rules.",
  102730. x40funct: "@function if($condition, $if-true, $if-false) {",
  102731. x40use_r: "@use rules must be written before any other rules.",
  102732. A_list: "A list with more than one element must have an explicit separator.",
  102733. ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  102734. An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
  102735. An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
  102736. As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
  102737. 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.",
  102738. At_rul: "At-rules may not be used within nested declarations.",
  102739. Cannotff: "Cannot extract a file path from a URI with a fragment component",
  102740. Cannotfq: "Cannot extract a file path from a URI with a query component",
  102741. Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
  102742. Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
  102743. Could_: 'Could not find an option with short name "-',
  102744. CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
  102745. Custom: "Custom importers are required to load stylesheets when compiling in the browser.",
  102746. Declarm: "Declarations may only be used within style rules.",
  102747. Declarw: 'Declarations whose names begin with "--" may not be nested.',
  102748. Either: "Either options.data or options.file must be set.",
  102749. Entrie: "Entries may not be removed from MergedMapView.",
  102750. 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",
  102751. Evalua: "Evaluation handles @include and its content block together.",
  102752. Expectn: "Expected number, variable, function, or calculation.",
  102753. Expectv: "Expected variable, mixin, or function name",
  102754. Functi: "Functions may not be declared in control directives.",
  102755. HSL_pa: "HSL parameters may not be passed along with HWB parameters.",
  102756. If_con: "If conditions is longer than one element, conjunction may not be null.",
  102757. If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
  102758. In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
  102759. Indent: "Indenting at the beginning of the document is illegal.",
  102760. Interpn: "Interpolation isn't allowed in namespaces.",
  102761. Interpp: "Interpolation isn't allowed in plain CSS.",
  102762. Invali: 'Invalid return value for custom function "',
  102763. It_s_n: "It's not clear which file to import. Found:\n",
  102764. May_on: "May only contains Strings or Expressions.",
  102765. Media_: "Media rules may not be used within nested declarations.",
  102766. Mixinsb: "Mixins may not be declared in control directives.",
  102767. Mixinscf: "Mixins may not contain function declarations.",
  102768. Mixinscm: "Mixins may not contain mixin declarations.",
  102769. Modulel: "Module loop: this module is already being loaded.",
  102770. Modulen: "Module namespaces aren't allowed in plain CSS.",
  102771. Nested: "Nested declarations aren't allowed in plain CSS.",
  102772. New_en: "New entries may not be added to MergedMapView.",
  102773. No_Sasc: "No Sass callable is currently being evaluated.",
  102774. No_Sass: "No Sass stylesheet is currently being evaluated.",
  102775. NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
  102776. Only_2: "Only 2 slash-separated elements allowed, but ",
  102777. Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
  102778. Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
  102779. Other_: "Other modules' members can't be defined with !global.",
  102780. Passin: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
  102781. Placeh: "Placeholder selectors aren't allowed here.",
  102782. Plain_: "Plain CSS functions don't support keyword arguments.",
  102783. Positi: "Positional arguments must come before keyword arguments.",
  102784. Privat: "Private members can't be accessed from outside their modules.",
  102785. RGB_pa: "RGB parameters may not be passed along with ",
  102786. Sass__: "Sass @import rules will be deprecated in the future.\nRemove the --future-deprecation=import flag to silence this warning for now.",
  102787. Sass_v: "Sass variables aren't allowed in plain CSS.",
  102788. Silent: "Silent comments aren't allowed in plain CSS.",
  102789. Style_: "Style rules may not be used within nested declarations.",
  102790. Suppor: "Supports rules may not be used within nested declarations.",
  102791. The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
  102792. The_ca: "The canonicalize() method must return a URL.",
  102793. The_fie: "The findFileUrl() method must return a URL.",
  102794. The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
  102795. The_gi: "The given LineScannerState was not returned by this LineScanner.",
  102796. The_lo: "The load() function must return an object with contents and syntax fields.",
  102797. The_pa: "The parent selector isn't allowed in plain CSS.",
  102798. The_sa: "The same variable may only be configured once.",
  102799. The_ta: 'The target selector was not found.\nUse "@extend ',
  102800. There_: "There's already a module with namespace \"",
  102801. This_d: 'This declaration has no argument named "$',
  102802. This_f: "This function isn't allowed in plain CSS.",
  102803. This_ma: 'This module and the new module both define a variable named "$',
  102804. This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
  102805. This_s: "This selector doesn't have any properties and won't be rendered.",
  102806. This_v: "This variable was not declared with !default in the @used module.",
  102807. Top_le: 'Top-level selectors may not contain the parent selector "&".',
  102808. Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  102809. Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  102810. Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
  102811. Variab_: "Variable keyword argument map must have string keys.\n",
  102812. Variabs: "Variable keyword arguments must be a map (was ",
  102813. You_ma: "You may not @extend selectors across media queries.",
  102814. You_pr: "You probably don't mean to use the color value ",
  102815. x60_inst: "` instead.\nSee https://sass-lang.com/d/extend-compound for details.\n",
  102816. addExt_: "addExtension() can't be called for a const ExtensionStore.",
  102817. addExts: "addExtensions() can't be called for a const ExtensionStore.",
  102818. addSel: "addSelector() can't be called for a const ExtensionStore.",
  102819. compou: "compound selectors may no longer be extended.\nConsider `@extend ",
  102820. conten: "content-exists() may only be called within a mixin.",
  102821. fileEx: "fileExists() is only supported on Node.js",
  102822. leadin: "leadingCombinators and components may not both be empty.",
  102823. math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
  102824. math_r: "math.random() will no longer ignore $limit units (",
  102825. must_b: "must be a UniversalSelector or a TypeSelector",
  102826. parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
  102827. semico: "semicolons aren't allowed in the indented syntax.",
  102828. throug: "through() must return false for at least one parent of "
  102829. };
  102830. var type$ = (function rtii() {
  102831. var findType = A.findType;
  102832. return {
  102833. $env_1_1_String: findType("@<String>"),
  102834. ArgParser: findType("ArgParser"),
  102835. Argument: findType("Argument"),
  102836. ArgumentDeclaration: findType("ArgumentDeclaration"),
  102837. ArgumentDeclaration_2: findType("ArgumentDeclaration0"),
  102838. Argument_2: findType("Argument0"),
  102839. AstNode: findType("AstNode"),
  102840. AstNode_2: findType("AstNode0"),
  102841. AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
  102842. AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
  102843. AsyncCallable: findType("AsyncCallable"),
  102844. AsyncCallable_2: findType("AsyncCallable0"),
  102845. AsyncImporter: findType("AsyncImporter0"),
  102846. Box_SelectorList: findType("Box<SelectorList>"),
  102847. Box_SelectorList_2: findType("Box0<SelectorList0>"),
  102848. BuiltInCallable: findType("BuiltInCallable"),
  102849. BuiltInCallable_2: findType("BuiltInCallable0"),
  102850. BuiltInModule_AsyncCallable: findType("BuiltInModule<AsyncCallable>"),
  102851. BuiltInModule_AsyncCallable_2: findType("BuiltInModule0<AsyncCallable0>"),
  102852. BuiltInModule_Callable: findType("BuiltInModule<Callable>"),
  102853. BuiltInModule_Callable_2: findType("BuiltInModule0<Callable0>"),
  102854. ByteBuffer: findType("ByteBuffer"),
  102855. ByteData: findType("ByteData"),
  102856. Callable: findType("Callable"),
  102857. Callable_2: findType("Callable0"),
  102858. ChangeType: findType("ChangeType"),
  102859. Comparable_dynamic: findType("Comparable<@>"),
  102860. Comparable_nullable_Object: findType("Comparable<Object?>"),
  102861. CompileResult: findType("CompileResult"),
  102862. CompileResult_2: findType("CompileResult0"),
  102863. ComplexSelector: findType("ComplexSelector"),
  102864. ComplexSelectorComponent: findType("ComplexSelectorComponent"),
  102865. ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
  102866. ComplexSelector_2: findType("ComplexSelector0"),
  102867. Configuration: findType("Configuration"),
  102868. Configuration_2: findType("Configuration0"),
  102869. ConfiguredValue: findType("ConfiguredValue"),
  102870. ConfiguredValue_2: findType("ConfiguredValue0"),
  102871. ConfiguredVariable: findType("ConfiguredVariable"),
  102872. ConfiguredVariable_2: findType("ConfiguredVariable0"),
  102873. ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
  102874. ConstantStringMap_String_Null: findType("ConstantStringMap<String,Null>"),
  102875. ConstantStringMap_String_double: findType("ConstantStringMap<String,double>"),
  102876. CssAtRule: findType("CssAtRule"),
  102877. CssAtRule_2: findType("CssAtRule0"),
  102878. CssComment: findType("CssComment"),
  102879. CssComment_2: findType("CssComment0"),
  102880. CssImport: findType("CssImport"),
  102881. CssImport_2: findType("CssImport0"),
  102882. CssMediaQuery: findType("CssMediaQuery"),
  102883. CssMediaQuery_2: findType("CssMediaQuery0"),
  102884. CssMediaRule: findType("CssMediaRule"),
  102885. CssMediaRule_2: findType("CssMediaRule0"),
  102886. CssParentNode: findType("CssParentNode"),
  102887. CssParentNode_2: findType("CssParentNode0"),
  102888. CssStyleRule: findType("CssStyleRule"),
  102889. CssStyleRule_2: findType("CssStyleRule0"),
  102890. CssStylesheet: findType("CssStylesheet"),
  102891. CssStylesheet_2: findType("CssStylesheet0"),
  102892. CssSupportsRule: findType("CssSupportsRule"),
  102893. CssSupportsRule_2: findType("CssSupportsRule0"),
  102894. CssValue_Combinator: findType("CssValue<Combinator>"),
  102895. CssValue_Combinator_2: findType("CssValue0<Combinator0>"),
  102896. CssValue_List_String: findType("CssValue<List<String>>"),
  102897. CssValue_List_String_2: findType("CssValue0<List<String>>"),
  102898. CssValue_String: findType("CssValue<String>"),
  102899. CssValue_String_2: findType("CssValue0<String>"),
  102900. CssValue_Value: findType("CssValue<Value>"),
  102901. CssValue_Value_2: findType("CssValue0<Value0>"),
  102902. DateTime: findType("DateTime"),
  102903. Deprecation: findType("Deprecation"),
  102904. Deprecation_2: findType("Deprecation0"),
  102905. EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
  102906. Error: findType("Error"),
  102907. EvaluateResult: findType("EvaluateResult"),
  102908. EvaluateResult_2: findType("EvaluateResult0"),
  102909. EvaluationContext: findType("EvaluationContext"),
  102910. EvaluationContext_2: findType("EvaluationContext0"),
  102911. Exception: findType("Exception"),
  102912. Expression: findType("Expression"),
  102913. Expression_2: findType("Expression0"),
  102914. Extender: findType("Extender"),
  102915. Extender_2: findType("Extender0"),
  102916. Extension: findType("Extension"),
  102917. Extension_2: findType("Extension0"),
  102918. FileLocation: findType("FileLocation"),
  102919. FileSpan: findType("FileSpan"),
  102920. Float32List: findType("Float32List"),
  102921. Float64List: findType("Float64List"),
  102922. FormatException: findType("FormatException"),
  102923. Frame: findType("Frame"),
  102924. Function: findType("Function"),
  102925. FutureOr_EvaluateResult: findType("EvaluateResult/"),
  102926. FutureOr_EvaluateResult_2: findType("EvaluateResult0/"),
  102927. FutureOr_nullable_Uri: findType("Uri?/"),
  102928. Future_dynamic: findType("Future<@>"),
  102929. Future_void: findType("Future<~>"),
  102930. IfClause: findType("IfClause"),
  102931. IfClause_2: findType("IfClause0"),
  102932. ImmutableList: findType("ImmutableList"),
  102933. ImmutableMap: findType("ImmutableMap"),
  102934. Import: findType("Import"),
  102935. Import_2: findType("Import0"),
  102936. Importer: findType("Importer0"),
  102937. ImporterResult: findType("ImporterResult"),
  102938. ImporterResult_2: findType("ImporterResult0"),
  102939. Int16List: findType("Int16List"),
  102940. Int32List: findType("Int32List"),
  102941. Int8List: findType("Int8List"),
  102942. InternalStyle: findType("InternalStyle"),
  102943. Interpolation: findType("Interpolation"),
  102944. InterpolationBuffer: findType("InterpolationBuffer"),
  102945. InterpolationBuffer_2: findType("InterpolationBuffer0"),
  102946. Interpolation_2: findType("Interpolation0"),
  102947. Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
  102948. Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
  102949. Iterable_dynamic: findType("Iterable<@>"),
  102950. Iterable_nullable_Object: findType("Iterable<Object?>"),
  102951. JSArray_Argument: findType("JSArray<Argument>"),
  102952. JSArray_Argument_2: findType("JSArray<Argument0>"),
  102953. JSArray_AstNode: findType("JSArray<AstNode>"),
  102954. JSArray_AstNode_2: findType("JSArray<AstNode0>"),
  102955. JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
  102956. JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
  102957. JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
  102958. JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
  102959. JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
  102960. JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
  102961. JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
  102962. JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
  102963. JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
  102964. JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
  102965. JSArray_Callable: findType("JSArray<Callable>"),
  102966. JSArray_Callable_2: findType("JSArray<Callable0>"),
  102967. JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
  102968. JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
  102969. JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
  102970. JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
  102971. JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
  102972. JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
  102973. JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
  102974. JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
  102975. JSArray_CssNode: findType("JSArray<CssNode>"),
  102976. JSArray_CssNode_2: findType("JSArray<CssNode0>"),
  102977. JSArray_CssValue_Combinator: findType("JSArray<CssValue<Combinator>>"),
  102978. JSArray_CssValue_Combinator_2: findType("JSArray<CssValue0<Combinator0>>"),
  102979. JSArray_Entry: findType("JSArray<Entry>"),
  102980. JSArray_Expression: findType("JSArray<Expression>"),
  102981. JSArray_Expression_2: findType("JSArray<Expression0>"),
  102982. JSArray_Extender: findType("JSArray<Extender>"),
  102983. JSArray_Extender_2: findType("JSArray<Extender0>"),
  102984. JSArray_Extension: findType("JSArray<Extension>"),
  102985. JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
  102986. JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
  102987. JSArray_Extension_2: findType("JSArray<Extension0>"),
  102988. JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
  102989. JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
  102990. JSArray_Frame: findType("JSArray<Frame>"),
  102991. JSArray_IfClause: findType("JSArray<IfClause>"),
  102992. JSArray_IfClause_2: findType("JSArray<IfClause0>"),
  102993. JSArray_Import: findType("JSArray<Import>"),
  102994. JSArray_Import_2: findType("JSArray<Import0>"),
  102995. JSArray_Importer: findType("JSArray<Importer0>"),
  102996. JSArray_Importer_2: findType("JSArray<Importer>"),
  102997. JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
  102998. JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
  102999. JSArray_JSFunction: findType("JSArray<JSFunction0>"),
  103000. JSArray_List_ComplexSelector: findType("JSArray<List<ComplexSelector>>"),
  103001. JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
  103002. JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
  103003. JSArray_List_ComplexSelector_2: findType("JSArray<List<ComplexSelector0>>"),
  103004. JSArray_List_Extender: findType("JSArray<List<Extender>>"),
  103005. JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
  103006. JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
  103007. JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
  103008. JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
  103009. JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
  103010. JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
  103011. JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
  103012. JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable>>"),
  103013. JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable0>>"),
  103014. JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
  103015. JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
  103016. JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
  103017. JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
  103018. JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
  103019. JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
  103020. JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
  103021. JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
  103022. JSArray_Module_AsyncCallable: findType("JSArray<Module<AsyncCallable>>"),
  103023. JSArray_Module_AsyncCallable_2: findType("JSArray<Module0<AsyncCallable0>>"),
  103024. JSArray_Module_Callable: findType("JSArray<Module<Callable>>"),
  103025. JSArray_Module_Callable_2: findType("JSArray<Module0<Callable0>>"),
  103026. JSArray_Object: findType("JSArray<Object>"),
  103027. JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
  103028. JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
  103029. JSArray_SassList: findType("JSArray<SassList>"),
  103030. JSArray_SassList_2: findType("JSArray<SassList0>"),
  103031. JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
  103032. JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
  103033. JSArray_SourceLocation: findType("JSArray<SourceLocation>"),
  103034. JSArray_Statement: findType("JSArray<Statement>"),
  103035. JSArray_Statement_2: findType("JSArray<Statement0>"),
  103036. JSArray_String: findType("JSArray<String>"),
  103037. JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
  103038. JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
  103039. JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
  103040. JSArray_Trace: findType("JSArray<Trace>"),
  103041. JSArray_Tuple2_Expression_Expression: findType("JSArray<Tuple2<Expression,Expression>>"),
  103042. JSArray_Tuple2_Expression_Expression_2: findType("JSArray<Tuple2<Expression0,Expression0>>"),
  103043. JSArray_Tuple2_String_AstNode: findType("JSArray<Tuple2<String,AstNode>>"),
  103044. JSArray_Tuple2_String_AstNode_2: findType("JSArray<Tuple2<String,AstNode0>>"),
  103045. JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("JSArray<Tuple2<ArgumentDeclaration,Value(List<Value>)>>"),
  103046. JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("JSArray<Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>>"),
  103047. JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("JSArray<Tuple4<Uri,bool,Importer,Uri?>>"),
  103048. JSArray_UseRule: findType("JSArray<UseRule>"),
  103049. JSArray_UseRule_2: findType("JSArray<UseRule0>"),
  103050. JSArray_Value: findType("JSArray<Value>"),
  103051. JSArray_Value_2: findType("JSArray<Value0>"),
  103052. JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
  103053. JSArray__Highlight: findType("JSArray<_Highlight>"),
  103054. JSArray__Line: findType("JSArray<_Line>"),
  103055. JSArray_dynamic: findType("JSArray<@>"),
  103056. JSArray_int: findType("JSArray<int>"),
  103057. JSArray_nullable_String: findType("JSArray<String?>"),
  103058. JSClass: findType("JSClass0"),
  103059. JSFunction: findType("JSFunction0"),
  103060. JSNull: findType("JSNull"),
  103061. JSUrl: findType("JSUrl0"),
  103062. JavaScriptFunction: findType("JavaScriptFunction"),
  103063. JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
  103064. JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
  103065. JsSystemError: findType("JsSystemError"),
  103066. LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
  103067. LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
  103068. List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
  103069. List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
  103070. List_CssMediaQuery: findType("List<CssMediaQuery>"),
  103071. List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
  103072. List_Extension: findType("List<Extension>"),
  103073. List_ExtensionStore: findType("List<ExtensionStore>"),
  103074. List_ExtensionStore_2: findType("List<ExtensionStore0>"),
  103075. List_Extension_2: findType("List<Extension0>"),
  103076. List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
  103077. List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
  103078. List_Module_AsyncCallable: findType("List<Module<AsyncCallable>>"),
  103079. List_Module_AsyncCallable_2: findType("List<Module0<AsyncCallable0>>"),
  103080. List_Module_Callable: findType("List<Module<Callable>>"),
  103081. List_Module_Callable_2: findType("List<Module0<Callable0>>"),
  103082. List_String: findType("List<String>"),
  103083. List_Value: findType("List<Value>"),
  103084. List_Value_2: findType("List<Value0>"),
  103085. List_WatchEvent: findType("List<WatchEvent>"),
  103086. List_dynamic: findType("List<@>"),
  103087. List_int: findType("List<int>"),
  103088. List_nullable_Object: findType("List<Object?>"),
  103089. MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module<AsyncCallable>>"),
  103090. MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module0<AsyncCallable0>>"),
  103091. MapKeySet_Module_Callable: findType("MapKeySet<Module<Callable>>"),
  103092. MapKeySet_Module_Callable_2: findType("MapKeySet<Module0<Callable0>>"),
  103093. MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
  103094. MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
  103095. MapKeySet_String: findType("MapKeySet<String>"),
  103096. MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
  103097. Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
  103098. Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
  103099. Map_String_AstNode: findType("Map<String,AstNode>"),
  103100. Map_String_AstNode_2: findType("Map<String,AstNode0>"),
  103101. Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
  103102. Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
  103103. Map_String_Callable: findType("Map<String,Callable>"),
  103104. Map_String_Callable_2: findType("Map<String,Callable0>"),
  103105. Map_String_Value: findType("Map<String,Value>"),
  103106. Map_String_Value_2: findType("Map<String,Value0>"),
  103107. Map_String_dynamic: findType("Map<String,@>"),
  103108. Map_dynamic_dynamic: findType("Map<@,@>"),
  103109. Map_of_nullable_Object_and_nullable_Object: findType("Map<Object?,Object?>"),
  103110. MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
  103111. MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
  103112. MappedListIterable_String_Object: findType("MappedListIterable<String,Object>"),
  103113. MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
  103114. MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
  103115. MappedListIterable_String_Value: findType("MappedListIterable<String,Value>"),
  103116. MappedListIterable_String_Value_2: findType("MappedListIterable<String,Value0>"),
  103117. MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
  103118. MediaQuerySuccessfulMergeResult: findType("MediaQuerySuccessfulMergeResult"),
  103119. MediaQuerySuccessfulMergeResult_2: findType("MediaQuerySuccessfulMergeResult0"),
  103120. MixinRule: findType("MixinRule"),
  103121. MixinRule_2: findType("MixinRule0"),
  103122. ModifiableBox_SelectorList: findType("ModifiableBox<SelectorList>"),
  103123. ModifiableBox_SelectorList_2: findType("ModifiableBox0<SelectorList0>"),
  103124. ModifiableCssAtRule: findType("ModifiableCssAtRule"),
  103125. ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
  103126. ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
  103127. ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
  103128. ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
  103129. ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
  103130. ModifiableCssNode: findType("ModifiableCssNode"),
  103131. ModifiableCssNode_2: findType("ModifiableCssNode0"),
  103132. ModifiableCssParentNode: findType("ModifiableCssParentNode"),
  103133. ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
  103134. ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
  103135. ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
  103136. ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
  103137. ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
  103138. Module_AsyncCallable: findType("Module<AsyncCallable>"),
  103139. Module_AsyncCallable_2: findType("Module0<AsyncCallable0>"),
  103140. Module_Callable: findType("Module<Callable>"),
  103141. Module_Callable_2: findType("Module0<Callable0>"),
  103142. MultiSourceSpanFormatException: findType("MultiSourceSpanFormatException"),
  103143. NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
  103144. NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
  103145. NativeUint8List: findType("NativeUint8List"),
  103146. Never: findType("0&"),
  103147. NodeCompileResult: findType("NodeCompileResult"),
  103148. NodeImporter: findType("NodeImporter0"),
  103149. NodeImporterResult: findType("NodeImporterResult0"),
  103150. NodeImporterResult_2: findType("NodeImporterResult1"),
  103151. Null: findType("Null"),
  103152. Object: findType("Object"),
  103153. Option: findType("Option"),
  103154. PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
  103155. PathMap_String: findType("PathMap<String>"),
  103156. PathMap_nullable_String: findType("PathMap<String?>"),
  103157. Promise: findType("Promise"),
  103158. PseudoSelector: findType("PseudoSelector"),
  103159. PseudoSelector_2: findType("PseudoSelector0"),
  103160. RangeError: findType("RangeError"),
  103161. Record: findType("Record"),
  103162. RegExpMatch: findType("RegExpMatch"),
  103163. RenderContextOptions: findType("RenderContextOptions0"),
  103164. RenderResult: findType("RenderResult"),
  103165. Result_String: findType("Result<String>"),
  103166. Runes: findType("Runes"),
  103167. SassArgumentList: findType("SassArgumentList"),
  103168. SassArgumentList_2: findType("SassArgumentList0"),
  103169. SassBoolean: findType("SassBoolean"),
  103170. SassBoolean_2: findType("SassBoolean0"),
  103171. SassColor: findType("SassColor"),
  103172. SassColor_2: findType("SassColor0"),
  103173. SassFormatException: findType("SassFormatException"),
  103174. SassFormatException_2: findType("SassFormatException0"),
  103175. SassList: findType("SassList"),
  103176. SassList_2: findType("SassList0"),
  103177. SassMap: findType("SassMap"),
  103178. SassMap_2: findType("SassMap0"),
  103179. SassNumber: findType("SassNumber"),
  103180. SassNumber_2: findType("SassNumber0"),
  103181. SassRuntimeException: findType("SassRuntimeException"),
  103182. SassRuntimeException_2: findType("SassRuntimeException0"),
  103183. SassString: findType("SassString"),
  103184. SassString_2: findType("SassString0"),
  103185. SelectorList: findType("SelectorList"),
  103186. SelectorList_2: findType("SelectorList0"),
  103187. Set_ModifiableBox_SelectorList: findType("Set<ModifiableBox<SelectorList>>"),
  103188. Set_ModifiableBox_SelectorList_2: findType("Set<ModifiableBox0<SelectorList0>>"),
  103189. Set_Uri: findType("Set<Uri>"),
  103190. SimpleSelector: findType("SimpleSelector"),
  103191. SimpleSelector_2: findType("SimpleSelector0"),
  103192. SourceFile: findType("SourceFile"),
  103193. SourceLocation: findType("SourceLocation"),
  103194. SourceSpan: findType("SourceSpan"),
  103195. SourceSpanFormatException: findType("SourceSpanFormatException"),
  103196. SourceSpanWithContext: findType("SourceSpanWithContext"),
  103197. SpanColorFormat: findType("SpanColorFormat"),
  103198. SpanColorFormat_2: findType("SpanColorFormat0"),
  103199. StackTrace: findType("StackTrace"),
  103200. Statement: findType("Statement"),
  103201. Statement_2: findType("Statement0"),
  103202. StaticImport: findType("StaticImport"),
  103203. StaticImport_2: findType("StaticImport0"),
  103204. StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
  103205. StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
  103206. StreamQueue_String: findType("StreamQueue<String>"),
  103207. Stream_WatchEvent: findType("Stream<WatchEvent>"),
  103208. String: findType("String"),
  103209. StylesheetNode: findType("StylesheetNode"),
  103210. Symbol: findType("Symbol0"),
  103211. Timer: findType("Timer"),
  103212. Trace: findType("Trace"),
  103213. TrustedGetRuntimeType: findType("TrustedGetRuntimeType"),
  103214. Tuple2_Expression_Expression: findType("Tuple2<Expression,Expression>"),
  103215. Tuple2_Expression_Expression_2: findType("Tuple2<Expression0,Expression0>"),
  103216. Tuple2_ModifiableCssStylesheet_ExtensionStore: findType("Tuple2<ModifiableCssStylesheet,ExtensionStore>"),
  103217. Tuple2_ModifiableCssStylesheet_ExtensionStore_2: findType("Tuple2<ModifiableCssStylesheet0,ExtensionStore0>"),
  103218. Tuple2_PseudoSelector_int: findType("Tuple2<PseudoSelector,int>"),
  103219. Tuple2_PseudoSelector_int_2: findType("Tuple2<PseudoSelector0,int>"),
  103220. Tuple2_SassNumber_SassNumber: findType("Tuple2<SassNumber,SassNumber>"),
  103221. Tuple2_SassNumber_SassNumber_2: findType("Tuple2<SassNumber0,SassNumber0>"),
  103222. Tuple2_String_ArgumentDeclaration: findType("Tuple2<String,ArgumentDeclaration0>"),
  103223. Tuple2_String_AstNode: findType("Tuple2<String,AstNode>"),
  103224. Tuple2_String_AstNode_2: findType("Tuple2<String,AstNode0>"),
  103225. Tuple2_String_InterpolationMap: findType("Tuple2<String,InterpolationMap>"),
  103226. Tuple2_String_InterpolationMap_2: findType("Tuple2<String,InterpolationMap0>"),
  103227. Tuple2_String_SourceSpan: findType("Tuple2<String,SourceSpan>"),
  103228. Tuple2_String_String: findType("Tuple2<String,String>"),
  103229. Tuple2_Uri_bool: findType("Tuple2<Uri,bool>"),
  103230. Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration,Value/(List<Value>)>"),
  103231. Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration0,Value0/(List<Value0>)>"),
  103232. Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration,Value(List<Value>)>"),
  103233. Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>"),
  103234. Tuple2_of_ExtensionStore_and_Map_of_SelectorList_and_Box_SelectorList: findType("Tuple2<ExtensionStore,Map<SelectorList,Box<SelectorList>>>"),
  103235. Tuple2_of_ExtensionStore_and_Map_of_SelectorList_and_Box_SelectorList_2: findType("Tuple2<ExtensionStore0,Map<SelectorList0,Box0<SelectorList0>>>"),
  103236. Tuple2_of_List_Expression_and_Map_String_Expression: findType("Tuple2<List<Expression>,Map<String,Expression>>"),
  103237. Tuple2_of_List_Expression_and_Map_String_Expression_2: findType("Tuple2<List<Expression0>,Map<String,Expression0>>"),
  103238. Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode: findType("Tuple2<Map<Uri,StylesheetNode?>,Map<Uri,StylesheetNode?>>"),
  103239. Tuple2_of_Set_String_and_Set_String: findType("Tuple2<Set<String>,Set<String>>"),
  103240. Tuple2_of_String_and_nullable_InterpolationMap: findType("Tuple2<String,InterpolationMap?>"),
  103241. Tuple2_of_String_and_nullable_InterpolationMap_2: findType("Tuple2<String,InterpolationMap0?>"),
  103242. Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>"),
  103243. Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>"),
  103244. Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>"),
  103245. Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>"),
  103246. Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri: findType("Tuple4<Uri,bool,AsyncImporter,Uri?>"),
  103247. Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2: findType("Tuple4<Uri,bool,AsyncImporter0,Uri?>"),
  103248. Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("Tuple4<Uri,bool,Importer,Uri?>"),
  103249. Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2: findType("Tuple4<Uri,bool,Importer0,Uri?>"),
  103250. Type: findType("Type"),
  103251. TypeError: findType("TypeError"),
  103252. Uint16List: findType("Uint16List"),
  103253. Uint32List: findType("Uint32List"),
  103254. Uint8ClampedList: findType("Uint8ClampedList"),
  103255. Uint8List: findType("Uint8List"),
  103256. UnionSet_Uri: findType("UnionSet<Uri>"),
  103257. UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
  103258. UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
  103259. UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
  103260. UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
  103261. UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
  103262. UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
  103263. UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
  103264. UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
  103265. UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
  103266. UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
  103267. UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
  103268. UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
  103269. UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
  103270. UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
  103271. UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
  103272. UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
  103273. UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
  103274. UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
  103275. UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
  103276. UnmodifiableSetView_String: findType("UnmodifiableSetView0<String>"),
  103277. UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView0<StylesheetNode>"),
  103278. UnmodifiableSetView_Uri: findType("UnmodifiableSetView0<Uri>"),
  103279. UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
  103280. UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
  103281. Uri: findType("Uri"),
  103282. UseRule: findType("UseRule"),
  103283. UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
  103284. UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
  103285. UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
  103286. UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
  103287. Value: findType("Value"),
  103288. Value_2: findType("Value0"),
  103289. Value_Function_List_Value: findType("Value(List<Value>)"),
  103290. Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
  103291. VariableDeclaration: findType("VariableDeclaration"),
  103292. VariableDeclaration_2: findType("VariableDeclaration0"),
  103293. VersionRange: findType("VersionRange"),
  103294. WatchEvent: findType("WatchEvent"),
  103295. WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
  103296. WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
  103297. WhereIterable_String: findType("WhereIterable<String>"),
  103298. WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
  103299. WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
  103300. WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
  103301. _ArgumentResults: findType("_ArgumentResults0"),
  103302. _ArgumentResults_2: findType("_ArgumentResults2"),
  103303. _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
  103304. _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
  103305. _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
  103306. _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
  103307. _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
  103308. _EventRequest_dynamic: findType("_EventRequest<@>"),
  103309. _Future_Object: findType("_Future<Object>"),
  103310. _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
  103311. _Future_String: findType("_Future<String>"),
  103312. _Future_bool: findType("_Future<bool>"),
  103313. _Future_dynamic: findType("_Future<@>"),
  103314. _Future_int: findType("_Future<int>"),
  103315. _Future_nullable_Object: findType("_Future<Object?>"),
  103316. _Future_void: findType("_Future<~>"),
  103317. _Highlight: findType("_Highlight"),
  103318. _IdentityHashMap_of_nullable_Object_and_nullable_Object: findType("_IdentityHashMap<Object?,Object?>"),
  103319. _LinkedIdentityHashMap_SimpleSelector_int: findType("_LinkedIdentityHashMap<SimpleSelector,int>"),
  103320. _LinkedIdentityHashMap_SimpleSelector_int_2: findType("_LinkedIdentityHashMap<SimpleSelector0,int>"),
  103321. _LinkedIdentityHashMap_of_SelectorList_and_Box_SelectorList: findType("_LinkedIdentityHashMap<SelectorList,Box<SelectorList>>"),
  103322. _LinkedIdentityHashMap_of_SelectorList_and_Box_SelectorList_2: findType("_LinkedIdentityHashMap<SelectorList0,Box0<SelectorList0>>"),
  103323. _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
  103324. _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
  103325. _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
  103326. _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
  103327. _LoadedStylesheet: findType("_LoadedStylesheet0"),
  103328. _LoadedStylesheet_2: findType("_LoadedStylesheet2"),
  103329. _MapEntry: findType("_MapEntry"),
  103330. _NodeException: findType("_NodeException"),
  103331. _UnmodifiableSet_String: findType("_UnmodifiableSet<String>"),
  103332. bool: findType("bool"),
  103333. double: findType("double"),
  103334. dynamic: findType("@"),
  103335. dynamic_Function: findType("@()"),
  103336. dynamic_Function_Object: findType("@(Object)"),
  103337. dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
  103338. int: findType("int"),
  103339. legacy_Never: findType("0&*"),
  103340. legacy_Object: findType("Object*"),
  103341. nullable_AstNode: findType("AstNode?"),
  103342. nullable_AstNode_2: findType("AstNode0?"),
  103343. nullable_FileSpan: findType("FileSpan?"),
  103344. nullable_Future_Null: findType("Future<Null>?"),
  103345. nullable_Future_void: findType("Future<~>?"),
  103346. nullable_ImporterResult: findType("ImporterResult0?"),
  103347. nullable_Object: findType("Object?"),
  103348. nullable_SourceFile: findType("SourceFile?"),
  103349. nullable_SourceSpan: findType("SourceSpan?"),
  103350. nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
  103351. nullable_String: findType("String?"),
  103352. nullable_Stylesheet: findType("Stylesheet?"),
  103353. nullable_StylesheetNode: findType("StylesheetNode?"),
  103354. nullable_Stylesheet_2: findType("Stylesheet0?"),
  103355. nullable_Tuple2_String_String: findType("Tuple2<String,String>?"),
  103356. nullable_Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>?"),
  103357. nullable_Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>?"),
  103358. nullable_Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>?"),
  103359. nullable_Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>?"),
  103360. nullable_Uri: findType("Uri?"),
  103361. nullable_Value: findType("Value?"),
  103362. nullable_Value_2: findType("Value0?"),
  103363. nullable__ConstructorOptions: findType("_ConstructorOptions?"),
  103364. nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
  103365. nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
  103366. nullable__Highlight: findType("_Highlight?"),
  103367. nullable__LoadedStylesheet: findType("_LoadedStylesheet0?"),
  103368. nullable__LoadedStylesheet_2: findType("_LoadedStylesheet2?"),
  103369. num: findType("num"),
  103370. void: findType("~"),
  103371. void_Function_Object: findType("~(Object)"),
  103372. void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
  103373. };
  103374. })();
  103375. (function constants() {
  103376. var makeConstList = hunkHelpers.makeConstList;
  103377. B.Interceptor_methods = J.Interceptor.prototype;
  103378. B.JSArray_methods = J.JSArray.prototype;
  103379. B.JSBool_methods = J.JSBool.prototype;
  103380. B.JSInt_methods = J.JSInt.prototype;
  103381. B.JSNull_methods = J.JSNull.prototype;
  103382. B.JSNumber_methods = J.JSNumber.prototype;
  103383. B.JSString_methods = J.JSString.prototype;
  103384. B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
  103385. B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
  103386. B.NativeUint32List_methods = A.NativeUint32List.prototype;
  103387. B.NativeUint8List_methods = A.NativeUint8List.prototype;
  103388. B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
  103389. B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
  103390. B.AsciiEncoder_127 = new A.AsciiEncoder(127);
  103391. B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
  103392. B.AtRootQuery_UsS = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
  103393. B.AtRootQuery_UsS0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
  103394. B.AttributeOperator_8aB = new A.AttributeOperator("*=", "substring");
  103395. B.AttributeOperator_8aB0 = new A.AttributeOperator0("*=", "substring");
  103396. B.AttributeOperator_BGd = new A.AttributeOperator("$=", "suffix");
  103397. B.AttributeOperator_BGd0 = new A.AttributeOperator0("$=", "suffix");
  103398. B.AttributeOperator_ES6 = new A.AttributeOperator("=", "equal");
  103399. B.AttributeOperator_ES60 = new A.AttributeOperator0("=", "equal");
  103400. B.AttributeOperator_eot = new A.AttributeOperator("^=", "prefix");
  103401. B.AttributeOperator_eot0 = new A.AttributeOperator0("^=", "prefix");
  103402. B.AttributeOperator_ivT = new A.AttributeOperator("|=", "dash");
  103403. B.AttributeOperator_ivT0 = new A.AttributeOperator0("|=", "dash");
  103404. B.AttributeOperator_r60 = new A.AttributeOperator("~=", "include");
  103405. B.AttributeOperator_r600 = new A.AttributeOperator0("~=", "include");
  103406. B.BinaryOperator_2jN = new A.BinaryOperator("single equals", "=", 0, false, "singleEquals");
  103407. B.BinaryOperator_2jN0 = new A.BinaryOperator0("single equals", "=", 0, false, "singleEquals");
  103408. B.BinaryOperator_7Tg = new A.BinaryOperator("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  103409. B.BinaryOperator_7Tg0 = new A.BinaryOperator0("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  103410. B.BinaryOperator_M6L = new A.BinaryOperator("or", "or", 1, true, "or");
  103411. B.BinaryOperator_M6L0 = new A.BinaryOperator0("or", "or", 1, true, "or");
  103412. B.BinaryOperator_OTG = new A.BinaryOperator("modulo", "%", 6, false, "modulo");
  103413. B.BinaryOperator_OTG0 = new A.BinaryOperator0("modulo", "%", 6, false, "modulo");
  103414. B.BinaryOperator_SNp = new A.BinaryOperator("and", "and", 2, true, "and");
  103415. B.BinaryOperator_SNp0 = new A.BinaryOperator0("and", "and", 2, true, "and");
  103416. B.BinaryOperator_U8c = new A.BinaryOperator("less than", "<", 4, false, "lessThan");
  103417. B.BinaryOperator_U8c0 = new A.BinaryOperator0("less than", "<", 4, false, "lessThan");
  103418. B.BinaryOperator_ViB = new A.BinaryOperator("not equals", "!=", 3, false, "notEquals");
  103419. B.BinaryOperator_ViB0 = new A.BinaryOperator0("not equals", "!=", 3, false, "notEquals");
  103420. B.BinaryOperator_anB = new A.BinaryOperator("plus", "+", 5, true, "plus");
  103421. B.BinaryOperator_anB0 = new A.BinaryOperator0("plus", "+", 5, true, "plus");
  103422. B.BinaryOperator_cIH = new A.BinaryOperator("greater than", ">", 4, false, "greaterThan");
  103423. B.BinaryOperator_cIH0 = new A.BinaryOperator0("greater than", ">", 4, false, "greaterThan");
  103424. B.BinaryOperator_kpg = new A.BinaryOperator("less than or equals", "<=", 4, false, "lessThanOrEquals");
  103425. B.BinaryOperator_kpg0 = new A.BinaryOperator0("less than or equals", "<=", 4, false, "lessThanOrEquals");
  103426. B.BinaryOperator_olz = new A.BinaryOperator("minus", "-", 5, false, "minus");
  103427. B.BinaryOperator_olz0 = new A.BinaryOperator0("minus", "-", 5, false, "minus");
  103428. B.BinaryOperator_qN2 = new A.BinaryOperator("times", "*", 6, true, "times");
  103429. B.BinaryOperator_qN20 = new A.BinaryOperator0("times", "*", 6, true, "times");
  103430. B.BinaryOperator_ql5 = new A.BinaryOperator("equals", "==", 3, false, "equals");
  103431. B.BinaryOperator_ql50 = new A.BinaryOperator0("equals", "==", 3, false, "equals");
  103432. B.BinaryOperator_t8B = new A.BinaryOperator("divided by", "/", 6, false, "dividedBy");
  103433. B.BinaryOperator_t8B0 = new A.BinaryOperator0("divided by", "/", 6, false, "dividedBy");
  103434. B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
  103435. B.C_AsciiCodec = new A.AsciiCodec();
  103436. B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
  103437. B.C_Base64Encoder = new A.Base64Encoder();
  103438. B.C_Base64Codec = new A.Base64Codec();
  103439. B.C_DefaultEquality = new A.DefaultEquality();
  103440. B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
  103441. B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
  103442. B.C_EmptyIterator = new A.EmptyIterator();
  103443. B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
  103444. B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
  103445. B.C_IterableEquality = new A.IterableEquality();
  103446. B.C_JS_CONST = function getTagFallback(o) {
  103447. var s = Object.prototype.toString.call(o);
  103448. return s.substring(8, s.length - 1);
  103449. };
  103450. B.C_JS_CONST0 = function() {
  103451. var toStringFunction = Object.prototype.toString;
  103452. function getTag(o) {
  103453. var s = toStringFunction.call(o);
  103454. return s.substring(8, s.length - 1);
  103455. }
  103456. function getUnknownTag(object, tag) {
  103457. if (/^HTML[A-Z].*Element$/.test(tag)) {
  103458. var name = toStringFunction.call(object);
  103459. if (name == "[object Object]") return null;
  103460. return "HTMLElement";
  103461. }
  103462. }
  103463. function getUnknownTagGenericBrowser(object, tag) {
  103464. if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement";
  103465. return getUnknownTag(object, tag);
  103466. }
  103467. function prototypeForTag(tag) {
  103468. if (typeof window == "undefined") return null;
  103469. if (typeof window[tag] == "undefined") return null;
  103470. var constructor = window[tag];
  103471. if (typeof constructor != "function") return null;
  103472. return constructor.prototype;
  103473. }
  103474. function discriminator(tag) { return null; }
  103475. var isBrowser = typeof navigator == "object";
  103476. return {
  103477. getTag: getTag,
  103478. getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
  103479. prototypeForTag: prototypeForTag,
  103480. discriminator: discriminator };
  103481. };
  103482. B.C_JS_CONST6 = function(getTagFallback) {
  103483. return function(hooks) {
  103484. if (typeof navigator != "object") return hooks;
  103485. var ua = navigator.userAgent;
  103486. if (ua.indexOf("DumpRenderTree") >= 0) return hooks;
  103487. if (ua.indexOf("Chrome") >= 0) {
  103488. function confirm(p) {
  103489. return typeof window == "object" && window[p] && window[p].name == p;
  103490. }
  103491. if (confirm("Window") && confirm("HTMLElement")) return hooks;
  103492. }
  103493. hooks.getTag = getTagFallback;
  103494. };
  103495. };
  103496. B.C_JS_CONST1 = function(hooks) {
  103497. if (typeof dartExperimentalFixupGetTag != "function") return hooks;
  103498. hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
  103499. };
  103500. B.C_JS_CONST2 = function(hooks) {
  103501. var getTag = hooks.getTag;
  103502. var prototypeForTag = hooks.prototypeForTag;
  103503. function getTagFixed(o) {
  103504. var tag = getTag(o);
  103505. if (tag == "Document") {
  103506. if (!!o.xmlVersion) return "!Document";
  103507. return "!HTMLDocument";
  103508. }
  103509. return tag;
  103510. }
  103511. function prototypeForTagFixed(tag) {
  103512. if (tag == "Document") return null;
  103513. return prototypeForTag(tag);
  103514. }
  103515. hooks.getTag = getTagFixed;
  103516. hooks.prototypeForTag = prototypeForTagFixed;
  103517. };
  103518. B.C_JS_CONST5 = function(hooks) {
  103519. var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
  103520. if (userAgent.indexOf("Firefox") == -1) return hooks;
  103521. var getTag = hooks.getTag;
  103522. var quickMap = {
  103523. "BeforeUnloadEvent": "Event",
  103524. "DataTransfer": "Clipboard",
  103525. "GeoGeolocation": "Geolocation",
  103526. "Location": "!Location",
  103527. "WorkerMessageEvent": "MessageEvent",
  103528. "XMLDocument": "!Document"};
  103529. function getTagFirefox(o) {
  103530. var tag = getTag(o);
  103531. return quickMap[tag] || tag;
  103532. }
  103533. hooks.getTag = getTagFirefox;
  103534. };
  103535. B.C_JS_CONST4 = function(hooks) {
  103536. var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
  103537. if (userAgent.indexOf("Trident/") == -1) return hooks;
  103538. var getTag = hooks.getTag;
  103539. var quickMap = {
  103540. "BeforeUnloadEvent": "Event",
  103541. "DataTransfer": "Clipboard",
  103542. "HTMLDDElement": "HTMLElement",
  103543. "HTMLDTElement": "HTMLElement",
  103544. "HTMLPhraseElement": "HTMLElement",
  103545. "Position": "Geoposition"
  103546. };
  103547. function getTagIE(o) {
  103548. var tag = getTag(o);
  103549. var newTag = quickMap[tag];
  103550. if (newTag) return newTag;
  103551. if (tag == "Object") {
  103552. if (window.DataView && (o instanceof window.DataView)) return "DataView";
  103553. }
  103554. return tag;
  103555. }
  103556. function prototypeForTagIE(tag) {
  103557. var constructor = window[tag];
  103558. if (constructor == null) return null;
  103559. return constructor.prototype;
  103560. }
  103561. hooks.getTag = getTagIE;
  103562. hooks.prototypeForTag = prototypeForTagIE;
  103563. };
  103564. B.C_JS_CONST3 = function(hooks) { return hooks; }
  103565. ;
  103566. B.C_JsonCodec = new A.JsonCodec();
  103567. B.C_ListEquality0 = new A.ListEquality();
  103568. B.C_ListEquality = new A.ListEquality();
  103569. B.C_MapEquality = new A.MapEquality();
  103570. B.C_OutOfMemoryError = new A.OutOfMemoryError();
  103571. B.C_SentinelValue = new A.SentinelValue();
  103572. B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
  103573. B.C_Utf8Codec = new A.Utf8Codec();
  103574. B.C_Utf8Encoder = new A.Utf8Encoder();
  103575. B.C__DelayedDone = new A._DelayedDone();
  103576. B.C__HasContentVisitor = new A._HasContentVisitor();
  103577. B.C__HasContentVisitor0 = new A._HasContentVisitor0();
  103578. B.C__IsUselessVisitor = new A._IsUselessVisitor();
  103579. B.C__IsUselessVisitor0 = new A._IsUselessVisitor0();
  103580. B.C__JSRandom = new A._JSRandom();
  103581. B.C__MakeExpressionCalculationSafe = new A._MakeExpressionCalculationSafe();
  103582. B.C__MakeExpressionCalculationSafe0 = new A._MakeExpressionCalculationSafe0();
  103583. B.C__ParentSelectorVisitor = new A._ParentSelectorVisitor();
  103584. B.C__ParentSelectorVisitor0 = new A._ParentSelectorVisitor0();
  103585. B.C__Required = new A._Required();
  103586. B.C__RootZone = new A._RootZone();
  103587. B.C__SassNull = new A._SassNull();
  103588. B.C__SassNull0 = new A._SassNull0();
  103589. B.CalculationOperator_2bx = new A.CalculationOperator("minus", "-", 1, "minus");
  103590. B.CalculationOperator_2bx0 = new A.CalculationOperator0("minus", "-", 1, "minus");
  103591. B.CalculationOperator_IyK = new A.CalculationOperator("plus", "+", 1, "plus");
  103592. B.CalculationOperator_IyK0 = new A.CalculationOperator0("plus", "+", 1, "plus");
  103593. B.CalculationOperator_OvN = new A.CalculationOperator("divided by", "/", 2, "dividedBy");
  103594. B.CalculationOperator_OvN0 = new A.CalculationOperator0("divided by", "/", 2, "dividedBy");
  103595. B.CalculationOperator_jFr = new A.CalculationOperator("times", "*", 2, "times");
  103596. B.CalculationOperator_jFr0 = new A.CalculationOperator0("times", "*", 2, "times");
  103597. B.ChangeType_add = new A.ChangeType("add");
  103598. B.ChangeType_modify = new A.ChangeType("modify");
  103599. B.ChangeType_remove = new A.ChangeType("remove");
  103600. B.Combinator_4QF = new A.Combinator("+", "nextSibling");
  103601. B.Combinator_4QF0 = new A.Combinator0("+", "nextSibling");
  103602. B.Combinator_Cht = new A.Combinator(">", "child");
  103603. B.Combinator_Cht0 = new A.Combinator0(">", "child");
  103604. B.Combinator_Htt = new A.Combinator("~", "followingSibling");
  103605. B.Combinator_Htt0 = new A.Combinator0("~", "followingSibling");
  103606. B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
  103607. B.Map_empty11 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue>"));
  103608. B.Configuration_Map_empty_null = new A.Configuration(B.Map_empty11, null);
  103609. B.Map_empty12 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue0>"));
  103610. B.Configuration_Map_empty_null0 = new A.Configuration0(B.Map_empty12, null);
  103611. B.Deprecation_0bn = new A.Deprecation0("function-units", false, "functionUnits");
  103612. B.Deprecation_4iQ = new A.Deprecation0("call-string", false, "callString");
  103613. B.Deprecation_8WR = new A.Deprecation("function-units", "1.56.0", "Passing invalid units to built-in functions.", false, "functionUnits");
  103614. B.Deprecation_Auo = new A.Deprecation("duplicate-var-flags", "1.62.0", "Using !default or !global multiple times for one variable.", false, "duplicateVariableFlags");
  103615. B.Deprecation_B8J = new A.Deprecation("import", null, "@import rules.", true, "import");
  103616. B.Deprecation_E5x = new A.Deprecation0("relative-canonical", false, "relativeCanonical");
  103617. B.Deprecation_EsU = new A.Deprecation0("strict-unary", false, "strictUnary");
  103618. B.Deprecation_GbU = new A.Deprecation0("moz-document", false, "mozDocument");
  103619. B.Deprecation_JAZ = new A.Deprecation("elseif", "1.3.2", "@elseif.", false, "elseif");
  103620. B.Deprecation_LT8 = new A.Deprecation0("color-module-compat", false, "colorModuleCompat");
  103621. B.Deprecation_XV6 = new A.Deprecation0("bogus-combinators", false, "bogusCombinators");
  103622. B.Deprecation_elseif_false_elseif = new A.Deprecation0("elseif", false, "elseif");
  103623. B.Deprecation_gJ9 = new A.Deprecation("moz-document", "1.7.2", "@-moz-document.", false, "mozDocument");
  103624. B.Deprecation_hzy = new A.Deprecation("new-global", "1.17.2", "Declaring new variables with !global.", false, "newGlobal");
  103625. B.Deprecation_import_true_import = new A.Deprecation0("import", true, "import");
  103626. B.Deprecation_mFp = new A.Deprecation("relative-canonical", "1.14.2", null, false, "relativeCanonical");
  103627. B.Deprecation_qVK = new A.Deprecation("call-string", "0.0.0", "Passing a string directly to meta.call().", false, "callString");
  103628. B.Deprecation_s4m = new A.Deprecation("color-module-compat", "1.23.0", "Using color module functions in place of plain CSS functions.", false, "colorModuleCompat");
  103629. B.Deprecation_sIK = new A.Deprecation("strict-unary", "1.55.0", "Ambiguous + and - operators.", false, "strictUnary");
  103630. B.Deprecation_vrR = new A.Deprecation("bogus-combinators", "1.54.0", "Leading, trailing, and repeated combinators.", false, "bogusCombinators");
  103631. B.Deprecation_wKk = new A.Deprecation0("new-global", false, "newGlobal");
  103632. B.Deprecation_wWh = new A.Deprecation0("slash-div", false, "slashDiv");
  103633. B.Deprecation_xHK = new A.Deprecation("slash-div", "1.33.0", "/ operator for division.", false, "slashDiv");
  103634. B.Deprecation_ynv = new A.Deprecation0("duplicate-var-flags", false, "duplicateVariableFlags");
  103635. B.Duration_0 = new A.Duration(0);
  103636. B.ExtendMode_allTargets_allTargets = new A.ExtendMode("allTargets", "allTargets");
  103637. B.ExtendMode_allTargets_allTargets0 = new A.ExtendMode0("allTargets", "allTargets");
  103638. B.ExtendMode_normal_normal = new A.ExtendMode("normal", "normal");
  103639. B.ExtendMode_normal_normal0 = new A.ExtendMode0("normal", "normal");
  103640. B.ExtendMode_replace_replace = new A.ExtendMode("replace", "replace");
  103641. B.ExtendMode_replace_replace0 = new A.ExtendMode0("replace", "replace");
  103642. B.JsonEncoder_null = new A.JsonEncoder(null);
  103643. B.LineFeed_SsD = new A.LineFeed0("lf", "\n", "lf");
  103644. B.LineFeed_gg4 = new A.LineFeed0("crlf", "\r\n", "crlf");
  103645. B.LineFeed_lf = new A.LineFeed("lf");
  103646. B.LineFeed_oyU = new A.LineFeed0("cr", "\r", "cr");
  103647. B.LineFeed_t2a = new A.LineFeed0("lfcr", "\n\r", "lfcr");
  103648. B.ListSeparator_EVt = new A.ListSeparator("space", " ", "space");
  103649. B.ListSeparator_EVt0 = new A.ListSeparator0("space", " ", "space");
  103650. B.ListSeparator_rXA = new A.ListSeparator("comma", ",", "comma");
  103651. B.ListSeparator_rXA0 = new A.ListSeparator0("comma", ",", "comma");
  103652. B.ListSeparator_undecided_null_undecided = new A.ListSeparator("undecided", null, "undecided");
  103653. B.ListSeparator_undecided_null_undecided0 = new A.ListSeparator0("undecided", null, "undecided");
  103654. B.ListSeparator_zg9 = new A.ListSeparator("slash", "/", "slash");
  103655. B.ListSeparator_zg90 = new A.ListSeparator0("slash", "/", "slash");
  103656. B.Deprecation_A0N = new A.Deprecation("user-authored", null, null, false, "userAuthored");
  103657. B.List_2vP = 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>"));
  103658. B.List_M1A = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  103659. B.List_MMm = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int);
  103660. B.List_OL3 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  103661. B.List_XRg0 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  103662. B.List_XRg = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  103663. B.List_YmH = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int);
  103664. B.List_ejq = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  103665. B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_Argument);
  103666. B.List_empty22 = A._setArrayType(makeConstList([]), type$.JSArray_Argument_2);
  103667. B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
  103668. B.List_empty25 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
  103669. B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
  103670. B.List_empty15 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector_2);
  103671. B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent);
  103672. B.List_empty13 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent_2);
  103673. B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable);
  103674. B.List_empty20 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable_2);
  103675. B.List_empty3 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode);
  103676. B.List_empty16 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode_2);
  103677. B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator);
  103678. B.List_empty14 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator_2);
  103679. B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_Expression);
  103680. B.List_empty21 = A._setArrayType(makeConstList([]), type$.JSArray_Expression_2);
  103681. B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_Extension);
  103682. B.List_empty17 = A._setArrayType(makeConstList([]), type$.JSArray_Extension_2);
  103683. B.List_empty23 = A._setArrayType(makeConstList([]), type$.JSArray_Importer);
  103684. B.List_empty7 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module<0&>>"));
  103685. B.List_empty18 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module0<0&>>"));
  103686. B.List_empty12 = A._setArrayType(makeConstList([]), type$.JSArray_Statement);
  103687. B.List_empty8 = A._setArrayType(makeConstList([]), type$.JSArray_Value);
  103688. B.List_empty19 = A._setArrayType(makeConstList([]), type$.JSArray_Value_2);
  103689. B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_int);
  103690. B.List_empty6 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
  103691. B.List_a1W = 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);
  103692. B.Map_a1IkF = 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_a1W, type$.ConstantStringMap_String_Null);
  103693. B.Set_UGQ3 = new A._UnmodifiableSet(B.Map_a1IkF, type$._UnmodifiableSet_String);
  103694. B.List_deg_grad_rad_turn = A._setArrayType(makeConstList(["deg", "grad", "rad", "turn"]), type$.JSArray_String);
  103695. B.Map_ia3x6 = new A.ConstantStringMap(4, {deg: null, grad: null, rad: null, turn: null}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_Null);
  103696. B.Set_gf1m2 = new A._UnmodifiableSet(B.Map_ia3x6, type$._UnmodifiableSet_String);
  103697. B.List_s_ms = A._setArrayType(makeConstList(["s", "ms"]), type$.JSArray_String);
  103698. B.Map_V0nPR = new A.ConstantStringMap(2, {s: null, ms: null}, B.List_s_ms, type$.ConstantStringMap_String_Null);
  103699. B.Set_23h = new A._UnmodifiableSet(B.Map_V0nPR, type$._UnmodifiableSet_String);
  103700. B.List_hz_khz = A._setArrayType(makeConstList(["hz", "khz"]), type$.JSArray_String);
  103701. B.Map_4q00r = new A.ConstantStringMap(2, {hz: null, khz: null}, B.List_hz_khz, type$.ConstantStringMap_String_Null);
  103702. B.Set_AKW81 = new A._UnmodifiableSet(B.Map_4q00r, type$._UnmodifiableSet_String);
  103703. B.List_dpi_dpcm_dppx = A._setArrayType(makeConstList(["dpi", "dpcm", "dppx"]), type$.JSArray_String);
  103704. B.Map_ly4QF = new A.ConstantStringMap(3, {dpi: null, dpcm: null, dppx: null}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_Null);
  103705. B.Set_wDQui = new A._UnmodifiableSet(B.Map_ly4QF, type$._UnmodifiableSet_String);
  103706. B.List_gyp = A._setArrayType(makeConstList([B.Set_UGQ3, B.Set_gf1m2, B.Set_23h, B.Set_AKW81, B.Set_wDQui]), A.findType("JSArray<Set<String>>"));
  103707. B.List_oFp = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  103708. B.List_yzX = A._setArrayType(makeConstList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767]), type$.JSArray_int);
  103709. B.Map_empty1 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode>"));
  103710. B.Map_empty7 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode0>"));
  103711. B.Map_empty3 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression>"));
  103712. B.Map_empty9 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression0>"));
  103713. B.Map_empty4 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<AsyncCallable>>"));
  103714. B.Map_empty = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<Callable>>"));
  103715. B.Map_empty10 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<AsyncCallable0>>"));
  103716. B.Map_empty6 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<Callable0>>"));
  103717. B.Map_empty2 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value>"));
  103718. B.Map_empty8 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value0>"));
  103719. B.List_empty26 = A._setArrayType(makeConstList([]), A.findType("JSArray<Symbol0>"));
  103720. B.Map_empty0 = new A.ConstantStringMap(0, {}, B.List_empty26, A.findType("ConstantStringMap<Symbol0,@>"));
  103721. B.List_empty27 = A._setArrayType(makeConstList([]), type$.JSArray_nullable_String);
  103722. B.Map_empty5 = new A.ConstantStringMap(0, {}, B.List_empty27, A.findType("ConstantStringMap<String?,String>"));
  103723. B.List_nfu = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px", "deg", "grad", "rad", "turn", "s", "ms", "Hz", "kHz", "dpi", "dpcm", "dppx"]), type$.JSArray_String);
  103724. B.List_scn = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"]), type$.JSArray_String);
  103725. B.Map_scaO3 = 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_scn, type$.ConstantStringMap_String_double);
  103726. B.Map_scsoL = 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_scn, type$.ConstantStringMap_String_double);
  103727. B.Map_sci7B = 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_scn, type$.ConstantStringMap_String_double);
  103728. B.Map_sc8pl = 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_scn, type$.ConstantStringMap_String_double);
  103729. B.Map_sckr3 = new A.ConstantStringMap(7, {in: 101.6, cm: 40, pc: 16.933333333333334, mm: 4, q: 1, pt: 1.411111111111111, px: 1.0583333333333333}, B.List_scn, type$.ConstantStringMap_String_double);
  103730. B.Map_scaBQ = new A.ConstantStringMap(7, {in: 72, cm: 28.346456692913385, pc: 12, mm: 2.834645669291339, q: 0.7086614173228347, pt: 1, px: 0.75}, B.List_scn, type$.ConstantStringMap_String_double);
  103731. B.Map_scGVy = new A.ConstantStringMap(7, {in: 96, cm: 37.79527559055118, pc: 16, mm: 3.7795275590551185, q: 0.9448818897637796, pt: 1.3333333333333333, px: 1}, B.List_scn, type$.ConstantStringMap_String_double);
  103732. B.Map_ia0 = new A.ConstantStringMap(4, {deg: 1, grad: 0.9, rad: 57.29577951308232, turn: 360}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_double);
  103733. B.Map_iaijl = new A.ConstantStringMap(4, {deg: 1.1111111111111112, grad: 1, rad: 63.66197723675813, turn: 400}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_double);
  103734. B.Map_iaMqi = 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);
  103735. B.Map_iaJel = 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);
  103736. B.Map_V0M2a = new A.ConstantStringMap(2, {s: 1, ms: 0.001}, B.List_s_ms, type$.ConstantStringMap_String_double);
  103737. B.Map_V0nPR0 = new A.ConstantStringMap(2, {s: 1000, ms: 1}, B.List_s_ms, type$.ConstantStringMap_String_double);
  103738. B.List_Hz_kHz = A._setArrayType(makeConstList(["Hz", "kHz"]), type$.JSArray_String);
  103739. B.Map_8secN = new A.ConstantStringMap(2, {Hz: 1, kHz: 1000}, B.List_Hz_kHz, type$.ConstantStringMap_String_double);
  103740. B.Map_8sxHw = new A.ConstantStringMap(2, {Hz: 0.001, kHz: 1}, B.List_Hz_kHz, type$.ConstantStringMap_String_double);
  103741. B.Map_lyv9F = new A.ConstantStringMap(3, {dpi: 1, dpcm: 2.54, dppx: 96}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_double);
  103742. B.Map_lyhdB = new A.ConstantStringMap(3, {dpi: 0.39370078740157477, dpcm: 1, dppx: 37.79527559055118}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_double);
  103743. B.Map_lyCkv = new A.ConstantStringMap(3, {dpi: 0.010416666666666666, dpcm: 0.026458333333333334, dppx: 1}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_double);
  103744. B.Map_nfuzN = new A.ConstantStringMap(18, {in: B.Map_scaO3, cm: B.Map_scsoL, pc: B.Map_sci7B, mm: B.Map_sc8pl, q: B.Map_sckr3, pt: B.Map_scaBQ, px: B.Map_scGVy, deg: B.Map_ia0, grad: B.Map_iaijl, rad: B.Map_iaMqi, turn: B.Map_iaJel, s: B.Map_V0M2a, ms: B.Map_V0nPR0, Hz: B.Map_8secN, kHz: B.Map_8sxHw, dpi: B.Map_lyv9F, dpcm: B.Map_lyhdB, dppx: B.Map_lyCkv}, B.List_nfu, A.findType("ConstantStringMap<String,Map<String,double>>"));
  103745. B.List_wsa = A._setArrayType(makeConstList(["length", "angle", "time", "frequency", "pixel density"]), type$.JSArray_String);
  103746. B.Map_ws7dy = new A.ConstantStringMap(5, {length: B.List_scn, 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_wsa, A.findType("ConstantStringMap<String,List<String>>"));
  103747. B.OptionType_YwU = new A.OptionType("OptionType.single");
  103748. B.OptionType_nMZ = new A.OptionType("OptionType.flag");
  103749. B.OptionType_qyr = new A.OptionType("OptionType.multiple");
  103750. B.OutputStyle_0 = new A.OutputStyle("expanded");
  103751. B.OutputStyle_00 = new A.OutputStyle0("expanded");
  103752. B.OutputStyle_1 = new A.OutputStyle("compressed");
  103753. B.OutputStyle_10 = new A.OutputStyle0("compressed");
  103754. B.SassBoolean_false = new A.SassBoolean(false);
  103755. B.SassBoolean_false0 = new A.SassBoolean0(false);
  103756. B.SassBoolean_true = new A.SassBoolean(true);
  103757. B.SassBoolean_true0 = new A.SassBoolean0(true);
  103758. B.SassList_Sof = new A.SassList(B.List_empty8, B.ListSeparator_rXA, false);
  103759. B.SassList_Sof0 = new A.SassList(B.List_empty8, B.ListSeparator_rXA, true);
  103760. B.SassList_Sof1 = new A.SassList0(B.List_empty19, B.ListSeparator_rXA0, false);
  103761. B.SassList_Sof2 = new A.SassList0(B.List_empty19, B.ListSeparator_rXA0, true);
  103762. B.SassList_nj9 = new A.SassList0(B.List_empty19, B.ListSeparator_undecided_null_undecided0, false);
  103763. B.Map_empty13 = new A.ConstantStringMap(0, {}, B.List_empty8, A.findType("ConstantStringMap<Value,Value>"));
  103764. B.SassMap_Map_empty = new A.SassMap(B.Map_empty13);
  103765. B.Map_empty14 = new A.ConstantStringMap(0, {}, B.List_empty19, A.findType("ConstantStringMap<Value0,Value0>"));
  103766. B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty14);
  103767. B.Map_YmNDg = new A.GeneralConstantMap([91, null, 46, null, 35, null, 37, null, 58, null, 38, null, 42, null, 124, null], A.findType("GeneralConstantMap<int,Null>"));
  103768. B.Set_6O95k = new A._UnmodifiableSet(B.Map_YmNDg, A.findType("_UnmodifiableSet<int>"));
  103769. B.List_is_matches_where = A._setArrayType(makeConstList(["is", "matches", "where"]), type$.JSArray_String);
  103770. B.Map_P1Jh9 = new A.ConstantStringMap(3, {is: null, matches: null, where: null}, B.List_is_matches_where, type$.ConstantStringMap_String_Null);
  103771. B.Set_aAXJu = new A._UnmodifiableSet(B.Map_P1Jh9, type$._UnmodifiableSet_String);
  103772. B.List_empty28 = A._setArrayType(makeConstList([]), type$.JSArray_CssMediaQuery);
  103773. B.Map_empty15 = new A.ConstantStringMap(0, {}, B.List_empty28, A.findType("ConstantStringMap<CssMediaQuery,Null>"));
  103774. B.Set_empty1 = new A._UnmodifiableSet(B.Map_empty15, A.findType("_UnmodifiableSet<CssMediaQuery>"));
  103775. B.List_empty29 = A._setArrayType(makeConstList([]), type$.JSArray_CssMediaQuery_2);
  103776. B.Map_empty16 = new A.ConstantStringMap(0, {}, B.List_empty29, A.findType("ConstantStringMap<CssMediaQuery0,Null>"));
  103777. B.Set_empty5 = new A._UnmodifiableSet(B.Map_empty16, A.findType("_UnmodifiableSet<CssMediaQuery0>"));
  103778. B.List_empty30 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable);
  103779. B.Map_empty17 = new A.ConstantStringMap(0, {}, B.List_empty30, A.findType("ConstantStringMap<Module<AsyncCallable>,Null>"));
  103780. B.Set_empty2 = new A._UnmodifiableSet(B.Map_empty17, A.findType("_UnmodifiableSet<Module<AsyncCallable>>"));
  103781. B.List_empty31 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable);
  103782. B.Map_empty18 = new A.ConstantStringMap(0, {}, B.List_empty31, A.findType("ConstantStringMap<Module<Callable>,Null>"));
  103783. B.Set_empty0 = new A._UnmodifiableSet(B.Map_empty18, A.findType("_UnmodifiableSet<Module<Callable>>"));
  103784. B.List_empty32 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable_2);
  103785. B.Map_empty19 = new A.ConstantStringMap(0, {}, B.List_empty32, A.findType("ConstantStringMap<Module0<AsyncCallable0>,Null>"));
  103786. B.Set_empty6 = new A._UnmodifiableSet(B.Map_empty19, A.findType("_UnmodifiableSet<Module0<AsyncCallable0>>"));
  103787. B.List_empty33 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable_2);
  103788. B.Map_empty20 = new A.ConstantStringMap(0, {}, B.List_empty33, A.findType("ConstantStringMap<Module0<Callable0>,Null>"));
  103789. B.Set_empty4 = new A._UnmodifiableSet(B.Map_empty20, A.findType("_UnmodifiableSet<Module0<Callable0>>"));
  103790. B.List_empty34 = A._setArrayType(makeConstList([]), type$.JSArray_StylesheetNode);
  103791. B.Map_empty21 = new A.ConstantStringMap(0, {}, B.List_empty34, A.findType("ConstantStringMap<StylesheetNode,Null>"));
  103792. B.Set_empty3 = new A._UnmodifiableSet(B.Map_empty21, A.findType("_UnmodifiableSet<StylesheetNode>"));
  103793. B.List_empty35 = A._setArrayType(makeConstList([]), A.findType("JSArray<Uri>"));
  103794. B.Map_empty22 = new A.ConstantStringMap(0, {}, B.List_empty35, A.findType("ConstantStringMap<Uri,Null>"));
  103795. B.Set_empty = new A._UnmodifiableSet(B.Map_empty22, A.findType("_UnmodifiableSet<Uri>"));
  103796. B.StderrLogger_false = new A.StderrLogger(false);
  103797. B.StderrLogger_false0 = new A.StderrLogger0(false);
  103798. B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
  103799. B.Symbol__extensions = new A.Symbol("_extensions");
  103800. B.Symbol__inImportRule = new A.Symbol("_inImportRule");
  103801. B.Symbol__sourceSpecificity = new A.Symbol("_sourceSpecificity");
  103802. B.Symbol_call = new A.Symbol("call");
  103803. B.Syntax_CSS_css = new A.Syntax("CSS", "css");
  103804. B.Syntax_CSS_css0 = new A.Syntax0("CSS", "css");
  103805. B.Syntax_SCSS_scss = new A.Syntax("SCSS", "scss");
  103806. B.Syntax_SCSS_scss0 = new A.Syntax0("SCSS", "scss");
  103807. B.Syntax_Sass_sass = new A.Syntax("Sass", "sass");
  103808. B.Syntax_Sass_sass0 = new A.Syntax0("Sass", "sass");
  103809. B.List_empty36 = A._setArrayType(makeConstList([]), A.findType("JSArray<SelectorList>"));
  103810. B.Map_empty23 = new A.ConstantStringMap(0, {}, B.List_empty36, A.findType("ConstantStringMap<SelectorList,Box<SelectorList>>"));
  103811. B.Tuple2_EmptyExtensionStore_Map_empty = new A.Tuple2(B.C_EmptyExtensionStore, B.Map_empty23, type$.Tuple2_of_ExtensionStore_and_Map_of_SelectorList_and_Box_SelectorList);
  103812. B.List_empty37 = A._setArrayType(makeConstList([]), A.findType("JSArray<SelectorList0>"));
  103813. B.Map_empty24 = new A.ConstantStringMap(0, {}, B.List_empty37, A.findType("ConstantStringMap<SelectorList0,Box0<SelectorList0>>"));
  103814. B.Tuple2_EmptyExtensionStore_Map_empty0 = new A.Tuple2(B.C_EmptyExtensionStore0, B.Map_empty24, type$.Tuple2_of_ExtensionStore_and_Map_of_SelectorList_and_Box_SelectorList_2);
  103815. B.Type_ByteBuffer_RkP = A.typeLiteral("ByteBuffer");
  103816. B.Type_ByteData_zNC = A.typeLiteral("ByteData");
  103817. B.Type_Float32List_LB7 = A.typeLiteral("Float32List");
  103818. B.Type_Float64List_LB7 = A.typeLiteral("Float64List");
  103819. B.Type_Int16List_uXf = A.typeLiteral("Int16List");
  103820. B.Type_Int32List_O50 = A.typeLiteral("Int32List");
  103821. B.Type_Int8List_ekJ = A.typeLiteral("Int8List");
  103822. B.Type_Object_xQ6 = A.typeLiteral("Object");
  103823. B.Type_Uint16List_2bx = A.typeLiteral("Uint16List");
  103824. B.Type_Uint32List_2bx = A.typeLiteral("Uint32List");
  103825. B.Type_Uint8ClampedList_Jik = A.typeLiteral("Uint8ClampedList");
  103826. B.Type_Uint8List_WLA = A.typeLiteral("Uint8List");
  103827. B.UnaryOperator_Ix1 = new A.UnaryOperator("divide", "/", "divide");
  103828. B.UnaryOperator_Ix10 = new A.UnaryOperator0("divide", "/", "divide");
  103829. B.UnaryOperator_TLI = new A.UnaryOperator("minus", "-", "minus");
  103830. B.UnaryOperator_TLI0 = new A.UnaryOperator0("minus", "-", "minus");
  103831. B.UnaryOperator_gg4 = new A.UnaryOperator("plus", "+", "plus");
  103832. B.UnaryOperator_gg40 = new A.UnaryOperator0("plus", "+", "plus");
  103833. B.UnaryOperator_not_not_not = new A.UnaryOperator("not", "not", "not");
  103834. B.UnaryOperator_not_not_not0 = new A.UnaryOperator0("not", "not", "not");
  103835. B.Utf8Decoder_false = new A.Utf8Decoder(false);
  103836. B._ColorFormatEnum_hslFunction = new A._ColorFormatEnum("hslFunction");
  103837. B._ColorFormatEnum_hslFunction0 = new A._ColorFormatEnum0("hslFunction");
  103838. B._ColorFormatEnum_rgbFunction = new A._ColorFormatEnum("rgbFunction");
  103839. B._ColorFormatEnum_rgbFunction0 = new A._ColorFormatEnum0("rgbFunction");
  103840. B._IsBogusVisitor_false = new A._IsBogusVisitor(false);
  103841. B._IsBogusVisitor_false0 = new A._IsBogusVisitor0(false);
  103842. B._IsBogusVisitor_true = new A._IsBogusVisitor(true);
  103843. B._IsBogusVisitor_true0 = new A._IsBogusVisitor0(true);
  103844. B._IsInvisibleVisitor_false = new A._IsInvisibleVisitor0(false);
  103845. B._IsInvisibleVisitor_false0 = new A._IsInvisibleVisitor2(false);
  103846. B._IsInvisibleVisitor_false_false = new A._IsInvisibleVisitor(false, false);
  103847. B._IsInvisibleVisitor_false_false0 = new A._IsInvisibleVisitor1(false, false);
  103848. B._IsInvisibleVisitor_true = new A._IsInvisibleVisitor0(true);
  103849. B._IsInvisibleVisitor_true0 = new A._IsInvisibleVisitor2(true);
  103850. B._IsInvisibleVisitor_true_false = new A._IsInvisibleVisitor(true, false);
  103851. B._IsInvisibleVisitor_true_false0 = new A._IsInvisibleVisitor1(true, false);
  103852. B._IsInvisibleVisitor_true_true = new A._IsInvisibleVisitor(true, true);
  103853. B._IsInvisibleVisitor_true_true0 = new A._IsInvisibleVisitor1(true, true);
  103854. B._IterationMarker_null_2 = new A._IterationMarker(null, 2);
  103855. B._PathDirection_8Gl = new A._PathDirection("at root");
  103856. B._PathDirection_988 = new A._PathDirection("below root");
  103857. B._PathDirection_FIw = new A._PathDirection("reaches root");
  103858. B._PathDirection_ZGD = new A._PathDirection("above root");
  103859. B._PathRelation_different = new A._PathRelation("different");
  103860. B._PathRelation_equal = new A._PathRelation("equal");
  103861. B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
  103862. B._PathRelation_within = new A._PathRelation("within");
  103863. B._SingletonCssMediaQueryMergeResult_empty = new A._SingletonCssMediaQueryMergeResult("empty");
  103864. B._SingletonCssMediaQueryMergeResult_empty0 = new A._SingletonCssMediaQueryMergeResult0("empty");
  103865. B._SingletonCssMediaQueryMergeResult_unrepresentable = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
  103866. B._SingletonCssMediaQueryMergeResult_unrepresentable0 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
  103867. B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
  103868. B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
  103869. B._StreamGroupState_listening = new A._StreamGroupState("listening");
  103870. B._StreamGroupState_paused = new A._StreamGroupState("paused");
  103871. B._StringStackTrace_3uE = new A._StringStackTrace("");
  103872. B._ZoneFunction_3bB = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
  103873. B._ZoneFunction_7G2 = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
  103874. B._ZoneFunction_Eeh = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
  103875. B._ZoneFunction_NMc = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
  103876. B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
  103877. B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
  103878. B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
  103879. B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
  103880. B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
  103881. B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun$closure());
  103882. B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
  103883. B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
  103884. B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
  103885. B._ZoneSpecification_ALf = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
  103886. })();
  103887. (function staticFields() {
  103888. $._JS_INTEROP_INTERCEPTOR_TAG = null;
  103889. $.toStringVisiting = A._setArrayType([], type$.JSArray_Object);
  103890. $.printToZone = null;
  103891. $.Primitives__identityHashCodeProperty = null;
  103892. $.BoundClosure__receiverFieldNameCache = null;
  103893. $.BoundClosure__interceptorFieldNameCache = null;
  103894. $.getTagFunction = null;
  103895. $.alternateTagFunction = null;
  103896. $.prototypeForTagFunction = null;
  103897. $.dispatchRecordsForInstanceTags = null;
  103898. $.interceptorsForUncacheableTags = null;
  103899. $.initNativeDispatchFlag = null;
  103900. $._nextCallback = null;
  103901. $._lastCallback = null;
  103902. $._lastPriorityCallback = null;
  103903. $._isInCallbackLoop = false;
  103904. $.Zone__current = B.C__RootZone;
  103905. $._RootZone__rootDelegate = null;
  103906. $._fs = null;
  103907. $._currentUriBase = null;
  103908. $._current = null;
  103909. $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  103910. $._rootishPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  103911. $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  103912. $._realCaseCache = function() {
  103913. var t1 = type$.String;
  103914. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  103915. }();
  103916. $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  103917. $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  103918. $._glyphs = B.C_UnicodeGlyphSet;
  103919. $._rootishPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  103920. $._realCaseCache0 = function() {
  103921. var t1 = type$.String;
  103922. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  103923. }();
  103924. $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  103925. $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  103926. $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  103927. $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  103928. })();
  103929. (function lazyInitializers() {
  103930. var _lazyFinal = hunkHelpers.lazyFinal,
  103931. _lazy = hunkHelpers.lazy;
  103932. _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
  103933. _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<Null>")));
  103934. _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
  103935. toString: function() {
  103936. return "$receiver$";
  103937. }
  103938. })));
  103939. _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
  103940. toString: function() {
  103941. return "$receiver$";
  103942. }
  103943. })));
  103944. _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
  103945. _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  103946. var $argumentsExpr$ = "$arguments$";
  103947. try {
  103948. null.$method$($argumentsExpr$);
  103949. } catch (e) {
  103950. return e.message;
  103951. }
  103952. }()));
  103953. _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
  103954. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  103955. var $argumentsExpr$ = "$arguments$";
  103956. try {
  103957. (void 0).$method$($argumentsExpr$);
  103958. } catch (e) {
  103959. return e.message;
  103960. }
  103961. }()));
  103962. _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
  103963. _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  103964. try {
  103965. null.$method$;
  103966. } catch (e) {
  103967. return e.message;
  103968. }
  103969. }()));
  103970. _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
  103971. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  103972. try {
  103973. (void 0).$method$;
  103974. } catch (e) {
  103975. return e.message;
  103976. }
  103977. }()));
  103978. _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
  103979. _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => A.findType("_Future<Null>")._as($.$get$nullFuture()));
  103980. _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
  103981. _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
  103982. var t1 = type$.dynamic;
  103983. return A.HashMap_HashMap(t1, t1);
  103984. });
  103985. _lazyFinal($, "Utf8Decoder__decoder", "$get$Utf8Decoder__decoder", () => new A.Utf8Decoder__decoder_closure().call$0());
  103986. _lazyFinal($, "Utf8Decoder__decoderNonfatal", "$get$Utf8Decoder__decoderNonfatal", () => new A.Utf8Decoder__decoderNonfatal_closure().call$0());
  103987. _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))));
  103988. _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32");
  103989. _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
  103990. _lazy($, "_hasErrorStackProperty", "$get$_hasErrorStackProperty", () => new Error().stack != void 0);
  103991. _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_xQ6));
  103992. _lazyFinal($, "_scannerTables", "$get$_scannerTables", () => A._createTables());
  103993. _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
  103994. _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
  103995. _lazyFinal($, "readline", "$get$readline", () => self.readline);
  103996. _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
  103997. _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
  103998. _lazyFinal($, "context", "$get$context", () => new A.Context(type$.InternalStyle._as($.$get$Style_platform()), null));
  103999. _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
  104000. _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)));
  104001. _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)));
  104002. _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
  104003. _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));
  104004. _lazyFinal($, "completeVersion", "$get$completeVersion", () => A.RegExp_RegExp($.$get$startVersion().pattern + "$", false));
  104005. _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ArgumentDeclaration_ArgumentDeclaration$parse(string$.x40funct, null));
  104006. _lazyFinal($, "colorsByName", "$get$colorsByName", () => {
  104007. var _null = null;
  104008. 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);
  104009. });
  104010. _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
  104011. var t2, t3,
  104012. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor, type$.String);
  104013. for (t2 = $.$get$colorsByName(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  104014. t3 = t2.get$current(t2);
  104015. t1.$indexSet(0, t3.value, t3.key);
  104016. }
  104017. return t1;
  104018. });
  104019. _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
  104020. _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
  104021. _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
  104022. var t1 = type$.BuiltInCallable,
  104023. t2 = A.List_List$of($.$get$global0(), true, t1);
  104024. B.JSArray_methods.addAll$1(t2, $.$get$global1());
  104025. B.JSArray_methods.addAll$1(t2, $.$get$global2());
  104026. B.JSArray_methods.addAll$1(t2, $.$get$global3());
  104027. B.JSArray_methods.addAll$1(t2, $.$get$global4());
  104028. B.JSArray_methods.addAll$1(t2, $.$get$global5());
  104029. B.JSArray_methods.addAll$1(t2, $.$get$global());
  104030. t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
  104031. return A.UnmodifiableListView$(t2, t1);
  104032. });
  104033. _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));
  104034. _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  104035. _lazyFinal($, "global", "$get$global0", () => {
  104036. var _s27_ = "$red, $green, $blue, $alpha",
  104037. _s19_ = "$red, $green, $blue",
  104038. _s37_ = "$hue, $saturation, $lightness, $alpha",
  104039. _s29_ = "$hue, $saturation, $lightness",
  104040. _s17_ = "$hue, $saturation",
  104041. _s15_ = "$color, $amount",
  104042. t1 = type$.String,
  104043. t2 = type$.Value_Function_List_Value;
  104044. 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);
  104045. });
  104046. _lazyFinal($, "module", "$get$module", () => {
  104047. var _s9_ = "lightness",
  104048. _s10_ = "saturation",
  104049. _s6_ = "$color", _s5_ = "alpha",
  104050. t1 = type$.String,
  104051. t2 = type$.Value_Function_List_Value;
  104052. 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);
  104053. });
  104054. _lazyFinal($, "_red", "$get$_red", () => A._function4("red", "$color", new A._red_closure()));
  104055. _lazyFinal($, "_green", "$get$_green", () => A._function4("green", "$color", new A._green_closure()));
  104056. _lazyFinal($, "_blue", "$get$_blue", () => A._function4("blue", "$color", new A._blue_closure()));
  104057. _lazyFinal($, "_mix", "$get$_mix", () => A._function4("mix", "$color1, $color2, $weight: 50%", new A._mix_closure()));
  104058. _lazyFinal($, "_hue", "$get$_hue", () => A._function4("hue", "$color", new A._hue_closure()));
  104059. _lazyFinal($, "_saturation", "$get$_saturation", () => A._function4("saturation", "$color", new A._saturation_closure()));
  104060. _lazyFinal($, "_lightness", "$get$_lightness", () => A._function4("lightness", "$color", new A._lightness_closure()));
  104061. _lazyFinal($, "_complement", "$get$_complement", () => A._function4("complement", "$color", new A._complement_closure()));
  104062. _lazyFinal($, "_adjust", "$get$_adjust", () => A._function4("adjust", "$color, $kwargs...", new A._adjust_closure()));
  104063. _lazyFinal($, "_scale", "$get$_scale", () => A._function4("scale", "$color, $kwargs...", new A._scale_closure()));
  104064. _lazyFinal($, "_change", "$get$_change", () => A._function4("change", "$color, $kwargs...", new A._change_closure()));
  104065. _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function4("ie-hex-str", "$color", new A._ieHexStr_closure()));
  104066. _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));
  104067. _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));
  104068. _lazyFinal($, "_length", "$get$_length0", () => A._function3("length", "$list", new A._length_closure0()));
  104069. _lazyFinal($, "_nth", "$get$_nth", () => A._function3("nth", "$list, $n", new A._nth_closure()));
  104070. _lazyFinal($, "_setNth", "$get$_setNth", () => A._function3("set-nth", "$list, $n, $value", new A._setNth_closure()));
  104071. _lazyFinal($, "_join", "$get$_join", () => A._function3("join", string$.x24list1, new A._join_closure()));
  104072. _lazyFinal($, "_append", "$get$_append0", () => A._function3("append", "$list, $val, $separator: auto", new A._append_closure0()));
  104073. _lazyFinal($, "_zip", "$get$_zip", () => A._function3("zip", "$lists...", new A._zip_closure()));
  104074. _lazyFinal($, "_index", "$get$_index0", () => A._function3("index", "$list, $value", new A._index_closure0()));
  104075. _lazyFinal($, "_separator", "$get$_separator", () => A._function3("separator", "$list", new A._separator_closure()));
  104076. _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function3("is-bracketed", "$list", new A._isBracketed_closure()));
  104077. _lazyFinal($, "_slash", "$get$_slash", () => A._function3("slash", "$elements...", new A._slash_closure()));
  104078. _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));
  104079. _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));
  104080. _lazyFinal($, "_get", "$get$_get", () => A._function2("get", "$map, $key, $keys...", new A._get_closure()));
  104081. _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)));
  104082. _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)));
  104083. _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function2("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
  104084. _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function2("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
  104085. _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)));
  104086. _lazyFinal($, "_keys", "$get$_keys", () => A._function2("keys", "$map", new A._keys_closure()));
  104087. _lazyFinal($, "_values", "$get$_values", () => A._function2("values", "$map", new A._values_closure()));
  104088. _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function2("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
  104089. _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));
  104090. _lazyFinal($, "module2", "$get$module2", () => {
  104091. var _null = null;
  104092. 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);
  104093. });
  104094. _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
  104095. _lazyFinal($, "_clamp", "$get$_clamp", () => A._function1("clamp", "$min, $number, $max", new A._clamp_closure()));
  104096. _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
  104097. _lazyFinal($, "_max", "$get$_max", () => A._function1("max", "$numbers...", new A._max_closure()));
  104098. _lazyFinal($, "_min", "$get$_min", () => A._function1("min", "$numbers...", new A._min_closure()));
  104099. _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", new A._round_closure()));
  104100. _lazyFinal($, "_abs", "$get$_abs", () => A._numberFunction("abs", new A._abs_closure()));
  104101. _lazyFinal($, "_hypot", "$get$_hypot", () => A._function1("hypot", "$numbers...", new A._hypot_closure()));
  104102. _lazyFinal($, "_log", "$get$_log", () => A._function1("log", "$number, $base: null", new A._log_closure()));
  104103. _lazyFinal($, "_pow", "$get$_pow", () => A._function1("pow", "$base, $exponent", new A._pow_closure()));
  104104. _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._function1("sqrt", "$number", new A._sqrt_closure()));
  104105. _lazyFinal($, "_acos", "$get$_acos", () => A._function1("acos", "$number", new A._acos_closure()));
  104106. _lazyFinal($, "_asin", "$get$_asin", () => A._function1("asin", "$number", new A._asin_closure()));
  104107. _lazyFinal($, "_atan", "$get$_atan", () => A._function1("atan", "$number", new A._atan_closure()));
  104108. _lazyFinal($, "_atan2", "$get$_atan2", () => A._function1("atan2", "$y, $x", new A._atan2_closure()));
  104109. _lazyFinal($, "_cos", "$get$_cos", () => A._function1("cos", "$number", new A._cos_closure()));
  104110. _lazyFinal($, "_sin", "$get$_sin", () => A._function1("sin", "$number", new A._sin_closure()));
  104111. _lazyFinal($, "_tan", "$get$_tan", () => A._function1("tan", "$number", new A._tan_closure()));
  104112. _lazyFinal($, "_compatible", "$get$_compatible", () => A._function1("compatible", "$number1, $number2", new A._compatible_closure()));
  104113. _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function1("is-unitless", "$number", new A._isUnitless_closure()));
  104114. _lazyFinal($, "_unit", "$get$_unit", () => A._function1("unit", "$number", new A._unit_closure()));
  104115. _lazyFinal($, "_percentage", "$get$_percentage", () => A._function1("percentage", "$number", new A._percentage_closure()));
  104116. _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
  104117. _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function1("random", "$limit: null", new A._randomFunction_closure()));
  104118. _lazyFinal($, "_div", "$get$_div", () => A._function1("div", "$number1, $number2", new A._div_closure()));
  104119. _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));
  104120. _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));
  104121. _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));
  104122. _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));
  104123. _lazyFinal($, "_nest", "$get$_nest", () => A._function0("nest", "$selectors...", new A._nest_closure()));
  104124. _lazyFinal($, "_append0", "$get$_append", () => A._function0("append", "$selectors...", new A._append_closure()));
  104125. _lazyFinal($, "_extend", "$get$_extend", () => A._function0("extend", "$selector, $extendee, $extender", new A._extend_closure()));
  104126. _lazyFinal($, "_replace", "$get$_replace", () => A._function0("replace", "$selector, $original, $replacement", new A._replace_closure()));
  104127. _lazyFinal($, "_unify", "$get$_unify", () => A._function0("unify", "$selector1, $selector2", new A._unify_closure()));
  104128. _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function0("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
  104129. _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function0("simple-selectors", "$selector", new A._simpleSelectors_closure()));
  104130. _lazyFinal($, "_parse", "$get$_parse", () => A._function0("parse", "$selector", new A._parse_closure()));
  104131. _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
  104132. _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
  104133. _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));
  104134. _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));
  104135. _lazyFinal($, "_unquote", "$get$_unquote", () => A._function("unquote", "$string", new A._unquote_closure()));
  104136. _lazyFinal($, "_quote", "$get$_quote", () => A._function("quote", "$string", new A._quote_closure()));
  104137. _lazyFinal($, "_length0", "$get$_length", () => A._function("length", "$string", new A._length_closure()));
  104138. _lazyFinal($, "_insert", "$get$_insert", () => A._function("insert", "$string, $insert, $index", new A._insert_closure()));
  104139. _lazyFinal($, "_index0", "$get$_index", () => A._function("index", "$string, $substring", new A._index_closure()));
  104140. _lazyFinal($, "_slice", "$get$_slice", () => A._function("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
  104141. _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function("to-upper-case", "$string", new A._toUpperCase_closure()));
  104142. _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function("to-lower-case", "$string", new A._toLowerCase_closure()));
  104143. _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function("unique-id", "", new A._uniqueId_closure()));
  104144. _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
  104145. _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
  104146. var t1 = $.$get$globalFunctions();
  104147. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
  104148. t1.add$1(0, "if");
  104149. t1.remove$1(0, "rgb");
  104150. t1.remove$1(0, "rgba");
  104151. t1.remove$1(0, "hsl");
  104152. t1.remove$1(0, "hsla");
  104153. t1.remove$1(0, "grayscale");
  104154. t1.remove$1(0, "invert");
  104155. t1.remove$1(0, "alpha");
  104156. t1.remove$1(0, "opacity");
  104157. t1.remove$1(0, "saturate");
  104158. return t1;
  104159. });
  104160. _lazyFinal($, "_epsilon", "$get$_epsilon", () => A.pow(10, -11));
  104161. _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => A.pow(10, 11));
  104162. _lazyFinal($, "bogusSpan", "$get$bogusSpan", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  104163. _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
  104164. _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
  104165. _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
  104166. var t2, t3, t4,
  104167. t1 = type$.String;
  104168. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  104169. for (t2 = B.Map_ws7dy.get$entries(B.Map_ws7dy), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  104170. t3 = t2.get$current(t2);
  104171. for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
  104172. t1.$indexSet(0, t4.get$current(t4), t3);
  104173. }
  104174. return t1;
  104175. });
  104176. _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
  104177. var _i, set, t2,
  104178. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  104179. for (_i = 0; _i < 5; ++_i) {
  104180. set = B.List_gyp[_i];
  104181. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  104182. t1.$indexSet(0, t2.get$current(t2), set);
  104183. }
  104184. return t1;
  104185. });
  104186. _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
  104187. _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
  104188. _lazyFinal($, "maxInt32", "$get$maxInt32", () => A._asInt(A.pow(2, 31)) - 1);
  104189. _lazyFinal($, "minInt32", "$get$minInt32", () => -A._asInt(A.pow(2, 31)));
  104190. _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
  104191. _lazyFinal($, "_v8Frame", "$get$_v8Frame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
  104192. _lazyFinal($, "_v8UrlLocation", "$get$_v8UrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
  104193. _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
  104194. _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
  104195. _lazyFinal($, "_firefoxSafariFrame", "$get$_firefoxSafariFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
  104196. _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
  104197. _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
  104198. _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
  104199. _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
  104200. _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
  104201. _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
  104202. _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
  104203. _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
  104204. _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
  104205. _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
  104206. _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
  104207. _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
  104208. _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\r\\n?|\\n", false));
  104209. _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
  104210. _lazyFinal($, "_filesystemImporter", "$get$_filesystemImporter", () => A.FilesystemImporter$("."));
  104211. _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
  104212. _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
  104213. _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  104214. _lazyFinal($, "global6", "$get$global7", () => {
  104215. var _s27_ = "$red, $green, $blue, $alpha",
  104216. _s19_ = "$red, $green, $blue",
  104217. _s37_ = "$hue, $saturation, $lightness, $alpha",
  104218. _s29_ = "$hue, $saturation, $lightness",
  104219. _s17_ = "$hue, $saturation",
  104220. _s15_ = "$color, $amount",
  104221. t1 = type$.String,
  104222. t2 = type$.Value_Function_List_Value_2;
  104223. 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);
  104224. });
  104225. _lazyFinal($, "module5", "$get$module5", () => {
  104226. var _s9_ = "lightness",
  104227. _s10_ = "saturation",
  104228. _s6_ = "$color", _s5_ = "alpha",
  104229. t1 = type$.String,
  104230. t2 = type$.Value_Function_List_Value_2;
  104231. 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);
  104232. });
  104233. _lazyFinal($, "_red0", "$get$_red0", () => A._function11("red", "$color", new A._red_closure0()));
  104234. _lazyFinal($, "_green0", "$get$_green0", () => A._function11("green", "$color", new A._green_closure0()));
  104235. _lazyFinal($, "_blue0", "$get$_blue0", () => A._function11("blue", "$color", new A._blue_closure0()));
  104236. _lazyFinal($, "_mix0", "$get$_mix0", () => A._function11("mix", "$color1, $color2, $weight: 50%", new A._mix_closure0()));
  104237. _lazyFinal($, "_hue0", "$get$_hue0", () => A._function11("hue", "$color", new A._hue_closure0()));
  104238. _lazyFinal($, "_saturation0", "$get$_saturation0", () => A._function11("saturation", "$color", new A._saturation_closure0()));
  104239. _lazyFinal($, "_lightness0", "$get$_lightness0", () => A._function11("lightness", "$color", new A._lightness_closure0()));
  104240. _lazyFinal($, "_complement0", "$get$_complement0", () => A._function11("complement", "$color", new A._complement_closure0()));
  104241. _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function11("adjust", "$color, $kwargs...", new A._adjust_closure0()));
  104242. _lazyFinal($, "_scale0", "$get$_scale0", () => A._function11("scale", "$color, $kwargs...", new A._scale_closure0()));
  104243. _lazyFinal($, "_change0", "$get$_change0", () => A._function11("change", "$color, $kwargs...", new A._change_closure0()));
  104244. _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function11("ie-hex-str", "$color", new A._ieHexStr_closure0()));
  104245. _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
  104246. var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
  104247. 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));
  104248. return t1;
  104249. });
  104250. _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
  104251. _lazyFinal($, "colorsByName0", "$get$colorsByName0", () => {
  104252. var _null = null;
  104253. 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);
  104254. });
  104255. _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
  104256. var t2, t3,
  104257. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor_2, type$.String);
  104258. for (t2 = $.$get$colorsByName0(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  104259. t3 = t2.get$current(t2);
  104260. t1.$indexSet(0, t3.value, t3.key);
  104261. }
  104262. return t1;
  104263. });
  104264. _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
  104265. var t1 = $.$get$globalFunctions0();
  104266. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
  104267. t1.add$1(0, "if");
  104268. t1.remove$1(0, "rgb");
  104269. t1.remove$1(0, "rgba");
  104270. t1.remove$1(0, "hsl");
  104271. t1.remove$1(0, "hsla");
  104272. t1.remove$1(0, "grayscale");
  104273. t1.remove$1(0, "invert");
  104274. t1.remove$1(0, "alpha");
  104275. t1.remove$1(0, "opacity");
  104276. t1.remove$1(0, "saturate");
  104277. return t1;
  104278. });
  104279. _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
  104280. _lazyFinal($, "_filesystemImporter0", "$get$_filesystemImporter0", () => A.FilesystemImporter$("."));
  104281. _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
  104282. _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
  104283. var t1 = type$.BuiltInCallable_2,
  104284. t2 = A.List_List$of($.$get$global7(), true, t1);
  104285. B.JSArray_methods.addAll$1(t2, $.$get$global8());
  104286. B.JSArray_methods.addAll$1(t2, $.$get$global9());
  104287. B.JSArray_methods.addAll$1(t2, $.$get$global10());
  104288. B.JSArray_methods.addAll$1(t2, $.$get$global11());
  104289. B.JSArray_methods.addAll$1(t2, $.$get$global12());
  104290. B.JSArray_methods.addAll$1(t2, $.$get$global6());
  104291. t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
  104292. return A.UnmodifiableListView$(t2, t1);
  104293. });
  104294. _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));
  104295. _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ArgumentDeclaration_ArgumentDeclaration$parse0(string$.x40funct, null));
  104296. _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));
  104297. _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));
  104298. _lazyFinal($, "_length1", "$get$_length2", () => A._function10("length", "$list", new A._length_closure2()));
  104299. _lazyFinal($, "_nth0", "$get$_nth0", () => A._function10("nth", "$list, $n", new A._nth_closure0()));
  104300. _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function10("set-nth", "$list, $n, $value", new A._setNth_closure0()));
  104301. _lazyFinal($, "_join0", "$get$_join0", () => A._function10("join", string$.x24list1, new A._join_closure0()));
  104302. _lazyFinal($, "_append1", "$get$_append2", () => A._function10("append", "$list, $val, $separator: auto", new A._append_closure2()));
  104303. _lazyFinal($, "_zip0", "$get$_zip0", () => A._function10("zip", "$lists...", new A._zip_closure0()));
  104304. _lazyFinal($, "_index1", "$get$_index2", () => A._function10("index", "$list, $value", new A._index_closure2()));
  104305. _lazyFinal($, "_separator0", "$get$_separator0", () => A._function10("separator", "$list", new A._separator_closure0()));
  104306. _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function10("is-bracketed", "$list", new A._isBracketed_closure0()));
  104307. _lazyFinal($, "_slash0", "$get$_slash0", () => A._function10("slash", "$elements...", new A._slash_closure0()));
  104308. _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
  104309. var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
  104310. 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));
  104311. return t1;
  104312. });
  104313. _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
  104314. _lazyFinal($, "Logger_quiet0", "$get$Logger_quiet0", () => new A._QuietLogger0());
  104315. _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));
  104316. _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));
  104317. _lazyFinal($, "_get0", "$get$_get0", () => A._function9("get", "$map, $key, $keys...", new A._get_closure0()));
  104318. _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)));
  104319. _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)));
  104320. _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function9("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
  104321. _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function9("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
  104322. _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)));
  104323. _lazyFinal($, "_keys0", "$get$_keys0", () => A._function9("keys", "$map", new A._keys_closure0()));
  104324. _lazyFinal($, "_values0", "$get$_values0", () => A._function9("values", "$map", new A._values_closure0()));
  104325. _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function9("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
  104326. _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
  104327. var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
  104328. 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));
  104329. return t1;
  104330. });
  104331. _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
  104332. _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));
  104333. _lazyFinal($, "module8", "$get$module8", () => {
  104334. var _null = null;
  104335. 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);
  104336. });
  104337. _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
  104338. _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function8("clamp", "$min, $number, $max", new A._clamp_closure0()));
  104339. _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
  104340. _lazyFinal($, "_max0", "$get$_max0", () => A._function8("max", "$numbers...", new A._max_closure0()));
  104341. _lazyFinal($, "_min0", "$get$_min0", () => A._function8("min", "$numbers...", new A._min_closure0()));
  104342. _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", new A._round_closure0()));
  104343. _lazyFinal($, "_abs0", "$get$_abs0", () => A._numberFunction0("abs", new A._abs_closure0()));
  104344. _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function8("hypot", "$numbers...", new A._hypot_closure0()));
  104345. _lazyFinal($, "_log0", "$get$_log0", () => A._function8("log", "$number, $base: null", new A._log_closure0()));
  104346. _lazyFinal($, "_pow0", "$get$_pow0", () => A._function8("pow", "$base, $exponent", new A._pow_closure0()));
  104347. _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._function8("sqrt", "$number", new A._sqrt_closure0()));
  104348. _lazyFinal($, "_acos0", "$get$_acos0", () => A._function8("acos", "$number", new A._acos_closure0()));
  104349. _lazyFinal($, "_asin0", "$get$_asin0", () => A._function8("asin", "$number", new A._asin_closure0()));
  104350. _lazyFinal($, "_atan0", "$get$_atan0", () => A._function8("atan", "$number", new A._atan_closure0()));
  104351. _lazyFinal($, "_atan20", "$get$_atan20", () => A._function8("atan2", "$y, $x", new A._atan2_closure0()));
  104352. _lazyFinal($, "_cos0", "$get$_cos0", () => A._function8("cos", "$number", new A._cos_closure0()));
  104353. _lazyFinal($, "_sin0", "$get$_sin0", () => A._function8("sin", "$number", new A._sin_closure0()));
  104354. _lazyFinal($, "_tan0", "$get$_tan0", () => A._function8("tan", "$number", new A._tan_closure0()));
  104355. _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function8("compatible", "$number1, $number2", new A._compatible_closure0()));
  104356. _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function8("is-unitless", "$number", new A._isUnitless_closure0()));
  104357. _lazyFinal($, "_unit0", "$get$_unit0", () => A._function8("unit", "$number", new A._unit_closure0()));
  104358. _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function8("percentage", "$number", new A._percentage_closure0()));
  104359. _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
  104360. _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function8("random", "$limit: null", new A._randomFunction_closure0()));
  104361. _lazyFinal($, "_div0", "$get$_div0", () => A._function8("div", "$number1, $number2", new A._div_closure0()));
  104362. _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));
  104363. _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));
  104364. _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
  104365. _lazyFinal($, "_epsilon0", "$get$_epsilon0", () => A.pow(10, -11));
  104366. _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => A.pow(10, 11));
  104367. _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
  104368. var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
  104369. 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));
  104370. return t1;
  104371. });
  104372. _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
  104373. _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
  104374. var t2, t3, t4,
  104375. t1 = type$.String;
  104376. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  104377. for (t2 = B.Map_ws7dy.get$entries(B.Map_ws7dy), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  104378. t3 = t2.get$current(t2);
  104379. for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
  104380. t1.$indexSet(0, t4.get$current(t4), t3);
  104381. }
  104382. return t1;
  104383. });
  104384. _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));
  104385. _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));
  104386. _lazyFinal($, "_nest0", "$get$_nest0", () => A._function7("nest", "$selectors...", new A._nest_closure0()));
  104387. _lazyFinal($, "_append2", "$get$_append1", () => A._function7("append", "$selectors...", new A._append_closure1()));
  104388. _lazyFinal($, "_extend0", "$get$_extend0", () => A._function7("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
  104389. _lazyFinal($, "_replace0", "$get$_replace0", () => A._function7("replace", "$selector, $original, $replacement", new A._replace_closure0()));
  104390. _lazyFinal($, "_unify0", "$get$_unify0", () => A._function7("unify", "$selector1, $selector2", new A._unify_closure0()));
  104391. _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function7("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
  104392. _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function7("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
  104393. _lazyFinal($, "_parse0", "$get$_parse0", () => A._function7("parse", "$selector", new A._parse_closure0()));
  104394. _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
  104395. var _i, set, t2,
  104396. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  104397. for (_i = 0; _i < 5; ++_i) {
  104398. set = B.List_gyp[_i];
  104399. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  104400. t1.$indexSet(0, t2.get$current(t2), set);
  104401. }
  104402. return t1;
  104403. });
  104404. _lazyFinal($, "bogusSpan0", "$get$bogusSpan0", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  104405. _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
  104406. _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
  104407. _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));
  104408. _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));
  104409. _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function6("unquote", "$string", new A._unquote_closure0()));
  104410. _lazyFinal($, "_quote0", "$get$_quote0", () => A._function6("quote", "$string", new A._quote_closure0()));
  104411. _lazyFinal($, "_length2", "$get$_length1", () => A._function6("length", "$string", new A._length_closure1()));
  104412. _lazyFinal($, "_insert0", "$get$_insert0", () => A._function6("insert", "$string, $insert, $index", new A._insert_closure0()));
  104413. _lazyFinal($, "_index2", "$get$_index1", () => A._function6("index", "$string, $substring", new A._index_closure1()));
  104414. _lazyFinal($, "_slice0", "$get$_slice0", () => A._function6("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
  104415. _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function6("to-upper-case", "$string", new A._toUpperCase_closure0()));
  104416. _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function6("to-lower-case", "$string", new A._toLowerCase_closure0()));
  104417. _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function6("unique-id", "", new A._uniqueId_closure0()));
  104418. _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
  104419. var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
  104420. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
  104421. return t1;
  104422. });
  104423. _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
  104424. _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
  104425. _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
  104426. _lazyFinal($, "_jsThrow", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
  104427. _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
  104428. _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
  104429. _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
  104430. _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
  104431. })();
  104432. (function nativeSupport() {
  104433. !function() {
  104434. var intern = function(s) {
  104435. var o = {};
  104436. o[s] = 1;
  104437. return Object.keys(hunkHelpers.convertToFastObject(o))[0];
  104438. };
  104439. init.getIsolateTag = function(name) {
  104440. return intern("___dart_" + name + init.isolateTag);
  104441. };
  104442. var tableProperty = "___dart_isolate_tags_";
  104443. var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
  104444. var rootProperty = "_ZxYxX";
  104445. for (var i = 0;; i++) {
  104446. var property = intern(rootProperty + "_" + i + "_");
  104447. if (!(property in usedProperties)) {
  104448. usedProperties[property] = 1;
  104449. init.isolateTag = property;
  104450. break;
  104451. }
  104452. }
  104453. init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
  104454. }();
  104455. hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer: A.NativeByteBuffer, ArrayBufferView: A.NativeTypedData, DataView: A.NativeByteData, Float32Array: A.NativeFloat32List, Float64Array: A.NativeFloat64List, Int16Array: A.NativeInt16List, Int32Array: A.NativeInt32List, Int8Array: A.NativeInt8List, Uint16Array: A.NativeUint16List, Uint32Array: A.NativeUint32List, Uint8ClampedArray: A.NativeUint8ClampedList, CanvasPixelArray: A.NativeUint8ClampedList, Uint8Array: A.NativeUint8List});
  104456. hunkHelpers.setOrUpdateLeafTags({ArrayBuffer: true, ArrayBufferView: false, DataView: true, Float32Array: true, Float64Array: true, Int16Array: true, Int32Array: true, Int8Array: true, Uint16Array: true, Uint32Array: true, Uint8ClampedArray: true, CanvasPixelArray: true, Uint8Array: false});
  104457. A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
  104458. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  104459. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  104460. A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
  104461. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  104462. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  104463. A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
  104464. })();
  104465. Function.prototype.call$0 = function() {
  104466. return this();
  104467. };
  104468. Function.prototype.call$1 = function(a) {
  104469. return this(a);
  104470. };
  104471. Function.prototype.call$2 = function(a, b) {
  104472. return this(a, b);
  104473. };
  104474. Function.prototype.call$3$1 = function(a) {
  104475. return this(a);
  104476. };
  104477. Function.prototype.call$2$1 = function(a) {
  104478. return this(a);
  104479. };
  104480. Function.prototype.call$1$1 = function(a) {
  104481. return this(a);
  104482. };
  104483. Function.prototype.call$3 = function(a, b, c) {
  104484. return this(a, b, c);
  104485. };
  104486. Function.prototype.call$4 = function(a, b, c, d) {
  104487. return this(a, b, c, d);
  104488. };
  104489. Function.prototype.call$3$3 = function(a, b, c) {
  104490. return this(a, b, c);
  104491. };
  104492. Function.prototype.call$2$2 = function(a, b) {
  104493. return this(a, b);
  104494. };
  104495. Function.prototype.call$6 = function(a, b, c, d, e, f) {
  104496. return this(a, b, c, d, e, f);
  104497. };
  104498. Function.prototype.call$5 = function(a, b, c, d, e) {
  104499. return this(a, b, c, d, e);
  104500. };
  104501. Function.prototype.call$2$0 = function() {
  104502. return this();
  104503. };
  104504. Function.prototype.call$1$2 = function(a, b) {
  104505. return this(a, b);
  104506. };
  104507. Function.prototype.call$1$0 = function() {
  104508. return this();
  104509. };
  104510. Function.prototype.call$2$3 = function(a, b, c) {
  104511. return this(a, b, c);
  104512. };
  104513. convertAllToFastObject(holders);
  104514. convertToFastObject($);
  104515. (function(callback) {
  104516. if (typeof document === "undefined") {
  104517. callback(null);
  104518. return;
  104519. }
  104520. if (typeof document.currentScript != "undefined") {
  104521. callback(document.currentScript);
  104522. return;
  104523. }
  104524. var scripts = document.scripts;
  104525. function onLoad(event) {
  104526. for (var i = 0; i < scripts.length; ++i)
  104527. scripts[i].removeEventListener("load", onLoad, false);
  104528. callback(event.target);
  104529. }
  104530. for (var i = 0; i < scripts.length; ++i)
  104531. scripts[i].addEventListener("load", onLoad, false);
  104532. })(function(currentScript) {
  104533. init.currentScript = currentScript;
  104534. var callMain = A.main2;
  104535. if (typeof dartMainRunner === "function")
  104536. dartMainRunner(callMain, []);
  104537. else
  104538. callMain([]);
  104539. });
  104540. })();
  104541. }